/* ================================================
   HabitApex — Apple-Quality Main Stylesheet v2
   ================================================ */

/* ── Base ────────────────────────────────────── */
html {
  font-family: var(--font-system);
  font-size: 16px;
  background: var(--color-black);
  color: var(--color-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
  overflow-x: hidden;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body { overflow-x: hidden; }

/* ── Utilities ────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--wide {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--full {
  max-width: var(--max-w-full);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 6rem);
}

.gradient-text {
  background: var(--gradient-brand-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Apple-Style Buttons ─────────────────────── */
.btn-apple {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-system);
  font-size: var(--text-17);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-body);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-apple--solid {
  background: var(--color-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-apple--solid:hover {
  background: var(--color-brand-hover);
  box-shadow: 0 12px 40px rgba(37,99,235,0.4);
}

.btn-apple--white {
  background: #fff;
  color: var(--color-text-dark);
}
.btn-apple--white:hover { background: #e8e8ed; }

.btn-apple--outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn-apple--outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-apple--outline-dark {
  background: transparent;
  color: var(--color-text-dark);
  border: 1px solid rgba(0,0,0,0.15);
}
.btn-apple--outline-dark:hover {
  background: rgba(0,0,0,0.04);
}

.btn-apple--sm {
  padding: 8px 16px;
  font-size: var(--text-14);
}

.btn-apple__icon {
  font-size: 1em;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn-apple:hover .btn-apple__icon { transform: translateX(3px); }

/* ── Section Labels (Apple eyebrow) ─────────── */
.eyebrow {
  font-size: var(--text-12);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: var(--space-16);
}
.eyebrow--light {
  color: var(--color-brand-light);
}
.eyebrow--dark {
  color: var(--color-brand);
}

/* ── Apple Section Title ─────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-40), 5vw, var(--text-56));
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
}
.section-title--light { color: var(--color-text-light); }
.section-title--dark  { color: var(--color-text-dark); }

.section-sub {
  font-size: clamp(var(--text-17), 2vw, var(--text-21));
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  max-width: 54ch;
}
.section-sub--light { color: var(--color-text-muted2); }
.section-sub--dark  { color: var(--color-text-muted); }

/* ── Link Arrow (Apple style "Learn more ›") ── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-17);
  font-weight: var(--weight-regular);
  color: var(--color-link-light);
  text-decoration: none;
  transition: gap var(--dur-fast);
}
.link-arrow:hover { gap: 8px; }
.link-arrow--dark { color: var(--color-link-dark); }


/* ════════════════════════════════════════════════
   1. NAV — Apple 44px Frosted Glass
   ════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow);
}

.nav--dark {
  background: var(--glass-dark-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.nav--light {
  background: var(--glass-light-bg);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.nav__inner {
  height: 100%;
  max-width: var(--max-w-full);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--text-17);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity var(--dur-fast);
}
.nav__logo:hover { opacity: 0.75; }
.nav__logo--light { color: #fff; }
.nav__logo--dark  { color: var(--color-text-dark); }
.nav__logo-icon {
  font-size: 1.2em;
  transition: transform var(--dur-base) var(--ease-spring);
}
.nav__logo:hover .nav__logo-icon { transform: rotate(-5deg) scale(1.1); }

/* Centered nav links */
.nav__center {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-16), 2.5vw, var(--space-32));
}

.nav-link {
  position: relative;
  font-size: var(--text-12);
  font-weight: var(--weight-regular);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity var(--dur-fast);
  letter-spacing: 0.01em;
}
.nav-link:hover { opacity: 1; }
.nav-link--light { color: rgba(255,255,255,0.88); }
.nav-link--dark  { color: var(--color-text-dark); }

/* Right side CTA */
.nav__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-12);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border: none;
  background: none;
}
.nav__burger-line {
  width: 18px; height: 1.5px;
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
}
.nav__burger-line--light { background: rgba(255,255,255,0.9); }
.nav__burger-line--dark  { background: var(--color-text-dark); }
.nav__burger.open .nav__burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open .nav__burger-line:nth-child(2) { transform: scaleX(0); opacity: 0; }
.nav__burger.open .nav__burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile fullscreen menu */
.nav__sheet {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 899;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-32);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.nav__sheet.open { opacity: 1; pointer-events: all; }
.nav__sheet a {
  font-family: var(--font-display);
  font-size: var(--text-40);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--dur-fast), transform var(--dur-base);
}
.nav__sheet a:hover { color: #fff; transform: translateX(8px); }


/* ════════════════════════════════════════════════
   2. HERO — Apple Light Theme, Split Layout & 3-Phone Showcase
   ════════════════════════════════════════════════ */
.hero--light {
  position: relative;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: clamp(40px, 6vh, 80px);
}

/* Radiant ambient lighting on light background */
.hero-light__glow-mesh {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle at 60% 40%,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(147, 51, 234, 0.05) 35%,
    rgba(6, 182, 212, 0.04) 60%,
    transparent 80%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-light__glow-radial {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at 40% 60%,
    rgba(59, 130, 246, 0.06) 0%,
    rgba(16, 185, 129, 0.04) 40%,
    transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-light__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-light__grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  min-height: calc(100vh - var(--nav-h) - 100px);
}

/* ── Left Column: Content & Typography ──────── */
.hero-light__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  z-index: 2;
}

/* Live pill badge */
.hero-light__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: clamp(16px, 2vw, 24px);
  backdrop-filter: blur(8px);
}
.hero-light__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s ease-in-out infinite;
}
.hero-light__badge-sep {
  width: 1px;
  height: 12px;
  background: rgba(37, 99, 235, 0.2);
}

