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

:root {
  /* OFFICIAL ANAEMATE BRAND COLORS */
  --am-royal-purple: #270053;
  --am-violet: #8b3fd8;
  --am-blue: #5229D2;
  --am-grey: #f7f7f7;
  --am-black: #1a1a1a;

  /* Remap design vars to brand colors */
  --purple-50:  #f3eeff;
  --purple-100: #e8dbff;
  --purple-200: #d0b8ff;
  --purple-300: #a97ee8;
  --purple-400: #8b3fd8;   /* Violet */
  --purple-500: #6a24c4;
  --purple-600: #5229D2;   /* Blue */
  --purple-700: #270053;   /* Royal Purple */
  --purple-800: #1d003d;
  --purple-900: #120026;

  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --green: #10b981;
  --orange: #f59e0b;
  --blue: #3b82f6;

  --font: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(124,58,237,.12);
  --shadow-lg: 0 12px 48px rgba(124,58,237,.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: #04000d;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--purple-400); border-radius: 3px; }

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 60%, #e9d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  background: transparent;
  color: rgba(167,139,250,.6);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  border: none;
  margin-bottom: 16px;
}

.section-header {
  text-align: left;
  max-width: 680px;
  margin: 0 0 72px;
}

.section-header h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  color: white;
  letter-spacing: -.03em;
}

.section-header p {
  color: rgba(255,255,255,.45);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity .2s;
}
.btn:hover::after { opacity: .07; }

.btn-primary {
  background: linear-gradient(160deg, #6d35c9 0%, #4a20b8 100%);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 24px rgba(82,41,210,.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 32px rgba(82,41,210,.5);
}

.btn-ghost {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--purple-700);
  border: 2px solid var(--purple-300);
}
.btn-outline:hover {
  background: var(--purple-50);
  border-color: var(--purple-500);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all .3s ease;
}

.navbar.scrolled {
  background: rgba(6,0,16,.85);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  padding: 12px 0;
}

.navbar.scrolled .nav-logo { color: white; }
.navbar.scrolled .nav-links a { color: rgba(255,255,255,.65); }
.navbar.scrolled .nav-links a:hover { color: white; }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  transition: color .3s;
}

.logo-icon {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  font-size: .85rem;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color .2s;
  letter-spacing: .01em;
}
.nav-links a:hover { color: rgba(255,255,255,.9); background: none; }

.nav-cta {
  background: rgba(82,41,210,.5) !important;
  border: 1px solid rgba(82,41,210,.6) !important;
  color: rgba(255,255,255,.9) !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: rgba(82,41,210,.8) !important; color: white !important; }

.navbar.scrolled .nav-cta {
  background: rgba(82,41,210,.6) !important;
  color: white !important;
  border-color: rgba(82,41,210,.4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 80% at 72% 50%, #2d0060 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 80%, #1a003a 0%, transparent 60%),
    #04000d;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Single architectural glow — replaces the orb soup */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .25;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #5229D2, transparent);
  top: -180px; right: 5%;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #270053, transparent);
  bottom: -150px; left: -80px;
  opacity: .35;
}
.orb-3 { display: none; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
  padding: 20px 0;
}

.hero-content {
  flex: 0 0 500px;
  max-width: 500px;
  padding-top: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.06;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 40px;
  line-height: 1.75;
  font-weight: 400;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.3);
  font-size: .78rem;
  letter-spacing: .02em;
}

.hero-trust strong { color: rgba(255,255,255,.55); font-weight: 600; }

.trust-avatars {
  display: flex;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg,#f472b6,#c084fc); }
.av2 { background: linear-gradient(135deg,#60a5fa,#818cf8); }
.av3 { background: linear-gradient(135deg,#34d399,#60a5fa); }
.av4 { background: linear-gradient(135deg,#fbbf24,#f472b6); }

/* ══════════════════════════════════════════════════════════
   HERO CINEMA — looping phone slideshow
   ══════════════════════════════════════════════════════════ */
.hero-cinema {
  flex: 0 0 420px;
  position: relative;
  height: 620px;
  z-index: 2;
  overflow: visible;
}

/* Glow behind the phone */
.hero-cinema::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(82,41,210,.45) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ── Slide states ──────────────────────────────────────── */
.hc-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
}
.hc-slide.hc-active {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.6s ease;
}
.hc-slide.hc-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Phone wrapper */
.hc-phone {
  width: 300px;
  flex-shrink: 0;
  will-change: transform;
  transform: rotateZ(-4deg);
  position: relative;
  z-index: 1;
}
.hc-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 48px;
  box-shadow: 0 60px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.07);
  user-select: none;
}

/* ── Rise IN: clean vertical entrance ─────────────────── */
.hc-slide.hc-active .hc-phone {
  animation:
    hc-rise   0.85s cubic-bezier(.22,.68,0,1.2) both,
    hc-idle   7s ease-in-out 0.85s infinite;
}

@keyframes hc-rise {
  0%   { transform: translateY(36px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

/* ── Exit: fade down ───────────────────────────────────── */
.hc-slide.hc-out .hc-phone {
  animation: hc-sink 0.45s cubic-bezier(.4,0,1,1) both;
}

@keyframes hc-sink {
  0%   { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(-20px); opacity: 0; }
}

/* ── Idle float while resting ─────────────────────────── */
@keyframes hc-idle {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-7px); }
}

/* Caption fades up after slide enters */
.hc-caption {
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease 0.55s, transform 0.7s ease 0.55s;
}
.hc-slide.hc-active .hc-caption {
  opacity: 1;
  transform: translateY(0);
}
.hc-caption-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 6px;
}
.hc-caption-text {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

/* Progress bars at bottom of cinema block */
.hc-progress {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: center;
}
.hc-bar {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
  cursor: pointer;
}
.hc-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
}
.hc-bar.hc-bar-active span {
  animation: hc-prog 5s linear forwards;
}
@keyframes hc-prog {
  from { width: 0%; }
  to   { width: 100%; }
}

.phone-screen { width: 100%; }

.screen-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.screen-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-400); }

.screen-stat { margin-bottom: 16px; }
.stat-label { display: block; color: rgba(255,255,255,.5); font-size: .7rem; margin-bottom: 4px; }
.stat-value { color: white; font-size: 1.4rem; font-weight: 800; }

.screen-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  margin-bottom: 14px;
}
.bar {
  flex: 1;
  background: rgba(167,139,250,.3);
  border-radius: 3px 3px 0 0;
}
.bar.active { background: var(--purple-400); }

.screen-list { display: flex; flex-direction: column; gap: 8px; }
.list-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: rgba(255,255,255,.8);
}
.li-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.li-dot.green { background: var(--green); }
.li-dot.purple { background: var(--purple-400); }
.li-dot.orange { background: var(--orange); }
.li-val { margin-left: auto; font-weight: 700; color: white; }

