/* ================================================================
   Aurorix Marketing Site — styles.css
   Palette:  Indigo #3D2FA8 / #6366F1  |  Cyan/Teal #00C8A0
   Brand blue (logo): #2D6EF5 / #5B8EFF
   Dark bg: #0D0F1A  |  Surface: #1A1D2E
   ================================================================ */

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

:root {
  /* Brand (theme-invariant) */
  --indigo:        #6366F1;
  --indigo-deep:   #3D2FA8;
  --indigo-light:  rgba(99, 102, 241, 0.15);
  --blue:          #2D6EF5;
  --blue-light:    #5B8EFF;
  --cyan:          #00C8A0;
  --cyan-dark:     #00A884;

  /* Dark theme (default) — Backgrounds */
  --bg-base:       #0D0F1A;
  --bg-surface:    #1A1D2E;
  --bg-elevated:   #222540;
  --bg-border:     #2D3150;

  /* Dark theme — Text */
  --text-primary:   #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted:     #64748B;

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Radius */
  --radius-sm:  0.5rem;
  --radius-md:  0.875rem;
  --radius-lg:  1.25rem;
  --radius-xl:  2rem;

  /* Font */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Light Theme Overrides ────────────────────────────────────── */
[data-theme="light"] {
  /* Backgrounds */
  --bg-base:       #F8F9FC;
  --bg-surface:    #FFFFFF;
  --bg-elevated:   #EEF0F8;
  --bg-border:     #DDE1F0;

  /* Text */
  --text-primary:   #0D0F1A;
  --text-secondary: #374151;
  --text-muted:     #6B7280;

  /* Brand accent adjustments for light bg */
  --indigo-light:  rgba(99, 102, 241, 0.1);
}

/* Nav in light mode */
[data-theme="light"] .nav {
  background-color: rgba(248, 249, 252, 0.82);
}

[data-theme="light"] .nav.scrolled {
  background-color: rgba(248, 249, 252, 0.96);
}

/* Hero grid lines in light mode */
[data-theme="light"] .hero__grid {
  background-image:
    linear-gradient(rgba(61, 47, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 47, 168, 0.08) 1px, transparent 1px);
}

/* Hero bg glow in light mode — softer */
[data-theme="light"] .hero__bg::before {
  background: radial-gradient(ellipse at 50% 0%,
    rgba(61, 47, 168, 0.18) 0%,
    rgba(99, 102, 241, 0.08) 40%,
    transparent 70%
  );
}

/* Section alt in light mode */
[data-theme="light"] .section--alt {
  background-color: #F0F2FA;
}

/* Mobile nav overlay in light mode */
[data-theme="light"] .nav__links {
  background: rgba(248, 249, 252, 0.97);
}

/* Phone frame — always renders with dark-theme values, regardless of the
   site theme, because it's a device mockup of the app's dark UI. Pinning the
   theme variables locally keeps the inner UI (text, pills, items) readable in
   light mode instead of inheriting light values onto a dark screen. */
.phone-frame__screen {
  --bg-base:        #0D0F1A;
  --bg-surface:     #1A1D2E;
  --bg-elevated:    #222540;
  --bg-border:      #2D3150;
  --text-primary:   #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted:     #64748B;
  --indigo-light:   rgba(99, 102, 241, 0.15);
}

/* In light mode, paint the phone mockup white — the device renders the app's
   light UI to match the site theme. Overrides the dark pinning above. */
[data-theme="light"] .phone-frame__screen {
  --bg-base:        #FFFFFF;
  --bg-surface:     #F6F7FB;
  --bg-elevated:    #EEF0F8;
  --bg-border:      #E4E7F2;
  --text-primary:   #0D0F1A;
  --text-secondary: #374151;
  --text-muted:     #6B7280;
  --indigo-light:   rgba(99, 102, 241, 0.1);
}

/* Light-mode device shell — white body with soft shadow instead of the
   dark gradient/glow used in dark mode. */
[data-theme="light"] .phone-frame__shell {
  background: linear-gradient(160deg, #FFFFFF 0%, #F2F4FA 60%, #E9ECF6 100%);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.9),
    0 0 0 7px rgba(99, 102, 241, 0.12),
    0 40px 80px rgba(15, 23, 42, 0.18),
    0 0 60px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Softer glow under the phone in light mode */
[data-theme="light"] .phone-frame__glow {
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

/* Store buttons in light mode */
[data-theme="light"] .btn--store {
  background: #FFFFFF;
  border-color: var(--bg-border);
  color: var(--text-primary);
}

[data-theme="light"] .btn--store:hover {
  background: var(--bg-elevated);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Feature card hover shadow in light mode */
[data-theme="light"] .feature-card:hover {
  box-shadow: 0 12px 40px rgba(61,47,168,0.12), 0 0 0 1px rgba(99,102,241,0.15);
}

/* CTA section bg in light mode */
[data-theme="light"] .cta-section__bg {
  background: linear-gradient(135deg,
    rgba(61, 47, 168, 0.08) 0%,
    rgba(99, 102, 241, 0.04) 50%,
    rgba(0, 200, 160, 0.04) 100%
  );
}

/* Footer in light mode */
[data-theme="light"] .footer {
  background: #FFFFFF;
  border-top-color: var(--bg-border);
}

/* Policy highlight in light mode */
[data-theme="light"] .policy-highlight {
  background: #F0F2FA;
}

/* ── Nav Toggle Buttons ────────────────────────────────────────── */
.nav__toggles {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

/* Shared base style for both icon-buttons */
.nav__toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  line-height: 1;
}

.nav__toggle-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--indigo);
}

/* Language toggle — text label */
.nav__lang-toggle {
  padding: 0.35rem 0.625rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 2.25rem;
}

/* Theme toggle — icon only */
.nav__theme-toggle {
  padding: 0.375rem;
  width: 2rem;
  height: 2rem;
}

.nav__theme-toggle svg {
  display: block;
  flex-shrink: 0;
}

/* Show the target-state icon: sun while dark (click → light),
   moon while light (click → dark).
   Scoped under .nav__theme-toggle so these beat the `.nav__theme-toggle svg`
   rule above (which would otherwise force both icons visible in dark mode). */
.nav__theme-toggle .icon-sun  { display: block; }
.nav__theme-toggle .icon-moon { display: none; }

[data-theme="light"] .nav__theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .nav__theme-toggle .icon-moon { display: block; }

/* Mobile: toggles visible inside hamburger menu */
@media (max-width: 768px) {
  .nav__toggles {
    /* Always visible next to hamburger on mobile */
    order: 2;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h4 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* ── Layout Utilities ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}

.section--alt {
  background-color: var(--bg-surface);
}

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.125rem;
  background-color: rgba(13, 15, 26, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--bg-border);
  background-color: rgba(13, 15, 26, 0.92);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.nav__logo-x {
  color: var(--blue-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.375rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--indigo-deep), var(--indigo));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.btn--primary:active {
  transform: translateY(0);
}

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

.btn--ghost:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--bg-elevated);
}

.btn--large {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn--store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.3;
  transition: all 0.2s var(--ease);
}

.btn--store:hover {
  background: var(--bg-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn--store .store-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: block;
}

.btn--store .store-name {
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(var(--space-2xl) + 5rem);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Radial gradient aurora glow */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 900px;
  height: 70vh;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(61, 47, 168, 0.4) 0%,
    rgba(99, 102, 241, 0.18) 40%,
    transparent 70%
  );
}

/* Teal accent glow */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 5%;
  right: -5%;
  width: 40vw;
  max-width: 500px;
  height: 40vw;
  max-height: 500px;
  background: radial-gradient(circle,
    rgba(0, 200, 160, 0.12) 0%,
    transparent 65%
  );
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 49, 80, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 49, 80, 0.35) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 10%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  background: var(--indigo-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--indigo);
  margin-bottom: var(--space-md);
  width: fit-content;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero__headline {
  margin-bottom: var(--space-md);
}

.hero__headline mark {
  background: none;
  background-image: linear-gradient(90deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__stores {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

/* ── Phone Mockup ─────────────────────────────────────────────── */
.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  flex-shrink: 0;
}

.phone-frame__shell {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2a2e4a 0%, #1a1d2e 60%, #131525 100%);
  border-radius: 44px;
  border: 1.5px solid rgba(99, 102, 241, 0.35);
  box-shadow:
    0 0 0 6px rgba(13, 15, 26, 0.8),
    0 0 0 7px rgba(45, 49, 80, 0.4),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

.phone-frame__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0D0F1A;
  border-radius: 14px;
  z-index: 2;
}

.phone-frame__screen {
  position: absolute;
  top: 16px;
  left: 10px;
  right: 10px;
  bottom: 16px;
  background: var(--bg-base);
  border-radius: 36px;
  overflow: hidden;
  z-index: 1;
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 56px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Simulated app UI inside the phone */
.phone-screen__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-screen__greeting {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.phone-screen__sub {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 1px;
}

.phone-screen__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
}

.phone-screen__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-pill {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 10px 10px 8px;
  border: 1px solid var(--bg-border);
}

.stat-pill__label {
  font-size: 8px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.stat-pill__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-pill__value span {
  font-size: 8px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

.stat-pill--accent .stat-pill__value {
  color: var(--cyan);
}

.phone-screen__section-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-screen__chart {
  background: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--bg-border);
  padding: 10px;
  height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--indigo-light);
  position: relative;
  transition: background 0.3s;
}

.chart-bar--active {
  background: linear-gradient(180deg, var(--indigo), var(--blue));
}

.chart-bar--cyan {
  background: linear-gradient(180deg, var(--cyan), var(--cyan-dark));
}

.phone-screen__items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-item {
  background: var(--bg-surface);
  border-radius: 10px;
  border: 1px solid var(--bg-border);
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-item__dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-item__dot--blue {
  background: rgba(45, 110, 245, 0.18);
}

.phone-item__dot--teal {
  background: rgba(0, 200, 160, 0.18);
}

.phone-item__dot--purple {
  background: rgba(99, 102, 241, 0.18);
}

.phone-item__label {
  font-size: 9px;
  color: var(--text-muted);
}

.phone-item__value {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1px;
}

.phone-item__badge {
  margin-left: auto;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
}

.phone-item__badge--green {
  background: rgba(16, 185, 129, 0.18);
  color: #10B981;
}

.phone-item__badge--amber {
  background: rgba(245, 158, 11, 0.18);
  color: #F59E0B;
}

.phone-frame__glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* Second phone (smaller, offset) */
.phone-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-stack .phone-frame--secondary {
  position: absolute;
  right: -60px;
  bottom: 30px;
  width: 200px;
  height: 400px;
  opacity: 0.5;
  transform: rotate(6deg);
  filter: blur(1px);
}


/* ── Features ─────────────────────────────────────────────────── */
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  background: var(--indigo-light);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.section__heading {
  margin-bottom: var(--space-xs);
}

.section__sub {
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.feature-card__icon--blue   { background: rgba(45, 110, 245, 0.15); }
.feature-card__icon--indigo { background: rgba(99, 102, 241, 0.15); }
.feature-card__icon--teal   { background: rgba(0, 200, 160, 0.15); }
.feature-card__icon--amber  { background: rgba(245, 158, 11, 0.15); }
.feature-card__icon--purple { background: rgba(123, 95, 255, 0.15); }
.feature-card__icon--green  { background: rgba(16, 185, 129, 0.15); }

.feature-card__title {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Stats strip ──────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  padding-block: var(--space-lg);
}

.stats-strip__inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.stat-item__value {
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── How it works ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--bg-border), var(--indigo), var(--bg-border));
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.step-card__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-card__num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--indigo-light);
  z-index: -1;
}

.step-card__title {
  margin-bottom: 0.5rem;
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── CTA section ──────────────────────────────────────────────── */
.cta-section {
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(61, 47, 168, 0.25) 0%,
    rgba(99, 102, 241, 0.1) 50%,
    rgba(0, 200, 160, 0.08) 100%
  );
  pointer-events: none;
}

.cta-section__bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  max-width: 700px;
  height: 60vw;
  max-height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 65%);
}

.cta-card {
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--indigo), var(--cyan), transparent);
}

