/* ============================================================
   InterviewIQ — Landing page
   Brand tokens mirrored from frontend/src/index.css (oklch)
   ============================================================ */

:root {
  /* Brand — matches the app's design system */
  --primary: oklch(0.62 0.22 264);
  --violet: oklch(0.64 0.24 300);
  --cyan: oklch(0.72 0.14 220);

  /* Dark hero surface */
  --bg: oklch(0.15 0.014 265);
  --bg-2: oklch(0.18 0.02 268);
  --surface: oklch(0.22 0.024 268 / 0.55);
  --border: oklch(0.98 0.01 265 / 0.1);
  --text: oklch(0.96 0.005 240);
  --text-dim: oklch(0.96 0.005 240 / 0.66);
  --text-faint: oklch(0.96 0.005 240 / 0.42);

  --gradient-primary: linear-gradient(135deg, oklch(0.62 0.235 262) 0%, oklch(0.58 0.24 296) 100%);
  --gradient-text: linear-gradient(100deg, oklch(0.78 0.12 250) 0%, oklch(0.72 0.2 292) 55%, oklch(0.78 0.12 210) 100%);

  --radius: 16px;
  --shadow-lift: 0 24px 60px -20px oklch(0.1 0.05 265 / 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Ambient background ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--bg-2), var(--bg) 60%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.orb--indigo {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  left: -8vw;
  background: var(--primary);
  animation: drift1 22s var(--ease) infinite alternate;
}
.orb--violet {
  width: 40vw;
  height: 40vw;
  top: -6vw;
  right: -10vw;
  background: var(--violet);
  opacity: 0.42;
  animation: drift2 26s var(--ease) infinite alternate;
}
.orb--cyan {
  width: 34vw;
  height: 34vw;
  bottom: -16vw;
  left: 28vw;
  background: var(--cyan);
  opacity: 0.28;
  animation: drift3 30s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate(6vw, 5vw) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-5vw, 6vw) scale(1.08); } }
@keyframes drift3 { to { transform: translate(4vw, -5vw) scale(1.12); } }

.grid-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(oklch(1 0 0 / 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 30%, transparent 75%);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem max(1.5rem, calc((100% - 1200px) / 2));
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
}
.nav--scrolled {
  background: oklch(0.16 0.02 265 / 0.5);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
/* Soft progressive-blur fade beneath the header */
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 48px;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  transition: opacity 0.45s var(--ease);
}
.nav--scrolled::after { opacity: 1; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background-image: var(--gradient-primary);
  box-shadow: 0 8px 20px -6px var(--primary);
}
.brand__accent {
  background-image: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.nav__links a {
  transition: color 0.2s;
}
.nav__links a:hover {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.05rem;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}
.btn--lg {
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
}
.btn--primary {
  color: #fff;
  background-image: var(--gradient-primary);
  box-shadow: 0 10px 26px -10px var(--primary);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px var(--primary);
}
.btn--ghost {
  color: var(--text);
  border-color: var(--border);
  background: oklch(1 0 0 / 0.03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: oklch(1 0 0 / 0.08);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: oklch(1 0 0 / 0.03);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px oklch(0.72 0.14 220 / 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 7px oklch(0.72 0.14 220 / 0); }
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 1.4rem 0 0;
}
.grad-text {
  display: block;
  padding-bottom: 0.12em;
  background-image: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 33rem;
  margin-top: 1.35rem;
  font-size: 1.08rem;
  color: var(--text-dim);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
  font-size: 0.88rem;
  color: var(--text-faint);
}
.hero__proof strong {
  color: var(--text);
}
.avatars {
  display: flex;
}
.avatars span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background-image: var(--gradient-primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background-image: linear-gradient(135deg, var(--violet), var(--cyan)); }
.avatars span:nth-child(3) { background-image: linear-gradient(135deg, var(--cyan), var(--primary)); }
.avatars span:nth-child(4) { background-image: linear-gradient(135deg, var(--primary), var(--violet)); }

/* ---------- Product visual ---------- */
.hero__visual {
  position: relative;
  min-height: 420px;
}

.panel {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lift);
}
.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.panel__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: oklch(0.62 0.22 264 / 0.22);
  border: 1px solid oklch(0.62 0.22 264 / 0.35);
}
.panel__timer {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
}
.panel__q-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
.panel__q {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  min-height: 3.2em;
  transition: opacity 0.35s var(--ease);
}
.panel__tag [data-role] {
  transition: opacity 0.35s var(--ease);
}