/* Master headline */
.hero-light__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #09090b;
  margin-bottom: clamp(12px, 1.4vw, 16px);
}

.hero-light__gradient {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-light__sub {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  font-weight: 400;
  line-height: 1.52;
  color: #475569;
  max-width: 50ch;
  margin-bottom: clamp(16px, 1.8vw, 22px);
}

/* Inspiring App Quote Card */
.hero-light__quote-card {
  position: relative;
  display: flex;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 13px 18px;
  margin-bottom: clamp(18px, 2vw, 24px);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  overflow: hidden;
  max-width: 540px;
}
.hero-light__quote-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #2563eb, #38bdf8);
}
.hero-light__quote-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-light__quote-icon {
  color: #2563eb;
  opacity: 0.8;
  margin-bottom: -2px;
}
.hero-light__quote-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1e293b;
  font-style: italic;
  font-weight: 450;
  margin: 0;
}
.hero-light__quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  flex-wrap: wrap;
}
.hero-light__quote-author {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
}
.hero-light__quote-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Action CTAs */
.hero-light__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
  flex-wrap: wrap;
}
.btn-apple--dark {
  background: #09090b !important;
  color: #ffffff !important;
  border: 1px solid #09090b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.btn-apple--dark:hover {
  background: #18181b !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.btn-apple--glass-light {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn-apple--glass-light:hover {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
  color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Trust Proof Row */
.hero-light__proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  flex-wrap: wrap;
}
.hero-light__proof-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-light__stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.hero-light__proof-text {
  font-size: 0.82rem;
  color: #475569;
}
.hero-light__proof-divider {
  width: 1px;
  height: 14px;
  background: #cbd5e1;
}
.hero-light__proof-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
}
.hero-light__proof-icon {
  font-size: 0.95rem;
}

/* ── Right Column: 3 Mobile Phones Showcase ──── */
.hero-light__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  min-height: 560px;
}

.hero-phones-trio {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 580px;
  height: 600px;
}

/* Phone Card Base */
.hero-phone-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  cursor: pointer;
}

/* Phone Chassis (Apple iPhone 15/16 Pro Titanium Frame) */
.hero-phone-chassis {
  position: relative;
  width: clamp(230px, 21vw, 265px);
  aspect-ratio: 9 / 19.5;
  background: #111827;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 0 0 2px #d1d5db,
    0 0 0 3.5px #9ca3af,
    0 25px 60px -15px rgba(0, 0, 0, 0.28),
    0 12px 24px -8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.hero-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000000;
}

