/* ═══════════════════════════════════════════════════════════════════════
   MAKE MY FILE — PORTAL STYLESHEET  (LIGHT MODE)
   portal.makemyfile.com
   Stripe / Linear / Notion inspired — clean, premium, professional
   ═══════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ─────────────────────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --color-indigo:       #6366f1;
  --color-indigo-dark:  #4f46e5;
  --color-indigo-xd:    #4338ca;
  --color-indigo-light: #818cf8;
  --color-violet:       #7c3aed;

  /* Roles */
  --color-retailer:   #059669;
  --color-retailer-d: #047857;
  --color-retailer-l: #10b981;
  --color-ca:         #0891b2;
  --color-ca-d:       #0e7490;
  --color-ca-l:       #14b8a6;
  --color-amber:      #d97706;
  --color-amber-l:    #f59e0b;

  /* Light-mode surfaces */
  --bg:      #ffffff;
  --bg-1:    #f8fafc;
  --bg-2:    #f1f5f9;
  --bg-3:    #e2e8f0;
  --surface:       #ffffff;
  --surface-hover: #f8fafc;

  /* Borders — dark on light */
  --border:        rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --border-medium: rgba(15, 23, 42, 0.10);

  /* Text */
  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-tertiary:  #64748b;
  --text-muted:     #94a3b8;

  /* Gradients */
  --grad-brand:    linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --grad-retailer: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-ca:       linear-gradient(135deg, #0891b2 0%, #14b8a6 100%);
  --grad-text:     linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --grad-hero-bg:  linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);

  /* Shadows — softer for light backgrounds */
  --shadow-sm:     0 1px 3px rgba(15,23,42,0.07), 0 1px 2px rgba(15,23,42,0.05);
  --shadow-md:     0 4px 16px rgba(15,23,42,0.08), 0 2px 8px rgba(15,23,42,0.05);
  --shadow-lg:     0 12px 40px rgba(15,23,42,0.10), 0 4px 16px rgba(15,23,42,0.06);
  --shadow-xl:     0 24px 64px rgba(15,23,42,0.12), 0 8px 24px rgba(15,23,42,0.07);
  --shadow-indigo: 0 8px 28px rgba(99,102,241,0.30);
  --shadow-green:  0 8px 28px rgba(5,150,105,0.28);
  --shadow-teal:   0 8px 28px rgba(8,145,178,0.28);

  /* Spacing */
  --section-py:    96px;
  --container-max: 1200px;
  --container-px:  24px;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* Motion */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
  --dur:         0.28s;
  --dur-lg:      0.55s;
}

/* ───────────────────────────────────────────────────────────────────────
   2. RESET
   ─────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--color-indigo);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 2px solid var(--color-indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ───────────────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
   ─────────────────────────────────────────────────────────────────────── */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
p { line-height: 1.7; }

/* ───────────────────────────────────────────────────────────────────────
   4. LAYOUT UTILITIES
   ─────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.w-full { width: 100%; }

/* ───────────────────────────────────────────────────────────────────────
   5. BUTTONS
   ─────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
}
.btn:active { transform: scale(0.975); }

.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-md { padding: 11px 22px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-indigo);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(99,102,241,0.40);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-1);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-outline-indigo {
  background: transparent;
  color: var(--color-indigo-dark);
  border: 1.5px solid rgba(99,102,241,0.35);
  font-weight: 600;
}
.btn-outline-indigo:hover {
  background: rgba(99,102,241,0.06);
  border-color: var(--color-indigo);
}

.btn-retailer {
  background: var(--grad-retailer);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-retailer:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(5,150,105,0.38);
}

.btn-ca {
  background: var(--grad-ca);
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-ca:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(8,145,178,0.38);
}

.btn-arrow {
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ───────────────────────────────────────────────────────────────────────
   6. SECTION HEADERS (shared)
   ─────────────────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-indigo-dark);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────────────────────
   7. SCROLL REVEAL
   ─────────────────────────────────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-lg) var(--ease), transform var(--dur-lg) var(--ease);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════════════════════
   8. NAVIGATION
   ═══════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  pointer-events: none;
}
.navbar {
  pointer-events: all;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(15,23,42,0.06);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px var(--container-px);
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.logo-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-icon { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.nav-logo:hover .logo-icon { transform: rotate(-6deg) scale(1.05); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--dur), background var(--dur);
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-2);
}
.nav-link.active-section {
  color: var(--color-indigo-dark);
  background: rgba(99,102,241,0.07);
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background var(--dur);
  margin-left: auto;
}
.nav-toggle:hover { background: var(--bg-2); }
.toggle-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--container-px) 20px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}
.mobile-menu.open { max-height: 560px; }
.mobile-link {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: color var(--dur), background var(--dur);
}
.mobile-link:hover { color: var(--text-primary); background: var(--bg-1); }
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   9. HERO
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--grad-hero-bg);
}

/* Background FX */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Subtle dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(99,102,241,0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 80%);
  opacity: 0.5;
}

