/* ========== MODERN AESTHETIC DESIGN SYSTEM ========== */
/* LeadStack — Inspired by Apple, Stripe, Linear */

:root {
  /* Primary Colors */
  --blue: #007AFF;
  --blue-dark: #0051D5;
  --blue-light: #E8F4FD;
  --indigo: #5856D6;
  --purple: #AF52DE;
  --pink: #FF2D55;
  --red: #FF3B30;
  --orange: #FF9500;
  --yellow: #FFCC00;
  --green: #34C759;
  --teal: #5AC8FA;
  --cyan: #32ADE6;

  /* Neutrals */
  --gray-1: #8E8E93;
  --gray-2: #AEAEB2;
  --gray-3: #C7C7CC;
  --gray-4: #D1D1D6;
  --gray-5: #E5E5EA;
  --gray-6: #F2F2F7;

  /* Surfaces */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F2F2F7;
  --bg-tertiary: #FFFFFF;
  --bg-grouped: #F2F2F7;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;

  /* Text */
  --text-primary: #000000;
  --text-secondary: #3C3C43;
  --text-tertiary: rgba(60,60,67,0.6);
  --text-quaternary: rgba(60,60,67,0.3);

  /* Separators */
  --separator: rgba(60,60,67,0.29);
  --separator-opaque: #C6C6C8;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 8px 32px rgba(0,0,0,0.12), 0 16px 48px rgba(0,0,0,0.16);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  /* Blur */
  --blur: saturate(180%) blur(20px);

  /* ---------- SPACING SCALE ----------
     One source of truth for every gap, pad and margin.
     Card interiors use --card-pad-y / --card-pad-x so every
     card type breathes identically and scales together. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Card interior padding (roomy blocks: cards, form sections) */
  --card-pad-y: 24px;
  --card-pad-x: 20px;

  /* Row interior padding (compact list rows) */
  --row-pad-y: 16px;
  --row-pad-x: 20px;

  /* Gap between an icon and its text, and between stacked cards */
  --gap-inline: 14px;
  --gap-grid: 16px;

  /* Layout */
  --content-max: 640px;
  --section-spacing: 48px;
  --page-gutter: 20px;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Clip sideways overflow on the ROOT, not on body.
     Putting overflow-x on body turns body into the scroll container,
     which breaks window.scrollTo/scrollY, anchor jumps and
     document.elementFromPoint below the fold. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-grouped);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* ========== CONTAINER ========== */
.ios-container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* Breakpoints scale the spacing tokens once, so every card, row and
   grid grows in step. Components must not re-declare padding here. */
@media (min-width: 768px) {
  :root {
    --content-max: 720px;
    --section-spacing: 64px;
    --card-pad-y: 28px;
    --card-pad-x: 24px;
    --row-pad-y: 18px;
    --row-pad-x: 24px;
    --gap-grid: 20px;
  }
}

@media (min-width: 1024px) {
  :root {
    --content-max: 960px;
    --section-spacing: 80px;
    --card-pad-y: 32px;
    --card-pad-x: 28px;
    --row-pad-y: 20px;
    --row-pad-x: 28px;
    --gap-grid: 24px;
  }
}

@media (min-width: 1280px) {
  :root {
    --content-max: 1100px;
    --section-spacing: 96px;
    --card-pad-y: 36px;
    --card-pad-x: 32px;
    --gap-grid: 28px;
  }
}

/* ========== NAVIGATION BAR ========== */
/* 3-zone grid: logo left | page links centered | actions right.
   1fr/auto/1fr keeps the centre column optically centred in the bar
   even when the left and right groups have different widths. */
.ios-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 0.5px solid var(--separator);
  transition: background 0.3s var(--ease-out);
  padding: 0 16px;
}

.ios-nav-title {
  grid-column: 1;
  justify-self: start;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-out);
}

.ios-nav-title:hover { opacity: 0.75; }

.ios-nav-title img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.ios-nav-btn {
  flex-shrink: 0;
  font-size: 17px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  text-decoration: none;
  white-space: nowrap;
}

.ios-nav-btn:hover { opacity: 0.7; }

.ios-nav .nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ios-nav .ios-menu-desktop {
  grid-column: 2;
  justify-self: center;
  display: none;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ========== CONTENT AREA ========== */
.ios-content {
  padding-top: 48px;
  /* No fixed bottom bar any more — just respect the device safe area. */
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 100vh;
}

/* ========== SECTION ========== */
.ios-section {
  margin-bottom: var(--section-spacing);
}

.ios-section-header {
  padding: 0 0 var(--space-5);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e0d4f5;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ios-section-header::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #c084fc, #e879f9);
  margin: 10px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.5);
}

