/* ============================================================
   Boast IQ — Landing CSS
   Color & type system derived from the app icon:
   charcoal + crimson + powder-blue "IQ"
   ============================================================ */

:root {
  --bg-0: #1A1A1C;
  --bg-1: #232327;
  --bg-2: #2E2E33;
  --hair: #3A3A3F;
  --accent: #A0283A;
  --accent-hot: #C9344A;
  --iq-blue: #B8D4E0;
  --ink-0: #F5F5F7;
  --ink-1: #B4B4BC;
  --ink-2: #828289;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.35);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.05) inset, 0 20px 60px rgba(0,0,0,0.5);

  --wrap: 1320px;
  --pad: 32px;

  --t-fast: 180ms cubic-bezier(.2,.7,.2,1);
  --t-med: 320ms cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on, 'cv11' on;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ===== Typography ===== */
.display {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 20px;
}
.display-accent { color: var(--accent-hot); }

h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
}
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-1);
  margin: 0 0 28px;
  max-width: 540px;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-1);
  padding: 6px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-hot); box-shadow: 0 0 0 4px rgba(201,52,74,0.18);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--ink-0);
  box-shadow: 0 8px 24px rgba(160,40,58,0.35);
}
.btn-primary:hover { background: var(--accent-hot); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--hair);
  color: var(--ink-0);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #4a4a51; }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(26,26,28,0.6);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med);
}
.nav.scrolled {
  background: rgba(26,26,28,0.88);
  border-bottom-color: var(--hair);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-word {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.brand-iq {
  color: var(--iq-blue);
  font-style: italic;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-1);
}
.nav-links a {
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--ink-0); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
  background: radial-gradient(1100px 600px at 80% -10%, rgba(160,40,58,0.18), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(184,212,224,0.08), transparent 60%),
              var(--bg-0);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-trace { width: 100%; height: 100%; }

.hero-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero-copy { max-width: 580px; }

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

.hero-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-2);
}
.hero-meta .bullet { color: var(--hair); }

/* ===== Hero: laptop + phone split ===== */
.hero-product {
  display: grid;
  grid-template-columns: 1.95fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-product { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
}

/* Laptop frame */
.laptop-frame {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  width: 100%;
}
.laptop-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: rgba(0,0,0,0.28);
  border-bottom: 1px solid var(--hair);
}
.laptop-chrome > span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a3a3f;
}
.laptop-chrome > span:nth-child(1) { background: #ff5f56; opacity: 0.6; }
.laptop-chrome > span:nth-child(2) { background: #ffbd2e; opacity: 0.6; }
.laptop-chrome > span:nth-child(3) { background: #27c93f; opacity: 0.6; }
.laptop-url {
  margin-left: 14px;
  font-size: 12px;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0e0e10;
  overflow: hidden;
}
.screen-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
}
.screen-fallback {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  background:
    radial-gradient(circle at 30% 40%, rgba(160,40,58,0.18), transparent 55%),
    radial-gradient(circle at 75% 60%, rgba(184,212,224,0.12), transparent 55%),
    linear-gradient(180deg, #1c1c1f, #0e0e10);
}
.fb-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-0);
  margin-bottom: 8px;
}
.fb-sub {
  font-size: 12px;
  color: var(--ink-2);
}
.fb-sub code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-hot);
  background: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Phone frame */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 19;
  background: #0a0a0c;
  border: 1.5px solid #2a2a2e;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #1a1a1c,
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  justify-self: end;
}
@media (max-width: 880px) {
  .phone-frame { justify-self: center; }
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0a0a0c;
  border-radius: 14px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #181819, #0f0f11);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-0);
  font-variant-numeric: tabular-nums;
}
.phone-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.phone-head {
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}
.phone-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.phone-q { color: var(--accent-hot); }
.phone-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  overflow: hidden;
}
.phone-content .stat-val .num { font-size: 26px; }
.phone-content .mini-val { font-size: 18px; }
.phone-content .pressure-side .num { font-size: 22px; }

/* Top dashboard header */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hair);
  background: rgba(0,0,0,0.22);
}
.dash-title {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.dash-nav {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dash-nav kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  font: inherit;
  font-size: 10px;
  color: var(--ink-1);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hair);
  border-radius: 4px;
  margin: 0 1px;
}

/* Main split inside the dashboard */
.dash-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
}
@media (max-width: 760px) {
  .dash-main { grid-template-columns: 1fr; }
}

/* Video panel — bare, no individual card chrome */
.product-video {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hair);
}
@media (max-width: 760px) {
  .product-video { border-right: 0; border-bottom: 1px solid var(--hair); }
}

