/* ============================================================
   PADEL AI — Landing page styles
   Dark, premium, sporty.
   ============================================================ */

:root {
  --bg: #08090c;
  --bg-alt: #0d0f15;
  --surface: #12141b;
  --surface-2: #181b24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --text-dim: #9aa0ad;
  --text-faint: #5f6572;

  --accent: oklch(0.88 0.23 132);
  --accent-soft: oklch(0.88 0.23 132 / 0.14);
  --accent-2: oklch(0.68 0.14 240);
  --accent-2-soft: oklch(0.68 0.14 240 / 0.16);
  --accent-ink: #0a0f04;

  --font-display: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.9s;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.mono { font-family: var(--font-mono); letter-spacing: 0.08em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 var(--accent-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-soft), 0 0 0 6px var(--accent-soft); }
.btn-outline { border: 1px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: #0b0c10;
  border-radius: 14px;
  padding: 11px 22px 11px 18px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; font-size: 16px; }
.store-badge small { font-weight: 500; font-size: 11px; opacity: 0.65; }
.store-badge:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 40px rgba(255,255,255,0.12); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(8, 9, 12, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.nav-brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta { padding: 10px 22px; font-size: 14.5px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-inner { justify-content: space-between; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 0;
  overflow: hidden;
}
.hero-court-lines {
  position: absolute;
  inset: -10% -20%;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 240px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 240px 100%;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, black 0%, transparent 70%);
  opacity: 0.7;
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  top: -240px; right: -180px;
  background: radial-gradient(circle, var(--accent-2-soft), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  bottom: -200px; left: -160px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  flex: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 var(--accent-soft);} 50% { box-shadow: 0 0 0 6px var(--accent-soft);} }

.hero-title {
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 26px;
}
.ht-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.ht-word { display: inline-block; }
.ht-word.accent { color: var(--accent); }
.hero-sub {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { margin-top: 26px; font-size: 12px; color: var(--text-faint); }

/* hero entrance — end state is the base style; animate FROM hidden */
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="full"] .ht-word { animation: word-up 0.9s var(--ease-out) backwards; }
  body[data-motion="full"] .ht-line:nth-child(1) .ht-word:nth-child(1) { animation-delay: 0.05s; }
  body[data-motion="full"] .ht-line:nth-child(1) .ht-word:nth-child(2) { animation-delay: 0.13s; }
  body[data-motion="full"] .ht-line:nth-child(1) .ht-word:nth-child(3) { animation-delay: 0.21s; }
  body[data-motion="full"] .ht-line:nth-child(2) .ht-word:nth-child(1) { animation-delay: 0.33s; }
  body[data-motion="full"] .ht-line:nth-child(2) .ht-word:nth-child(2) { animation-delay: 0.41s; }
  body[data-motion="full"] .ht-line:nth-child(2) .ht-word:nth-child(3) { animation-delay: 0.49s; }
  body[data-motion="full"] .hero-eyebrow,
  body[data-motion="full"] .hero-sub,
  body[data-motion="full"] .hero-buttons,
  body[data-motion="full"] .hero-proof {
    animation: fade-up 0.9s var(--ease-out) backwards;
  }
  body[data-motion="full"] .hero-sub { animation-delay: 0.55s; }
  body[data-motion="full"] .hero-buttons { animation-delay: 0.68s; }
  body[data-motion="full"] .hero-proof { animation-delay: 0.8s; }
  body[data-motion="full"] .hero-visual { animation: fade-up-scale 1.1s var(--ease-out) 0.45s backwards; }
}
@keyframes word-up { from { transform: translateY(110%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade-up-scale { from { opacity: 0; transform: translateY(30px) scale(0.97); } }
body.entrance-done .ht-word,
body.entrance-done .hero-eyebrow,
body.entrance-done .hero-sub,
body.entrance-done .hero-buttons,
body.entrance-done .hero-proof,
body.entrance-done .hero-visual { animation: none !important; }

/* hero visual: scan frame + phone */
.hero-visual { display: flex; justify-content: center; }
.scan-frame { position: relative; padding: 36px 44px 56px; }
.scan-corner {
  position: absolute;
  width: 42px; height: 42px;
  border: 3.5px solid var(--accent);
  opacity: 0.9;
}
.scan-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.scan-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.scan-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.scan-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="full"] .scan-corner { animation: corner-pulse 2.6s ease-in-out infinite; }
}
@keyframes corner-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.35; }
}
.scan-beam {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  top: 8%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: drop-shadow(0 0 8px var(--accent));
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="full"] .scan-beam { animation: beam-sweep 4.5s ease-in-out infinite 1.2s; }
}
@keyframes beam-sweep {
  0% { top: 6%; opacity: 0; }
  8% { opacity: 0.9; }
  46% { top: 92%; opacity: 0.9; }
  54% { opacity: 0; }
  100% { top: 6%; opacity: 0; }
}
.scan-status {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
}