.hero-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Apple Dynamic Island Cutout */
.hero-phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 18px;
  background: #000000;
  border-radius: 9999px;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Screen Glass Sheen */
.hero-phone-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 40%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

/* Phone Label Caption */
.hero-phone-caption {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-phone-caption--featured {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Phone 1: Left Angled — Auri AI Coach */
.hero-phone-card--left {
  z-index: 2;
  transform: translate(-98%, -50%) rotate(-7deg) scale(0.92);
  animation: heroFloatLeft 7s ease-in-out infinite;
}
.hero-phone-card--left:hover {
  z-index: 10;
  transform: translate(-95%, -54%) rotate(0deg) scale(1.02);
  animation-play-state: paused;
}

/* Phone 2: Center Foreground — Main Habit Priority Dashboard */
.hero-phone-card--center {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.03);
  animation: heroFloatCenter 6s ease-in-out infinite 0.8s;
}
.hero-phone-card--center:hover {
  z-index: 10;
  transform: translate(-50%, -54%) scale(1.08);
  animation-play-state: paused;
}

/* Phone 3: Right Angled — RPG XP & Heatmap */
.hero-phone-card--right {
  z-index: 2;
  transform: translate(-2%, -50%) rotate(7deg) scale(0.92);
  animation: heroFloatRight 7.5s ease-in-out infinite 1.6s;
}
.hero-phone-card--right:hover {
  z-index: 10;
  transform: translate(-5%, -54%) rotate(0deg) scale(1.02);
  animation-play-state: paused;
}

/* Floating telemetry badges on center phone */
.hero-phone-badge {
  position: absolute;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  z-index: 6;
  pointer-events: none;
}
.hero-phone-badge-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 2px;
}
.hero-phone-badge-val {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}
.hero-phone-badge--courage {
  top: 15%;
  right: -24%;
  animation: badgeFloat 6s ease-in-out infinite;
}
.hero-phone-badge--waterfall {
  bottom: 20%;
  left: -24%;
  animation: badgeFloat 7s ease-in-out infinite 1.2s;
}

/* Floating Keyframes */
@keyframes heroFloatCenter {
  0%, 100% { transform: translate(-50%, -50%) scale(1.03); }
  50%      { transform: translate(-50%, -53%) scale(1.03); }
}
@keyframes heroFloatLeft {
  0%, 100% { transform: translate(-98%, -50%) rotate(-7deg) scale(0.92); }
  50%      { transform: translate(-98%, -53%) rotate(-6deg) scale(0.92); }
}
@keyframes heroFloatRight {
  0%, 100% { transform: translate(-2%, -50%) rotate(7deg) scale(0.92); }
  50%      { transform: translate(-2%, -53%) rotate(6deg) scale(0.92); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.2); }
}

/* Scroll indicator light */
.hero__scroll--light {
  color: #64748b;
}
.hero__scroll--light .hero__scroll-line {
  background: #cbd5e1;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .hero-light__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-top: 20px;
  }
  .hero-light__left {
    align-items: center;
    text-align: center;
  }
  .hero-light__h1 {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
  }
  .hero-light__quote-card {
    text-align: left;
    margin-inline: auto;
  }
  .hero-light__ctas {
    justify-content: center;
  }
  .hero-light__proof {
    justify-content: center;
  }
  .hero-light__right {
    min-height: 480px;
    width: 100%;
  }
  .hero-phones-trio {
    height: 480px;
    transform: scale(0.85);
  }
  .hero-phone-card--left {
    transform: translate(-90%, -50%) rotate(-6deg) scale(0.88);
  }
  .hero-phone-card--right {
    transform: translate(-10%, -50%) rotate(6deg) scale(0.88);
  }
}

@media (max-width: 640px) {
  .hero-phones-trio {
    height: 420px;
    transform: scale(0.72);
  }
  .hero-phone-badge {
    display: none;
  }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-32);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.hero__scroll span {
  font-size: var(--text-11);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-muted2);
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(99,102,241,0.6), transparent);
  animation: scrollBounce 2s ease infinite;
}