/* Glowing orbs — soft on light bg */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.orb-1 {
  width: 700px; height: 700px;
  top: -200px; right: -80px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  animation: orbFloat1 14s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; left: -120px;
  background: radial-gradient(circle, rgba(8,145,178,0.12) 0%, transparent 70%);
  animation: orbFloat2 18s ease-in-out infinite;
}
.orb-3 {
  width: 350px; height: 350px;
  top: 45%; left: 28%;
  background: radial-gradient(circle, rgba(244,63,94,0.07) 0%, transparent 70%);
  animation: orbFloat3 22s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-28px, 36px) scale(1.04); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(36px, -28px) scale(1.08); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(18px, 26px); }
  66% { transform: translate(-18px, -18px); }
}

/* Hero inner */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-indigo-dark);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.20);
  padding: 6px 16px 6px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-indigo);
  position: relative;
  flex-shrink: 0;
}
.badge-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(99,102,241,0.3);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Hero title */
.hero-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 600; }

/* Hero CTA */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.proof-avatars { display: flex; }
.proof-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin-left: -9px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(15,23,42,0.12);
}
.proof-avatars .proof-avatar:first-child { margin-left: 0; }
.proof-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.proof-stars { color: var(--color-amber-l); font-size: 13px; margin-bottom: 2px; }
.proof-text strong { color: var(--text-primary); }