/* ========== LIST (Grouped) ========== */
.ios-list {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.6) 0%, rgba(15, 5, 40, 0.4) 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ios-list-item {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: var(--row-pad-y) var(--row-pad-x);
  border-bottom: 0.5px solid rgba(120, 50, 200, 0.15);
  background: transparent;
  transition: background 0.15s var(--ease-out);
}

.ios-list-item:last-child { border-bottom: none; }
.ios-list-item:active { background: rgba(120, 50, 200, 0.1); }

.ios-list-item .item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-right: var(--gap-inline);
  font-size: 18px;
}

.ios-list-item .item-label {
  flex: 1;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}

.ios-list-item .item-value {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-right: 8px;
}

.ios-list-item .item-chevron {
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  font-weight: 300;
}

/* ========== CARD ========== */
.ios-card {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.7) 0%, rgba(15, 5, 40, 0.5) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(180, 100, 255, 0.2), inset 0 -1px 0 rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.ios-card.interactive:active { transform: scale(0.98); }

.ios-card-body { padding: var(--card-pad-y) var(--card-pad-x); }

.ios-card-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.ios-card-subtitle {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* ========== BUTTONS ========== */
.ios-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.15s var(--ease-out), opacity 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.ios-btn:active {
  transform: scale(0.96);
  opacity: 0.85;
}

.ios-btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,122,255,0.25);
}

.ios-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(0,122,255,0.35);
}

.ios-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ios-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.ios-btn-ghost {
  background: transparent;
  color: var(--blue);
}

.ios-btn-large {
  width: 100%;
  min-height: 52px;
  font-size: 17px;
  font-weight: 600;
  border-radius: var(--radius-md);
}

/* ========== HERO ========== */
.ios-hero {
  padding: var(--space-12) var(--page-gutter) var(--space-10);
  text-align: center;
  background: transparent;
  position: relative;
}

.ios-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-grouped) 100%);
  pointer-events: none;
  z-index: -1;
}

.ios-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 500px;
  margin-inline: auto;
}

.ios-hero h1 .gradient-text {
  background: linear-gradient(135deg, #f0abfc 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ios-hero h1 .glow {
  position: relative;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.6), 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes text-glow {
  from { text-shadow: 0 0 30px rgba(168, 85, 247, 0.4), 0 2px 4px rgba(0,0,0,0.3); }
  to { text-shadow: 0 0 60px rgba(192, 132, 252, 0.6), 0 2px 4px rgba(0,0,0,0.3); }
}

.ios-hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  max-width: 420px;
  margin: 0 auto 40px;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ios-hero .ios-btn-large {
  max-width: 320px;
  margin: 0 auto;
  font-size: 18px;
  padding: 16px 32px;
}

/* ========== GRID ========== */
.ios-grid {
  display: grid;
  gap: var(--gap-grid);
}

.ios-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ios-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ios-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========== STAT CARD ========== */
.ios-stat-card {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.7) 0%, rgba(15, 5, 40, 0.5) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--card-pad-y) var(--card-pad-x);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(180, 100, 255, 0.15);
}

.ios-stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.ios-stat-card .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ========== PACKAGE CARD ========== */
.ios-package-card {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.7) 0%, rgba(15, 5, 40, 0.5) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--card-pad-y) var(--card-pad-x);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(180, 100, 255, 0.2);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.ios-package-card:active { transform: scale(0.98); }

.ios-package-card.recommended {
  border: 2px solid rgba(120, 50, 200, 0.5);
  box-shadow: 0 0 0 4px rgba(120, 50, 200, 0.15), 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(180, 100, 255, 0.25);
}

.ios-package-card .pkg-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.ios-package-card .pkg-badge.once {
  background: rgba(120, 50, 200, 0.3);
  color: #fff;
}

.ios-package-card .pkg-badge.recommended {
  background: var(--blue);
  color: #fff;
}

.ios-package-card .pkg-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: #fff;
}

.ios-package-card .pkg-price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 6px;
}

.ios-package-card .pkg-price span {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

.ios-package-card .pkg-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 44px;
}

.ios-package-card .pkg-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 0.5px solid rgba(120, 50, 200, 0.2);
}

.ios-package-card .pkg-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.ios-package-card .pkg-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