/* ════════════════════════════════════════════════
   3. STATEMENT SECTION — Apple Word Reveal
   Light background, massive centered text
   ════════════════════════════════════════════════ */
.statement {
  background: var(--color-light);
  padding-block: var(--section-py);
  position: relative;
}

/* Sticky inner — scrolls for pin duration */
.statement__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.statement__label {
  font-size: var(--text-12);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-24);
}

.statement__text {
  font-family: var(--font-display);
  font-size: clamp(var(--text-32), 5.5vw, var(--text-80));
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  text-align: center;
  color: var(--color-text-dark);
  max-width: 18ch;
}

.scrub-word { display: inline-block; opacity: 0.12; }


/* ════════════════════════════════════════════════
   4. BENTO GRID — Apple-style Feature Cards
   Black background, asymmetric grid
   ════════════════════════════════════════════════ */
.bento {
  background: var(--color-black);
  padding-block: var(--section-py);
}

.bento__header {
  text-align: center;
  margin-bottom: clamp(var(--space-48), 6vw, var(--space-80));
}

/* Apple bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: var(--space-16);
}

/* Card base */
.bento-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  padding: clamp(var(--space-32), 4vw, var(--space-48));
  display: flex;
  flex-direction: column;
  cursor: default;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Grid placement */
.bento-card--c1 { grid-column: span 4; grid-row: span 1; min-height: 360px; }
.bento-card--c2 { grid-column: span 2; grid-row: span 1; min-height: 360px; }
.bento-card--c3 { grid-column: span 2; grid-row: span 1; min-height: 320px; }
.bento-card--c4 { grid-column: span 2; grid-row: span 1; min-height: 320px; }
.bento-card--c5 { grid-column: span 2; grid-row: span 1; min-height: 320px; }

/* Card color variants */
.bento-card--navy   { background: linear-gradient(145deg, #0d1a3a, #070D1E); }
.bento-card--dark   { background: var(--color-card-dark); }
.bento-card--cobalt { background: linear-gradient(145deg, #1e3a8a, #1e40af20); }
.bento-card--teal   { background: linear-gradient(145deg, #0d3040, #082030); }
.bento-card--purple { background: linear-gradient(145deg, #1e1040, #2d1060); }

/* Card visual accent bar (top border glow) */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: var(--space-48); right: var(--space-48);
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.bento-card:hover::before { opacity: 0.6; }

/* Card icon — large emoji or SVG */
.bento-card__icon {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: var(--space-24);
  display: block;
  line-height: 1;
}

/* Large background number */
.bento-card__bg-num {
  position: absolute;
  bottom: var(--space-16);
  right: var(--space-24);
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: var(--weight-bold);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* Card content */
.bento-card__eyebrow {
  font-size: var(--text-12);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(147,197,253,0.7);
  margin-bottom: var(--space-12);
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-24), 2.5vw, var(--text-32));
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-snug);
  color: #fff;
  margin-bottom: var(--space-16);
}

.bento-card__desc {
  font-size: var(--text-17);
  color: var(--color-text-muted2);
  line-height: var(--leading-normal);
  flex: 1;
}

/* Feature bullet list inside bento card */
.bento-card__list {
  margin-top: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.bento-card__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-14);
  color: var(--color-text-muted2);
}
.bento-card__item-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-brand-light);
  flex-shrink: 0;
}

/* Tag/pill on bento card */
.bento-card__tag {
  display: inline-block;
  margin-top: var(--space-20);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--text-12);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.tag--blue   { background: rgba(37,99,235,0.18); color: #93C5FD; border: 1px solid rgba(37,99,235,0.25); }
.tag--cyan   { background: rgba(6,182,212,0.15);  color: #67E8F9; border: 1px solid rgba(6,182,212,0.2); }
.tag--gold   { background: rgba(245,158,11,0.15); color: #FCD34D; border: 1px solid rgba(245,158,11,0.2); }
.tag--purple { background: rgba(139,92,246,0.15); color: #C4B5FD; border: 1px solid rgba(139,92,246,0.2); }
.tag--green  { background: rgba(48,209,88,0.12);  color: #6EE7B7; border: 1px solid rgba(48,209,88,0.2); }


/* ════════════════════════════════════════════════
   5. SHOWCASE — Apple iPhone-style Pinned Phone
   White background, phone center, text scrolls
   ════════════════════════════════════════════════ */
.showcase {
  background: var(--color-white);
  position: relative;
}

.showcase__label-bar {
  text-align: center;
  padding-block: var(--space-80);
  background: var(--color-white);
}
.showcase__label-bar .eyebrow { color: var(--color-brand); }
.showcase__label-bar .section-title--dark { color: var(--color-text-dark); }

/* Pinned wrapper */
.showcase__pinned {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-64);
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
}

/* Phone shell */
.showcase__device {
  position: relative;
  display: flex;
  justify-content: center;
}
.showcase__phone {
  width: clamp(220px, 24vw, 310px);
  aspect-ratio: 9/19.5;
  border-radius: 42px;
  overflow: hidden;
  background: #0a0a0a;
  border: 2px solid rgba(0,0,0,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.04),
    0 40px 80px rgba(0,0,0,0.15),
    0 0 0 8px rgba(0,0,0,0.03);
  position: relative;
}
.showcase__screen {
  position: relative;
  width: 100%; height: 100%;
}
.showcase__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--ease-out);
}
.showcase__img.active { opacity: 1; }

.showcase__device-shadow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 40px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.2), transparent 70%);
  filter: blur(16px);
}

/* Text panels */
.showcase__panels {
  position: relative;
  min-height: 300px;
}
.showcase__panel {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%) translateY(30px);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.showcase__panel.active {
  position: relative;
  top: auto; left: auto; right: auto;
  transform: translateY(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.showcase__step {
  font-size: var(--text-12);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-16);
}
.showcase__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-28), 3.5vw, var(--text-48));
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  color: var(--color-text-dark);
  margin-bottom: var(--space-16);
}
.showcase__desc {
  font-size: var(--text-17);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-24);
  max-width: 44ch;
}
.showcase__features { display: flex; flex-direction: column; gap: 8px; }
.showcase__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-14);
  color: var(--color-text-muted);
}
.showcase__feature::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-brand);
  flex-shrink: 0;
}