/* ─── App mockup (stays dark — product screenshot effect) ─── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.app-mockup {
  background: #0f0f24;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(15,23,42,0.20), 0 4px 16px rgba(15,23,42,0.10),
              0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  z-index: 1;
  animation: mockupFloat 7s ease-in-out infinite;
}
@keyframes mockupFloat {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-14px) rotate(-0.5deg); }
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.window-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.window-label {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  margin: 0 auto;
}

.mockup-appbar {
  display: flex;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 14px;
  background: rgba(0,0,0,0.15);
}
.mockup-logo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.mockup-nav-bar {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin: 0 auto;
}
.mnb-active {
  color: #818cf8;
  font-weight: 600;
  position: relative;
}
.mnb-active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0; right: 0;
  height: 2px;
  background: #6366f1;
  border-radius: 2px 2px 0 0;
}
.mockup-avatar-bar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mockup-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-section-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color var(--dur);
}
.filing-row:hover { border-color: rgba(255,255,255,0.12); }
.filing-icon-wrap {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fi-green  { background: rgba(5,150,105,0.15); }
.fi-indigo { background: rgba(99,102,241,0.15); }
.fi-teal   { background: rgba(8,145,178,0.15); }
.filing-info { flex: 1; min-width: 0; }
.fi-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-meta  { font-size: 10px; color: rgba(255,255,255,0.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.status-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.sb-filed    { background: rgba(5,150,105,0.18); color: #10b981; border: 1px solid rgba(5,150,105,0.25); }
.sb-progress { background: rgba(99,102,241,0.18); color: #818cf8; border: 1px solid rgba(99,102,241,0.25); }
.sb-done     { background: rgba(8,145,178,0.18); color: #14b8a6; border: 1px solid rgba(8,145,178,0.25); }

.mockup-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}
.mpr-label { font-size: 10px; color: rgba(255,255,255,0.3); flex-shrink: 0; }
.mpr-bar { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.mpr-fill { height: 100%; background: linear-gradient(90deg,#6366f1,#8b5cf6); border-radius: 3px; animation: progressFill 2s ease-out 1s both; }
@keyframes progressFill { from { width: 0 !important; } }
.mpr-pct { font-size: 10px; font-weight: 600; color: #818cf8; flex-shrink: 0; }

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.msr-item { text-align: center; padding: 9px 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.07); }
.msr-indigo { background: rgba(99,102,241,0.10); }
.msr-green  { background: rgba(5,150,105,0.10); }
.msr-teal   { background: rgba(8,145,178,0.10); }
.msr-number { font-size: 15px; font-weight: 800; color: rgba(255,255,255,0.90); line-height: 1; }
.msr-label  { font-size: 8px; color: rgba(255,255,255,0.30); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

/* Floating cards (light style) */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  width: 200px;
}
.float-card-top-right {
  top: -18px; right: -28px;
  animation: floatCardFloat 5s ease-in-out infinite;
}
.float-card-bottom-left {
  bottom: 36px; left: -32px;
  animation: floatCardFloat2 6s ease-in-out infinite 0.5s;
}
.float-card-top-left {
  top: 38%; left: -38px;
  animation: floatCardFloat 7s ease-in-out infinite 1s;
}
@keyframes floatCardFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
}
@keyframes floatCardFloat2 {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(8px) rotate(0deg); }
}

