/* POS Flow Marketing Landing Page Design System */
:root {
  --primary-brand: #0ABCAE;
  --primary-brand-pressed: #089A8E;
  --primary-gradient: linear-gradient(135deg, #0ABCAE 0%, #0D54B0 100%);

  --primary-teal: var(--primary-brand);
  --primary-teal-pressed: var(--primary-brand-pressed);
  --primary-red: var(--primary-brand);
  --primary-red-pressed: var(--primary-brand-pressed);

  --navy: #152C4B;
  --navy-tint: #1F3A60;
  --navy-light: #2A4875;
  --bg-canvas: #FAFAFB;
  --surface: #FFFFFF;
  --border: #E7E8EC;
  --border-hover: #D1D5DB;
  --text-primary: #0B1220;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --success: #1F9D55;
  --success-bg: #E6F4EA;
  --warning: #D97706;
  --warning-bg: #FEF3C7;
  --danger: #DC2626;
  --danger-bg: #FEE2E2;
  --badge-bg: #E6F8F6;
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  --shadow-subtle: 0 4px 12px rgba(2, 11, 33, 0.03);
  --shadow-card: 0 8px 24px -4px rgba(2, 11, 33, 0.06);
  --shadow-hover: 0 16px 36px -6px rgba(2, 11, 33, 0.12);
  --shadow-dropdown: 0 12px 32px rgba(2, 11, 33, 0.1);
  
  --max-width: 1200px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

.text-center {
  text-align: center;
}

.font-heading { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.navy-text { color: var(--navy); }
.text-green { color: var(--success); }
.text-red { color: var(--danger); }
.text-muted { color: var(--text-secondary); }
.text-xs { font-size: 0.75rem; }
.margin-b-xs { margin-bottom: 0.35rem; }
.margin-b-sm { margin-bottom: 0.75rem; }
.margin-b-md { margin-bottom: 1rem; }

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--badge-bg);
  color: var(--primary-brand-pressed);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.825rem;
  border-radius: 9999px;
  border: 1px solid rgba(10, 188, 174, 0.25);
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-brand);
}

.badge-sm {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.badge-sm.green {
  background-color: var(--success-bg);
  color: var(--success);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-brand);
  color: #FFFFFF;
  border: 1px solid var(--primary-brand);
  box-shadow: 0 2px 8px rgba(10, 188, 174, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-brand-pressed);
  border-color: var(--primary-brand-pressed);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 188, 174, 0.3);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background-color: #F8FAFC;
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.btn-navy {
  background-color: var(--navy);
  color: #FFFFFF;
  border: 1px solid var(--navy);
}

.btn-navy:hover {
  background-color: var(--navy-tint);
  border-color: var(--navy-tint);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 11, 33, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Header & Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(2, 11, 33, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  height: 2.5rem;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 190px;
  display: block;
  object-fit: contain;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}

.brand-logo-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-brand-pressed);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  width: 100%;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-dropdown);
  z-index: 99;
}

.mobile-nav-drawer.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 5.5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border);
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-glow-teal {
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 188, 174, 0.16) 0%, rgba(10, 188, 174, 0) 70%);
  filter: blur(70px);
}

.hero-bg-glow-navy {
  bottom: -150px;
  left: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2, 11, 33, 0.09) 0%, rgba(2, 11, 33, 0) 70%);
  filter: blur(90px);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 11, 33, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-content {
  max-width: 820px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(10, 188, 174, 0.1);
  border: 1px solid rgba(10, 188, 174, 0.25);
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #069488;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Space Grotesk', var(--font-heading), sans-serif;
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #0ABCAE 0%, #069488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  max-width: 680px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-features-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-feature-item svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  color: var(--success);
  flex-shrink: 0;
  display: inline-block;
}

.hero-demo-container {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-demo-wrapper {
  position: relative;
  background-color: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(2, 11, 33, 0.18);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-demo-wrapper:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 30px 70px -12px rgba(10, 188, 174, 0.22);
}

.hero-demo-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(10, 188, 174, 0.4), rgba(2, 11, 33, 0.2));
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
  opacity: 0.7;
  filter: blur(12px);
}

