/* =========================================================
   EQScore — marketing site
   Dark, gradient-heavy, aurora aesthetic (mirrors the app)
   ========================================================= */

:root {
  --bg:        #05060c;
  --bg-2:      #0a0d18;
  --surface:   rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.10);
  --border-2:  rgba(255, 255, 255, 0.16);

  --text:  #eef0f8;
  --muted: #9aa0b8;
  --faint: #6b7090;

  --violet: #7c5cff;
  --blue:   #3b82f6;
  --cyan:   #22d3ee;
  --teal:   #2dd4bf;
  --pink:   #ec4899;

  --grad:       linear-gradient(120deg, #a78bff 0%, #22d3ee 50%, #2dd4bf 100%);
  --grad-warm:  linear-gradient(120deg, #7c5cff 0%, #ec4899 100%);
  --grad-btn:   linear-gradient(120deg, #7c5cff 0%, #22d3ee 100%);

  --shadow:   0 24px 70px -20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 120px -30px rgba(124, 92, 255, 0.45);

  --maxw: 1180px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3, .nav__name, .step__num, .app__score {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
::selection { background: rgba(124, 92, 255, 0.4); color: #fff; }

/* ---------- Gradient text helper ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =========================================================
   Animated background layers
   ========================================================= */
#bg-canvas,
.grid-overlay,
.aurora,
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#bg-canvas { opacity: 0.55; }

.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

.aurora { filter: blur(80px); opacity: 0.55; }
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora__blob--1 {
  width: 46vw; height: 46vw; top: -12vw; left: -8vw;
  background: radial-gradient(circle, #7c5cff, transparent 65%);
  animation: drift1 22s var(--ease) infinite alternate;
}
.aurora__blob--2 {
  width: 40vw; height: 40vw; top: 20vh; right: -10vw;
  background: radial-gradient(circle, #22d3ee, transparent 65%);
  animation: drift2 26s var(--ease) infinite alternate;
}
.aurora__blob--3 {
  width: 38vw; height: 38vw; bottom: -10vw; left: 25vw;
  background: radial-gradient(circle, #ec4899, transparent 65%);
  animation: drift3 30s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 6vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(8vw, -8vh) scale(1.2); } }

.noise {
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad);
  z-index: 1000;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.6);
}

/* =========================================================
   Layout primitives
   ========================================================= */
main { position: relative; z-index: 1; }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) 24px;
  position: relative;
  z-index: 1;
}

.section__head { max-width: 720px; margin: 0 auto clamp(48px, 7vw, 76px); text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  margin-bottom: 22px;
}
.section__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 18px;
}
.section__lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.section__lead em { color: var(--text); font-style: italic; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 16, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 14px rgba(124, 92, 255, 0.5)); }
.nav__name { font-size: 1.3rem; font-weight: 700; }
.nav__name-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tm { font-size: 0.45em; vertical-align: super; font-weight: 600; opacity: 0.7; margin-left: 2px; letter-spacing: 0; -webkit-text-fill-color: currentColor; }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.nav__cta:hover { transform: translateY(-2px); background: rgba(124, 92, 255, 0.18); box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.6); }

.nav__menu { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__menu span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-btn);
  color: #07101a;
  box-shadow: 0 14px 40px -12px rgba(34, 211, 238, 0.65);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 55px -12px rgba(124, 92, 255, 0.75); }
.btn--ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--cyan); background: var(--surface-2); }
.btn--ghost:hover svg { transform: translateX(4px); }
.btn--ghost svg { transition: transform 0.25s var(--ease); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; z-index: 1; padding: clamp(140px, 18vh, 200px) 24px 0; max-width: var(--maxw); margin: 0 auto; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); } 70% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }

.hero__title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; line-height: 1.02; margin-bottom: 22px; }
.hero__meets { display: inline-block; color: var(--muted); font-weight: 500; font-style: italic; }
.hero__tagline { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero__tagline strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--muted);
  padding: 7px 14px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
}
.badge__ico { font-size: 0.95rem; }