.screen-form { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.form-row { display: flex; flex-direction: column; gap: 3px; }
.form-label { font-size: .65rem; color: rgba(255,255,255,.5); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.form-field {
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 7px 10px;
}
.form-field.filled { background: rgba(255,255,255,.1); }
.form-field.active {
  border-color: var(--purple-400);
  background: rgba(124,58,237,.2);
  color: white;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.screen-progress {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}
.progress-step {
  font-size: .6rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}
.progress-step.done { color: var(--green); }
.progress-step.current { color: var(--purple-400); }
.progress-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.15);
}
.progress-line.done { background: var(--green); }

.screen-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
}

/* FLOATING CARDS */
.floating-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  font-size: .8rem;
  z-index: 3;
  white-space: nowrap;
}
.fc-title { font-weight: 700; color: var(--gray-800); font-size: .8rem; }
.fc-sub { color: var(--gray-500); font-size: .72rem; }
.fc-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.fc-icon.green { background: #dcfce7; }
.fc-icon.blue { background: #dbeafe; }

/* .fc-1/2/3 removed — replaced by .hv-pill-1/2/3 */

@keyframes fc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
}
.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scroll-anim 1.8s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ── STATS ───────────────────────────────────────────────── */
.stats-section {
  padding: 80px 0;
  background: #0a0014;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.stats-section .stats-intro p {
  color: rgba(255,255,255,.35);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 48px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.stat-card:last-child { border-right: none; }

.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: white;
  display: inline;
  letter-spacing: -.04em;
}
.stat-suffix {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: rgba(167,139,250,.8);
  display: inline;
  letter-spacing: -.03em;
}
.stat-card .stat-label {
  display: block;
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: .03em;
}
.stat-card .stat-note {
  display: none;
}

/* ── FEATURES ────────────────────────────────────────────── */
.features {
  padding: 140px 0;
  background: #060010;
}

/* Legacy grid — hidden, replaced by feature-rows */
.features-grid { display: none; }

/* ── Feature alternating rows (Fluently-style) ─────────── */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }

.feature-row-text .feature-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(167,139,250,.6);
  margin-bottom: 16px;
}

.feature-row-text h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}

.feature-row-text p {
  color: rgba(255,255,255,.45);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 400px;
}

.feature-row-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(82,41,210,.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.feature-phone {
  width: 260px;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.07);
  position: relative;
  z-index: 1;
}

.feature-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

.feature-mini-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 20px;
}