.phone {
  position: relative;
  width: 300px;
  border-radius: 44px;
  background: #15171e;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 0 0 7px #000;
  padding: 16px;
  transition: transform 0.3s var(--ease-out);
  will-change: transform;
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  background: #0a0b0f;
  border-radius: 32px;
  padding: 52px 18px 22px;
  min-height: 520px;
}
.ps-title { font-size: 10px; color: var(--text-faint); text-align: center; letter-spacing: 0.22em; margin-bottom: 18px; }

.score-ring-wrap { position: relative; width: 150px; margin: 0 auto 22px; }
.score-ring { width: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 9; }
.ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  filter: drop-shadow(0 0 6px var(--accent-soft));
}
.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
}
.ring-score { font-size: 38px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.ring-denom { font-size: 11px; color: var(--text-faint); }

.ps-bars { display: flex; flex-direction: column; gap: 13px; margin-bottom: 20px; }
.ps-bar { display: grid; grid-template-columns: 76px 1fr 32px; align-items: center; gap: 10px; }
.ps-bar-name { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.ps-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.ps-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 1.2s var(--ease-out);
}
.phone.played .ps-fill { width: var(--w); }
.ps-val { font-size: 11px; color: var(--accent); text-align: right; }

.ps-tip {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.ps-tip-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.ps-tip p { font-size: 12px; line-height: 1.5; color: var(--text-dim); }

/* hero ticker */
.hero-ticker {
  position: relative;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track { display: flex; white-space: nowrap; width: max-content; }
.ticker-track span { font-size: 13px; color: var(--text-faint); padding-right: 12px; }
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="full"] .ticker-track { animation: ticker 38s linear infinite; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 130px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { font-size: 12px; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 18px; }
.section-title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.section-sub { font-size: 18px; color: var(--text-dim); max-width: 560px; margin-bottom: 32px; text-wrap: pretty; }

/* scroll reveal */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  body:not([data-motion="off"]) .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
    transition-delay: var(--rd, 0s);
  }
  body:not([data-motion="off"]) .reveal.in-view { opacity: 1; transform: translateY(0); }
}

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 36px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.step:hover { transform: translateY(-6px); border-color: var(--accent-soft); }
.step-num { position: absolute; top: 26px; right: 28px; font-size: 13px; color: var(--text-faint); }
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--text-dim); }
.step-art { height: 110px; display: flex; align-items: center; margin-bottom: 22px; }

.step-art-record { position: relative; width: 86px; height: 86px; }
.rec-frame { position: absolute; inset: 0; border: 2px solid var(--text-faint); border-radius: 20px; }
.rec-dot { position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: oklch(0.65 0.21 25); animation: pulse-dot 1.4s infinite; }

.step-art-scan { display: flex; flex-direction: column; gap: 9px; width: 96px; }
.step-art-scan span { height: 8px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; position: relative; }
.step-art-scan span::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: var(--accent); }
.step-art-scan span:nth-child(2)::after { width: 70%; opacity: 0.8; }
.step-art-scan span:nth-child(3)::after { width: 55%; opacity: 0.6; }
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="full"] .step-art-scan span::after { animation: scan-bar 2.4s var(--ease-out) infinite alternate; }
  body[data-motion="full"] .step-art-scan span:nth-child(2)::after { animation-delay: 0.3s; }
  body[data-motion="full"] .step-art-scan span:nth-child(3)::after { animation-delay: 0.6s; }
}
@keyframes scan-bar { from { transform: translateX(0); } to { transform: translateX(140%); } }

.step-art-chart { display: flex; align-items: flex-end; gap: 8px; height: 86px; }
.step-art-chart i {
  width: 14px;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.85;
  transform-origin: bottom;
}
@media (prefers-reduced-motion: no-preference) {
  body:not([data-motion="off"]) .step.in-view .step-art-chart i { animation: bar-grow 0.9s var(--ease-out) backwards; }
  .step .step-art-chart i:nth-child(2) { animation-delay: 0.08s; }
  .step .step-art-chart i:nth-child(3) { animation-delay: 0.16s; }
  .step .step-art-chart i:nth-child(4) { animation-delay: 0.24s; }
  .step .step-art-chart i:nth-child(5) { animation-delay: 0.32s; }
}
@keyframes bar-grow { from { transform: scaleY(0); } }

/* ---------- demo ---------- */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.demo-points { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.demo-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 16px;
}
.demo-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.demo-points strong { color: var(--text); }

.demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.demo-head { display: flex; gap: 8px; margin-bottom: 20px; }
.demo-chip {
  font-size: 11px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  border: 1px solid transparent;
}
.demo-chip.you { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); }
.demo-progress {
  position: relative;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  margin-bottom: 22px;
}
.demo-progress-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-2-soft), var(--accent-soft));
  border-right: 2px solid var(--accent);
}
.demo-progress-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.demo-results { display: flex; flex-direction: column; gap: 13px; margin-bottom: 22px; }
.demo-row { display: grid; grid-template-columns: 118px 1fr 36px; align-items: center; gap: 12px; }
.demo-row span { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.demo-row b { font-size: 12px; color: var(--accent); text-align: right; font-weight: 700; }
.demo-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.demo-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 1.1s var(--ease-out);
}
.demo-card.played .demo-fill { width: var(--w); }
.demo-correct {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  min-height: 86px;
}
.demo-correct-title { font-size: 10.5px; letter-spacing: 0.18em; color: oklch(0.78 0.15 75); margin-bottom: 8px; }
.demo-typed { font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.demo-caret {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: -2px;
  animation: caret-blink 0.9s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--accent-soft); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature-card p { font-size: 15.5px; color: var(--text-dim); max-width: 420px; }
.feature-tag {
  position: absolute;
  top: 34px; right: 32px;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.22em;
}

/* ---------- radar / scoring ---------- */
.radar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.radar-svg { width: 100%; max-width: 470px; margin: 0 auto; display: block; overflow: visible; }
.radar-grid-line { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-axis { stroke: var(--line); stroke-width: 1; }
.radar-fill-poly {
  fill: var(--accent-2-soft);
  stroke: var(--accent-2);
  stroke-width: 2.5;
  stroke-linejoin: round;
  transform-origin: center;
}
.radar-dot { fill: var(--accent); stroke: var(--bg-alt); stroke-width: 2; }
.radar-label { fill: var(--text-dim); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; }
@media (prefers-reduced-motion: no-preference) {
  body:not([data-motion="off"]) .radar-visual .radar-fill-poly,
  body:not([data-motion="off"]) .radar-visual .radar-dot { transform: scale(0); transform-origin: 0 0; transition: transform 1.2s var(--ease-out); transform-box: fill-box; }
  body:not([data-motion="off"]) .radar-visual .radar-fill-poly { transform-origin: center; transform-box: view-box; }
  body:not([data-motion="off"]) .radar-visual.in-view .radar-fill-poly,
  body:not([data-motion="off"]) .radar-visual.in-view .radar-dot { transform: scale(1); }
  body:not([data-motion="off"]) .radar-visual .radar-dot { transition-delay: 0.5s; }
}
.scale-legend { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.scale-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.scale-row dt { font-size: 13px; color: var(--accent); }
.scale-row dd { font-size: 15.5px; color: var(--text-dim); }

/* ---------- stats ---------- */
.stats-section { padding: 90px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(44px, 4.6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 11px; color: var(--text-faint); letter-spacing: 0.18em; }

/* ---------- testimonials marquee ---------- */
.marquee { margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; padding: 4px 0; }
@media (prefers-reduced-motion: no-preference) {
  body:not([data-motion="off"]) .marquee-track { animation: ticker 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
.quote-card {
  width: 380px;
  flex: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-card blockquote { font-size: 16.5px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.quote-card figcaption { display: flex; justify-content: space-between; align-items: baseline; }
.quote-card figcaption b { font-size: 15px; }
.quote-card figcaption .mono { font-size: 11px; color: var(--accent); }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 60px var(--accent-soft); }
.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 13px; color: var(--text-faint); letter-spacing: 0.22em; margin-bottom: 14px; }
.price-amount { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 30px; }
.price-amount span { font-size: 17px; font-weight: 500; color: var(--text-faint); letter-spacing: 0; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; flex: 1; }
.price-features li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  color: var(--text-dim);
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing-note { text-align: center; margin-top: 30px; color: var(--text-faint); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 800px; }
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; transition: color 0.25s; }
.faq-item summary:hover h3 { color: var(--accent); }
.faq-x {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.6px;
  background: var(--text-dim);
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-x { transform: rotate(135deg); border-color: var(--accent); background: var(--accent-soft); }
.faq-item[open] .faq-x::before, .faq-item[open] .faq-x::after { background: var(--accent); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 4px 28px; color: var(--text-dim); font-size: 16px; max-width: 680px; text-wrap: pretty; }
.faq-answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- final CTA ---------- */
.cta-section { padding: 150px 0 140px; text-align: center; overflow: hidden; position: relative; }
.cta-section::before {
  content: "";
  position: absolute;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, var(--accent-soft), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-ring { position: relative; width: 130px; margin-bottom: 36px; }
.cta-ring .ring-score { font-size: 32px; }
.cta-title {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.cta-sub { font-size: 18.5px; color: var(--text-dim); max-width: 520px; margin: 0 auto 40px; text-wrap: pretty; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 36px; background: var(--bg-alt); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-faint); font-size: 14.5px; max-width: 300px; margin-top: 16px; }
.footer-col h4 { font-size: 11px; color: var(--text-faint); letter-spacing: 0.22em; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 15px; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-bottom span { font-size: 11px; color: var(--text-faint); letter-spacing: 0.14em; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 56px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .demo-grid, .radar-grid { grid-template-columns: 1fr; gap: 56px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 44px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .section { padding: 90px 0; }
  .phone { width: 270px; }
  .store-badge { width: 100%; justify-content: center; }
  .hero-buttons { width: 100%; flex-direction: column; }
}