/* Progress dots */
.showcase__dots {
  display: flex;
  gap: 8px;
  margin-top: var(--space-32);
}
.showcase__dot {
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  transition: all var(--dur-base) var(--ease-out);
  width: 24px;
}
.showcase__dot.active {
  width: 40px;
  background: var(--color-brand);
}


/* ════════════════════════════════════════════════
   6. STATS — Light, Apple-style large numbers
   ════════════════════════════════════════════════ */
.stats {
  background: var(--color-light);
  padding-block: var(--section-py);
}

.stats__header {
  text-align: center;
  margin-bottom: clamp(var(--space-48), 6vw, var(--space-80));
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-16);
}

.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-32), 4vw, var(--space-48));
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-card__icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-16);
  display: block;
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(var(--text-40), 4vw, var(--text-64));
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-8);
}

.stat-card__label {
  font-size: var(--text-17);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  display: block;
}

.stat-card__sub {
  font-size: var(--text-14);
  color: var(--color-text-muted2);
  line-height: var(--leading-normal);
}


/* ════════════════════════════════════════════════
   7. PROGRESSION — RPG Ranks, Dark, Horizontal
   ════════════════════════════════════════════════ */
.progression {
  background: var(--color-black);
  padding-block: var(--section-py);
  overflow: hidden;
}

.progression__header {
  text-align: center;
  margin-bottom: clamp(var(--space-48), 6vw, var(--space-80));
}

/* Horizontal scroll container */
.progression__track-wrap {
  overflow: hidden;
  padding-block: var(--space-8);
  position: relative;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(
    90deg, transparent 0%, black 8%, black 92%, transparent 100%
  );
  mask-image: linear-gradient(
    90deg, transparent 0%, black 8%, black 92%, transparent 100%
  );
}

.progression__track {
  display: flex;
  gap: var(--space-12);
  width: max-content;
  padding-inline: clamp(1.25rem, 5vw, 6rem);
  padding-block: var(--space-16);
  cursor: grab;
}
.progression__track:active { cursor: grabbing; }