.panel__wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  margin: 1.5rem 0 1.25rem;
}
.panel__wave span {
  flex: 1;
  border-radius: 4px;
  background-image: var(--gradient-primary);
  opacity: 0.85;
  animation: wave 1.1s ease-in-out infinite;
}
.panel__wave span:nth-child(odd) { animation-duration: 0.9s; }
.panel__wave span:nth-child(3n) { animation-delay: 0.15s; }
.panel__wave span:nth-child(3n+1) { animation-delay: 0.3s; }
.panel__wave span:nth-child(4n) { animation-delay: 0.45s; }
@keyframes wave {
  0%, 100% { height: 22%; }
  50% { height: 100%; }
}

.panel__foot { display: flex; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid var(--border);
}
.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5c72;
  box-shadow: 0 0 0 4px oklch(0.65 0.2 15 / 0.2);
  animation: pulse-rec 1.4s ease-in-out infinite;
}
@keyframes pulse-rec { 50% { opacity: 0.4; } }

/* Floating score card */
.score-card {
  position: absolute;
  z-index: 3;
  top: -34px;
  right: -22px;
  width: 156px;
  padding: 1.1rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lift);
}
.score-ring {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
  margin: 0 auto;
  display: block;
}
.score-ring__track {
  fill: none;
  stroke: oklch(1 0 0 / 0.08);
  stroke-width: 9;
}
.score-ring__fill {
  fill: none;
  stroke: url(#g);
  stroke: var(--cyan);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.score-card__num {
  margin-top: -66px;
  margin-bottom: 30px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.score-card__label {
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* Floating feedback pill */
.feedback-pill {
  position: absolute;
  z-index: 3;
  bottom: -26px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 250px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lift);
}
.feedback-pill__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, oklch(0.7 0.17 155), oklch(0.72 0.14 175));
}
.feedback-pill strong {
  display: block;
  font-size: 0.85rem;
}
.feedback-pill span {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Floating loops */
.panel--float { animation: float 6s ease-in-out infinite; }
.panel--float2 { animation: float 5s ease-in-out infinite 0.4s; }
.panel--float3 { animation: float 7s ease-in-out infinite 0.8s; }
@keyframes float {
  50% { transform: translateY(-12px); }
}

/* ---------- Reveal on load ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Shared section scaffolding
   ============================================================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}
.section__head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.72 0.14 250);
  margin-bottom: 0.9rem;
}
.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section__lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-dim);
}

/* ---------- Logos strip ---------- */
.logos {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  text-align: center;
}
.logos__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-faint);
}
.logos__row span {
  opacity: 0.7;
  transition: opacity 0.25s, color 0.25s;
}
.logos__row span:hover { opacity: 1; color: var(--text); }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: oklch(0.22 0.024 268 / 0.4);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.62 0.22 264 / 0.4);
  background: oklch(0.24 0.03 268 / 0.5);
}
.feature-card--wide { grid-column: span 2; }
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 1.1rem;
  color: #fff;
  background-image: var(--gradient-primary);
  box-shadow: 0 8px 20px -8px var(--primary);
}
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.96rem;
  color: var(--text-dim);
}
.feature-card__demo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.role-chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 0.03);
}
.role-chip--on {
  color: #fff;
  border-color: transparent;
  background-image: var(--gradient-primary);
}
.feature-card__demo--coach { margin-top: 1.25rem; }
.coach-line {
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid oklch(0.62 0.22 264 / 0.3);
  background: oklch(0.62 0.22 264 / 0.12);
  border-left: 3px solid var(--primary);
}