/* ---------- Phone mockup ---------- */
.hero__visual { position: relative; display: grid; place-items: center; perspective: 1600px; }
.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(160deg, #1a1d2e, #0a0c15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.phone:hover { transform: rotateY(-6deg) rotateX(3deg); }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #05060c; border-radius: 100px; z-index: 5; }
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: radial-gradient(120% 80% at 50% 0%, #16182a 0%, #07080f 60%);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app { padding: 44px 18px 18px; display: flex; flex-direction: column; height: 100%; gap: 14px; }
.app__statusbar { display: flex; justify-content: space-between; font-size: 0.62rem; color: var(--muted); padding: 0 4px; }
.app__statusicons { letter-spacing: 1px; }
.app__header { display: flex; align-items: flex-start; justify-content: space-between; }
.app__eyebrow { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); }
.app__title { font-size: 1.15rem; font-weight: 700; }

.hr-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 100px;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.3);
}
.hr-pill svg { animation: heartbeat 1.1s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.28); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
.hr-pill__bpm { font-size: 0.84rem; font-weight: 700; }
.hr-pill__unit { font-size: 0.56rem; color: var(--muted); }

.app__ring { position: relative; display: grid; place-items: center; margin: 4px auto; }
.app__ring svg { filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.4)); }
.ring-fg { transition: stroke-dashoffset 1.6s var(--ease); }
.app__ring-center { position: absolute; text-align: center; }
.app__score { font-size: 2.7rem; font-weight: 700; line-height: 1; }
.app__score-label { display: block; font-size: 0.66rem; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

.app__bars { display: flex; flex-direction: column; gap: 9px; }
.app__bar-top { display: flex; justify-content: space-between; font-size: 0.66rem; color: var(--muted); margin-bottom: 4px; }
.app__bar-top strong { color: var(--text); }
.app__bar-track { display: block; height: 6px; border-radius: 100px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.app__bar-track i { display: block; height: 100%; width: var(--w); border-radius: 100px; background: var(--grad); animation: growBar 1.4s var(--ease) both; }
@keyframes growBar { from { width: 0; } }

.app__coach {
  margin-top: auto;
  display: flex; gap: 8px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.25);
}
.app__coach-ai { color: var(--violet); font-size: 0.9rem; }
.app__coach p { font-size: 0.68rem; color: var(--text); line-height: 1.45; }

/* ---------- Floating cards ---------- */
.float-card {
  position: absolute;
  background: rgba(14, 16, 26, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card--tension { top: 6%; left: -7%; width: 168px; }
.float-card--coach { top: 16%; right: -6%; width: 200px; animation-delay: 1.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-card__label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.float-card__state { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--text); margin-top: 4px; }
.float-card__chip { display: inline-block; font-size: 0.62rem; font-weight: 600; color: var(--violet); margin-bottom: 5px; }
.float-card--coach p { font-size: 0.74rem; color: var(--text); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot--calm { background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.ecg { margin: 6px 0; height: 34px; }
.ecg__line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: ecgdraw 2.4s linear infinite; filter: drop-shadow(0 0 5px var(--teal)); }
@keyframes ecgdraw { to { stroke-dashoffset: -200; } }

/* ---------- Apple Watch — EQ Mode ON ---------- */
.watch {
  position: absolute;
  right: -7%;
  bottom: 4%;
  width: clamp(108px, 31%, 142px);
  z-index: 7;                 /* sits in front of the phone, like paired devices */
  animation: floaty 6s ease-in-out infinite;
  animation-delay: 0.9s;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}
.watch__body {
  position: relative;
  width: 100%;
  aspect-ratio: 42 / 51;
  border-radius: 32%;
  padding: 9%;
  background: linear-gradient(155deg, #2b2e42 0%, #0b0d16 85%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), inset 0 0 0 2px rgba(0,0,0,0.4);
}
/* Digital crown + side button on the right edge */
.watch__crown {
  position: absolute; right: -3px; top: 30%;
  width: 5px; height: 18%;
  border-radius: 3px;
  background: linear-gradient(180deg, #4a4e68, #1b1d2a);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
}
.watch__btn {
  position: absolute; right: -2px; top: 54%;
  width: 4px; height: 16%;
  border-radius: 3px;
  background: #1b1d2a;
}
/* Sport band, fading behind the body */
.watch__band {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 64%; z-index: -1;
  background: linear-gradient(180deg, rgba(124,92,255,0.55), rgba(124,92,255,0.12));
}
.watch__band--top { bottom: 78%; height: 46%; border-radius: 16px 16px 5px 5px; }
.watch__band--bottom { top: 78%; height: 46%; border-radius: 5px 5px 16px 16px;
  background: linear-gradient(0deg, rgba(124,92,255,0.55), rgba(124,92,255,0.12)); }

.watch__screen {
  width: 100%; height: 100%;
  border-radius: 24%;
  background: radial-gradient(120% 90% at 50% 0%, #16182c 0%, #050609 65%);
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5%;
  padding: 6%;
  box-shadow: inset 0 0 16px rgba(124, 92, 255, 0.28); /* the "EQ Mode ON" glow */
}
.watch__live {
  display: flex; align-items: center; gap: 3px;
  font-size: 0.46rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
}
.watch__live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 6px var(--teal);
  animation: watchPulse 1.4s ease-in-out infinite;
}
@keyframes watchPulse { 0%, 100% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
.watch__bpm { display: flex; align-items: baseline; gap: 2px; color: #fff; }
.watch__bpm span { font-size: 1.55rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.watch__bpm small { font-size: 0.5rem; color: var(--muted); font-weight: 600; }
.watch__wave { display: flex; align-items: center; gap: 2px; height: 13px; }
.watch__wave i {
  width: 2.5px; border-radius: 2px;
  background: linear-gradient(180deg, var(--violet), var(--pink));
  animation: watchWave 1s ease-in-out infinite;
}
.watch__wave i:nth-child(1) { height: 40%; animation-delay: 0s; }
.watch__wave i:nth-child(2) { height: 70%; animation-delay: 0.08s; }
.watch__wave i:nth-child(3) { height: 95%; animation-delay: 0.16s; }
.watch__wave i:nth-child(4) { height: 55%; animation-delay: 0.24s; }
.watch__wave i:nth-child(5) { height: 80%; animation-delay: 0.32s; }
.watch__wave i:nth-child(6) { height: 45%; animation-delay: 0.40s; }
.watch__wave i:nth-child(7) { height: 88%; animation-delay: 0.48s; }
.watch__wave i:nth-child(8) { height: 60%; animation-delay: 0.56s; }
.watch__wave i:nth-child(9) { height: 38%; animation-delay: 0.64s; }
@keyframes watchWave { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }
.watch__state {
  font-size: 0.46rem; font-weight: 700; letter-spacing: 0.04em;
  color: #ffb068;
}

@media (prefers-reduced-motion: reduce) {
  .watch, .watch__live-dot, .watch__wave i { animation: none; }
}

/* ---------- Hero waveform ---------- */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 90px;
  margin-top: clamp(60px, 9vw, 110px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.waveform__bar {
  width: 4px;
  border-radius: 100px;
  background: var(--grad);
  opacity: 0.85;
  transform-origin: center;
}

/* =========================================================
   Intro video
   ========================================================= */
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.25), rgba(34, 211, 238, 0.12));
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
}
/* Portrait (9:16) spokesperson video — phone-shaped, narrower */
.video-wrap--portrait {
  max-width: 360px;
  border-radius: 34px;
  padding: 8px;
}
.video-wrap--portrait .video-glow { border-radius: 36px; }
.video-wrap--portrait .video { aspect-ratio: 9 / 16; border-radius: 28px; }
.video-glow {
  position: absolute; inset: -2px;
  border-radius: 26px;
  background: linear-gradient(120deg, var(--violet), var(--cyan), var(--teal));
  opacity: 0.25; filter: blur(26px); z-index: -1;
}
.video {
  display: block; width: 100%; height: auto;
  border-radius: 16px;
  background: #05060c;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border: none; cursor: pointer;
  border-radius: 50%;
  color: #07101a;
  background: var(--grad-btn);
  box-shadow: 0 16px 50px -12px rgba(34, 211, 238, 0.7);
  transition: transform 0.25s var(--ease), opacity 0.35s var(--ease);
}
.video-play:hover { transform: scale(1.08); }
.video-play.is-hidden { opacity: 0; pointer-events: none; transform: scale(0.6); }
.video-play__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: playring 2.4s ease-out infinite;
}
@keyframes playring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(7, 9, 16, 0.4); position: relative; z-index: 1; }
.trust__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}
.trust__inner strong { color: var(--text); font-weight: 600; }
.trust__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* =========================================================
   Differentiator
   ========================================================= */
.diff__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 20px;
}
.diff__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.diff__card:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.diff__card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.diff__card p { color: var(--muted); font-size: 0.98rem; }
.diff__card p strong { color: var(--text); }

.diff__card--feature {
  grid-row: span 2;
  background: linear-gradient(165deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.06) 60%, transparent);
  border-color: rgba(124, 92, 255, 0.3);
  display: flex; flex-direction: column;
}
.diff__card--feature h3 { font-size: 1.9rem; }
.diff__card--feature p { font-size: 1.05rem; }
.diff__glow { position: absolute; width: 280px; height: 280px; background: radial-gradient(circle, rgba(124, 92, 255, 0.5), transparent 70%); top: -90px; right: -90px; filter: blur(20px); }
.diff__tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet);
  padding: 5px 12px; border-radius: 100px;
  background: rgba(124, 92, 255, 0.15); border: 1px solid rgba(124, 92, 255, 0.3);
  margin-bottom: 20px;
}
.diff__stats { display: flex; gap: 26px; margin-top: auto; padding-top: 26px; }
.diff__stat-num { font-family: "Space Grotesk"; font-size: 1.9rem; font-weight: 700; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.diff__stat-label { font-size: 0.72rem; color: var(--muted); }

.diff__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--cyan);
  margin-bottom: 18px;
}
.diff__card:nth-child(3) .diff__icon { color: var(--pink); }