/* Player controls (Prev / Play / Next / scrubber / time) */
.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.22);
  border-top: 1px solid var(--hair);
}
.ctrl {
  height: 30px;
  padding: 0 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink-1);
  font-size: 12px;
  font-weight: 500;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ctrl-play {
  background: var(--iq-blue);
  color: #0e0e10;
  border-color: var(--iq-blue);
  font-weight: 600;
}
.ctrl-scrubber {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin: 0 4px;
}
.scrub-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 28%;
  background: var(--accent-hot);
  border-radius: 2px;
}
.scrub-dot {
  position: absolute;
  left: 28%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  background: var(--iq-blue);
  border: 2px solid #0e0e10;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--iq-blue);
}
.ctrl-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Heatmap right panel */
.product-heatmap {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel-head {
  border-bottom: 1px solid var(--hair);
  padding-bottom: 10px;
}
.panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-1);
}
.panel-legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-1);
}
.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  border: 1px solid var(--iq-blue);
  background: var(--iq-blue);
  color: #0e0e10;
}
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot-you { background: var(--accent-hot); }
.dot-opp { background: var(--iq-blue); }
.heatmap-court {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 6px 0;
}
.court-mini {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}

/* KPI strip across the bottom */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair);
  background: rgba(0,0,0,0.18);
}
@media (max-width: 720px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}
.kpi-card {
  padding: 14px 16px;
  border-right: 1px solid var(--hair);
}
.kpi-card:last-child { border-right: 0; }
@media (max-width: 720px) {
  .kpi-card { border-right: 0; border-top: 1px solid var(--hair); }
  .kpi-card:nth-child(2n) { border-left: 1px solid var(--hair); margin-left: -1px; }
}
.kpi-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.kpi-val {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.kpi-val .num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.kpi-unit {
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
  margin-left: 3px;
}
.kpi-pressure .kpi-vs {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vs-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.vs-side.vs-opp { align-items: flex-end; }
.vs-who {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}
.vs-side .num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.vs-side .num.accent { color: var(--accent-hot); }
.vs-side .num.iq { color: var(--iq-blue); }
.vs-div {
  width: 1px;
  height: 22px;
  background: var(--hair);
}

/* window chrome (used by hero video + dashboard mock) */
.window-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--hair);
}
.window-chrome > span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a3a3f;
}
.window-chrome > span:nth-child(1) { background: #ff5f56; opacity: 0.55; }
.window-chrome > span:nth-child(2) { background: #ffbd2e; opacity: 0.55; }
.window-chrome > span:nth-child(3) { background: #27c93f; opacity: 0.55; }
.window-url {
  margin-left: 14px;
  font-size: 12px;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0e0e10;
  overflow: hidden;
}
.video-el, .video-mock {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-el { z-index: 2; background: transparent; }
.video-mock { z-index: 1; }

/* SVG mock animations */
.mock-p1 { animation: pace-p1 7s ease-in-out infinite; transform-origin: center; }
.mock-p2 { animation: pace-p2 7s ease-in-out infinite; transform-origin: center; }
@keyframes pace-p1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-20px, 4px); }
}
@keyframes pace-p2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(22px, -4px); }
}
.mock-trail { stroke-dashoffset: 0; animation: trail 3.2s linear infinite; }
@keyframes trail {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -44; }
}
.mock-ball { animation: ball 3.2s ease-in-out infinite; }
@keyframes ball {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-2px, -3px); }
}

.play-scrubber {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  z-index: 3;
  overflow: hidden;
}
.scrubber-fill {
  display: block; height: 100%;
  background: var(--accent-hot);
  animation: scrub 12s linear infinite;
}
@keyframes scrub { from { width: 0; } to { width: 100%; } }

/* ===== Stats panel ===== */
.product-stats {
  padding: 18px 20px 18px;
  display: flex; flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #1f1f23, #161618);
}
.stats-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-hot);
  box-shadow: 0 0 0 4px rgba(201,52,74,0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(201,52,74,0.08); } }
.stats-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-1);
}
.stats-title .stats-q {
  color: var(--accent-hot);
  margin-left: 4px;
}