.demo-interactive-tag {
  background: var(--navy);
  color: #0ABCAE;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0ABCAE;
  box-shadow: 0 0 0 0 rgba(10, 188, 174, 0.7);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(10, 188, 174, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(10, 188, 174, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(10, 188, 174, 0); }
}

.mockup-header {
  height: 42px;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--navy-tint);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.mockup-dot.red { background-color: #EF4444; }
.mockup-dot.yellow { background-color: #F59E0B; }
.mockup-dot.green { background-color: #10B981; }

.mockup-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #10B981;
  background-color: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-weight: 600;
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  min-height: 490px;
  background-color: var(--bg-canvas);
}

@media (max-width: 960px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
}

.mockup-sidebar {
  background-color: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 0.25rem;
  transition: all var(--transition-fast);
}

.mockup-nav-item.active {
  background-color: var(--badge-bg);
  color: var(--primary-brand-pressed);
  font-weight: 600;
}

.mockup-sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mockup-cashier-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem;
  background: var(--bg-canvas);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.avatar-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-main {
  padding: 1.25rem;
  background-color: var(--bg-canvas);
}

.mockup-search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  margin-bottom: 1.25rem;
}

.mockup-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.85rem;
  color: var(--text-primary);
  background: transparent;
}

.mockup-scan-badge {
  font-size: 0.72rem;
  color: var(--success);
  background: var(--success-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.mockup-product-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  text-align: left;
  transition: all var(--transition-fast);
}

.mockup-product-card.selected {
  border-color: var(--primary-brand);
  box-shadow: 0 0 0 2px rgba(10, 188, 174, 0.15);
}

.mockup-product-icon {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.mockup-product-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.mockup-product-sku {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.mockup-product-price {
  font-weight: 700;
  color: var(--primary-brand-pressed);
  font-size: 0.9rem;
}

.mockup-cart {
  background-color: var(--surface);
  border-left: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.cart-title span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px stroke var(--border);
}

.cart-totals {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.cart-total-row.grand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-heading);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

/* Feature Section */
.features-section {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Trust Metrics Strip */
.trust-metrics-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .trust-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.trust-metric-card {
  text-align: center;
  padding: 0.5rem 1rem;
}

.metric-val {
  font-family: 'Space Grotesk', var(--font-heading), sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Bento Grid Layout for Features */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  background-color: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(2, 11, 33, 0.09);
  border-color: rgba(10, 188, 174, 0.4);
}

.bento-wide {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .bento-wide {
    grid-column: span 1;
  }
}

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.bento-title {
  font-family: 'Space Grotesk', var(--font-heading), sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.bento-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  border-color: var(--primary-brand);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.feature-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary-brand-pressed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.feature-card-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Feature UI Preview Snippets inside Feature Cards */
.feature-ui-preview {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: auto;
  box-shadow: var(--shadow-subtle);
}

.ui-mini-bar {
  background-color: var(--navy);
  padding: 0.35rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ui-mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.ui-mini-dot.red { background-color: #EF4444; }
.ui-mini-dot.yellow { background-color: #F59E0B; }
.ui-mini-dot.green { background-color: #10B981; }

.ui-mini-title {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.ui-mini-content {
  padding: 0.75rem;
  font-size: 0.78rem;
}

.ui-search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ui-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.ui-tag.green { background: var(--success-bg); color: var(--success); }
.ui-tag.red { background: var(--danger-bg); color: var(--danger); }
.ui-tag.blue { background: #E0F2FE; color: #0284C7; }

.ui-cart-badge {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.ui-action-row {
  display: flex;
  gap: 0.4rem;
}

.ui-btn-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--navy);
  font-weight: 600;
}

.ui-btn-primary-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--primary-brand);
  color: #FFF;
  border-radius: 4px;
  font-weight: 600;
}

.ui-stock-table {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ui-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  font-size: 0.72rem;
  padding: 0.2rem 0;
  border-bottom: 1px stroke var(--border);
}
.ui-table-row.header {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

.ui-status.ok { color: var(--success); font-weight: 600; }
.ui-status.alert { color: var(--danger); font-weight: 700; }

.ui-pin-box {
  text-align: center;
  padding: 0.25rem 0;
}

.ui-pin-dots {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--primary-brand);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.ui-shift-info {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.ui-stat-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.ui-stat-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-heading);
}

.ui-trend {
  font-size: 0.7rem;
  color: var(--success);
  font-weight: 700;
}

.ui-stat-badge {
  font-size: 0.7rem;
  background: var(--badge-bg);
  color: var(--primary-brand-pressed);
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.ui-offline-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--navy);
}

.dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warning);
  display: inline-block;
  margin-right: 0.3rem;
}

.ui-sync-btn {
  background: var(--success-bg);
  color: var(--success);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.68rem;
}

.ui-lang-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ui-lang-btn {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.ui-lang-btn.active { background: var(--navy); color: #FFF; font-weight: 600; }
.ui-lang-btn.active-urdu { background: var(--primary-brand); color: #FFF; font-weight: 600; }

/* Why POS Flow / Comparison Section (Dark Mode High-Contrast Visual Break) */
.comparison-section {
  background: linear-gradient(180deg, #020B21 0%, #0F172A 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.comparison-section .section-title {
  color: #FFFFFF;
}

.comparison-section .section-subtitle {
  color: #94A3B8;
}

.comparison-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.comparison-table-scroll {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.comparison-table th {
  background-color: rgba(2, 11, 33, 0.9);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #F8FAFC;
}

.comparison-table th.feature-col {
  width: 34%;
}

.comparison-table td.feature-col p {
  color: #94A3B8;
  font-size: 0.8rem;
  margin-top: 2px;
}

.comparison-table th.posflow-col, .comparison-table td.posflow-col {
  background-color: rgba(10, 188, 174, 0.14);
  border-left: 2px solid #0ABCAE;
  border-right: 2px solid #0ABCAE;
  color: #FFFFFF;
}

.brand-table-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #0ABCAE;
  font-size: 1.05rem;
}

.table-badge {
  font-size: 0.65rem;
  background: var(--primary-brand);
  color: #FFF;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.comparison-table td.feature-col strong {
  color: var(--navy);
  display: block;
  font-size: 0.95rem;
}

.comparison-table td.feature-col p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.check-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  font-weight: 800;
  line-height: 22px;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.warning-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: 50%;
  font-weight: 800;
  line-height: 22px;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.cross-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--danger-bg);
  color: var(--danger);
  border-radius: 50%;
  font-weight: 800;
  line-height: 22px;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.col-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Showcase Section */
.showcase-section {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.showcase-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: var(--bg-canvas);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  border-color: var(--border-hover);
  color: var(--navy);
}

.showcase-tab.active {
  background-color: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(21, 44, 75, 0.2);
}

.showcase-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.showcase-panel.active {
  display: grid;
}

.showcase-info-step {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-brand-pressed);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.showcase-info-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.showcase-info-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.showcase-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.showcase-bullet-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.showcase-preview-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.showcase-card-inner {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.showcase-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.receipt-snippet {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--bg-canvas);
  padding: 1rem;
  border-radius: 6px;
  border: 1px stroke var(--border);
}

.inventory-snippet-table {
  font-size: 0.825rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.table-head-row {
  display: flex;
  justify-content: space-between;
  background: var(--bg-canvas);
  padding: 0.6rem 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.table-body-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-top: 1px solid var(--border);
}

.tag-row { display: flex; gap: 0.5rem; }

.hero-rev-stat {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-brand-pressed);
  font-family: var(--font-heading);
  margin-bottom: 0.85rem;
}

.stat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.825rem;
}

.stat-box {
  background: var(--bg-canvas);
  padding: 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Testimonials & Social Proof Section */
.testimonials-section {
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border);
}

.placeholder-flag-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  margin-top: 1rem;
}

.placeholder-flag-notice span {
  color: var(--primary-brand-pressed);
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 1060px;
  margin: 0 auto 3.5rem auto;
}

.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  border-color: var(--primary-brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.testimonial-rating {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-size: 0.975rem;
  color: var(--text-primary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.placeholder-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-brand-pressed);
  background: var(--badge-bg);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-top: 0.2rem;
}

/* Trust Metrics Bar */
.trust-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.metric-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Pricing Section */
.pricing-section {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.pricing-notice {
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  background-color: var(--badge-bg);
  border: 1px solid rgba(10, 188, 174, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.pricing-notice svg {
  color: var(--primary-brand-pressed);
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1060px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pricing-card.popular {
  background-color: var(--surface);
  border: 2px solid var(--primary-brand);
  box-shadow: var(--shadow-hover);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-brand);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 2.6em;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.pricing-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.pricing-divider {
  height: 1px;
  background-color: var(--border);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.pricing-feature-item svg {
  color: var(--success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  background: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--primary-brand);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Final CTA Band */
.cta-band {
  background: linear-gradient(135deg, #020B21 0%, #0F172A 50%, #064E3B 100%);
  color: #FFFFFF;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-mesh-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 188, 174, 0.25) 0%, rgba(10, 188, 174, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-box {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(10, 188, 174, 0.15);
  border: 1px solid rgba(10, 188, 174, 0.3);
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #0ABCAE;
  margin-bottom: 1.25rem;
}

.cta-title {
  font-family: 'Space Grotesk', var(--font-heading), sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-btn-glow {
  box-shadow: 0 0 25px rgba(10, 188, 174, 0.4);
}

.btn-secondary-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.cta-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94A3B8;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.85rem;
  max-width: 320px;
  line-height: 1.55;
}

.footer-column-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-brand-pressed);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.powered-by {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.powered-by a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.powered-by a:hover {
  color: var(--primary-brand);
  text-decoration: underline;
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(2, 11, 33, 0.6);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-dropdown);
  border: 1px solid var(--border);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--navy);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .trust-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar, .mockup-cart {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .showcase-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .trust-metrics-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .trust-metrics-bar {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* Interactive Counter Demo Extensions */
.mockup-product-card {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.mockup-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-brand);
  box-shadow: 0 4px 12px rgba(10, 188, 174, 0.15);
}

.mockup-product-card:active {
  transform: scale(0.98);
}

.mockup-product-card.selected {
  border-color: var(--primary-brand);
  background-color: rgba(10, 188, 174, 0.04);
  box-shadow: 0 0 0 2px rgba(10, 188, 174, 0.2);
}

.mockup-qty-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary-brand);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-item {
  position: relative;
  transition: background 0.15s ease;
  border-bottom: 1px dashed var(--border);
  padding: 0.6rem 0;
}

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 3px;
}

.cart-btn-qty {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: none;
  background: var(--surface);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.cart-btn-qty:hover {
  background: var(--primary-brand);
  color: #ffffff;
}

.cart-btn-remove {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 2px;
  transition: color 0.15s ease;
  line-height: 1;
}

.cart-btn-remove:hover {
  color: #EF4444;
}

.cart-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-action-btn {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-canvas);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cart-action-btn:hover {
  background: #FEF2F2;
  color: #EF4444;
  border-color: #FCA5A5;
}

.cart-action-btn.reset-btn:hover {
  background: var(--badge-bg);
  color: var(--primary-brand-pressed);
  border-color: var(--primary-brand);
}

/* Category Filter Pills */
.mockup-categories {
  display: flex;
  gap: 6px;
  margin-bottom: 0.85rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.category-pill:hover,
.category-pill.active {
  background: var(--badge-bg);
  color: var(--primary-brand-pressed);
  border-color: var(--primary-brand);
}

/* Thermal Receipt Modal & Overlay */
.receipt-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 11, 33, 0.82);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.25s ease-out;
  overflow-y: auto;
}

.receipt-modal-card {
  background: #ffffff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.receipt-success-banner {
  background: linear-gradient(135deg, #0ABCAE 0%, #069488 100%);
  color: #ffffff;
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.confetti-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.confetti-piece {
  position: absolute;
  width: 7px;
  height: 7px;
  top: -10px;
  opacity: 0.9;
  border-radius: 2px;
  animation: confettiFall 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.confetti-1 { left: 10%; background: #F59E0B; animation-delay: 0s; }
.confetti-2 { left: 22%; background: #EF4444; animation-delay: 0.2s; }
.confetti-3 { left: 35%; background: #10B981; animation-delay: 0.1s; }
.confetti-4 { left: 48%; background: #3B82F6; animation-delay: 0.35s; }
.confetti-5 { left: 62%; background: #EC4899; animation-delay: 0.15s; }
.confetti-6 { left: 75%; background: #F59E0B; animation-delay: 0.25s; }
.confetti-7 { left: 88%; background: #8B5CF6; animation-delay: 0.05s; }
.confetti-8 { left: 28%; background: #0ABCAE; animation-delay: 0.4s; }
.confetti-9 { left: 70%; background: #F43F5E; animation-delay: 0.3s; }

@keyframes confettiFall {
  0% {
    top: -10px;
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    top: 100%;
    transform: translateY(100px) rotate(360deg);
    opacity: 0;
  }
}

.success-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem auto;
  font-size: 1.5rem;
  font-weight: 800;
  animation: pulseScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.receipt-body-scroll {
  padding: 1rem;
  max-height: 360px;
  overflow-y: auto;
  background: #f3f4f6;
}

.receipt-card-paper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #111827;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
}

.receipt-divider {
  border-top: 1px dashed #4b5563;
  margin: 0.65rem 0;
}

.receipt-dotted-stars {
  text-align: center;
  letter-spacing: 4px;
  color: #6b7280;
  font-size: 0.75rem;
  margin: 0.4rem 0;
  user-select: none;
}

.receipt-barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  gap: 2px;
}

.receipt-barcode-bars {
  height: 32px;
  width: 80%;
  background: repeating-linear-gradient(
    90deg,
    #000000 0px,
    #000000 2px,
    #ffffff 2px,
    #ffffff 4px,
    #000000 4px,
    #000000 7px,
    #ffffff 7px,
    #ffffff 9px,
    #000000 9px,
    #000000 10px,
    #ffffff 10px,
    #ffffff 13px,
    #000000 13px,
    #000000 16px,
    #ffffff 16px,
    #ffffff 17px
  );
  margin: 0 auto;
}

.receipt-modal-footer {
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reset-countdown-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}

.reset-countdown-progress {
  height: 100%;
  background: var(--primary-brand);
  transition: width 1s linear;
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulseScale {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

