/* ─── Apple-style design system for zafitai.com ─────────────────── */
:root {
  --bg:        #000;
  --bg-1:      #0a0a0c;
  --bg-soft:   #1d1d1f;
  --bg-light:  #f5f5f7;
  --bg-light-2:#fbfbfd;
  --text:      #f5f5f7;
  --text-2:    #86868b;
  --text-dark: #1d1d1f;
  --text-dark-2: #6e6e73;
  --link:      #2997ff;
  --line:      rgba(255,255,255,0.10);
  --line-dark: rgba(0,0,0,0.10);
  --max:       980px;
  --max-wide:  1440px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  line-height: 1.47;
  letter-spacing: -0.022em;
  overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; transition: opacity 0.2s; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }
section { position: relative; }

/* ─── Top nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(0,0,0,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  height: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(245,245,247,0.85);
}
.nav-logo {
  font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; opacity: 0.9; }
.nav-logo img {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: block;
  object-fit: cover;
}
.nav-logo .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #32D7E0; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 12px #32D7E0; }
.nav-links { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: center; }
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover { color: #fff; }
@media (max-width: 760px) { .nav-links { gap: 18px; font-size: 11px; } }
@media (max-width: 540px) { .nav-links { display: none; } }
.nav-cta {
  background: #fff; color: #000 !important; padding: 6px 14px;
  border-radius: 999px; font-weight: 500; font-size: 12px;
}
.nav-cta:hover { text-decoration: none; opacity: 0.9; }

/* ─── Cinematic hero (full-bleed video + text overlay) ──────────── */
.hero-cinematic {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: #000;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 22px;
  max-width: 1100px;
}
.hero-logo {
  width: clamp(96px, 12vw, 144px);
  height: clamp(96px, 12vw, 144px);
  border-radius: 28px;
  margin: 0 auto 28px;
  display: block;
  box-shadow: 0 30px 80px -20px rgba(50,215,224,0.45),
              0 12px 30px -10px rgba(0,0,0,0.6);
  object-fit: cover;
}
.hero-content .hero-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 500;
  color: rgba(245,245,247,0.85);
  padding: 6px 14px; margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-content .live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #30D158; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 8px #30D158; animation: pulse 2s ease-in-out infinite; }