.cta-card__headline {
  margin-bottom: var(--space-sm);
}

.cta-card__sub {
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-inline: auto;
}

.cta-card__stores {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.footer__brand-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: 1px solid var(--bg-border);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__bottom-links a:hover {
  color: var(--text-secondary);
}

/* ── Privacy Policy page ──────────────────────────────────────── */
.policy-page {
  padding-top: 7rem;
  padding-bottom: var(--space-2xl);
}

.policy-page .container {
  max-width: 760px;
}

.policy-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--bg-border);
}

.policy-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-xs);
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.policy-body h2 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bg-border);
}

.policy-body h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: var(--space-md);
  margin-bottom: 0.5rem;
}

.policy-body p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.75;
}

.policy-body ul, .policy-body ol {
  margin-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

.policy-body li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
  line-height: 1.65;
}

.policy-body a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-body a:hover {
  color: var(--cyan);
}

.policy-highlight {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-left: 3px solid var(--indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-md);
  margin-block: var(--space-md);
}

.policy-highlight p {
  margin: 0;
  font-size: 0.9rem;
}

/* ── Form (delete account) ────────────────────────────────────── */
.form {
  max-width: 520px;
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form__label span {
  color: var(--blue-light);
}

.form__input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.form__textarea {
  resize: vertical;
  min-height: 96px;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.form__check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--indigo);
}

.form__error {
  margin: 0;
  font-size: 0.85rem;
  color: #ef4444;
}

.form__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.form__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form__hint a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Hamburger / mobile nav ───────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

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

.animate-float { animation: float 5s ease-in-out infinite; }

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(13, 15, 26, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.25rem;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__badge { margin-inline: auto; }
  .hero__sub   { margin-inline: auto; }

  .hero__actions {
    justify-content: center;
  }

  .hero__stores {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    margin-bottom: var(--space-md);
  }

  .phone-frame {
    width: 220px;
    height: 460px;
  }

  .phone-stack .phone-frame--secondary {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card {
    padding: var(--space-lg) var(--space-md);
  }

  .stats-strip__inner {
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero__stores {
    flex-direction: column;
    align-items: center;
  }

  .cta-card__stores {
    flex-direction: column;
    align-items: center;
  }
}