.stat-row { display: flex; flex-direction: column; gap: 6px; }
.stat-label {
  font-size: 12px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.stat-val {
  display: flex; align-items: baseline; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-val .num {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-val .num.accent { color: var(--accent-hot); }
.stat-val .num.muted { color: var(--ink-2); }
.stat-val .unit {
  font-size: 13px;
  color: var(--ink-2);
  margin-left: 2px;
}
.stat-val .slash { color: var(--ink-2); font-size: 22px; }

.bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.bar > span {
  display: block; height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  transition: width 800ms ease;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini {
  padding: 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--hair);
  border-radius: 12px;
}
.mini-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-2);
}
.mini-val {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.mini-unit {
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
  margin-left: 2px;
}

/* ===== Pressure score (head-to-head) ===== */
.pressure-row { gap: 8px; }
.pressure-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.pressure-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.pressure-side.pressure-opp { align-items: flex-end; }
.pressure-who {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pressure-side .num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pressure-side .num.iq { color: var(--iq-blue); }
.pressure-divider {
  width: 1px;
  height: 28px;
  background: var(--hair);
}
.pressure-bar {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.pressure-bar .pressure-you {
  height: 100%;
  width: var(--pct, 50%);
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  transition: width 800ms ease;
}
.pressure-bar .pressure-them {
  height: 100%;
  width: var(--pct, 50%);
  background: var(--iq-blue);
  opacity: 0.65;
  transition: width 800ms ease;
}

.stats-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
  font-size: 11px;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--bg-0);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-line {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.trust-logos {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  opacity: 0.55;
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { margin-left: auto; margin-right: auto; }
.section-sub {
  color: var(--ink-1);
  font-size: 17px;
  margin: 0;
  max-width: 580px;
}
.section-head.center .section-sub { margin: 0 auto; }

section { padding: 96px 0; }
.features { background: var(--bg-1); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.how { background: var(--bg-0); }
.courtviz { background: var(--bg-1); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.dashboard { background: var(--bg-0); }
.coaches { background: var(--bg-1); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.quote { background: var(--bg-0); }
.pricing { background: var(--bg-1); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.faq { background: var(--bg-0); }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) {
  .feature-grid, .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; }
}

.feature {
  padding: 26px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  position: relative;
  overflow: hidden;
}
.feature::after {
  content: '';
  position: absolute;
  left: -1px; right: -1px; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: #4a4a51;
  box-shadow: var(--shadow-1);
}
.feature:hover::after { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature p {
  margin: 0;
  color: var(--ink-1);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  padding: 28px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent-hot);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-1); margin: 0 0 22px; font-size: 14.5px; }

.step-visual {
  background: rgba(0,0,0,0.25);
  border: 1px dashed var(--hair);
  border-radius: 10px;
  padding: 18px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropzone {
  text-align: center;
  color: var(--ink-2);
}
.dropzone-arrow {
  font-size: 28px;
  color: var(--accent-hot);
  margin-bottom: 4px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-4px); } }
.dropzone-text { font-family: 'JetBrains Mono', monospace; font-size: 12px; }

.step-track { flex-direction: column; gap: 8px; align-items: stretch; }
.track-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-2);
}
.track-row .lbl { width: 70px; }
.track-row .dot-r,
.track-row .dot-b,
.track-row .dot-w { width: 8px; height: 8px; border-radius: 50%; }
.track-row .dot-r { background: var(--accent); }
.track-row .dot-b { background: var(--iq-blue); }
.track-row .dot-w { background: #fff; border: 1px solid var(--accent-hot); }
.track-row .bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; position: relative; }
.track-row .bar i {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--accent);
  width: 0;
  animation: fill 2.4s ease-out forwards;
}
.track-row .bar-b i { background: var(--iq-blue); animation-delay: 0.2s; }
.track-row .bar-w i { background: var(--accent-hot); animation-delay: 0.4s; }
@keyframes fill { to { width: 78%; } }

.step-learn { padding: 18px; }
.insight {
  text-align: left;
  width: 100%;
}
.insight-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-hot);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.insight-text {
  display: block;
  font-size: 14px;
  color: var(--ink-0);
  line-height: 1.45;
}

/* ============================================================
   COURT VIZ
   ============================================================ */
.courtviz-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .courtviz-inner { grid-template-columns: 1fr; }
}
.courtviz-bullets {
  list-style: none;
  margin: 18px 0 0; padding: 0;
}
.courtviz-bullets li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--hair);
  position: relative;
  font-size: 15px;
  color: var(--ink-1);
}
.courtviz-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 18px;
  width: 10px; height: 2px;
  background: var(--accent-hot);
}
.courtviz-bullets li:last-child { border-bottom: 1px solid var(--hair); }

.courtviz-stage {
  background: linear-gradient(180deg, var(--bg-0), #131315);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-2);
}
.tabs {
  display: flex; gap: 6px;
  margin-bottom: 18px;
  padding: 4px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--hair);
  border-radius: 999px;
  width: fit-content;
}
.tab {
  background: transparent;
  border: 0;
  color: var(--ink-1);
  font-size: 13px;
  font-weight: 500;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast);
}
.tab:hover { color: var(--ink-0); }
.tab.active {
  background: var(--accent);
  color: #fff;
}