/* =========================================================
   Features
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.feature::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.12), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.12));
  border: 1px solid var(--border-2);
  color: #fff;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; position: relative; z-index: 1; }
.feature p { color: var(--muted); font-size: 0.96rem; position: relative; z-index: 1; }

/* =========================================================
   Dimensions
   ========================================================= */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.dim {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.dim:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.ring { position: relative; width: 110px; height: 110px; margin: 0 auto 18px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 9; }
.ring__fg {
  fill: none; stroke-width: 9; stroke-linecap: round;
  stroke: var(--ring-color, var(--cyan));
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 1.5s var(--ease);
  filter: drop-shadow(0 0 8px var(--ring-color, var(--cyan)));
}
.ring__val { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Space Grotesk"; font-size: 1.7rem; font-weight: 700; }
.dim__name { font-size: 1.02rem; margin-bottom: 8px; }
.dim__desc { font-size: 0.84rem; color: var(--muted); }

/* =========================================================
   How it works
   ========================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps__line { position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--teal)); opacity: 0.4; }
.step { position: relative; text-align: center; padding-top: 8px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  font-size: 1.05rem; font-weight: 700;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--cyan);
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(5, 6, 12, 0.9);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* =========================================================
   Privacy
   ========================================================= */
.privacy__card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.08), rgba(10, 13, 24, 0.4));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.privacy__glow { position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, rgba(45, 212, 191, 0.3), transparent 70%); bottom: -150px; left: -100px; filter: blur(30px); }
.privacy__copy { position: relative; z-index: 1; }
.privacy__copy .section__title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.privacy__list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.privacy__list li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: var(--text); }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(45, 212, 191, 0.18); color: var(--teal); font-size: 0.78rem; font-weight: 700; flex-shrink: 0; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 1; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 20px; text-align: center; }
.stat__num { font-family: "Space Grotesk"; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat__num--inf { font-size: clamp(2.4rem, 4.5vw, 3.2rem); }
.stat__label { font-size: 0.8rem; color: var(--muted); margin-top: 8px; display: block; }

/* =========================================================
   CTA
   ========================================================= */
.cta__card {
  position: relative;
  text-align: center;
  border-radius: 32px;
  padding: clamp(50px, 8vw, 90px) 24px;
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-2);
  overflow: hidden;
}
.cta__aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.5), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.4), transparent 45%),
    radial-gradient(circle at 60% 10%, rgba(236, 72, 153, 0.35), transparent 40%);
  filter: blur(20px); opacity: 0.6;
  animation: ctaShift 12s ease-in-out infinite alternate;
}
@keyframes ctaShift { to { transform: scale(1.15) translate(-3%, 2%); } }
.cta__card > * { position: relative; z-index: 1; }
.cta__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.08; margin: 14px 0 16px; }
.cta__lead { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 34px; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta__note { font-size: 0.82rem; color: var(--faint); }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border); position: relative; z-index: 1; background: rgba(5, 6, 12, 0.6); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 30px;
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.footer__tag { color: var(--muted); font-size: 0.92rem; margin-top: 12px; max-width: 280px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer__links a { color: var(--muted); font-size: 0.92rem; transition: color 0.25s; }
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--faint);
}