/* Rank card */
.rank-card {
  flex-shrink: 0;
  width: 148px;
  padding: var(--space-20);
  border-radius: var(--radius-lg);
  background: var(--color-card-dark);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.rank-card--elite {
  background: linear-gradient(145deg, rgba(245,158,11,0.12), rgba(37,99,235,0.08));
  border-color: rgba(245,158,11,0.35);
  box-shadow: 0 0 30px rgba(245,158,11,0.15);
}
.rank-card__emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-8);
}
.rank-card__name {
  font-family: var(--font-display);
  font-size: var(--text-14);
  font-weight: var(--weight-semibold);
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: var(--tracking-subhead);
}
.rank-card__level {
  font-size: var(--text-12);
  color: var(--color-text-muted2);
  margin-bottom: var(--space-8);
}
.rank-card__xp {
  font-size: var(--text-12);
  font-weight: var(--weight-semibold);
  color: #60A5FA;
}

/* XP bar */
.progression__xp {
  margin-top: clamp(var(--space-48), 5vw, var(--space-64));
  text-align: center;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.progression__xp-label {
  font-size: var(--text-14);
  color: var(--color-text-muted2);
  margin-bottom: var(--space-12);
}
.xp-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  max-width: 560px;
  margin-inline: auto;
  overflow: hidden;
}
.xp-bar__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(37,99,235,0.5);
  transition: width 1.8s var(--ease-out);
}


/* ════════════════════════════════════════════════
   8. PRIVACY / TRUST — White, Clean badges
   ════════════════════════════════════════════════ */
.trust {
  background: var(--color-white);
  padding-block: var(--section-py);
}

.trust__header {
  text-align: center;
  margin-bottom: clamp(var(--space-48), 6vw, var(--space-64));
}

.trust__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-12);
}

.privacy-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-16) var(--space-24);
  border-radius: var(--radius-pill);
  background: var(--color-light);
  border: 1px solid var(--border-light);
  font-size: var(--text-17);
  font-weight: var(--weight-medium);
  color: var(--color-text-dark);
}
.privacy-badge__icon { font-size: 1.2em; }


/* ════════════════════════════════════════════════
   9. CTA FINAL — Black, Apple-style ending
   ════════════════════════════════════════════════ */
.cta-final {
  background: var(--color-black);
  padding-block: var(--section-py);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.15), transparent 70%);
  pointer-events: none;
}

.cta-final__inner { position: relative; z-index: 1; }

.cta-final__h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-48), 7vw, var(--text-96));
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-hero);
  line-height: var(--leading-hero);
  color: #fff;
  margin-bottom: var(--space-16);
}

.cta-final__sub {
  font-size: clamp(var(--text-17), 2vw, var(--text-21));
  color: var(--color-text-muted2);
  margin-bottom: clamp(var(--space-40), 5vw, var(--space-64));
}

.cta-final__btns {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
  margin-bottom: var(--space-32);
}

.cta-final__legal {
  font-size: var(--text-12);
  color: var(--color-text-muted2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-16);
}
.cta-final__legal span { opacity: 0.5; }


/* ════════════════════════════════════════════════
   10. FOOTER — Dark minimal
   ════════════════════════════════════════════════ */
