/* ============================================================
   SmartSplitter — Marketing Site Stylesheet
   MOBILE-FIRST: base = 375px mobile, layers up via min-width
   Breakpoints:
     480px  — large phones (2-col stats, trust row)
     768px  — tablet (2-col footer, steps 3-col)
     960px  — nav/hero desktop (show links, 2-col hero)
     1100px — wide desktop (4-col stats + footer)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-deep:     #0A1628;
  --navy-mid:      #132040;
  --navy-light:    #1A2E52;
  --brand-blue:    #1565C0;
  --electric-blue: #1E90FF;
  --electric-cyan: #00BFFF;
  --sky-blue:      #4DC8FF;
  --ice-surface:   #F5F8FE;
  --white:         #FFFFFF;
  --text-dark:     #0F172A;
  --text-muted:    #64748B;
  --border:        #E2E8F0;
  --green:         #10B981;
  --red:           #EF4444;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(21,101,192,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:     0 12px 40px rgba(21,101,192,.16), 0 4px 12px rgba(0,0,0,.08);
  --gradient:      linear-gradient(135deg, var(--brand-blue) 0%, var(--electric-blue) 60%, var(--electric-cyan) 100%);
  --gradient-dark: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Typography ──
   clamp() handles fluid scaling; no override needed per breakpoint */
h1 { font-size: clamp(2rem, 7vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* ── Layout ── */
.container  { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section    { padding: clamp(48px, 8vw, 96px) 0; }
.section-sm { padding: clamp(32px, 5vw, 64px) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none; transition: all .2s ease; white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: var(--gradient); color: var(--white);
  box-shadow: 0 4px 20px rgba(30,144,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(30,144,255,.55); }
.btn-secondary {
  background: rgba(255,255,255,.1); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.btn-outline:hover { background: var(--brand-blue); color: var(--white); transform: translateY(-2px); }

/* ── Nav ──
   Mobile: logo + hamburger only. Desktop (960+): full link row */
#nav {
  position: fixed; top: 44px; left: 0; right: 0; z-index: 100;
  padding: 14px 0; transition: background .3s, box-shadow .3s, top .3s;
}
#nav.scrolled {
  background: rgba(10,22,40,.96); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
}
.nav-logo-img {
  height: 36px; /* mobile */
  width: auto;
  flex-shrink: 0;
}
/* Desktop nav links — hidden on mobile */
.nav-links { display: none; }
.nav-cta   { margin-left: 16px; padding: 10px 22px; font-size: .9rem; }
/* Hamburger — visible on mobile */
.nav-hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .2s; }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy-deep); z-index: 99; padding: 100px 24px 40px;
  flex-direction: column; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); font-size: 1.2rem; font-weight: 700; }

/* ── Hero ──
   Mobile: stacked (text → phone), centered text
   Desktop (960+): 2-col side by side */
#hero {
  background: var(--gradient-dark);
  /* padding-top: nav height + banner height */
  padding-top: 114px; /* 70px nav clearance + 44px banner */
  position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 40%, rgba(30,144,255,.16) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 40% at 15% 75%, rgba(0,191,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
/* Mobile: single column, text first */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;   /* mobile: stack */
  gap: 32px;
  align-items: center;
  position: relative; z-index: 1;
  padding: 32px 0 48px;
  text-align: center;            /* mobile: center all */
}
.hero-text   { order: 1; }
.hero-visual { order: 2; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,144,255,.14); border: 1px solid rgba(30,144,255,.3);
  color: var(--sky-blue); padding: 7px 14px; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title { color: var(--white); margin-bottom: 16px; }
.hero-title span { color: var(--electric-cyan); }
.hero-subtitle {
  color: rgba(255,255,255,.62); font-size: 1rem;
  margin: 0 auto 28px; max-width: 480px;  /* auto margins center on mobile */
}
.hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;   /* centered on mobile */
  margin-bottom: 16px;
}
/* Mobile: hero buttons full-width stacked. Side-by-side at 480px+ */
.hero-actions .btn { width: 100%; justify-content: center; }
.hero-cta-sub {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  color: rgba(255,255,255,.38); font-size: .875rem; flex-wrap: wrap;
}
.hero-web-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--electric-cyan); font-weight: 600; font-size: .875rem;
  transition: opacity .2s;
}
.hero-web-link:hover { opacity: .8; }
.hero-social-proof {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-bottom: 12px; font-size: .8125rem; color: rgba(255,255,255,.35);
}

/* ── Phone Mockup ── */
.hero-visual {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 16px;
}
.phone-glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,.13) 0%, transparent 70%);
  pointer-events: none;
}