/* =========================================================
   Multimodal band
   ========================================================= */
.mm__band {
  position: relative;
  text-align: center;
  border-radius: 28px;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 56px);
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.12), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--border-2);
  overflow: hidden;
}
.mm__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(124, 92, 255, 0.35), transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(34, 211, 238, 0.3), transparent 45%);
  filter: blur(30px); opacity: 0.7;
}
.mm__band > * { position: relative; z-index: 1; }
.mm__lead { max-width: 760px; margin-left: auto; margin-right: auto; }
.mm__lead strong { color: var(--text); }

.mm__streams {
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap; gap: 12px;
  margin-top: 40px;
}
.mm__stream, .mm__fusion {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 18px; min-width: 130px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px;
}
.mm__stream-ico {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 4px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--cyan);
}
.mm__stream:nth-child(2) .mm__stream-ico { color: var(--violet); }
.mm__stream:nth-child(3) .mm__stream-ico { color: var(--pink); }
.mm__stream:nth-child(4) .mm__stream-ico { color: var(--teal); }
.mm__stream-name { font-weight: 600; font-size: 0.95rem; }
.mm__stream-sub { font-size: 0.72rem; color: var(--muted); }

.mm__merge {
  align-self: center; font-size: 1.6rem; color: var(--faint);
  padding: 0 4px; animation: mmpulse 2s ease-in-out infinite;
}
@keyframes mmpulse { 0%, 100% { opacity: 0.4; transform: translateX(0); } 50% { opacity: 1; transform: translateX(4px); } }