.fc-icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-green  { background: rgba(5,150,105,0.10); color: var(--color-retailer); }
.fc-teal   { background: rgba(8,145,178,0.10); color: var(--color-ca); }
.fc-indigo { background: rgba(99,102,241,0.10); color: var(--color-indigo-dark); }
.fc-body { min-width: 0; }
.fc-title { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.fc-sub   { font-size: 11px; color: var(--text-secondary); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease) 1.6s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-mouse {
  width: 20px; height: 32px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-dot {
  width: 3px; height: 7px;
  background: var(--color-indigo);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(7px); opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════════════════════════
   10. STATS SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.stats-section {
  padding: 52px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-value {
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════
   11. FEATURES
   ═══════════════════════════════════════════════════════════════════════ */
.features-section {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fc-span2 { grid-column: span 2; }

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(99,102,241,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.fc-alt {
  background: linear-gradient(135deg, #f8f9ff 0%, #f3f4f9 100%);
}

.fc-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.fc-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.fc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.fc-icon-box {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 14px;
}
.fc-top .fc-icon-box { margin-bottom: 0; }
.fcib-green  { background: rgba(5,150,105,0.10); color: var(--color-retailer); border: 1px solid rgba(5,150,105,0.15); }
.fcib-indigo { background: rgba(99,102,241,0.10); color: var(--color-indigo-dark); border: 1px solid rgba(99,102,241,0.15); }
.fcib-purple { background: rgba(124,58,237,0.10); color: #7c3aed; border: 1px solid rgba(124,58,237,0.15); }
.fcib-amber  { background: rgba(217,119,6,0.10); color: var(--color-amber); border: 1px solid rgba(217,119,6,0.15); }
.fcib-blue   { background: rgba(59,130,246,0.10); color: #2563eb; border: 1px solid rgba(59,130,246,0.15); }
.fcib-teal   { background: rgba(8,145,178,0.10); color: var(--color-ca); border: 1px solid rgba(8,145,178,0.15); }
.fcib-rose   { background: rgba(244,63,94,0.10); color: #e11d48; border: 1px solid rgba(244,63,94,0.15); }

.fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.fc-visual-bar {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin-top: 14px;
  height: 56px;
}
.fcvb-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.fcvb-fill { flex: 1; border-radius: 4px 4px 0 0; align-self: flex-end; width: 100%; }
.fcvb-item span { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }

.fc-ca-profiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 12px 5px 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--dur), background var(--dur);
}
.ca-chip:hover { border-color: var(--border-strong); background: var(--bg-2); }
.ca-chip-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ca-chip-rating { font-size: 12px; color: var(--color-amber-l); }

/* ═══════════════════════════════════════════════════════════════════════
   12. HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════ */
.how-section {
  padding: var(--section-py) 0;
  background: var(--bg-1);
}

.steps-wrapper { position: relative; }
.steps-line {
  position: absolute;
  top: 26px;
  left: calc(10% + 22px);
  right: calc(10% + 22px);
  height: 2px;
  background: linear-gradient(90deg,
    rgba(99,102,241,0.4) 0%,
    rgba(5,150,105,0.3) 25%,
    rgba(8,145,178,0.3) 50%,
    rgba(217,119,6,0.3) 75%,
    rgba(124,58,237,0.3) 100%
  );
  z-index: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.step-item { text-align: center; padding: 0 8px; }
.step-number-wrap { display: flex; justify-content: center; margin-bottom: 20px; }
.step-number {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--step-bg, rgba(99,102,241,0.08));
  border: 2px solid var(--step-color, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--step-color);
  position: relative;
  z-index: 1;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
  background-color: #fff;
}
.step-item:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px var(--step-bg);
}
.step-icon { margin: 0 auto 10px; width: fit-content; }
.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════
   13. ROLES / GET STARTED
   ═══════════════════════════════════════════════════════════════════════ */
.roles-section { padding: var(--section-py) 0; }

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.role-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  overflow: hidden;
  transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.role-retailer:hover { border-color: rgba(5,150,105,0.25); }
.role-ca:hover { border-color: rgba(8,145,178,0.25); }

.role-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.25;
}
.role-glow-green { background: radial-gradient(circle, #10b981, transparent 70%); }
.role-glow-teal  { background: radial-gradient(circle, #14b8a6, transparent 70%); }

.role-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}
.role-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.role-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}
.role-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.role-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.role-btn { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════
   15. TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: var(--section-py) 0;
  background: var(--bg);
  overflow: hidden;
}
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 8px; right: 18px;
  font-size: 72px;
  font-family: Georgia, serif;
  color: rgba(99,102,241,0.06);
  line-height: 1;
}
.testimonial-card:hover {
  border-color: rgba(99,102,241,0.20);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tc-stars { color: var(--color-amber-l); font-size: 14px; letter-spacing: 2px; }
.tc-quote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
  flex: 1;
  font-style: italic;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.tc-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.tc-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.tc-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.testimonials-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   16. FAQ
   ═══════════════════════════════════════════════════════════════════════ */
.faq-section { padding: var(--section-py) 0; background: var(--bg-1); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.faq-header { text-align: left; margin-bottom: 0; position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: transparent;
  transition: color var(--dur);
}
.faq-question:hover { color: var(--color-indigo-dark); }
.faq-question[aria-expanded="true"] { color: var(--color-indigo-dark); }
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--text-muted);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════════════
   17. CTA BANNER (kept dark/gradient — stands out from white sections)
   ═══════════════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 40%, #7c3aed 100%);
}
.cta-banner-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.cta-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  top: -200px; left: -80px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(20,184,166,0.25), transparent 70%);
  bottom: -150px; right: -60px;
}

.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.70);
  margin-bottom: 18px;
}
.cta-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-title .gradient-text {
  background: linear-gradient(135deg, #a5f3fc, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta-retailer {
  background: #fff;
  color: var(--color-retailer-d);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--dur) var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-cta-retailer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.20);
}
.btn-cta-ca {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.30);
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--dur) var(--ease);
}
.btn-cta-ca:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════
   18. FOOTER (dark — Stripe style)
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.75);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  transition: opacity var(--dur);
}
.footer-logo:hover { opacity: 0.8; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--dur);
}
.social-link:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-heading {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links-group a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur);
}
.footer-links-group a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.30); }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.30);
  transition: color var(--dur);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.70); }