/* Phone mockup is designed at 260px width — all inner px values are calibrated to this.
   Use zoom to scale the whole thing (content + borders + radii all scale together).
   zoom is now supported in all major browsers (Firefox 126+, Chrome, Safari). */
.phone-mockup {
  width: 260px;
  aspect-ratio: 260 / 530;
  border-radius: 36px;
  background: var(--navy-deep);
  border: 6px solid #1a1a2e;
  outline: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 40px 80px rgba(0,0,0,.60),
    0 12px 32px rgba(0,0,0,.30);
  position: relative;
  overflow: hidden;
  zoom: 0.62; /* mobile: 260 × 0.62 ≈ 161px visual width — all inner content scales perfectly */
}
.phone-notch {
  /* absolute so it overlays without pushing content */
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 72px; height: 20px; background: #1a1a2e;
  border-radius: 0 0 12px 12px; z-index: 5;
}
.phone-screen {
  background: var(--navy-deep);
  overflow: hidden;
  padding-top: 22px; /* clears the notch */
}

/* ── Status bar ── */
.app-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 16px 4px;
  color: rgba(255,255,255,.7); font-size: 10px; font-weight: 600;
}

/* ── App Header ── */
.app-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px 12px;
}
.app-header-greeting { font-size: 11px; color: rgba(255,255,255,.45); font-weight: 500; margin-bottom: 2px; }
.app-header-name     { font-size: 17px; color: var(--white); font-weight: 800; letter-spacing: -0.4px; }
.app-header-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(30,144,255,.4);
}

/* ── Balance Card ── */
.app-balance-card {
  margin: 0 12px 12px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
}
.app-balance-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: rgba(255,255,255,.45); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.app-balance-amount { font-size: 24px; color: var(--white); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 10px; }
.app-balance-row    { display: flex; gap: 8px; }
.app-mini-card      { flex: 1; border-radius: 10px; padding: 8px; display: flex; align-items: center; gap: 6px; }
.app-mini-green     { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.22); color: #10B981; }
.app-mini-red       { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.22); color: #EF4444; }
.app-mini-label     { font-size: 9px; color: rgba(255,255,255,.4); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.app-mini-amount    { font-size: 12px; font-weight: 800; margin-top: 1px; }

/* ── App Section Header ── */
.app-section-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 16px 8px;
}
.app-section-title { font-size: 13px; color: var(--white); font-weight: 700; }
.app-section-link  { font-size: 11px; color: var(--electric-cyan); font-weight: 600; }