.mm__fusion {
  min-width: 170px;
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.12));
  border-color: rgba(124, 92, 255, 0.35);
}
.mm__fusion-ai { font-size: 1.5rem; color: var(--violet); line-height: 1; }
.mm__fusion-name { font-weight: 700; font-size: 0.98rem; }
.mm__fusion-sub { font-size: 0.72rem; color: var(--muted); }

@media (max-width: 720px) {
  .mm__merge { transform: rotate(90deg); }
  .mm__streams { flex-direction: column; align-items: stretch; }
  .mm__stream, .mm__fusion { flex-direction: row; justify-content: flex-start; gap: 14px; text-align: left; }
  .mm__stream-ico { margin-bottom: 0; }
}

/* =========================================================
   Modes (flagship features)
   ========================================================= */
.mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(60px, 9vw, 110px);
}
.mode:last-child { margin-bottom: 0; }
.mode--reverse .mode__copy { order: 2; }

.mode__tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.mode__tag--eq { color: var(--cyan); background: rgba(34, 211, 238, 0.14); border: 1px solid rgba(34, 211, 238, 0.34); }
.mode__tag--mirror { color: var(--pink); background: rgba(236, 72, 153, 0.14); border: 1px solid rgba(236, 72, 153, 0.34); }
.mode__title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 14px; }
.mode__lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.mode__lead strong { color: var(--text); }