.footer {
  background: var(--surface-footer);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: clamp(var(--space-40), 5vw, var(--space-64));
  font-size: var(--text-12);
  color: var(--color-text-muted2);
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-32);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-17);
  font-weight: var(--weight-semibold);
  color: #fff;
  margin-bottom: var(--space-8);
}
.footer__tagline { color: var(--color-text-muted2); max-width: 32ch; line-height: var(--leading-normal); }
.footer__links {
  display: flex;
  gap: var(--space-24);
  flex-wrap: wrap;
}
.footer__links a {
  color: var(--color-text-muted2);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer__links a:hover { color: rgba(255,255,255,0.8); }
.footer__copy { align-self: flex-end; }


/* ════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card--c1, .bento-card--c2,
  .bento-card--c3, .bento-card--c4, .bento-card--c5 {
    grid-column: span 1;
  }
  .bento-card--c1 { grid-column: span 2; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .showcase__pinned { gap: var(--space-32); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav__center, .nav__right { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { grid-template-columns: 1fr auto; }

  /* Hero */
  .hero__float { display: none; }

  /* Bento */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--c1, .bento-card--c2, .bento-card--c3,
  .bento-card--c4, .bento-card--c5 { grid-column: span 1; }

  /* Showcase */
  .showcase__pinned {
    grid-template-columns: 1fr;
    position: relative;
    height: auto;
    padding-block: var(--space-64);
    gap: var(--space-32);
  }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-final__btns { flex-direction: column; align-items: center; }
  .hero__ctas { flex-direction: column; align-items: center; }

  /* Footer */
  .footer__inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: var(--space-16); }
}

/* ════════════════════════════════════════════════
   11. HERO CANVAS & AMBIENT
   ════════════════════════════════════════════════ */
.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ════════════════════════════════════════════════
   12. INTERACTIVE BEHAVIORAL SIMULATOR
   ════════════════════════════════════════════════ */
.sim-section {
  background: var(--color-black);
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
}

.sim-section__header {
  text-align: center;
  margin-bottom: clamp(var(--space-32), 5vw, var(--space-64));
}

.sim-container {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.sim-card {
  background: linear-gradient(145deg, #101524 0%, #080c16 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-24), 4vw, var(--space-48));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(37, 99, 235, 0.12);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-24), 4vw, var(--space-48));
  position: relative;
}

@media (max-width: 820px) {
  .sim-card {
    grid-template-columns: 1fr;
  }
}

.sim-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.sim-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}

.sim-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-12);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #93C5FD;
}

.sim-reset {
  background: none;
  border: none;
  color: var(--color-text-muted2);
  font-size: var(--text-12);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--dur-fast);
}
.sim-reset:hover { color: #fff; }

.sim-habit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.sim-habit-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
}

.sim-habit-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateX(4px);
}

.sim-habit-item.completed {
  background: rgba(48, 209, 88, 0.08);
  border-color: rgba(48, 209, 88, 0.3);
}

.sim-habit-info {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.sim-habit-icon {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-habit-title {
  font-family: var(--font-display);
  font-size: var(--text-14);
  font-weight: var(--weight-medium);
  color: #fff;
  transition: opacity var(--dur-fast);
}

.sim-habit-item.completed .sim-habit-title {
  text-decoration: line-through;
  opacity: 0.6;
}

.sim-habit-tag {
  font-size: var(--text-11);
  color: var(--color-text-muted2);
  display: block;
}

.sim-check-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: transparent;
  font-size: 14px;
  font-weight: bold;
  transition: all var(--dur-fast) var(--ease-spring);
  flex-shrink: 0;
}

.sim-habit-item.completed .sim-check-btn {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #000;
  transform: scale(1.1);
}

.sim-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-20);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-24);
}

.sim-telemetry-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.sim-score-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sim-score-label {
  font-size: var(--text-12);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted2);
}

.sim-score-value {
  font-family: var(--font-display);
  font-size: var(--text-28);
  font-weight: var(--weight-bold);
  color: #60A5FA;
}

.sim-xp-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-xp-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-12);
  color: var(--color-text-muted2);
}

.sim-xp-val {
  color: #FCD34D;
  font-weight: var(--weight-semibold);
}

.sim-xp-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.sim-xp-bar-fill {
  height: 100%;
  width: 48.2%;
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease-out);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.sim-auri-toast {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-16);
  display: flex;
  gap: var(--space-12);
  align-items: flex-start;
}

.sim-auri-avatar {
  font-size: 1.3rem;
  line-height: 1;
}

.sim-auri-msg {
  font-size: var(--text-12);
  color: #E2E8F0;
  line-height: 1.4;
  margin: 0;
  transition: all 0.25s ease;
}

/* ════════════════════════════════════════════════
   13. FAQ ACCORDION (Apple Clean Style)
   ════════════════════════════════════════════════ */