/* ========== FOOTER ========== */
.ios-footer {
  margin-top: var(--section-spacing);
  padding: var(--space-12) var(--page-gutter) var(--space-10);
  border-top: 1px solid rgba(120, 50, 200, 0.22);
  background: linear-gradient(180deg, rgba(30, 10, 60, 0.35) 0%, rgba(12, 4, 30, 0.6) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.ios-footer-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

/* --- Top row: brand + nav --- */
.ios-footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(120, 50, 200, 0.16);
}

.ios-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.ios-footer .footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ios-footer .footer-tagline {
  margin-top: var(--space-2);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
}

/* --- Link columns --- */
.ios-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.ios-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(192, 132, 252, 0.9);
  margin-bottom: var(--space-4);
}

.ios-footer-col ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.ios-footer-col a,
.ios-footer-col span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s var(--ease-out);
}

.ios-footer-col a:hover {
  color: #e9d5ff;
}

.ios-footer-col a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.ios-footer-col a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #c084fc;
}

/* --- Bottom bar --- */
.ios-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
  padding-top: var(--space-6);
}

.ios-footer .footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}

.ios-footer .footer-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

.ios-footer .footer-meta strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

@media (min-width: 768px) {
  .ios-footer-top {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-12);
  }

  .ios-footer-brand-block { max-width: 300px; }

  .ios-footer-nav {
    grid-template-columns: repeat(2, minmax(140px, auto));
    gap: var(--space-12);
  }

  .ios-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ========== SCROLL INDICATOR ========== */
.ios-scroll-indicator {
  position: fixed;
  z-index: 99;
  top: 48px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ========== ANIMATIONS ========== */
@keyframes ios-spring {
  0% { transform: scale(0.9); opacity: 0; }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

.ios-animate-in {
  animation: ios-spring 0.5s var(--spring) both;
}

/* ========== MOBILE MENU ========== */
.ios-mobile-menu {
  position: fixed;
  z-index: 200;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-primary);
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  transition: right 0.35s var(--ease-out);
  overflow-y: auto;
  padding-top: 60px;
}

.ios-mobile-menu.open { right: 0; }

.ios-mobile-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 0.5px solid var(--separator-opaque);
  transition: background 0.15s var(--ease-out);
  text-decoration: none;
}

.ios-mobile-menu .menu-item:active { background: var(--gray-5); }

.ios-mobile-menu .menu-item svg {
  width: 24px;
  height: 24px;
  color: #c084fc;
  flex-shrink: 0;
}

.ios-mobile-menu-backdrop {
  position: fixed;
  z-index: 199;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}

.ios-mobile-menu-backdrop.open { opacity: 1; visibility: visible; }

body.menu-open { overflow: hidden; }

/* ========== SHADER BACKGROUND ========== */
.shader-bg {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

/* ========== iOS DESKTOP MENU ========== */
/* Positioning is owned by each nav's grid (see NAVIGATION BAR /
   LARGE TITLE NAV). This block only styles the links themselves. */
.ios-menu-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

.ios-menu-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease-out);
}

.ios-menu-desktop a:hover {
  color: var(--blue);
}

/* ========== iOS DARK MODE SUPPORT ========== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #000000;
    --bg-secondary: #1C1C1E;
    --bg-tertiary: #2C2C2E;
    --bg-card: #1C1C1E;
    --bg-grouped: #000000;
    --text-primary: #FFFFFF;
    --text-secondary: #EBEBF5;
    --text-tertiary: rgba(235,235,245,0.6);
    --text-quaternary: rgba(235,235,245,0.3);
    --separator: rgba(235,235,245,0.29);
    --separator-opaque: #38383A;
    --gray-5: #2C2C2E;
    --gray-4: #3A3A3C;
    --gray-3: #48484A;
  }

  .ios-nav {
    background: rgba(28,28,30,0.72);
  }

  .ios-card {
    background: rgba(44, 44, 46, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* ========== iOS REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
  .ios-hero { padding: 72px 20px 64px; }
  .ios-hero h1 { font-size: 3.2rem; max-width: 500px; }
  .ios-hero p { font-size: 19px; max-width: 440px; }
  .ios-stat-card .stat-value { font-size: 32px; }
}

@media (min-width: 1024px) {
  .ios-hero { padding: 88px 20px 72px; }
  .ios-hero h1 { font-size: 3.8rem; }
  .ios-stat-card .stat-value { font-size: 36px; }
  .ios-nav .ios-menu-desktop { display: flex; }
}

@media (min-width: 1280px) {
  .ios-hero { padding: 100px 20px 80px; }
  .ios-hero h1 { font-size: 4.2rem; }
  .ios-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