.mode__list { list-style: none; display: grid; gap: 16px; }
.mode__list li { display: flex; gap: 14px; align-items: flex-start; }
.mode__step-n {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700; font-family: "Space Grotesk";
  background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--cyan);
}
.mode--reverse .mode__step-n { color: var(--pink); }
.mode__list strong { display: block; font-size: 0.98rem; }
.mode__list span { font-size: 0.88rem; color: var(--muted); }
.mode__note { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text); }

/* ---- EQ Mode illustration ---- */
.mode__visual { position: relative; display: grid; place-items: center; }
.eqm {
  position: relative;
  width: min(440px, 100%);
  padding: 30px 26px;
  border-radius: 24px;
  background: radial-gradient(120% 100% at 50% 0%, rgba(34, 211, 238, 0.1), rgba(10, 13, 24, 0.6));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.eqm__pipe { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 22px; }
.eqm__node {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center; flex: 1;
}
.eqm__node svg, .eqm__ai {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-2);
}
.eqm__node--1 svg { color: var(--cyan); }
.eqm__node--2 svg { color: var(--teal); animation: bolt 2.4s ease-in-out infinite; }
.eqm__ai { font-size: 1.4rem; color: var(--violet); box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.5); animation: aiglow 2.6s ease-in-out infinite; }
.eqm__node em { font-style: normal; font-size: 0.72rem; color: var(--muted); }
@keyframes bolt { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); color: #fff; } }
@keyframes aiglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(124, 92, 255, 0); } }

.eqm__flow {
  position: relative; height: 2px; flex: 0.6; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.1));
  overflow: hidden;
}
.eqm__flow::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: flow 1.8s linear infinite;
}
@keyframes flow { to { left: 110%; } }

.eqm__live {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px; margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--border-2);
}
.eqm__live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2s infinite; flex-shrink: 0; }
.eqm__live-body { display: flex; flex-direction: column; }
.eqm__live-top { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.eqm__live-state { font-size: 0.9rem; font-weight: 600; }
.eqm__live-wave { display: flex; align-items: center; gap: 3px; margin-left: auto; height: 22px; }
.eqm__live-wave i { width: 3px; border-radius: 2px; background: var(--cyan); animation: livewave 1s ease-in-out infinite; }
.eqm__live-wave i:nth-child(1){ height:40%; animation-delay:0s } .eqm__live-wave i:nth-child(2){ height:80%; animation-delay:.1s } .eqm__live-wave i:nth-child(3){ height:55%; animation-delay:.2s } .eqm__live-wave i:nth-child(4){ height:100%; animation-delay:.3s } .eqm__live-wave i:nth-child(5){ height:50%; animation-delay:.4s } .eqm__live-wave i:nth-child(6){ height:75%; animation-delay:.5s } .eqm__live-wave i:nth-child(7){ height:35%; animation-delay:.6s }
@keyframes livewave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.eqm__live-bpm { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.eqm__live-bpm span { font-weight: 700; font-size: 1.05rem; color: var(--pink); }
.eqm__live-bpm small { font-size: 0.55rem; color: var(--muted); }

.eqm__context {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.28);
}
.eqm__context-q { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--violet); }
.eqm__context-a { font-size: 0.86rem; color: var(--text); }
.eqm__context-a strong { color: var(--teal); }

.eqm__haptic {
  position: absolute; top: 96px; right: 30px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); animation: haptic 2.8s ease-out infinite;
}
@keyframes haptic { 0% { box-shadow: 0 0 0 0 rgba(45,212,191,0.6); } 70% { box-shadow: 0 0 0 22px rgba(45,212,191,0); } 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); } }

/* ---- Mirror Mode illustration ---- */
.mirror { position: relative; width: min(420px, 100%); display: grid; place-items: center; }
.mirror__frame {
  position: relative;
  width: 100%; aspect-ratio: 4 / 4.4;
  border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 30%, rgba(236, 72, 153, 0.14), rgba(10, 13, 24, 0.85));
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
}
.mirror__rec {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text);
  padding: 4px 9px; border-radius: 100px; background: rgba(0,0,0,0.4); border: 1px solid var(--border);
}
.mirror__rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d; animation: pulse 1.6s infinite; }