/* ---------- Built for every role ---------- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.role-cat {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: oklch(0.22 0.024 268 / 0.4);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.role-cat:hover {
  transform: translateY(-4px);
  border-color: oklch(0.62 0.22 264 / 0.4);
  background: oklch(0.24 0.03 268 / 0.5);
}
.role-cat__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: oklch(0.8 0.13 260);
  background: oklch(0.62 0.22 264 / 0.14);
  border: 1px solid oklch(0.62 0.22 264 / 0.3);
}
.role-cat h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.role-cat p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.roles-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-faint);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: oklch(0.22 0.024 268 / 0.35);
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 12px;
  color: oklch(0.78 0.14 260);
  background: oklch(0.62 0.22 264 / 0.15);
  border: 1px solid oklch(0.62 0.22 264 / 0.3);
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ---------- Analytics showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}
.showcase__list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.showcase__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.98rem;
}
.tick {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 7px;
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(135deg, oklch(0.7 0.17 155), oklch(0.72 0.14 175));
}

.dash {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lift);
}
.dash__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.dash__kpi {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 0.03);
}
.dash__kpi-label {
  font-size: 0.78rem;
  color: var(--text-faint);
}
.dash__kpi-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.dash__kpi-val span { font-size: 1.1rem; color: var(--text-dim); }
.dash__kpi-delta {
  font-size: 0.78rem;
  color: oklch(0.75 0.16 155);
}
.dash__chart {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 0.03);
  margin-bottom: 1.25rem;
}
.dash__chart-label {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.trend { width: 100%; height: 90px; display: block; }
.trend__line {
  stroke: var(--violet);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.dash.is-drawn .trend__line { stroke-dashoffset: 0; }

.dash__bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bar {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.bar__track {
  height: 8px;
  border-radius: 100px;
  background: oklch(1 0 0 / 0.07);
  overflow: hidden;
}
.bar__track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 100px;
  background-image: var(--gradient-primary);
  transition: width 1.3s var(--ease);
}
.dash.is-drawn .bar__track i { width: var(--w); }

/* ---------- AI Coach chat ---------- */
.coach-chat {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.coach-chat__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: oklch(1 0 0 / 0.03);
}
.coach-chat__av {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background-image: var(--gradient-primary);
  box-shadow: 0 6px 16px -6px var(--primary);
}
.coach-chat__head strong {
  display: block;
  font-size: 0.92rem;
}
.coach-chat__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-faint);
}
.coach-chat__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.75 0.16 155);
  box-shadow: 0 0 0 3px oklch(0.75 0.16 155 / 0.2);
}
.coach-chat__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
}
.msg {
  max-width: 82%;
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  border-radius: 14px;
}
.msg--coach {
  align-self: flex-start;
  color: var(--text);
  background: oklch(1 0 0 / 0.05);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.msg--coach strong { color: oklch(0.82 0.12 260); }
.msg--user {
  align-self: flex-end;
  color: #fff;
  background-image: var(--gradient-primary);
  border-bottom-right-radius: 4px;
}
.coach-plan {
  align-self: stretch;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid oklch(0.62 0.22 264 / 0.3);
  background: oklch(0.62 0.22 264 / 0.1);
}
.coach-plan__title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: oklch(0.8 0.13 258);
  margin-bottom: 0.6rem;
}
.coach-plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.coach-plan li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
}
.coach-plan li span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 6px;
  font-size: 0.62rem;
  color: #fff;
  background: linear-gradient(135deg, oklch(0.7 0.17 155), oklch(0.72 0.14 175));
}
.msg--typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid var(--border);
}
.msg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: typing 1.3s ease-in-out infinite;
}
.msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.msg--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.quote {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: oklch(0.22 0.024 268 / 0.4);
  backdrop-filter: blur(12px);
}
.quote blockquote {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.quote figcaption strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}
.quote__av {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background-image: var(--gradient-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.quote:nth-child(2) .quote__av { background-image: linear-gradient(135deg, var(--violet), var(--cyan)); }
.quote:nth-child(3) .quote__av { background-image: linear-gradient(135deg, var(--cyan), var(--primary)); }

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: oklch(0.22 0.024 268 / 0.4);
  backdrop-filter: blur(12px);
}
.plan--featured {
  border-color: oklch(0.62 0.22 264 / 0.5);
  background: oklch(0.24 0.04 270 / 0.6);
  box-shadow: var(--shadow-lift);
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  color: #fff;
  background-image: var(--gradient-primary);
  box-shadow: 0 6px 16px -6px var(--primary);
}
.plan__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dim);
}
.plan__price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.25rem;
}
.plan__price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-faint);
}
.plan__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
}
.plan__feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}
.plan .btn--block { margin-top: auto; }
.plan__feats li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.plan__feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: oklch(0.75 0.16 250);
  font-weight: 700;
}
.btn--block { width: 100%; }