.faq {
  background: var(--color-light);
  padding-block: var(--section-py);
}

.faq__header {
  text-align: center;
  margin-bottom: clamp(var(--space-48), 6vw, var(--space-64));
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--dur-fast), border-color var(--dur-fast);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: clamp(var(--space-16), 3vw, var(--space-24));
  font-family: var(--font-display);
  font-size: clamp(var(--text-17), 2vw, var(--text-19));
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: var(--space-16);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text-dark);
  transition: transform var(--dur-base) var(--ease-spring), background var(--dur-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-brand);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 clamp(var(--space-16), 3vw, var(--space-24)) clamp(var(--space-16), 3vw, var(--space-24));
  font-size: var(--text-17);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* ════════════════════════════════════════════════
   14. MODAL DIALOGS (QR & iOS Waitlist)
   ════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #161617;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-24), 5vw, var(--space-40));
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform var(--dur-base) var(--ease-spring);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.18); }

.modal-qr-box {
  background: #ffffff;
  padding: var(--space-16);
  border-radius: var(--radius-xl);
  display: inline-block;
  margin-block: var(--space-20);
}

/* ════════════════════════════════════════════════
   15. LEGAL PAGES (Privacy / Terms / 404)
   ════════════════════════════════════════════════ */
.legal-page {
  background: var(--color-white);
  min-height: 100vh;
}

.legal-container {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(var(--space-64), 10vw, var(--space-96)) clamp(1.25rem, 5vw, 2.5rem);
  color: var(--color-text-dark);
}

.legal-header {
  margin-bottom: var(--space-48);
  text-align: left;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-28);
  font-weight: var(--weight-bold);
  margin-top: var(--space-40);
  margin-bottom: var(--space-16);
  color: var(--color-text-dark);
}

.legal-content p {
  font-size: var(--text-17);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-16);
}

.legal-content ul {
  margin-bottom: var(--space-20);
  padding-left: var(--space-24);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.legal-content li {
  margin-bottom: var(--space-8);
}


/* ════════════════════════════════════════════════
   14. 3D INTERACTIVE HARDWARE STUDIO (bee3D Pattern)
   ════════════════════════════════════════════════ */
.experience-3d {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f1f5f9 100%);
  padding-block: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.experience-3d__header {
  text-align: center;
  margin-bottom: var(--space-32);
}

.experience-3d__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: var(--space-16);
}

.experience-3d__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px #2563eb;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.experience-3d__controls {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-28);
}

.experience-3d__btn-group {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  flex-wrap: wrap;
  justify-content: center;
}

.experience-3d__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.experience-3d__btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.experience-3d__btn.active {
  color: #ffffff;
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.experience-3d__stage-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin-inline: auto;
  min-height: 640px;
}

.experience-3d__stage {
  width: 100%;
  height: 640px;
  position: relative;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.6) 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  cursor: grab;
  overflow: hidden;
}

.experience-3d__stage:active {
  cursor: grabbing;
}

.experience-3d__stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.experience-3d__hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0.9;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.experience-3d__status {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.experience-3d__status.status--ready {
  background: rgba(16, 185, 129, 0.8);
}

.experience-3d__telemetry {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 270px;
  z-index: 5;
  pointer-events: none;
}

.telemetry--left {
  left: 28px;
}

.telemetry--right {
  right: 28px;
}

.telemetry-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.telemetry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.telemetry-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.telemetry-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.telemetry-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

@media (max-width: 1024px) {
  .experience-3d__stage-wrapper {
    flex-direction: column;
    min-height: auto;
  }
  .experience-3d__telemetry {
    position: static;
    flex-direction: row;
    width: 100%;
    margin-top: var(--space-20);
    gap: var(--space-12);
  }
  .telemetry-card {
    flex: 1;
  }
  .experience-3d__stage {
    height: 520px;
  }
}

@media (max-width: 640px) {
  .experience-3d__stage {
    height: 420px;
    border-radius: 24px;
  }
  .experience-3d__telemetry {
    flex-direction: column;
  }
  .experience-3d__btn-group {
    border-radius: 16px;
  }
  .experience-3d__btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}