.mirror__face { position: absolute; inset: 0; width: 100%; height: 100%; }
.mface-outline { fill: none; stroke: rgba(236, 72, 153, 0.5); stroke-width: 1.6; }
.mface-mesh path { fill: none; stroke: rgba(34, 211, 238, 0.35); stroke-width: 0.9; }
.mface-dots circle { fill: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan)); animation: dotpulse 3s ease-in-out infinite; }
.mface-dots circle:nth-child(odd) { animation-delay: 0.6s; }
@keyframes dotpulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.mface-scan { fill: rgba(34, 211, 238, 0.55); filter: drop-shadow(0 0 8px var(--cyan)); animation: scan 3.4s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(20px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(196px); opacity: 0; } }

.mirror__readout { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: flex; gap: 8px; }
.mirror__chip {
  flex: 1; font-size: 0.74rem; color: var(--text);
  padding: 8px 10px; border-radius: 10px;
  background: rgba(0,0,0,0.5); border: 1px solid var(--border-2);
  backdrop-filter: blur(6px);
}
.mirror__chip-k { display: block; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

.mirror__score {
  position: absolute; right: -14px; bottom: 74px; z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(14, 16, 26, 0.86); backdrop-filter: blur(14px);
  border: 1px solid var(--border-2); box-shadow: var(--shadow);
}
.mirror__score-label { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.mirror__score-val { font-family: "Space Grotesk"; font-size: 2.1rem; font-weight: 700; line-height: 1.1; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mirror__score-tags { display: flex; align-items: center; gap: 6px; font-size: 0.66rem; color: var(--muted); }
.mirror__score-tags i { font-style: normal; color: var(--text); }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__visual { margin-top: 30px; }
  .diff__grid { grid-template-columns: 1fr 1fr; }
  .diff__card--feature { grid-column: 1 / -1; grid-row: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .dim-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 30px 18px; }
  .steps__line { display: none; }
  .privacy__card { grid-template-columns: 1fr; }
  .mode { grid-template-columns: 1fr; gap: 36px; }
  .mode--reverse .mode__copy { order: 0; }
  .mode__visual { order: -1; }
}

@media (max-width: 640px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(7, 9, 16, 0.96); backdrop-filter: blur(18px);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
  }
  .diff__grid, .feature-grid { grid-template-columns: 1fr; }
  .dim-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .float-card--tension { left: -2%; top: 4%; }
  .float-card--coach { right: -2%; }
  .watch { right: -2%; width: clamp(96px, 28%, 122px); }
  .footer__inner { flex-direction: column; }
}

@media (max-width: 420px) {
  .dim-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  /* Keep the Watch — it overlaps the phone rather than sticking out, and
     it's a hero feature. Tuck it against the phone's lower-right corner. */
  .watch { display: block; right: 2%; bottom: 7%; width: 92px; }
  .eqm__node em { font-size: 0.64rem; }
  .mirror__score { right: 50%; transform: translateX(50%); bottom: -16px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  #bg-canvas { display: none; }
}

/* ============================================================
   Doc pages (privacy.html / support.html)
   ============================================================ */
.page-doc .nav__cta {
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(34,211,238,0.18));
  color: #e2e7f1;
  border: 1px solid rgba(255,255,255,0.10);
}
.page-doc .nav__cta:hover { transform: translateY(-1px); }

.doc {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 24px 80px;
}

.doc__hero {
  text-align: left;
  max-width: 760px;
  margin-bottom: 56px;
}
.doc__hero .kicker { margin-bottom: 14px; }
.doc__title {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
  color: #fff;
}
.doc__lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: #aab1c2;
  max-width: 720px;
  margin: 0 0 18px 0;
}
.doc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #8a92a6;
  margin: 0;
}
.doc__meta strong { color: #c5cad6; font-weight: 600; }

.doc__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .doc__body { grid-template-columns: 1fr; gap: 24px; }
}