.fmc-icon {
  width: 36px; height: 36px;
  background: rgba(82,41,210,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(167,139,250,.9);
  margin-bottom: 12px;
}

.fmc-label {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.fmc-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -.02em;
}

.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-50), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.feature-card:hover {
  border-color: var(--purple-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.card-large {
  grid-column: span 2;
}

.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
  border: 1px solid var(--purple-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--gray-500);
  font-size: .95rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.feature-visual {
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

/* QUOTE VISUAL */
.quote-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 280px;
  box-shadow: var(--shadow);
}
.qc-header {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.qc-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: 6px 0;
  color: var(--gray-700);
}
.qc-row.total { font-weight: 800; color: var(--gray-900); font-size: 1rem; }
.qc-divider { height: 1px; background: var(--gray-100); margin: 8px 0; }
.qc-sent {
  margin-top: 14px;
  background: #dcfce7;
  color: #166534;
  font-size: .8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}

/* GROUP VISUAL */
.group-members {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .82rem;
  color: var(--gray-600);
  min-width: 90px;
  box-shadow: var(--shadow);
}
.member-av {
  width: 44px; height: 44px;
  border-radius: 50%;
}
.a1 { background: linear-gradient(135deg,#f472b6,#c084fc); }
.a2 { background: linear-gradient(135deg,#60a5fa,#818cf8); }
.a3 { background: linear-gradient(135deg,#34d399,#60a5fa); }
.member-val { font-weight: 800; color: var(--purple-700); font-size: .95rem; }

/* ── HOW IT WORKS ────────────────────────────────────────── */
.how-it-works {
  padding: 140px 0;
  background: #080014;
}

.steps-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-200), var(--purple-400), var(--purple-200));
  transform: translateX(-50%);
}

.step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

.step-right .step-content { order: 3; text-align: left; }
.step-right .step-number { order: 1; text-align: right; }
.step-right .step-icon { order: 2; }

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,.06);
  line-height: 1;
  text-align: right;
  letter-spacing: -.04em;
}

.step-right .step-number { text-align: left; }

.step-icon {
  width: 56px; height: 56px;
  background: rgba(82,41,210,.25);
  border: 1px solid rgba(82,41,210,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(167,139,250,.9);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.step-content p {
  color: rgba(255,255,255,.4);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.step-tag {
  display: inline-block;
  background: transparent;
  color: rgba(167,139,250,.6);
  font-size: .65rem;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  border: none;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.timeline-line {
  background: rgba(255,255,255,.06) !important;
}

/* ── APP SHOWCASE ────────────────────────────────────────── */
.app-showcase {
  padding: 140px 0;
  background: #060010;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
}

.app-showcase .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-content .section-tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.2);
}

.showcase-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.showcase-content p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.showcase-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(16,185,129,.2);
  border: 1px solid rgba(16,185,129,.4);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.app-download { display: flex; gap: 16px; flex-wrap: wrap; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all .25s;
}
.store-btn:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.store-sub { display: block; font-size: .65rem; opacity: .7; }
.store-name { display: block; font-size: .95rem; font-weight: 700; }

/* SHOWCASE PHONES */
.showcase-phones {
  display: flex;
  gap: -20px;
  justify-content: center;
  align-items: flex-end;
  height: 480px;
  position: relative;
}

.showcase-phone {
  width: 145px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  padding: 14px;
  position: absolute;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.sp-1 { left: 0; bottom: 0; transform: rotate(-8deg); z-index: 1; }
.sp-2 { left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3; animation: sp-float 5s ease-in-out infinite; }
.sp-3 { right: 0; bottom: 0; transform: rotate(8deg); z-index: 1; }

@keyframes sp-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

.phone-notch {
  width: 40px; height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
  margin: 0 auto 12px;
}

.sp-screen { }
.sp-header {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
}

.sp-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
  margin-bottom: 10px;
}
.sc-bar {
  flex: 1;
  background: rgba(167,139,250,.3);
  border-radius: 3px 3px 0 0;
  transition: height .8s;
}
.sc-bar.active { background: var(--purple-400); }

.sp-total {
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
}
.sp-total span { font-size: .7rem; color: rgba(255,255,255,.5); font-weight: 400; }

.scan-area {
  width: 110px; height: 110px;
  position: relative;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scan-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--purple-400);
  border-style: solid;
}
.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-400), transparent);
  animation: scan 2s ease-in-out infinite;
}
@keyframes scan {
  0% { top: 10px; }
  100% { top: 100px; }
}
.scan-text {
  position: absolute;
  bottom: -20px;
  font-size: .6rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

.success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #059669);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 700;
}

.sp-details { display: flex; flex-direction: column; gap: 6px; }
.spd-row {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: rgba(255,255,255,.7);
}
.spd-row span:last-child { font-weight: 700; color: white; }
.spd-status {
  margin-top: 8px;
  background: rgba(124,58,237,.3);
  border: 1px solid rgba(167,139,250,.4);
  color: var(--purple-300);
  font-size: .65rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
}

/* ── PRICING ─────────────────────────────────────────────── */
.pricing {
  padding: 120px 0;
  background: #060010;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  transition: color .2s;
}
.toggle-label.active { color: var(--purple-700); }

.toggle-switch { position: relative; display: block; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 13px;
  cursor: pointer;
  transition: background .3s;
}
.toggle-track::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: white;
  top: 3px; left: 3px;
  transition: transform .3s;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.toggle-switch input:checked + .toggle-track { background: var(--purple-600); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: all .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.price-featured {
  background: linear-gradient(160deg, var(--purple-900), var(--purple-700));
  border-color: transparent;
  color: white;
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600));
  color: white;
  font-size: .75rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(124,58,237,.4);
}

.price-header { margin-bottom: 32px; }

.price-tag {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #a78bfa;
  margin-bottom: 16px;
}
.price-featured .price-tag { color: var(--purple-300); }