/* ── Group Cards ── */
.app-group-card {
  display: flex; align-items: center; gap: 10px;
  margin: 0 12px 7px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 10px 12px;
}
.app-group-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(30,144,255,.12); border: 1px solid rgba(30,144,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.app-group-info     { flex: 1; min-width: 0; overflow: hidden; }
.app-group-name     { font-size: 12px; color: var(--white); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-group-meta     { display: flex; align-items: center; gap: 3px; font-size: 9px; color: rgba(255,255,255,.38); margin-top: 2px; white-space: nowrap; overflow: hidden; }
.app-group-balance  { font-size: 12px; font-weight: 800; flex-shrink: 0; white-space: nowrap; }
.app-positive       { color: #10B981; }
.app-negative       { color: #EF4444; }

/* ── App Screen Header ── */
.app-screen-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 8px;
}

/* ── Add Expense Form ── */
.app-form-section  { padding: 4px 14px; }
.app-form-label    { font-size: 10px; color: rgba(255,255,255,.4); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px; }
.app-form-input    {
  background: var(--navy-mid); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 10px 12px;
  color: var(--white); font-size: 13px; font-weight: 600;
}
.app-form-amount   {
  background: rgba(0,191,255,.08); border: 1.5px solid rgba(0,191,255,.25);
  border-radius: 12px; padding: 10px 12px;
  color: var(--electric-cyan); font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
}
.app-split-row     { display: flex; gap: 8px; padding: 6px 0 4px; }
.app-split-avatar  {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 10px; font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.app-per-person    { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 12px; }
.app-form-btn      {
  background: var(--gradient); color: white;
  text-align: center; padding: 11px; border-radius: 14px;
  font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 16px rgba(0,191,255,.35);
}

/* ── Settle Up Cards ── */
.app-settle-card   {
  display: flex; align-items: center; gap: 9px;
  background: var(--navy-mid); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 9px 10px; margin-bottom: 7px;
}
.app-settle-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 10px; font-weight: 800;
}

/* ── Toast ── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--navy-mid); border: 1px solid rgba(0,191,255,.3);
  color: var(--white); padding: 14px 24px; border-radius: 50px;
  display: flex; align-items: center; gap: 10px;
  font-size: .9375rem; font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.4); z-index: 999;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  opacity: 0; pointer-events: none;
  /* wrap gracefully on mobile */
  white-space: normal; text-align: center;
  max-width: calc(100vw - 32px); border-radius: 16px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── Trust Bar ──
   Mobile: stacked. 480+: row */
#trust {
  padding: 20px 0; background: var(--ice-surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.trust-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.trust-store-group { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy-deep); color: var(--white); padding: 10px 18px;
  border-radius: 12px; font-weight: 700; font-size: .875rem;
  transition: transform .2s, box-shadow .2s; border: none; cursor: pointer;
  font-family: var(--font);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.coming-soon-pill {
  background: rgba(0,191,255,.2); color: var(--electric-cyan);
  font-size: .6875rem; font-weight: 700; padding: 2px 8px; border-radius: 50px;
  letter-spacing: .04em;
}

/* ── Stats ──
   Mobile: 2 col. 1100+: 4 col */
#stats {
  background: var(--navy-deep);
  padding: clamp(40px, 6vw, 72px) 0;
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(30,144,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* mobile: 2 col */
  gap: 14px;
  position: relative; z-index: 1;
}
.stat-item {
  text-align: center;
  padding: clamp(16px, 3vw, 28px) 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(4px);
  transition: border-color .25s, background .25s;
}
.stat-item:hover {
  border-color: rgba(0,191,255,.2);
  background: rgba(0,191,255,.04);
}
.stat-number {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--electric-cyan); }
.stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Section Shared ── */
.section-label {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-blue); margin-bottom: 12px;
}
.section-title  { margin-bottom: 14px; }
.section-sub    { font-size: 1rem; color: var(--text-muted); max-width: 560px; }
.section-header { margin-bottom: 40px; }

/* ── Features ──
   auto-fill: cards are naturally sized, grow to fill row */
#features { background: var(--white); }
.features-grid {
  display: grid;
  /* smaller min keeps more cards per row → less scrolling */
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 14px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 16px; transition: all .25s ease;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(30,144,255,.18); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(21,101,192,.07) 0%, rgba(30,144,255,.11) 100%);
  border: 1px solid rgba(30,144,255,.1);
  flex-shrink: 0;
}
.feature-icon .material-symbols-rounded { font-size: 20px !important; }
.feature-title { font-size: .875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 5px; }
.feature-desc  { font-size: .8125rem; color: var(--text-muted); line-height: 1.55; }

/* ── How It Works ──
   Mobile: 1 col stacked. 768+: 3 col with connector line */
#how { background: var(--ice-surface); overflow: hidden; }
.steps {
  display: grid;
  grid-template-columns: 1fr; /* mobile: stack */
  gap: 0;
  position: relative;
}
/* Connector line — only shown when 3-col */
.steps::before { display: none; }
.step {
  text-align: center;
  padding: 24px 16px;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num   {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--gradient); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(30,144,255,.3);
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: .9375rem; color: var(--text-muted); }

/* ── Reviews ──
   auto-fill handles responsive sizing naturally */
#social { background: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}
.review-card {
  background: var(--ice-surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 24px; transition: box-shadow .25s;
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars  { color: #F59E0B; font-size: .9375rem; letter-spacing: 3px; margin-bottom: 12px; }
.review-text   { font-size: .9375rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  font-size: .8125rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-name { font-size: .9375rem; font-weight: 700; color: var(--text-dark); }
.review-role { font-size: .8125rem; color: var(--text-muted); }

/* ── Pricing ──
   Mobile: 1 col centered. 960+: 3 col */
#pricing { background: var(--ice-surface); overflow: hidden; }

.pricing-toggle-wrap {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin-bottom: 36px;
}
.toggle-label {
  font-size: .9375rem; font-weight: 700; color: var(--text-dark);
  transition: opacity .2s;
}
#label-annual { display: flex; align-items: center; gap: 8px; }
.save-badge {
  background: #10B981; color: white;
  font-size: .6875rem; font-weight: 800; padding: 3px 10px; border-radius: 50px;
  letter-spacing: .04em; text-transform: uppercase;
}
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--border); border-radius: 50px;
  transition: background .2s;
}
.toggle-track::before {
  content: ''; position: absolute; width: 20px; height: 20px;
  border-radius: 50%; background: white;
  top: 3px; left: 3px;
  transition: transform .2s ease, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.toggle-switch input:checked + .toggle-track { background: var(--brand-blue); }
.toggle-switch input:checked + .toggle-track::before { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile: 1 col */
  gap: 20px;
  max-width: 460px;   /* center single cards on mobile */
  margin: 0 auto;
}
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 22px;
  padding: 28px 24px; position: relative; transition: all .25s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured {
  background: var(--navy-deep); border-color: rgba(30,144,255,.4);
  box-shadow: var(--shadow-lg);
  /* no scale on mobile — it clips out of flow */
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: var(--white); padding: 4px 16px;
  border-radius: 50px; font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.pricing-tier   { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.pricing-card.featured .pricing-tier { color: rgba(255,255,255,.45); }
.pricing-price  { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-dark); line-height: 1; margin-bottom: 4px; }
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-period { font-size: .875rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,.4); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--text-dark); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.82); }
.pricing-features li::before { content: '✓'; color: var(--electric-blue); font-weight: 800; flex-shrink: 0; }
.pricing-card.featured .pricing-features li::before { color: var(--electric-cyan); }
.pricing-cta { width: 100%; justify-content: center; }
.pricing-card.featured .btn-outline { color: var(--electric-cyan); border-color: var(--electric-cyan); }
.pricing-card.featured .btn-outline:hover { background: var(--electric-cyan); color: var(--navy-deep); }

/* ── CTA ── */
#cta { background: var(--gradient-dark); position: relative; overflow: hidden; }
#cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 80% 50%, rgba(30,144,255,.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner    { text-align: center; position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); }
.cta-inner p  { color: rgba(255,255,255,.62); font-size: 1rem; margin: 14px 0 32px; }
.cta-actions  {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
/* Stack all CTA buttons fully on mobile, side-by-side at 600px+ */
.cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }

/* ── Pricing toggle: stack vertically on very small phones ── */
@media (max-width: 479px) {
  .pricing-toggle-wrap { flex-direction: column; gap: 8px; align-items: center; }
}

/* ── Footer ──
   Mobile: 1 col. 600+: 2 col. 1100+: 4 col */
#footer { background: var(--navy-deep); padding: clamp(40px, 6vw, 64px) 0 28px; border-top: 1px solid rgba(255,255,255,.05); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile: 1 col */
  gap: 28px;
  margin-bottom: 40px;
}
.footer-brand-desc { color: rgba(255,255,255,.38); font-size: .875rem; margin-top: 10px; max-width: 240px; line-height: 1.7; }
.footer-col-title  { color: rgba(255,255,255,.55); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links      { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links button {
  color: rgba(255,255,255,.42); font-size: .875rem; transition: color .2s;
  background: none; border: none; cursor: pointer; font-family: var(--font);
  text-align: left; padding: 0;
}
.footer-links a:hover, .footer-links button:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.05);
}
.footer-copy   { color: rgba(255,255,255,.28); font-size: .8125rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 10px; /* 44px = minimum tap target */
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); transition: all .2s;
}
.footer-social a:hover { background: rgba(30,144,255,.2); border-color: rgba(30,144,255,.35); color: var(--white); }