.hero-content h1 {
  font-size: clamp(56px, 11vw, 144px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.96;
  color: #fff;
}
.hero-content h1 .grad {
  background: linear-gradient(135deg, #32D7E0 0%, #BF5AF2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content .hero-sub {
  font-size: clamp(19px, 2.4vw, 28px);
  color: rgba(245,245,247,0.85);
  max-width: 720px;
  margin: 22px auto 0;
  font-weight: 300;
}
.hero-content .hero-ctas {
  display: flex; gap: 32px; justify-content: center;
  margin-top: 28px;
  font-size: 19px;
}
.hero-content .hero-ctas a {
  color: #2997ff;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.hero-content .hero-ctas a:hover { text-decoration: underline; }
.hero-content .hero-ctas a::after { content: '›'; font-size: 22px; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(245,245,247,0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.scroll-dot {
  stroke: #fff;
  stroke-linecap: round;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* ─── Film section (single video, Apple product-page style) ──────── */
.film-section-single {
  background: #000;
  padding: 100px 0 120px;
  position: relative;
}
.film-stage {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 0 22px;
}
.film-single {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border-radius: 18px;
  box-shadow: 0 60px 140px -40px rgba(50,215,224,0.25),
              0 30px 80px -30px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* ─── Old multi-scene film (kept; class no longer referenced) ─────── */
.film-section {
  background: #000;
  padding: 100px 0 60px;
  position: relative;
}
.film-intro {
  text-align: center;
  padding: 0 22px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.film-intro .eyebrow {
  font-size: 13px; font-weight: 700;
  color: #32D7E0;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.film-intro h2 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: #fff;
}
.film-intro h2 .grad {
  background: linear-gradient(135deg, #32D7E0 0%, #BF5AF2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.film-intro p {
  color: rgba(245,245,247,0.7);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
}

.film-scene {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  margin-bottom: 12px;
}
.film-scene .film-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.film-scene::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.40) 50%,
    rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.film-caption {
  position: absolute;
  left: 0; right: 0; bottom: 60px;
  padding: 0 60px;
  z-index: 2;
  max-width: 720px;
  color: #fff;
}
.film-caption .num {
  font-size: 13px; font-weight: 700;
  color: #32D7E0;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.film-caption h3 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 16px;
  color: #fff;
}
.film-caption p {
  font-size: clamp(17px, 1.8vw, 22px);
  color: rgba(245,245,247,0.85);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .film-caption { padding: 0 24px; bottom: 40px; }
}

/* ─── Old hero (kept in case we revert) ──────────────────────────── */
.hero {
  padding: 80px 22px 80px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -10%; left: 50%; transform: translateX(-50%);
  width: 1400px; height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(50,215,224,0.18) 0%, rgba(191,90,242,0.10) 35%, transparent 65%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero-eyebrow {
  position: relative; z-index: 1;
  display: inline-block;
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px; margin-top: 60px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.hero-eyebrow .live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #30D158; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 8px #30D158; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(48px, 9vw, 116px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.0625;
  margin-top: 4px;
  background: linear-gradient(180deg, #fff 0%, #d2d2d7 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .grad,
.big h2 .grad {
  background: linear-gradient(135deg, #32D7E0 0%, #BF5AF2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  position: relative; z-index: 1;
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 400;
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--text-2);
}
.hero-ctas {
  position: relative; z-index: 1;
  display: flex; gap: 32px; justify-content: center;
  margin-top: 22px; font-size: 19px;
}
.hero-ctas a {
  color: var(--link); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-ctas a:hover { text-decoration: underline; }
.hero-ctas a::after { content: '›'; font-size: 22px; line-height: 1; transform: translateY(-1px); }

/* ─── Animated runner SVG hero art ──────────────────────────────── */
.hero-runner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 56px auto 0;
}
.hero-runner svg { width: 100%; height: auto; }
.runner .arm-front,
.runner .arm-back,
.runner .leg-front,
.runner .leg-back {
  transform-origin: 4px -10px;
  transform-box: fill-box;
}
.runner .arm-front { animation: armSwing 0.6s ease-in-out infinite alternate; }
.runner .arm-back  { animation: armSwingBack 0.6s ease-in-out infinite alternate; }
.runner .leg-front { animation: legKick 0.6s ease-in-out infinite alternate; transform-origin: 4px -10px; }
.runner .leg-back  { animation: legKickBack 0.6s ease-in-out infinite alternate; transform-origin: 4px -10px; }
.runner { animation: bob 0.6s ease-in-out infinite alternate; }
@keyframes armSwing     { from { transform: rotate(-30deg); } to { transform: rotate(40deg); } }
@keyframes armSwingBack { from { transform: rotate(40deg);  } to { transform: rotate(-30deg); } }
@keyframes legKick      { from { transform: rotate(20deg);  } to { transform: rotate(-30deg); } }
@keyframes legKickBack  { from { transform: rotate(-30deg); } to { transform: rotate(20deg); } }
@keyframes bob          { from { transform: translate(300px, 198px); } to { transform: translate(300px, 202px); } }
.trails line { animation: dash 1.2s linear infinite; stroke-dasharray: 8 8; }
@keyframes dash { from { stroke-dashoffset: 16; } to { stroke-dashoffset: 0; } }
.dust circle { animation: dustFade 1s ease-out infinite; }
.dust circle:nth-child(2) { animation-delay: 0.3s; }
.dust circle:nth-child(3) { animation-delay: 0.6s; }
@keyframes dustFade { 0% { opacity: 0.6; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-6px); } }
.metric { opacity: 0; animation: metricIn 0.8s ease forwards; }
.metric-1 { animation-delay: 0.4s; }
.metric-2 { animation-delay: 0.8s; }
.metric-3 { animation-delay: 1.2s; }
@keyframes metricIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Film: scroll-driven scenes ───────────────────────────────────── */
.film {
  background: linear-gradient(180deg, #000 0%, #0a0a0c 100%);
  padding: 60px 0;
}
.scene {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 80px 22px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.scene.in { opacity: 1; transform: translateY(0); }
@media (max-width: 860px) {
  .scene { grid-template-columns: 1fr; gap: 24px; padding: 60px 22px; min-height: auto; }
}
.scene-text { max-width: 520px; }
.scene-num {
  font-size: 13px; color: #32D7E0; font-weight: 700;
  letter-spacing: 0.16em; margin-bottom: 18px;
}
.scene h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.scene p {
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--text-2);
  line-height: 1.45;
}
.scene-art { display: flex; justify-content: center; align-items: center; }
.scene-art svg { width: 100%; max-width: 520px; height: auto; }
.scene:nth-child(even) { direction: rtl; }
.scene:nth-child(even) .scene-text { direction: ltr; }
.scene:nth-child(even) .scene-art { direction: ltr; }

/* Scene-specific animations */
.bubble {
  opacity: 0; transform: translateY(8px);
  animation: bubbleIn 0.8s ease forwards;
}
.scene.in .b1 { animation-delay: 0.2s; }
.scene.in .b2 { animation-delay: 0.6s; }
.scene.in .b3 { animation-delay: 1.2s; }
.scene.in .b4 { animation-delay: 1.6s; }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }

.scan-line {
  animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(420px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.body-outline { animation: bodyPulse 3s ease-in-out infinite; }
@keyframes bodyPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }

.pulse {
  transform-origin: 300px 280px;
  animation: pulseRing 2.4s ease-out infinite;
  opacity: 0;
}
.pulse.p2 { animation-delay: 0.8s; }
.pulse.p3 { animation-delay: 1.6s; }
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ─── Card-grid section ───────────────────────────────────────────── */
.stack { padding: 12px 22px; max-width: var(--max-wide); margin: 0 auto; }
.row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 12px;
}
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } }
.panel {
  position: relative;
  background: var(--bg-light);
  color: var(--text-dark);
  border-radius: 22px;
  padding: 56px 40px 40px;
  overflow: hidden;
  min-height: 580px;
  display: flex; flex-direction: column;
}
.panel.dark { background: var(--bg-soft); color: var(--text); }
.panel.full { grid-column: 1 / -1; min-height: 480px; }
.panel-eyebrow {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.panel-title {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.07;
  margin-bottom: 18px;
}
.panel-sub {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--text-dark-2);
  line-height: 1.4;
  max-width: 540px;
}
.panel.dark .panel-sub { color: var(--text-2); }
.panel-art {
  flex: 1; display: flex; align-items: center; justify-content: center;
  margin-top: 28px;
}
.panel-art svg { width: 100%; max-width: 360px; height: auto; }

/* ─── Marquee ──────────────────────────────────────────────────────── */
.marquee {
  padding: 80px 0;
  background: var(--bg);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.10);
}
.marquee-track span.hi { color: var(--text); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Big band ─────────────────────────────────────────────────────── */
.big {
  padding: 120px 22px;
  text-align: center;
  background: var(--bg);
}
.big h2 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 980px;
  margin: 0 auto;
}
.big-sub {
  margin-top: 22px; font-size: 19px; color: var(--text-2);
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.big-link { margin-top: 28px; font-size: 17px; }

/* ─── Specs grid ──────────────────────────────────────────────────── */
.specs { padding: 80px 22px; max-width: var(--max-wide); margin: 0 auto; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 60px 40px; }
.spec h4 {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.spec p { font-size: 17px; color: var(--text); line-height: 1.5; }
.spec .num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

/* ─── Steps ────────────────────────────────────────────────────────── */
.steps-section { padding: 100px 22px; max-width: var(--max); margin: 0 auto; }
.steps-section h2 { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; text-align: center; margin-bottom: 60px; }
.steps { display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-soft);
  border-radius: 18px;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #32D7E0, #BF5AF2);
  color: #000;
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
}
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ─── Pricing ──────────────────────────────────────────────────────── */
.pricing-section { padding: 100px 22px; max-width: var(--max-wide); margin: 0 auto; }
.pricing-section h2 { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; text-align: center; margin-bottom: 16px; }
.pricing-section .lead { text-align: center; color: var(--text-2); font-size: 19px; margin-bottom: 60px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  background: linear-gradient(180deg, #1a3540 0%, #0d1a20 100%);
  border: 1px solid #32D7E0;
}
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #32D7E0; color: #000;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.price-card h3 { font-size: 16px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.price-card .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; color: var(--text); }
.price-card .price span { font-size: 14px; font-weight: 400; color: var(--text-2); margin-left: 4px; }
.price-card .desc { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 24px; }
.price-card li {
  padding: 10px 0; font-size: 14px; color: var(--text);
  display: flex; gap: 10px; align-items: flex-start;
  border-top: 1px solid var(--line);
}
.price-card li:first-child { border-top: 0; }
.price-card li::before { content: '✓'; color: #32D7E0; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center;
  padding: 10px 22px; border-radius: 980px;
  font-size: 17px; font-weight: 400;
  transition: opacity 0.2s, background 0.2s;
  cursor: pointer; text-decoration: none;
}
.btn-pri { background: var(--link); color: #fff !important; }
.btn-pri:hover { background: #0077ed; text-decoration: none; }
.btn-sec { background: transparent; color: var(--link) !important; border: 1px solid var(--link); }
.btn-sec:hover { background: var(--link); color: #fff !important; text-decoration: none; }

/* ─── Founder ──────────────────────────────────────────────────────── */
.founder-section { padding: 100px 22px; max-width: 980px; margin: 0 auto; }
.founder-card {
  background: var(--bg-soft);
  border-radius: 30px;
  padding: 60px;
  display: grid; grid-template-columns: 220px 1fr; gap: 56px;
  align-items: center;
}
@media (max-width: 700px) { .founder-card { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; } }
.founder-photo {
  width: 220px; height: 220px; border-radius: 50%;
  background: linear-gradient(135deg, #32D7E0 0%, #BF5AF2 100%);
  display: grid; place-items: center;
  font-size: 84px; font-weight: 800; color: #000;
  letter-spacing: -0.03em;
  margin: 0 auto;
}
.founder-card h3 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 6px; }
.founder-card .role { color: #32D7E0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.founder-card p { color: var(--text-2); font-size: 17px; line-height: 1.6; margin-bottom: 12px; }

/* ─── Footer ───────────────────────────────────────────────────────── */
footer {
  background: #000; color: #6e6e73;
  font-size: 12px; padding: 40px 22px 24px;
  border-top: 1px solid #1d1d1f;
}
.footer-inner { max-width: var(--max-wide); margin: 0 auto; }
.footer-cols {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 40px; padding-bottom: 32px;
  border-bottom: 1px solid #1d1d1f;
}
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-cols h5 { color: #f5f5f7; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.footer-cols a { display: block; padding: 5px 0; color: #86868b; font-size: 12px; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; color: #f5f5f7; }
.footer-bot {
  padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #86868b;
}
.footer-bot .credit b { color: #f5f5f7; font-weight: 600; }

/* ─── SEO content section ────────────────────────────────────────── */
.seo-content {
  background: #0a0a0c;
  padding: 100px 22px;
}
.seo-inner {
  max-width: 800px; margin: 0 auto;
  color: var(--text-2);
  font-size: 17px; line-height: 1.7;
}
.seo-inner h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--text); margin-bottom: 20px;
}
.seo-inner h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--text); margin: 40px 0 12px;
}
.seo-inner p { margin-bottom: 16px; color: var(--text-2); }
.seo-inner strong { color: var(--text); font-weight: 600; }
.seo-inner a { color: var(--link); }
.seo-inner details.seo-faq {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.seo-inner details.seo-faq:first-of-type { border-top: 1px solid var(--line); margin-top: 14px; }
.seo-inner details.seo-faq summary {
  cursor: pointer; list-style: none;
  font-weight: 500; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.seo-inner details.seo-faq summary::-webkit-details-marker { display: none; }
.seo-inner details.seo-faq summary::after { content: '+'; color: var(--text-2); font-size: 22px; }
.seo-inner details.seo-faq[open] summary::after { content: '−'; }
.seo-inner details.seo-faq p { margin-top: 12px; padding-right: 20px; }

/* ─── Reveal animation ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── Panel SVG animations (fire when .reveal becomes .in) ──────── */

/* Circles that "draw" from 0 to full. Each circle declares its target via
 * a data attribute and reads it via CSS custom property --target-dash. */
.anim-ring {
  stroke-dasharray: var(--target-dash);
  stroke-dashoffset: var(--target-dash);
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in .anim-ring { stroke-dashoffset: 0; }

/* Number counters. JS sets text content; CSS just provides the fade-in. */
.count {
  opacity: 0;
  transition: opacity 0.5s ease 0.4s;
}
.reveal.in .count { opacity: 1; }

/* Area chart line: animate path drawing via stroke-dashoffset. */
.anim-chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.reveal.in .anim-chart-line { stroke-dashoffset: 0; }

.anim-chart-fill {
  opacity: 0;
  transition: opacity 1s ease 1s;
}
.reveal.in .anim-chart-fill { opacity: 1; }

/* Voice waveform bars — each bar pulses on a small offset. */
.wave-bar {
  transform-origin: center;
  transform: scaleY(0.2);
  animation: wave-pulse 1.4s ease-in-out infinite;
  animation-play-state: paused;
}
.reveal.in .wave-bar { animation-play-state: running; }
.wave-bar:nth-child(1)  { animation-delay: 0.00s; }
.wave-bar:nth-child(2)  { animation-delay: 0.08s; }
.wave-bar:nth-child(3)  { animation-delay: 0.16s; }
.wave-bar:nth-child(4)  { animation-delay: 0.24s; }
.wave-bar:nth-child(5)  { animation-delay: 0.32s; }
.wave-bar:nth-child(6)  { animation-delay: 0.40s; }
.wave-bar:nth-child(7)  { animation-delay: 0.48s; }
.wave-bar:nth-child(8)  { animation-delay: 0.40s; }
.wave-bar:nth-child(9)  { animation-delay: 0.32s; }
.wave-bar:nth-child(10) { animation-delay: 0.24s; }
.wave-bar:nth-child(11) { animation-delay: 0.16s; }
.wave-bar:nth-child(12) { animation-delay: 0.08s; }
.wave-bar:nth-child(13) { animation-delay: 0.00s; }
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}

/* Daily plan list items — stagger in from below. */
.plan-row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in .plan-row { opacity: 1; transform: translateY(0); }
.reveal.in .plan-row:nth-child(1) { transition-delay: 0.10s; }
.reveal.in .plan-row:nth-child(2) { transition-delay: 0.25s; }
.reveal.in .plan-row:nth-child(3) { transition-delay: 0.40s; }
.reveal.in .plan-row:nth-child(4) { transition-delay: 0.55s; }
.reveal.in .plan-row:nth-child(5) { transition-delay: 0.70s; }

/* Bloodwork rows — fade in stacked. */
.lab-row {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in .lab-row { opacity: 1; transform: translateX(0); }
.reveal.in .lab-row:nth-of-type(1) { transition-delay: 0.20s; }
.reveal.in .lab-row:nth-of-type(2) { transition-delay: 0.40s; }
.reveal.in .lab-row:nth-of-type(3) { transition-delay: 0.60s; }

/* ─── Hero shimmer on the gradient word ──────────────────────────── */
.hero-content h1 .grad,
.big h2 .grad,
.film-intro h2 .grad {
  background: linear-gradient(
    100deg,
    #32D7E0 0%,
    #BF5AF2 25%,
    #ffffff 50%,
    #BF5AF2 75%,
    #32D7E0 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ─── Hero scroll-down arrow soft bob + expand on hover ──────────── */
.hero-scroll { animation: bob 2.4s ease-in-out infinite; cursor: pointer; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ─── Panel hover tilt + lift ────────────────────────────────────── */
.panel {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.panel:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 0 40px 80px -20px rgba(50, 215, 224, 0.15),
              0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.panel:hover .panel-art { transform: scale(1.04); }
.panel-art { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

/* ─── Ring glow pulse on the AI Coach 87 score ───────────────────── */
.anim-ring-glow {
  filter: drop-shadow(0 0 0px rgba(10, 132, 255, 0));
  transition: filter 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1s;
}
.reveal.in .anim-ring-glow {
  animation: ring-glow 2.6s ease-in-out infinite 1.6s;
}
@keyframes ring-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(10, 132, 255, 0.3)); }
  50%      { filter: drop-shadow(0 0 18px rgba(10, 132, 255, 0.6)); }
}

/* ─── Spec numbers count-up wrapper (uses .count utility) ────────── */
.spec .num.count {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.in .spec .num.count,
.spec.in .num.count { opacity: 1; transform: translateY(0); }

/* ─── Plan-row checkmark pop (after the row slides in) ───────────── */
.plan-check {
  opacity: 0;
  transform-origin: center;
  transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.5, 1.6, 0.5, 1);
}
.reveal.in .plan-row:nth-child(1) .plan-check { transition-delay: 0.55s; opacity: 1; transform: scale(1); }
.reveal.in .plan-row:nth-child(2) .plan-check { transition-delay: 0.70s; opacity: 1; transform: scale(1); }
.reveal.in .plan-row:nth-child(3) .plan-check { transition-delay: 0.85s; opacity: 1; transform: scale(1); }
.reveal.in .plan-row:nth-child(4) .plan-check { transition-delay: 1.00s; opacity: 1; transform: scale(1); }
.reveal.in .plan-row:nth-child(5) .plan-check { transition-delay: 1.15s; opacity: 1; transform: scale(1); }

/* ─── Marquee speed bump on hover ────────────────────────────────── */
.marquee:hover .marquee-track { animation-duration: 18s; }
.marquee-track { transition: animation-duration 0.5s; }

/* ─── Logo subtle glow + breathe ─────────────────────────────────── */
.hero-logo {
  animation: logo-breathe 4s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(50, 215, 224, 0.25));
}
@keyframes logo-breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px rgba(50, 215, 224, 0.25)); }
  50%      { transform: scale(1.04); filter: drop-shadow(0 0 32px rgba(50, 215, 224, 0.45)); }
}

/* ─── Step-num: pulsing on the gradient ring as it appears ───────── */
.step:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(50, 215, 224, 0.45);
}
.step-num {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

/* ─── Price card hover pop ───────────────────────────────────────── */
.price-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}
.price-card.featured:hover {
  box-shadow: 0 30px 60px -15px rgba(50, 215, 224, 0.35);
}

/* ─── CTA button hover lift ──────────────────────────────────────── */
.btn { transition: transform 0.2s ease, opacity 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }

/* ─── Hero CTAs: chevron slide on hover ──────────────────────────── */
.hero-content .hero-ctas a::after,
.hero-ctas a::after {
  display: inline-block;
  transition: transform 0.25s ease;
}
.hero-content .hero-ctas a:hover::after,
.hero-ctas a:hover::after {
  transform: translateX(4px);
}

/* ─── Honor reduced-motion preference ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Sub-page article layout ─────────────────────────────────────── */
.page-hero {
  padding: 140px 22px 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  font-size: 13px; font-weight: 600;
  color: #32D7E0; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(44px, 7vw, 80px); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.05;
}
.page-hero p {
  margin-top: 16px; color: var(--text-2);
  font-size: 19px; max-width: 660px; margin-left: auto; margin-right: auto;
}
.article {
  max-width: 720px; margin: 0 auto; padding: 60px 22px 120px;
  font-size: 17px; line-height: 1.7; color: var(--text);
}
.article h2 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.article h3 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.article p, .article ul { color: var(--text-2); margin-bottom: 16px; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article a { color: var(--link); }
.article strong { color: var(--text); font-weight: 600; }
.article .updated { color: var(--text-2); font-size: 13px; margin-top: -8px; margin-bottom: 28px; }

/* Contact-page specific */
.contact-card {
  max-width: 560px; margin: 60px auto 120px; padding: 0 22px;
}
.contact-block {
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 40px 32px;
  text-align: center;
}
.contact-block .label {
  font-size: 12px; color: var(--text-2);
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px;
}
.contact-block .email {
  display: inline-block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; letter-spacing: -0.02em;
  color: #32D7E0;
  padding: 16px 28px; border-radius: 999px;
  background: rgba(50,215,224,0.08);
  border: 1px solid rgba(50,215,224,0.3);
  text-decoration: none;
  transition: background 0.2s;
}
.contact-block .email:hover {
  background: rgba(50,215,224,0.16); text-decoration: none;
}
.contact-block .small { color: var(--text-2); margin-top: 18px; font-size: 14px; }