.price-amount {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
}
.price-currency { font-size: 1.5rem; font-weight: 700; margin-top: 8px; color: white; }
.price-num { font-size: 3.5rem; font-weight: 900; color: white; line-height: 1; }
.price-desc { font-size: .9rem; color: rgba(255,255,255,.4); }
.price-featured .price-desc { color: rgba(255,255,255,.65); }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.price-features li { display: flex; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.55); }
.price-featured .price-features li { color: rgba(255,255,255,.8); }
.pf-check { color: #a78bfa; font-weight: 800; }
.price-featured .pf-check { color: var(--purple-300); }

.pricing-note {
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: .85rem;
  margin-top: 24px;
}
.pricing-note a { color: #a78bfa; text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials {
  padding: 140px 0;
  background: #060010;
  overflow: hidden;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 940px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  overflow: hidden;
}

.testi-card {
  background: rgba(255,255,255,.03);
  border: none;
  border-radius: 0;
  padding: 40px;
  transition: background .3s;
}
.testi-card:hover { background: rgba(255,255,255,.05); }

.testi-stars { color: rgba(167,139,250,.7); font-size: .85rem; letter-spacing: 3px; margin-bottom: 20px; }

.testi-card p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: normal;
  font-weight: 400;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ta1 { background: linear-gradient(135deg,#f472b6,#c084fc); }
.ta2 { background: linear-gradient(135deg,#60a5fa,#818cf8); }
.ta3 { background: linear-gradient(135deg,#34d399,#a78bfa); }
.ta4 { background: linear-gradient(135deg,#fbbf24,#f472b6); }

.testi-author strong { display: block; font-size: .88rem; color: white; font-weight: 600; }
.testi-author span { font-size: .78rem; color: rgba(255,255,255,.35); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { padding: 120px 0; background: #080014; }

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-radius: 0;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(255,255,255,.12); }
.faq-item.open { border-color: rgba(167,139,250,.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.faq-question:hover { color: white; }
.faq-item.open .faq-question { color: white; }

.faq-icon {
  flex-shrink: 0;
  color: rgba(255,255,255,.25);
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: rgba(167,139,250,.8); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}
.faq-answer p {
  color: rgba(255,255,255,.4);
  font-size: .95rem;
  line-height: 1.75;
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  padding: 140px 0;
  background: #04000d;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}

.cta-bg { position: absolute; inset: 0; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .2;
}
.cta-orb-1 {
  width: 600px; height: 400px;
  background: radial-gradient(circle, #5229D2, transparent);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.cta-orb-2 { display: none; }

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}

.cta-content p {
  color: rgba(255,255,255,.45);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: white;
  font-family: var(--font);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s, background .2s;
  backdrop-filter: blur(8px);
}
.form-group input::placeholder { color: rgba(255,255,255,.45); }
.form-group select option { background: var(--purple-900); color: white; }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--purple-400);
  background: rgba(255,255,255,.12);
}

.cta-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.cta-success.visible { display: block; }
.success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #059669);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 700;
}
.cta-success h3 { color: white; font-size: 1.4rem; margin-bottom: 8px; }
.cta-success p { color: rgba(255,255,255,.7); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
}

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

.footer-brand .nav-logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: all .2s;
}
.footer-social a:hover { background: var(--purple-700); border-color: transparent; color: white; }

.footer-links h4 {
  color: white;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--purple-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── PROBLEM HOOK ────────────────────────────────────────── */
.problem-section {
  background: #0a0018;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}

.problem-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.problem-icon { font-size: 1.2rem; flex-shrink: 0; opacity: .7; }

.problem-text {
  flex: 1;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  min-width: 240px;
}

.problem-text strong { color: rgba(255,255,255,.85); }

.problem-section .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── STATS UPDATES ───────────────────────────────────────── */
.stats-intro {
  text-align: center;
  margin-bottom: 32px;
}

.stat-note {
  display: none;
}

/* ── LOGOS ───────────────────────────────────────────────── */
.logos-section {
  padding: 56px 0;
  background: #060010;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.logos-label {
  text-align: center;
  color: rgba(255,255,255,.25);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 32px;
}

.logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-item {
  opacity: .3;
  transition: opacity .25s;
  filter: grayscale(100%) brightness(2);
}
.logo-item:hover { opacity: .7; }

.logo-item img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-placeholder {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  letter-spacing: .05em;
}

/* ── CALCULATOR ──────────────────────────────────────────── */
.calculator-section {
  padding: 120px 0;
  background: #080014;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 8px 48px rgba(0,0,0,.4);
}

.calc-inputs { display: flex; flex-direction: column; gap: 32px; }

.calc-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 10px 16px;
  transition: border-color .2s;
}
.calc-input-wrap:focus-within { border-color: rgba(167,139,250,.6); background: rgba(167,139,250,.06); }

.calc-input-wrap input {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  width: 100%;
  outline: none;
}
.calc-unit, .calc-prefix {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
}
.calc-prefix { color: #a78bfa; }

.calc-slider {
  width: 100%;
  margin-top: 12px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.12);
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  box-shadow: 0 2px 8px rgba(124,58,237,.4);
  cursor: pointer;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  margin-top: 4px;
}

.calc-select-wrap {
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color .2s;
}
.calc-select-wrap:focus-within { border-color: rgba(167,139,250,.6); }

.calc-select-wrap select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  outline: none;
  cursor: pointer;
}

/* RESULTS */
.calc-results {
  background: linear-gradient(160deg, var(--purple-900), var(--purple-700));
  border-radius: 20px;
  padding: 36px;
  color: white;
  position: sticky;
  top: 100px;
}

.calc-result-header {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: 28px;
}

.calc-result-main { display: flex; flex-direction: column; gap: 20px; }

.calc-result-item { }
.calc-result-item.primary { }

.cri-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
  font-weight: 500;
}

.cri-value {
  font-size: 2.4rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  transition: all .3s ease;
}

.calc-result-item.primary .cri-value {
  font-size: 3rem;
  background: linear-gradient(135deg, white, var(--purple-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cri-note {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}

.calc-result-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
}

.calc-disclaimer {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  margin: 24px 0 20px;
  line-height: 1.5;
}

.calc-cta { margin-top: 4px; }

/* ── IPHONE MOCKUPS ──────────────────────────────────────── */
.showcase-phones {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: flex-end;
  height: 520px;
  position: relative;
}

.iphone-mockup {
  position: absolute;
}

.im-1 { left: 0; bottom: 0; transform: rotate(-8deg); z-index: 1; }
.im-2 { left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3; animation: sp-float 5s ease-in-out infinite; }
.im-3 { right: 0; bottom: 0; transform: rotate(8deg); z-index: 1; }

.iphone-frame {
  width: 150px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.5), inset 0 0 0 1px #333;
  position: relative;
}

.iphone-notch-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}
.iphone-notch-pill {
  width: 60px; height: 8px;
  background: #0a0a0a;
  border-radius: 4px;
}

.iphone-screen {
  background: #000;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.screen-fallback {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #120026, #270053);
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { gap: 32px; }
  .hero-content { flex: 0 0 380px; max-width: 380px; }
  .hero-cinema { flex: 0 0 340px; height: 460px; }
  .hc-phone { width: 180px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .card-large { grid-column: span 1; }
  .app-showcase .container { grid-template-columns: 1fr; gap: 60px; }
  .showcase-phones { height: 340px; }
  .showcase-phone { width: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; background: rgba(26,5,51,.96); backdrop-filter: blur(20px); padding: 80px 32px 32px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { color: white !important; font-size: 1.2rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .hamburger { display: flex; z-index: 1000; }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

  .hero { padding: 100px 0 80px; }
  .hero-inner { flex-direction: column; gap: 0; }
  .hero-content { flex: none; max-width: 100%; }
  .hero-cinema { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-card:nth-child(odd) { border-right: 1px solid var(--gray-200); }
  .stat-card:nth-last-child(-n+2) { border-bottom: none; }

  .features-grid { grid-template-columns: 1fr; }
  .card-large { grid-column: span 1; }

  .timeline-line { display: none; }
  .step { grid-template-columns: auto 1fr; }
  .step .step-number { display: none; }
  .step-right .step-icon { order: 1; }
  .step-right .step-content { order: 2; }
  .step-right .step-number { order: 3; }

  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none !important; }
  .showcase-phones { display: none; }
  .app-download { flex-direction: column; }
}

/* ── LOGO IMAGE SWITCHING ────────────────────────────────── */
.logo-img { height: 32px; width: auto; display: block; }
.navbar.scrolled .logo-white { display: none !important; }
.navbar.scrolled .logo-purple { display: block !important; }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  min-height: 50vh;
  background: linear-gradient(160deg, #120026 0%, #270053 40%, #5229D2 75%, #8b3fd8 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}

.page-hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #8b3fd8, transparent);
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}

.page-hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #5229D2, transparent);
  bottom: -80px; left: -60px;
  animation: float 10s ease-in-out infinite reverse;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.7;
}

/* ── PLAN CARDS ──────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: all .3s;
}

.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.plan-card.featured {
  background: linear-gradient(160deg, var(--purple-900), var(--purple-700));
  border-color: transparent;
  color: white;
  transform: scale(1.03);
}

.plan-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600));
  color: white;
  font-size: .75rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(82,41,210,.4);
}

.plan-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #a78bfa;
  margin-bottom: 8px;
}

.plan-card.featured .plan-name { color: var(--purple-300); }

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
}

.plan-currency { font-size: 1.5rem; font-weight: 700; margin-top: 8px; color: white; }
.plan-num { font-size: 3.5rem; font-weight: 900; color: white; line-height: 1; }
.plan-period { font-size: .85rem; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.plan-card.featured .plan-period { color: rgba(255,255,255,.65); }

.plan-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 28px;
  line-height: 1.6;
  min-height: 60px;
}
.plan-card.featured .plan-desc { color: rgba(255,255,255,.7); }

.plan-divider { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 24px; }
.plan-card.featured .plan-divider { background: rgba(255,255,255,.15); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  align-items: flex-start;
}

.plan-card.featured .plan-features li { color: rgba(255,255,255,.85); }

.plan-check { color: #a78bfa; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.plan-card.featured .plan-check { color: #a97ee8; }

/* ── COMPARISON TABLE ────────────────────────────────────── */
.compare-section { padding: 80px 0; background: #080014; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(39,0,83,.08);
}

.compare-table th {
  background: var(--purple-700);
  color: white;
  padding: 20px 24px;
  text-align: left;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.compare-table th:first-child { background: var(--purple-900); }
.compare-table th.highlight { background: var(--purple-500); }

.compare-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
  color: var(--gray-700);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,.03); }

.compare-table td:first-child {
  font-weight: 600;
  color: var(--gray-800);
}

.compare-table td.highlight { background: var(--purple-50); }
.compare-table tr:nth-child(even) td.highlight { background: #ede8ff; }

.check-yes { color: var(--purple-600); font-weight: 800; font-size: 1.1rem; }
.check-no { color: var(--gray-300); font-size: 1.1rem; }

/* ── PATIENT PAGE ────────────────────────────────────────── */
.patient-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.patient-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-200), var(--purple-400), var(--purple-200));
}

.patient-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 0 0 36px 0;
  position: relative;
}

.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(82,41,210,.35);
  position: relative;
  z-index: 1;
}

.patient-step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  padding-top: 12px;
}

.patient-step-content p {
  color: var(--gray-500);
  font-size: .95rem;
  line-height: 1.7;
}

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.legal-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 28px 0 10px;
}

.legal-content p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.8;
  margin: 0 0 16px 24px;
}

.legal-content ul li { margin-bottom: 8px; }

.legal-content a { color: var(--purple-600); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

.legal-meta {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: .85rem;
  color: var(--gray-500);
}

/* ── VALUES GRID ─────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all .3s;
}

.value-card:hover {
  border-color: var(--purple-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
  border: 1px solid var(--purple-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--purple-700);
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.value-card p {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ── TEAM SECTION ────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all .3s;
}

.team-card:hover {
  border-color: var(--purple-200);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  font-weight: 700;
}

.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.team-title {
  font-size: .85rem;
  color: var(--purple-600);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ── ACCORDION ───────────────────────────────────────────── */
.accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── FAQ PATIENT PAGE ────────────────────────────────────── */
/* Trust intro block (patients page) */
.trust-intro {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--am-blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.trust-intro-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--am-blue);
}

.trust-intro-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--am-blue);
  margin-bottom: 6px;
}

.trust-intro-body p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ── ABOUT MISSION ───────────────────────────────────────── */
.mission-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #120026 0%, #270053 50%, #5229D2 100%);
  position: relative;
  overflow: hidden;
}

