:root {
  --bg: #0a0a1a;
  --surface: #12122a;
  --surface-2: #1a1a35;
  --line: #2a2a4a;
  --text: #f0f0ff;
  --muted: #a0a0c0;
  --ink: #171725;
  --body: #4b4b62;
  --primary: #7c6fff;
  --primary-dark: #5a4fd9;
  --gold: #ffd700;
  --orange: #ff6b35;
  --green: #4ade80;
  --paper: #f7f8fb;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--text);
  background: rgba(10, 10, 26, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 850;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 88px);
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(56px, 8vw, 112px);
  color: var(--text);
  background:
    radial-gradient(circle at 78% 24%, rgba(124, 111, 255, 0.26), transparent 30%),
    linear-gradient(145deg, #0a0a1a 0%, #11142a 46%, #211334 100%);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.app-store h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.97;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 8vw, 92px);
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 36px rgba(124, 111, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 42px 0 0;
}

.metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metrics dt {
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
}

.metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone {
  width: min(100%, 378px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #050511;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
}

.phone-top {
  display: grid;
  height: 28px;
  place-items: center;
}

.phone-top span {
  width: 86px;
  height: 7px;
  border-radius: 999px;
  background: #26263d;
}

.app-screen {
  padding: 20px;
  border-radius: 24px;
  background: var(--bg);
}

.app-header,
.xp-row,
.mini-grid,
.exercise-strip {
  display: flex;
  align-items: center;
}

.app-header {
  justify-content: space-between;
}

.app-header p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.app-header strong {
  color: var(--gold);
}

.bell {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--line);
}

.xp-card,
.mini-card,
.coach-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.xp-card {
  margin-top: 24px;
  padding: 18px;
}

.xp-row {
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.xp-row b {
  color: var(--gold);
}

.xp-bar {
  height: 12px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #272743;
}

.xp-bar span {
  display: block;
  width: 71%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.mini-grid {
  gap: 12px;
  margin-top: 12px;
}

.mini-card {
  flex: 1;
  min-height: 132px;
  padding: 18px;
}

.mini-card span {
  font-size: 28px;
}

.mini-card strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
}

.mini-card small {
  color: var(--muted);
}

.streak strong {
  color: var(--orange);
}

.ready strong {
  color: var(--green);
}

.coach-card {
  margin-top: 12px;
  padding: 18px;
}

.card-label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.coach-card p {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.45;
}

.exercise-strip {
  gap: 10px;
  margin-top: 12px;
}

.exercise-strip img {
  width: calc((100% - 20px) / 3);
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.section {
  padding: clamp(64px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.light-section {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
}

.section h2,
.app-store h2 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
}

.section-heading p,
.coach-copy p,
.split-section p,
.app-store p {
  color: var(--body);
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid #dde0ea;
  border-radius: 8px;
  background: #fbfcff;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.feature-card h3 {
  margin: 26px 0 10px;
  font-size: 24px;
  line-height: 1.14;
}

.feature-card p {
  margin: 0;
  color: var(--body);
  line-height: 1.6;
}

.coach-section {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent 34%),
    linear-gradient(135deg, #101229, #151528 48%, #182015);
}

.coach-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.coach-copy h2 {
  color: var(--text);
}

.coach-copy p {
  color: var(--muted);
}

.readiness-widget {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.score-ring {
  display: grid;
  width: 188px;
  height: 188px;
  margin: 0 auto 24px;
  place-items: center;
  border: 14px solid var(--green);
  border-left-color: rgba(74, 222, 128, 0.18);
  border-radius: 50%;
}

.score-ring span {
  color: var(--green);
  font-size: 52px;
  font-weight: 900;
}

.score-ring small {
  margin-top: -40px;
  color: var(--muted);
  font-weight: 800;
}

.readiness-widget ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.readiness-widget li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.readiness-widget strong {
  color: var(--text);
}

.readiness-widget span {
  color: var(--muted);
  text-align: right;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--paper);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid #dde0ea;
  border-radius: 8px;
  background: var(--white);
}

.steps span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.steps p {
  margin: 0;
}

.app-store {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
  text-align: center;
  background: var(--white);
}

.store-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(23, 23, 37, 0.16);
}

.app-store p {
  max-width: 660px;
  margin: 20px auto 0;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 236px;
  min-height: 68px;
  margin-top: 34px;
  padding: 12px 20px;
  color: #fff;
  border-radius: 8px;
  background: #050509;
  box-shadow: 0 18px 38px rgba(23, 23, 37, 0.22);
}

.app-store-badge:hover {
  background: #171725;
}

.badge-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #050509;
  background: #fff;
  font-size: 22px;
  font-weight: 900;
}

.app-store-badge span:last-child {
  display: grid;
  gap: 2px;
  text-align: left;
}

.app-store-badge small {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.app-store-badge strong {
  font-size: 24px;
  line-height: 1;
}

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

  .hero,
  .coach-panel,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 42px 16px 64px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .metrics,
  .mini-grid,
  .mini-grid {
    display: grid;
  }

  .coach-panel {
    gap: 28px;
  }

  .readiness-widget {
    padding: 22px;
  }

  .score-ring {
    width: 156px;
    height: 156px;
  }

  .steps div {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 18px;
  }

  .steps span {
    width: 44px;
    height: 44px;
  }
}