/* ── Legal Pages ── */
.legal-hero   { background: var(--gradient-dark); padding: 120px 0 60px; }
.legal-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.legal-hero p  { color: rgba(255,255,255,.5); font-size: 1rem; }
.legal-body   { padding: 56px 0; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p  { font-size: .9875rem; color: #4B5563; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { font-size: .9875rem; color: #4B5563; margin-bottom: 6px; list-style: disc; }
.legal-content a  { color: var(--brand-blue); text-decoration: underline; }
.legal-content .last-updated {
  display: inline-block; background: var(--ice-surface); border: 1px solid var(--border);
  color: var(--text-muted); font-size: .8125rem; padding: 6px 14px; border-radius: 50px; margin-bottom: 32px;
}

/* ── Support ── */
.support-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.support-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; text-align: center; transition: all .25s;
}
.support-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.support-card-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(21,101,192,.08), rgba(30,144,255,.12));
  border: 1px solid rgba(30,144,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.support-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.support-card p  { font-size: .9375rem; margin-bottom: 20px; }
.faq             { max-width: 760px; margin: 56px auto 0; }
.faq-item        { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 700; color: var(--text-dark); font-family: var(--font);
}
.faq-q:hover  { color: var(--brand-blue); }
.faq-icon     { font-size: 1.25rem; transition: transform .2s; color: var(--brand-blue); flex-shrink: 0; }
.faq-a        { display: none; padding-bottom: 16px; }
.faq-a p      { font-size: .9875rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-a    { display: block; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.features-grid .reveal:nth-child(1) { transition-delay: 0s; }
.features-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.10s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.20s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.25s; }
.features-grid .reveal:nth-child(7) { transition-delay: 0.30s; }
.features-grid .reveal:nth-child(8) { transition-delay: 0.35s; }
.features-grid .reveal:nth-child(9) { transition-delay: 0.40s; }

.steps .reveal:nth-child(1) { transition-delay: 0s; }
.steps .reveal:nth-child(2) { transition-delay: 0.10s; }
.steps .reveal:nth-child(3) { transition-delay: 0.20s; }

.reviews-grid .reveal:nth-child(1) { transition-delay: 0s; }
.reviews-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.reviews-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

.pricing-grid .reveal:nth-child(1) { transition-delay: 0s; }
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.16s; }

.stats-grid .reveal:nth-child(1) { transition-delay: 0s; }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.stats-grid .reveal:nth-child(4) { transition-delay: 0.21s; }

/* ============================================================
   BREAKPOINT: 480px — Large phones
   Trust bar goes inline. Store badges side by side.
   Hero buttons go side by side.
   ============================================================ */
@media (min-width: 480px) {
  .trust-inner { flex-direction: row; justify-content: center; }
  .store-badge { flex: none; }
  .nav-logo-img { height: 40px; }
  .container { padding: 0 24px; }

  /* Hero buttons side-by-side on larger phones */
  .hero-actions .btn { width: auto; flex: 1; min-width: 0; }

  /* CTA buttons side-by-side */
  .cta-actions .btn { width: auto; flex: 1; }
}

/* ============================================================
   BREAKPOINT: 600px — Medium phones / small tablets
   Hero buttons go side by side. Footer 2-col.
   ============================================================ */
@media (min-width: 600px) {
  .hero-actions .btn { flex: none; width: auto; }

  /* Footer: 2 columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: row; text-align: left; }

  /* Support: 2 col */
  .support-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA buttons natural width */
  .cta-actions .btn { flex: none; min-width: auto; }
}

/* ============================================================
   BREAKPOINT: 768px — Tablet
   Steps go 3-col. Connector line appears.
   ============================================================ */
@media (min-width: 768px) {
  .section-header { margin-bottom: 52px; }

  /* Steps: 3 columns with connector */
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .steps::before {
    content: ''; display: block;
    position: absolute; top: 36px; left: 16.67%; right: 16.67%; height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--electric-blue) 30%, var(--electric-cyan) 70%, transparent 100%);
    opacity: .25;
  }
  /* Remove the bottom border dividers (used in stacked mobile view) */
  .step { border-bottom: none; padding: 16px; }

  /* Tablet: scale up mockup */
  .phone-mockup { zoom: 0.84; } /* 260 × 0.84 ≈ 218px */
}