.mission-section .section-tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.2);
}

.mission-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.mission-section p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.mission-section .section-header { text-align: center; }
.mission-section .section-header h2 { color: white; }

/* ── CONTACT CARD ────────────────────────────────────────── */
.contact-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.contact-card p { color: var(--gray-500); font-size: .95rem; margin-bottom: 24px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
}
.contact-method:hover { border-color: var(--purple-300); color: var(--purple-700); background: var(--purple-50); }
.contact-method-icon { font-size: 1.2rem; }

/* ── RESPONSIVE ADDITIONS ────────────────────────────────── */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan-card.featured { transform: scale(1); }
  .plan-card.featured:hover { transform: translateY(-4px); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; }
  .compare-section { overflow-x: auto; }
  .compare-table { min-width: 600px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   APPLE-STYLE SCROLL STORY
   ══════════════════════════════════════════════════════════════ */

/* ── Track & Stage ── */
.story-section { position: relative; }

.story-track {
  height: calc(100vh * 7); /* 6 scenes + entry/exit */
  position: relative;
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Background layers ── */
.story-bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.story-bg-layer {
  position: absolute;
  inset: 0;
  transition: opacity 0.6s ease;
}

.story-bg-layer[data-scene="0"] { background: linear-gradient(160deg, #120026 0%, #270053 50%, #1d003d 100%); }
.story-bg-layer[data-scene="1"] { background: linear-gradient(160deg, #1a0040 0%, #2d0070 45%, #5229D2 100%); }
.story-bg-layer[data-scene="2"] { background: linear-gradient(160deg, #0a001f 0%, #270053 40%, #3d1a8a 100%); }
.story-bg-layer[data-scene="3"] { background: linear-gradient(160deg, #050015 0%, #1d003d 35%, #270053 80%, #5229D2 100%); }
.story-bg-layer[data-scene="4"] { background: linear-gradient(160deg, #160035 0%, #2a006b 45%, #8b3fd8 100%); }
.story-bg-layer[data-scene="5"] { background: linear-gradient(160deg, #0d0025 0%, #270053 40%, #5229D2 75%, #8b3fd8 100%); }

/* Subtle grid overlay */
.story-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

/* ── Progress dots ── */
.story-nav {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255,255,255,.6);
}

/* ── Main layout ── */
.story-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  padding: 0 60px;
  margin: 0 auto;
}

/* ── Scene text panels ── */
.story-text-col {
  position: relative;
  height: 380px;
}

.scene-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.scene-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scene-panel.exiting {
  opacity: 0;
  transform: translateY(-30px);
}

.scene-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--am-violet);
  margin-bottom: 16px;
}

.scene-panel h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.scene-panel h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa, #8b3fd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scene-panel p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 360px;
  margin-bottom: 24px;
}

.scene-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.scene-steps span {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 5px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.scene-steps .sep {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}

.scene-proof {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-pill {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  padding: 6px 14px;
  background: rgba(139,63,216,.25);
  border: 1px solid rgba(139,63,216,.35);
  border-radius: 100px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.scene-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.store-row {
  display: flex;
  gap: 12px;
}

.store-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  padding: 8px 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.store-mini:hover {
  background: rgba(255,255,255,.18);
  color: white;
}

/* ── Stat column ── */
.story-stat-col {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.story-stat {
  position: absolute;
  text-align: right;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.story-stat.active {
  opacity: 1;
  transform: translateX(0);
}

.story-stat-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  margin-bottom: 6px;
}

.story-stat-label {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 4px;
}

.story-stat-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

/* ── Phone column ── */
.story-phone-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-phone-wrap {
  position: relative;
}

.story-phone-frame {
  width: 240px;
  height: 480px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6),
    0 30px 80px rgba(0,0,0,.5),
    0 0 60px rgba(139,63,216,.15),
    inset 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
  overflow: hidden;
}

.story-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 100px;
  z-index: 10;
}

.story-phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 30px;
  overflow: hidden;
  background: #0f0f1a;
}

/* ── Screen slides ── */
.story-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
  font-size: 11px;
}

.story-screen.active {
  opacity: 1;
}

/* ── Scene 0: Home ── */
.ss-home {
  background: linear-gradient(180deg, #1a1040 0%, #0f0a2e 100%);
  height: 100%;
  padding: 32px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ss-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ss-time {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}

.ss-name {
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.ss-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--am-violet), var(--am-blue));
  color: white;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-summary-card {
  background: linear-gradient(135deg, rgba(139,63,216,.3), rgba(82,41,210,.2));
  border: 1px solid rgba(139,63,216,.3);
  border-radius: 14px;
  padding: 12px;
}

.ss-sc-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.ss-sc-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.ss-sc-item { text-align: center; }

.ss-sc-num {
  font-size: 16px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.ss-sc-num.green { color: #4ade80; }

.ss-sc-key {
  font-size: 8px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

.ss-sc-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.15);
}

.ss-quick-actions {
  flex: 1;
}

.ss-qa-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.ss-qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ss-qa-btn {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  font-size: 8.5px;
  color: rgba(255,255,255,.7);
}

.ss-qa-btn.active {
  background: linear-gradient(135deg, rgba(139,63,216,.5), rgba(82,41,210,.4));
  border-color: rgba(139,63,216,.5);
  color: white;
}

.ss-qa-icon { font-size: 14px; margin-bottom: 3px; }

.ss-recent-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ss-claim-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ss-cr-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ss-cr-dot.green { background: #4ade80; }
.ss-cr-dot.orange { background: #fb923c; }

.ss-cr-info { flex: 1; }

.ss-cr-name { font-size: 9px; font-weight: 600; color: white; }
.ss-cr-code { font-size: 8px; color: rgba(255,255,255,.4); }
.ss-cr-amt { font-size: 9px; font-weight: 700; color: white; }

/* ── Scene 1: Scanner ── */
.ss-scanner {
  background: #000;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ss-scan-header {
  display: flex;
  align-items: center;
  padding: 32px 12px 8px;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(10px);
}

.ss-back { font-size: 18px; color: white; width: 24px; }

.ss-scan-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.ss-scan-torch { font-size: 14px; }

.ss-viewfinder {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #111 0%, #222 100%);
}

.ss-vf-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.ss-vf-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 100px;
  background: transparent;
}

.ss-vf-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #4ade80;
  border-style: solid;
}

.ss-vf-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.ss-vf-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.ss-vf-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.ss-vf-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.ss-vf-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #4ade80, transparent);
  box-shadow: 0 0 8px #4ade80;
  animation: vf-scan 2s ease-in-out infinite;
}

@keyframes vf-scan {
  0%   { top: 0; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.ss-vf-card {
  position: absolute;
  inset: 8px;
  background: linear-gradient(135deg, #1a7a4a, #0f5c38);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: .85;
}

.ss-mc-logo { font-size: 10px; font-weight: 900; color: white; font-style: italic; }
.ss-mc-num { font-size: 11px; font-weight: 700; color: white; letter-spacing: .08em; }
.ss-mc-name { font-size: 9px; color: rgba(255,255,255,.8); font-weight: 700; }
.ss-mc-ref { font-size: 8px; color: rgba(255,255,255,.6); }

.ss-scan-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,.8);
  font-size: 10px;
  font-weight: 600;
  color: white;
}

.ss-scan-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 1s ease-in-out infinite;
  flex-shrink: 0;
}

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

.ss-scan-hint {
  padding: 6px 14px;
  background: rgba(0,0,0,.8);
  font-size: 8.5px;
  color: rgba(255,255,255,.5);
  text-align: center;
}

/* ── Scene 2: Claim Lodged ── */
.ss-lodged {
  background: linear-gradient(180deg, #0d1f0a 0%, #0a1a12 100%);
  height: 100%;
  padding: 32px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ss-success-ring {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(34,197,94,.4);
}

.ss-success-check { font-size: 22px; color: white; font-weight: 900; }

.ss-lodged-title {
  font-size: 14px;
  font-weight: 900;
  color: white;
}

.ss-lodged-sub {
  font-size: 9.5px;
  color: #4ade80;
  font-weight: 600;
}

.ss-claim-card {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.ss-claim-row2 {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 9px;
  color: rgba(255,255,255,.6);
}

.ss-claim-row2 span:last-child { color: white; font-weight: 600; }

.ss-claim-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 6px 0;
}

.ss-claim-row2.total span { font-weight: 900; color: #4ade80; font-size: 10px; }

.ss-timeline {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ss-tl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: rgba(255,255,255,.5);
}

.ss-tl-item.done { color: #4ade80; }
.ss-tl-item.pending { color: rgba(255,255,255,.35); }

.ss-tl-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── Scene 3: Dashboard ── */
.ss-dashboard {
  background: linear-gradient(180deg, #0f0a2e 0%, #150d3a 100%);
  height: 100%;
  padding: 32px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ss-db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ss-db-title { font-size: 12px; font-weight: 800; color: white; }
.ss-db-period { font-size: 9px; color: rgba(255,255,255,.5); }

.ss-db-total { }
.ss-db-amount { font-size: 22px; font-weight: 900; color: white; line-height: 1; }
.ss-db-growth { font-size: 9px; color: #4ade80; margin-top: 3px; }

.ss-db-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
}

.ss-db-bar {
  flex: 1;
  background: rgba(255,255,255,.08);
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.ss-db-bar-fill {
  width: 100%;
  height: var(--h, 60%);
  background: linear-gradient(180deg, var(--am-violet), var(--am-blue));
  border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
}

.ss-db-bar.active .ss-db-bar-fill {
  background: linear-gradient(180deg, #a78bfa, var(--am-violet));
  box-shadow: 0 0 12px rgba(139,63,216,.5);
}

.ss-db-labels {
  display: flex;
  justify-content: space-around;
  font-size: 7.5px;
  color: rgba(255,255,255,.35);
}

.ss-db-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ss-db-bk-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}

.ss-db-bk-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ss-db-bk-dot.green { background: #4ade80; }
.ss-db-bk-dot.orange { background: #fb923c; }

.ss-db-bk-label { flex: 1; color: rgba(255,255,255,.6); }
.ss-db-bk-val { font-weight: 700; color: white; }

/* ── Scene 4: Patient comms ── */
.ss-patient {
  background: linear-gradient(180deg, #1a0a2e 0%, #0f0520 100%);
  height: 100%;
  padding: 32px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ss-pt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ss-pt-title { font-size: 12px; font-weight: 800; color: white; }

.ss-pt-badge {
  font-size: 7.5px;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(139,63,216,.2);
  border: 1px solid rgba(139,63,216,.35);
  border-radius: 100px;
  padding: 3px 8px;
}

.ss-sms-bubble {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.ss-sms-label {
  font-size: 8px;
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
  font-weight: 600;
}

.ss-sms-body {
  font-size: 9.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

.ss-sms-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 700;
  color: #a78bfa;
  cursor: pointer;
}

.ss-sms-time {
  font-size: 7.5px;
  color: rgba(255,255,255,.3);
  margin-top: 6px;
  text-align: right;
}

.ss-pt-status { display: flex; flex-direction: column; gap: 5px; }

.ss-pt-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
}

.ss-pt-status-row.pending { opacity: .6; }

.ss-pts-label { font-size: 9px; color: rgba(255,255,255,.7); }
.ss-pts-check { font-size: 11px; color: #4ade80; font-weight: 900; }
.ss-pts-pending {
  font-size: 8px;
  color: #fb923c;
  background: rgba(251,146,60,.1);
  border-radius: 100px;
  padding: 2px 7px;
  font-weight: 600;
}

/* ── Scene 5: Paid ── */
.ss-paid {
  background: linear-gradient(180deg, #0a1a0a 0%, #05120a 100%);
  height: 100%;
  padding: 32px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ss-paid-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(34,197,94,.35);
}

.ss-paid-icon { font-size: 24px; font-weight: 900; color: white; line-height: 1; }

.ss-paid-title { font-size: 14px; font-weight: 900; color: white; }

.ss-paid-amount {
  font-size: 28px;
  font-weight: 900;
  color: #4ade80;
  line-height: 1;
}

.ss-paid-from { font-size: 9.5px; color: rgba(255,255,255,.5); }

.ss-paid-detail {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 12px;
}

.ss-pd-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 9px;
}

.ss-pd-row span:first-child { color: rgba(255,255,255,.5); }
.ss-pd-row span:last-child  { color: white; font-weight: 600; }

.ss-paid-total-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(34,197,94,.2), rgba(22,163,74,.15));
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: left;
}

.ss-ptc-label { font-size: 8.5px; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.ss-ptc-amount { font-size: 18px; font-weight: 900; color: #4ade80; }

/* ── Floating chips ── */
.story-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.85) translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 5;
}

.story-chip.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.chip-icon { font-size: 14px; }

.chip-tl { top: -14px; left: -90px; }
.chip-tr { top: -14px; right: -90px; }
.chip-bl { bottom: 60px; left: -90px; }
.chip-br { bottom: 60px; right: -90px; }

/* ── Scroll hint ── */
.story-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  transition: opacity 0.5s ease;
}

.ssh-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.5));
  animation: ssh-drip 1.5s ease-in-out infinite;
}

@keyframes ssh-drip {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

.ssh-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .story-layout {
    grid-template-columns: 1fr 280px;
    padding: 0 24px;
  }

  .story-stat-col { display: none; }

  .scene-panel h2 { font-size: 2rem; }

  .story-phone-frame { width: 200px; height: 400px; }

  .chip-tl, .chip-bl { left: -70px; }
  .chip-tr, .chip-br { right: -70px; }
}

@media (max-width: 600px) {
  .story-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 24px;
    padding: 0 20px;
    align-items: start;
    padding-top: 80px;
  }

  .story-phone-col { display: none; }

  .story-text-col { height: auto; min-height: 300px; }

  .scene-panel { position: relative; inset: auto; }
  .scene-panel:not(.active) { display: none; }

  .story-nav { display: none; }
  .story-track { height: calc(100vh * 5); }

  .chip-tl, .chip-tr, .chip-bl, .chip-br { display: none; }
}