.court-frame {
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px 0;
}
.court-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
}
.court-img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
}
.court-legend {
  display: flex; gap: 18px;
  margin-top: 16px;
  font-size: 12px; color: var(--ink-2);
}
.court-legend i {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.court-legend .leg-r { background: var(--accent); }
.court-legend .leg-b { background: var(--iq-blue); }

/* ============================================================
   DASHBOARD PREVIEW
   ============================================================ */
.dash-frame {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.dash-body { padding: 28px; display: grid; gap: 28px; }
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 760px) {
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
}
.kpi {
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 12px;
}
.kpi-label {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.kpi-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 4px;
}
.kpi-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-left: 4px;
}
.kpi-delta {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.kpi-delta.up { color: #5acc8a; }
.kpi-delta.down { color: var(--accent-hot); }

.dash-chart {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 18px;
}
.chart-head {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-1); margin-bottom: 10px;
}
.chart-sub { color: var(--ink-2); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.chart-svg { width: 100%; height: auto; }

/* ============================================================
   FOR COACHES
   ============================================================ */
.coaches-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .coaches-inner { grid-template-columns: 1fr; }
}
.coaches-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.grid-card {
  background: var(--bg-0);
  border: 1px solid var(--hair);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--t-med);
}
.grid-card:hover { transform: translateY(-3px); }
.grid-card-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #2a2a2e, #1a1a1c);
  position: relative;
}
.grid-card-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(160,40,58,0.55) 0, transparent 30%),
    radial-gradient(circle at 70% 50%, rgba(184,212,224,0.4) 0, transparent 28%);
}
.grid-card-thumb.t2::after {
  background:
    radial-gradient(circle at 40% 40%, rgba(160,40,58,0.55) 0, transparent 30%),
    radial-gradient(circle at 65% 65%, rgba(184,212,224,0.4) 0, transparent 28%);
}
.grid-card-thumb.t3::after {
  background:
    radial-gradient(circle at 60% 35%, rgba(160,40,58,0.55) 0, transparent 30%),
    radial-gradient(circle at 35% 60%, rgba(184,212,224,0.4) 0, transparent 28%);
}
.grid-card-thumb.t4::after {
  background:
    radial-gradient(circle at 55% 55%, rgba(160,40,58,0.55) 0, transparent 30%),
    radial-gradient(circle at 30% 30%, rgba(184,212,224,0.4) 0, transparent 28%);
}
.grid-card-meta {
  padding: 12px 14px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-1);
}
.grid-card-meta b { color: var(--ink-0); }
.grid-card-meta span { color: var(--ink-2); font-size: 12px; }

.coaches-cta {
  display: flex; gap: 10px; margin-top: 22px;
  flex-wrap: wrap;
}
.coaches-cta input {
  flex: 1; min-width: 200px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(0,0,0,0.3);
  color: var(--ink-0);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-fast);
}
.coaches-cta input:focus { border-color: var(--accent-hot); }
.coaches-note { font-size: 12px; color: var(--ink-2); margin: 12px 0 0; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-inner {
  max-width: 820px;
  text-align: center;
  position: relative;
}
.quote-mark {
  width: 40px; height: 40px;
  margin: 0 auto 8px;
  opacity: 0.85;
}
.quote-text {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink-0);
  margin: 0 0 28px;
}
.quote-text em {
  color: var(--accent-hot);
  font-style: italic;
}
.quote-foot {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  color: var(--ink-1);
  font-size: 14px;
}
.quote-foot b { color: var(--ink-0); display: block; }
.quote-foot span { color: var(--ink-2); font-size: 12px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  border: 1px solid var(--hair);
}

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}
.price {
  position: relative;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.price-feature {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(160,40,58,0.25);
  transform: translateY(-4px);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.price h3 { font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-1); margin-bottom: 8px; }
.price-num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-num span {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  margin-left: 4px;
}
.price-sub { color: var(--ink-2); font-size: 13px; margin: 0 0 18px; }
.price ul {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.price li {
  font-size: 14px;
  color: var(--ink-1);
  padding-left: 22px;
  position: relative;
}
.price li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent-hot);
  font-weight: 700;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 0;
}
.faq-list details {
  border-top: 1px solid var(--hair);
  padding: 18px 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-0);
  padding-right: 24px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute; right: 0;
  font-size: 22px;
  color: var(--ink-2);
  transition: transform var(--t-fast);
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list p {
  margin: 12px 0 0;
  color: var(--ink-1);
  font-size: 15px;
  line-height: 1.6;
  max-width: 680px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(800px 400px at 50% 100%, rgba(160,40,58,0.25), transparent 60%),
              var(--bg-0);
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-bg svg { width: 100%; height: 100%; }
.final-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.final-inner h2 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.final-inner p {
  font-size: 18px;
  color: var(--ink-1);
  margin: 0 0 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0e0e10;
  border-top: 1px solid var(--hair);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .brand { margin-bottom: 8px; }
.footer-tag { color: var(--ink-2); font-size: 14px; margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols a {
  display: block;
  color: var(--ink-1);
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--t-fast);
}
.footer-cols a:hover { color: var(--ink-0); }
.footer-base {
  max-width: var(--wrap);
  margin: 32px auto 0;
  padding: 16px var(--pad) 0;
  border-top: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