/* ---------- Final CTA ---------- */
.final-cta {
  max-width: 1100px;
  margin: 2rem auto 5rem;
  padding: 0 1.5rem;
}
.final-cta__inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 2rem;
  border-radius: 28px;
  border: 1px solid oklch(0.62 0.22 264 / 0.35);
  background:
    radial-gradient(120% 120% at 50% 0%, oklch(0.34 0.12 285 / 0.6), oklch(0.19 0.03 268 / 0.6));
}
.final-cta__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, oklch(0.62 0.22 264 / 0.35), transparent);
  pointer-events: none;
}
.final-cta h2 {
  position: relative;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.final-cta p {
  position: relative;
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 1.05rem;
}
.final-cta__actions {
  position: relative;
  margin-top: 2rem;
}
.final-cta__btn {
  color: oklch(0.3 0.1 275);
  background: #fff;
  box-shadow: 0 14px 40px -12px oklch(0 0 0 / 0.6);
}
.final-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -12px oklch(0 0 0 / 0.7);
}
.final-cta__fine {
  position: relative;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: oklch(0.13 0.014 265 / 0.6);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
}
.footer__brand p {
  margin-top: 1rem;
  max-width: 22rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.footer__col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer__col a {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text); }
.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 4.5rem;
    padding-top: 2.5rem;
  }
  .nav__links { display: none; }
  .hero__visual { margin: 0 auto; max-width: 420px; width: 100%; }
  .feature-grid,
  .steps,
  .quotes,
  .plans { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 1; }
  .showcase { grid-template-columns: 1fr; gap: 2.5rem; }
  .showcase--reverse .showcase__copy { order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav { gap: 1rem; }
  .nav__actions .btn--ghost { display: none; }
  .hero { padding-bottom: 4rem; }
  .score-card { right: 0; width: 132px; }
  .feedback-pill { left: 0; max-width: 210px; }
  .hero__proof { flex-direction: column; align-items: flex-start; }
  .section { padding: 4rem 1.25rem; }
  .roles-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bar { flex-direction: column; }
  .logos__row { gap: 1.5rem; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Legal pages (privacy, terms)
   ============================================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.legal__back:hover { color: var(--text); }
.legal__title {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.legal__updated {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-faint);
}
.legal__note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid oklch(0.62 0.22 264 / 0.3);
  background: oklch(0.62 0.22 264 / 0.1);
  border-left: 3px solid var(--primary);
  font-size: 0.9rem;
  color: var(--text-dim);
}
.legal__body {
  margin-top: 2.5rem;
}
.legal__body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal__body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal__body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}
.legal__body p,
.legal__body li {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-dim);
}
.legal__body p { margin-bottom: 1rem; }
.legal__body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}
.legal__body li { margin-bottom: 0.5rem; }
.legal__body a {
  color: oklch(0.78 0.13 258);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__body strong { color: var(--text); }

/* ============================================================
   Coming soon page
   ============================================================ */
.soon-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.soon-nav {
  padding: 1.6rem max(1.5rem, calc((100% - 1200px) / 2));
}

.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0;
  padding: 3rem 1.5rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.soon__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 1.5rem 0 0;
}

.soon__sub {
  max-width: 34rem;
  margin-top: 1.35rem;
  font-size: 1.08rem;
  color: var(--text-dim);
}

.soon__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.75rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.soon__pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.soon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem max(1.5rem, calc((100% - 1200px) / 2));
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-faint);
}
.soon-footer__links {
  display: flex;
  gap: 1.25rem;
}
.soon-footer__links a { transition: color 0.2s; }
.soon-footer__links a:hover { color: var(--text); }

@media (max-width: 480px) {
  .soon-footer { justify-content: center; text-align: center; }
}
