:root {
  --bg: #06070d;
  --panel: rgba(13, 16, 27, 0.82);
  --panel-strong: #0d1120;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.68);
  --muted-2: rgba(245, 247, 255, 0.5);
  --accent: #d946ef;
  --accent-2: #60a5fa;
  --success: #72f0bf;
  --danger: #ff7b8d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(217,70,239,0.18), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(96,165,250,0.16), transparent 28%),
    linear-gradient(180deg, #05060b 0%, #090b13 48%, #05060b 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.8;
}
.orb-a {
  width: 320px; height: 320px;
  top: -80px; left: -80px;
  background: rgba(217,70,239,0.18);
}
.orb-b {
  width: 360px; height: 360px;
  right: -120px; top: 220px;
  background: rgba(96,165,250,0.16);
}

.page-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 40px;
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  background: rgba(10, 12, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 12px;
  z-index: 50;
  box-shadow: var(--shadow);
}
.brand img { width: 148px; height: auto; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(114,240,191,.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(114,240,191,.6); }
  70% { box-shadow: 0 0 0 10px rgba(114,240,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(114,240,191,0); }
}
.ghost-link {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  background: rgba(255,255,255,0.03);
}

.hero-block {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  padding: 34px 0 22px;
  align-items: stretch;
}
.hero-copy,
.hero-visual,
.rail-card,
.form-card {
  background: rgba(11, 14, 24, 0.74);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.hero-copy {
  border-radius: 34px;
  padding: 38px;
}
.eyebrow-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.eyebrow {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217,70,239,0.28);
  background: rgba(217,70,239,0.1);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.eyebrow.alt {
  border-color: rgba(96,165,250,0.26);
  background: rgba(96,165,250,0.08);
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -0.05em;
}
.hero-copy h1 span {
  background: linear-gradient(90deg, #ffffff 0%, #c084fc 38%, #60a5fa 78%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 760px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.hero-metrics article {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.hero-metrics strong { display: block; margin-bottom: 8px; font-size: 15px; }
.hero-metrics span { color: var(--muted); font-size: 14px; line-height: 1.55; }

.hero-visual { border-radius: 34px; padding: 26px; display: flex; }
.visual-panel {
  width: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.visual-topline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted-2);
}
.coach-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.coach-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 22px;
}
.coach-card small {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.coach-card strong { display: block; font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.coach-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.visual-chip {
  border-radius: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.visual-chip span { display:block; margin-bottom:8px; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing:.08em; }
.visual-chip strong { font-size: 17px; line-height: 1.4; }

.application-zone {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}
.left-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 108px;
}
.rail-card {
  border-radius: 28px;
  padding: 28px;
}
.rail-card.spotlight {
  background: linear-gradient(180deg, rgba(217,70,239,.08), rgba(255,255,255,.03));
}
.rail-card.compact {
  background: rgba(255,255,255,.03);
}
.rail-kicker,
.step-eyebrow,
.closing-kicker {
  margin: 0 0 10px;
  color: var(--muted-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}
.rail-card h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.rail-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.rail-steps { margin-top: 22px; display: grid; gap: 16px; }
.rail-steps div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.rail-steps span {
  display:flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:16px;
  border:1px solid var(--line-strong);
  background: rgba(255,255,255,.04);
  font-weight: 800;
}
.rail-card code {
  display: block;
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: #d7e8ff;
  font-size: 12px;
  line-height: 1.6;
  word-break: break-word;
}

.form-card {
  border-radius: 34px;
  padding: 30px;
}
.form-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.form-head h2 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.form-head p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 720px;
}
.form-section {
  margin-top: 26px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.028);
}
.form-section.accent {
  background: linear-gradient(180deg, rgba(96,165,250,.06), rgba(255,255,255,.028));
}
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title-row h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.section-title-row span {
  color: var(--muted-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.grid {
  display: grid;
  gap: 16px;
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.one { grid-template-columns: 1fr; }
.space-top { margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field > span {
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: .03em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(6, 9, 16, 0.92);
  color: var(--text);
  border-radius: 18px;
  padding: 16px 18px;
  outline: none;
  font: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.field textarea { resize: vertical; min-height: 126px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(245,247,255,0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(96,165,250,0.6);
  box-shadow: 0 0 0 4px rgba(96,165,250,0.12);
  transform: translateY(-1px);
}
.invalid { border-color: rgba(255,123,141,.75) !important; box-shadow: 0 0 0 4px rgba(255,123,141,.1) !important; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.option-tile {
  position: relative;
  display: block;
  padding: 20px;
  min-height: 172px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.86);
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.option-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(217,70,239,.34);
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}
.option-tile input {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 20px;
  height: 20px;
  accent-color: #d946ef;
}
.tile-title {
  display: block;
  margin: 22px 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tile-text {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}
.option-tile:has(input:checked) {
  border-color: rgba(217,70,239,.65);
  background: linear-gradient(180deg, rgba(217,70,239,.14), rgba(96,165,250,.08));
  box-shadow: 0 0 0 4px rgba(217,70,239,.12);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  min-height: 68px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.028);
  cursor: pointer;
}
.choice input {
  width: 18px;
  height: 18px;
  accent-color: #60a5fa;
  flex: 0 0 auto;
}
.choice span { line-height: 1.45; font-weight: 600; }

.closing-band {
  margin-top: 26px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(96,165,250,.18);
  background: linear-gradient(135deg, rgba(96,165,250,.12), rgba(217,70,239,.12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.closing-band h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.closing-band p:last-child {
  margin: 10px 0 0;
  color: rgba(245,247,255,.82);
  line-height: 1.7;
}
.submit-btn {
  border: 0;
  border-radius: 18px;
  padding: 18px 24px;
  min-width: 280px;
  background: linear-gradient(90deg, #d946ef 0%, #8b5cf6 45%, #60a5fa 100%);
  color: white;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(111,88,255,.35);
}
.submit-btn:disabled { opacity: 0.7; cursor: wait; }

.form-note {
  margin: 18px 0 0;
  color: var(--muted-2);
  line-height: 1.7;
  font-size: 13px;
}
.form-message {
  margin-top: 16px;
  display: none;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 700;
}
.form-message.show { display: block; }
.form-message.success {
  background: rgba(114,240,191,.12);
  border: 1px solid rgba(114,240,191,.24);
  color: #cffff0;
}
.form-message.error {
  background: rgba(255,123,141,.12);
  border: 1px solid rgba(255,123,141,.24);
  color: #ffd6dc;
}

@media (max-width: 1180px) {
  .hero-block,
  .application-zone {
    grid-template-columns: 1fr;
  }
  .left-rail {
    position: static;
  }
  .tile-grid,
  .checkbox-grid,
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 18px, 100%); }
  .topbar,
  .topbar-right,
  .section-title-row,
  .closing-band {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy,
  .hero-visual,
  .form-card,
  .rail-card,
  .form-section { padding: 20px; border-radius: 24px; }
  .grid.two,
  .tile-grid,
  .checkbox-grid,
  .hero-metrics,
  .visual-grid,
  .coach-card {
    grid-template-columns: 1fr;
  }
  .coach-card img { width: 120px; height: 120px; }
  .hero-copy h1 { font-size: 38px; }
  .submit-btn { width: 100%; min-width: 0; }
}