/* ═══════════════════════════════════════════════════════════════════════
   19. BACK TO TOP
   ═══════════════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--dur), transform var(--dur), background var(--dur);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--color-indigo);
  transform: translateY(-3px);
  box-shadow: var(--shadow-indigo);
}

/* ═══════════════════════════════════════════════════════════════════════
   20. RESPONSIVE — TABLET (≤1024px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; --container-px: 20px; }

  /* ─── NAV: hide desktop links on ALL tablets & phones ─── */
  /* Only show hamburger + drawer; desktop links/CTA buttons disappear */
 /* Mobile / Tablet navigation fix */
.nav-links,
.nav-cta {
    display: none;
}

.nav-toggle {
    display: flex;
}

/* Hide mobile menu initially */
.mobile-menu {
    display: none;
}

/* Show only when hamburger clicked */
.mobile-menu.open {
    display: flex;
    max-height: 560px;
} /* height controlled by max-height & .open */

  /* ─── Hero: kill full-viewport height & flex-centering on ALL non-desktop ─── */
  /* Without this, min-height:100vh + justify-content:center pushes content    */
  /* ~200px down from top, creating a massive blank gap on tablets/phones.      */
  .hero {
    padding: 90px 0 64px;   /* top ≈ navbar height + breathing room */
    min-height: unset;
    height: auto;
    display: block;
  }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 600px; margin: 0 auto; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-visual { display: none; }

  .features-bento { grid-template-columns: repeat(2, 1fr); }
  .fc-span2 { grid-column: span 2; }

  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-line { display: none; }

  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-header { position: static; text-align: center; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }

  .testimonials-track { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   21. RESPONSIVE — MOBILE (≤768px)  — Complete premium mobile rewrite
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --container-px: 18px;
  }

  /* NO body padding-bottom — footer already handles clearance */

  /* ─── Navbar: always solid white on mobile — no bleed-through ─── */
  .navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.05);
  }

  /* ─── Navigation: explicit ≤768px enforcement (belt-and-suspenders) ─── */
  /* Desktop links & CTA completely hidden; only hamburger + drawer visible   */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle           { display: flex; }
  .mobile-menu          { display: flex; }        /* flex so column layout works */
  .mobile-menu:not(.open) { display: none; }      /* hidden until hamburger tapped */

  .nav-container { padding: 13px var(--container-px); }

  /* Mobile menu buttons */
  .mobile-cta .btn-retailer,
  .mobile-cta .btn-ca {
    font-size: 15px;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    width: 100%;
  }

  /* ─── Hero: content-height ONLY — eliminates blank white gap ─── */
  .hero-grid { display: none; }
  .orb-1 { width: 360px; height: 360px; top: -80px; right: -60px; }
  .orb-2 { width: 260px; height: 260px; bottom: -60px; left: -80px; }
  .orb-3 { display: none; }

  .hero {
    /* Top padding = navbar height (~62px) + tiny breathing room */
    padding: 68px 0 48px;
    min-height: unset;
    height: auto;
    display: block;
  }
  .hero .container { position: relative; z-index: 1; }
  .hero-content { text-align: left; }

  /* Badge: reduce letter-spacing so it fits on small screens */
  .hero-badge {
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 5px 12px 5px 9px;
    gap: 6px;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(34px, 9.5vw, 52px);
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.68;
    margin-bottom: 26px;
    max-width: 100%;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: var(--radius-md);
    min-height: 50px;
  }
  /* Ghost button: give it more substance on mobile */
  .hero-cta .btn-ghost {
    background: var(--bg-1);
    border-color: var(--border-strong);
    color: var(--text-primary);
  }
  .hero-social-proof {
    justify-content: flex-start;
    gap: 12px;
  }
  .proof-text { font-size: 12px; }

  /* ─── Stats — clean 2×2 bordered grid ─── */
  .stats-section { padding: 0; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 28px 16px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(2n)   { border-right: none; }
  .stat-item:nth-child(n+3)  { border-bottom: none; }
  .stat-value { font-size: clamp(28px, 7.5vw, 42px); margin-bottom: 6px; }
  .stat-label { font-size: 12px; }

  /* ─── Section headers ─── */
  .section-header { margin-bottom: 40px; max-width: 100%; }
  .section-title  { font-size: clamp(26px, 7vw, 36px); }
  .section-subtitle { font-size: 15px; }

  /* ─── Features ─── */
  .features-bento { grid-template-columns: 1fr; gap: 12px; }
  .fc-span2 { grid-column: span 1; }
  .feature-card {
    padding: 22px 20px;
    border-radius: var(--radius-lg);
  }
  .feature-card:hover { transform: none; } /* no hover lift on touch */
  .fc-icon-box  { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
  .fc-top .fc-icon-box { margin-bottom: 0; }
  .fc-title { font-size: 16px; margin-bottom: 8px; }
  .fc-desc  { font-size: 13.5px; }
  .fc-visual-bar { height: 48px; }
  .fc-ca-profiles { gap: 6px; }
  .ca-chip { font-size: 12px; padding: 4px 10px 4px 4px; }

  /* ─── How it works — vertical timeline ─── */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps-line { display: none; }
  .step-item {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }
  .step-item:last-child { border-bottom: none; }
  .step-number-wrap { margin-bottom: 0; flex-shrink: 0; }
  .step-number { width: 42px; height: 42px; font-size: 15px; }
  .step-content { flex: 1; min-width: 0; padding-top: 2px; }
  .step-icon { margin: 0 0 8px; display: inline-flex; }
  .step-title { font-size: 15px; margin-bottom: 5px; }
  .step-desc  { font-size: 13px; }

  /* ─── Roles ─── */
  .roles-grid { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
  .role-card  { padding: 28px 22px; border-radius: var(--radius-xl); }
  .role-card:hover { transform: none; }
  .role-icon-wrap { width: 56px; height: 56px; margin-bottom: 18px; }
  .role-title { font-size: 20px; margin-bottom: 10px; }
  .role-desc  { font-size: 14px; margin-bottom: 18px; }
  .role-features { gap: 8px; margin-bottom: 22px; }
  .role-features li { font-size: 13.5px; }

  /* ─── Testimonials — horizontal swipe (snap) ─── */
  .testimonials-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    /* bleed to edges, pad back for safe spacing */
    padding: 6px var(--container-px) 20px;
    margin: 0 calc(-1 * var(--container-px));
    padding-left: var(--container-px);
    padding-right: calc(var(--container-px) + 14px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
  }
  .testimonials-track::-webkit-scrollbar { display: none; }
  .testimonials-track:active { cursor: grabbing; }
  .testimonial-card {
    flex: 0 0 82vw;
    max-width: 310px;
    scroll-snap-align: start;
    margin-bottom: 0;
    padding: 22px 20px;
  }
  .testimonial-card:hover { transform: none; }
  .tc-quote { font-size: 13.5px; }
  .testimonials-scroll-hint {
    display: flex;
    margin-top: 10px;
    font-size: 12px;
  }

  /* ─── FAQ ─── */
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-header { position: static; text-align: center; max-width: 100%; margin-bottom: 0; }
  .faq-question { font-size: 14px; padding: 18px 0; }
  .faq-answer p { font-size: 13.5px; line-height: 1.72; }

  /* ─── CTA Banner ─── */
  .cta-banner { padding: 56px 0; }
  .cta-title  { font-size: clamp(26px, 7.5vw, 44px); margin-bottom: 14px; }
  .cta-subtitle { font-size: 15px; margin-bottom: 24px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-cta-retailer, .btn-cta-ca { width: 100%; justify-content: center; }

  /* ─── Footer: bottom padding clears the sticky CTA bar ─── */
  .site-footer { padding: 48px 0 calc(80px + env(safe-area-inset-bottom, 0px)); }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-brand   { grid-column: span 1; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom  { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links { justify-content: center; }

  /* ─── Back to top — sits above sticky CTA ─── */
  .back-to-top { bottom: 80px; right: 14px; width: 38px; height: 38px; }

  /* ─── Misc ─── */
  .float-card      { display: none; }
  .scroll-indicator { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   22. REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up, .reveal-right { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════
   23. MOBILE STICKY CTA BAR
   ═══════════════════════════════════════════════════════════════════════ */
.mobile-sticky-cta {
  /* Hidden on desktop by default */
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  /* Safe area (iPhone notch / home bar) */
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.10);
  gap: 10px;
  /* Start hidden below screen, slide up on show */
  transform: translateY(110%);
  transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
  opacity: 0;
  pointer-events: none;
}
.mobile-sticky-cta.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.msb-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  min-height: 48px;
  transition: all var(--dur) var(--ease);
}
.msb-btn:active { transform: scale(0.97); opacity: 0.9; }
.msb-retailer {
  background: var(--grad-retailer);
  box-shadow: 0 3px 12px rgba(5, 150, 105, 0.30);
}
.msb-ca {
  background: var(--grad-ca);
  box-shadow: 0 3px 12px rgba(8, 145, 178, 0.30);
}

@media (max-width: 768px) {
  .mobile-sticky-cta { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════════════
   24. EXTRA SMALL SCREENS (≤480px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --container-px: 16px; }

  /* Hero */
  .hero { padding: 64px 0 36px; }
  .hero-title { font-size: clamp(28px, 9vw, 36px); }
  /* Badge: aggressively shrink letter-spacing so text never clips */
  .hero-badge { font-size: 9px; letter-spacing: 0.03em; padding: 4px 10px 4px 8px; gap: 5px; }
  .hero-cta .btn { padding: 13px 16px; font-size: 14px; }

  /* Stats */
  .stat-item { padding: 22px 12px; }
  .stat-value { font-size: clamp(26px, 8vw, 34px); }

  /* Sections */
  .section-title    { font-size: clamp(22px, 8vw, 32px); }
  .section-subtitle { font-size: 14px; }
  .section-header   { margin-bottom: 32px; }

  /* Features */
  .feature-card { padding: 18px 16px; }
  .fc-icon-box  { width: 36px; height: 36px; }
  .fc-title     { font-size: 15px; }
  .fc-desc      { font-size: 13px; }

  /* Steps */
  .step-number { width: 38px; height: 38px; font-size: 14px; }
  .step-title  { font-size: 14px; }

  /* Roles */
  .role-card  { padding: 24px 18px; border-radius: var(--radius-lg); }
  .role-title { font-size: 18px; }
  .role-icon-wrap { width: 50px; height: 50px; border-radius: 14px; }
  .role-features li { font-size: 13px; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 88vw; padding: 18px 16px; }
  .tc-quote { font-size: 13px; }
  .tc-name  { font-size: 13px; }
  .tc-role  { font-size: 11px; }

  /* CTA Banner */
  .cta-banner { padding: 56px 0; }
  .cta-title  { font-size: clamp(22px, 8vw, 34px); }
  .cta-subtitle { font-size: 14px; }

  /* Footer */
  .footer-top { gap: 28px; }
  .footer-links-heading { font-size: 11px; }
  .footer-links-group a { font-size: 13px; }

  /* Sticky bar */
  .msb-btn { font-size: 13px; gap: 5px; padding: 12px 10px; }
}