.doc__toc {
  position: sticky;
  top: 90px;
  padding: 20px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (max-width: 900px) {
  .doc__toc { position: static; }
}
.doc__toc h2 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8a92a6;
  margin: 0 0 12px 0;
  font-weight: 700;
}
.doc__toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.doc__toc li {
  counter-increment: toc;
  margin: 0 0 8px 0;
  padding-left: 26px;
  position: relative;
}
.doc__toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-size: 10px;
  color: rgba(124,92,255,0.85);
  font-weight: 700;
  letter-spacing: 0.6px;
}
.doc__toc a {
  color: #c5cad6;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.45;
  transition: color 0.15s ease;
}
.doc__toc a:hover { color: #fff; }

.doc__article {
  font-size: 15px;
  line-height: 1.7;
  color: #c5cad6;
  max-width: 760px;
}
.doc__article h2 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: #fff;
  margin: 44px 0 16px;
  scroll-margin-top: 100px;
  letter-spacing: -0.01em;
}
.doc__article h2:first-of-type { margin-top: 0; }
.doc__article h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #e2e7f1;
  margin: 26px 0 10px;
  letter-spacing: -0.005em;
}
.doc__article p { margin: 0 0 14px; }
.doc__article a {
  color: #22d3ee;
  text-decoration: none;
  border-bottom: 1px solid rgba(34,211,238,0.3);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.doc__article a:hover { color: #7c5cff; border-bottom-color: rgba(124,92,255,0.5); }
.doc__article strong { color: #fff; font-weight: 600; }
.doc__article em { color: #c5cad6; font-style: italic; }
.doc__article code {
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(124,92,255,0.12);
  color: #b8a3ff;
  border: 1px solid rgba(124,92,255,0.18);
}

.doc__bullets { list-style: none; padding: 0; margin: 0 0 18px; }
.doc__bullets li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.doc__bullets li:last-child { border-bottom: none; }
.doc__bullets .check {
  position: absolute;
  left: 0; top: 11px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45,212,191,0.22), rgba(34,211,238,0.22));
  color: #2dd4bf;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(45,212,191,0.4);
}

.doc__ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.doc__ol li { margin-bottom: 8px; padding-left: 4px; }
.doc__ol li::marker { color: #7c5cff; font-weight: 700; }

.doc__table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}
.doc__table th, .doc__table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.doc__table th {
  background: rgba(124,92,255,0.08);
  color: #e2e7f1;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.doc__table tr:last-child td { border-bottom: none; }
.doc__table tr:hover td { background: rgba(255,255,255,0.02); }
@media (max-width: 700px) {
  .doc__table, .doc__table thead, .doc__table tbody, .doc__table tr, .doc__table th, .doc__table td {
    display: block;
  }
  .doc__table thead { display: none; }
  .doc__table tr {
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 6px 0;
  }
  .doc__table td {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: 10px 14px;
  }
  .doc__table td:last-child { border-bottom: none; }
}

.doc__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 8px 0 20px;
}
.doc__card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.doc__card-ico {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,92,255,0.2), rgba(34,211,238,0.2));
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 18px;
  margin-bottom: 10px;
}
.doc__card h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 15px !important;
  margin: 0 0 6px !important;
  color: #fff;
  font-weight: 600;
}
.doc__card p {
  font-size: 14px;
  color: #c5cad6;
  margin: 0 0 4px;
}
.doc__card-sub {
  font-size: 12px !important;
  color: #8a92a6 !important;
  margin-top: 6px !important;
}

/* Coming soon button style */
.btn--soon {
  position: relative;
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(34,211,238,0.18));
  color: #e2e7f1;
  border: 1px solid rgba(255,255,255,0.10);
  cursor: default;
}
.btn--soon::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd166;
  margin-left: 10px;
  box-shadow: 0 0 0 3px rgba(255,209,102,0.18);
  animation: blink-soon 2.4s ease-in-out infinite;
}
@keyframes blink-soon {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