/* ============================================================
   BREAKPOINT: 960px — Desktop
   Nav links visible, hero 2-col, pricing 3-col, stats 4-col.
   ============================================================ */
@media (min-width: 960px) {
  /* Nav */
  .nav-links    { display: flex; align-items: center; gap: 32px; }
  .nav-links a  { color: rgba(255,255,255,.72); font-size: .9375rem; font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--white); }
  .nav-hamburger { display: none; }
  .nav-logo-img  { height: 44px; }
  #nav { padding: 18px 0; top: 44px; }

  /* Hero: 2-col side by side, left-aligned text */
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 72px 0;
    text-align: left;
  }
  .hero-text   { order: 1; }
  .hero-visual { order: 2; }
  .hero-subtitle { margin: 0 0 32px; }   /* remove auto centering */
  .hero-actions  { justify-content: flex-start; }
  .hero-social-proof { justify-content: flex-start; }
  .hero-cta-sub  { justify-content: flex-start; }

  /* Desktop: full size mockup */
  .phone-mockup { zoom: 1.0; }
  .phone-glow   { width: 320px; height: 320px; }

  /* Stats: 4 columns */
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  /* Pricing: 3 columns, no max-width constraint */
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 24px;
    align-items: start;
  }
  .pricing-card.featured {
    transform: scale(1.04);
  }
  .pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

  /* Section header spacing */
  .section-header { margin-bottom: 60px; }
}

/* ============================================================
   BREAKPOINT: 1100px — Wide desktop
   Footer 4-col.
   ============================================================ */
@media (min-width: 1100px) {
  /* Footer: 4 columns, brand col is wider */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
  .footer-bottom { flex-direction: row; text-align: left; }
}
