:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d1a2b;
  --panel-2: #10223a;
  --text: #eef6ff;
  --muted: #a9bad0;
  --line: rgba(255, 255, 255, .12);
  --brand: #47d7ac;
  --brand-2: #72a7ff;
  --warn: #ffcc66;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(71, 215, 172, .22), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(114, 167, 255, .22), transparent 36rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img,
iframe {
  max-width: 100%;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, .78);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06111f;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(71, 215, 172, .22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06111f;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(71, 215, 172, .2);
}

.button.secondary {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 42px;
  align-items: center;
  padding: 74px 0 54px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 82px);
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  font-size: 22px;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
}

.hero-card,
.panel,
.course,
.price-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

section {
  padding: 66px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
}

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

.course {
  overflow: hidden;
  min-height: 100%;
}

.course-body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #06111f;
  background: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.tag.locked {
  color: var(--text);
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--line);
}

.panel {
  padding: 30px;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.check-list + .button {
  margin-top: 18px;
}

.pricing {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
}

.checkout-shell {
  max-width: 820px;
}

.checkout-card {
  padding: clamp(24px, 5vw, 42px);
}

.checkout-note {
  margin: 18px 0 0;
  font-size: 14px;
}

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

.plans + .price-card {
  margin-top: 20px;
}

.price-card {
  position: relative;
  padding: 28px;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: rgba(71, 215, 172, .52);
  background: linear-gradient(180deg, rgba(71, 215, 172, .14), rgba(255, 255, 255, .04));
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--warn);
  color: #06111f;
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin: 16px 0 8px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.price small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  outline: 0;
}

select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  outline: 0;
}

input:focus {
  border-color: rgba(71, 215, 172, .8);
}

select:focus {
  border-color: rgba(71, 215, 172, .8);
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
}

.plan-choice {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  cursor: pointer;
}

.plan-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-choice:has(input:checked) {
  border-color: rgba(71, 215, 172, .9);
  background: linear-gradient(180deg, rgba(71, 215, 172, .18), rgba(114, 167, 255, .08));
}

.plan-choice strong {
  font-size: 20px;
}

.plan-choice small {
  color: var(--muted);
}

.notice {
  padding: 14px 16px;
  border: 1px solid rgba(255, 204, 102, .35);
  border-radius: 18px;
  color: #ffe3a6;
  background: rgba(255, 204, 102, .09);
  font-size: 14px;
}

.dashboard-hero {
  padding: 50px 0 28px;
}

.library {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lesson {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
}

.lesson .video-frame {
  border-radius: 0;
}

.lesson-body {
  padding: 16px;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  background: rgba(7, 17, 31, .82);
  backdrop-filter: blur(8px);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  margin-left: 16px;
  color: var(--text);
}

.legal {
  padding: 58px 0;
}

.legal-card {
  padding: clamp(24px, 5vw, 54px);
}

.legal-card h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .split,
  .pricing {
    grid-template-columns: 1fr;
  }

  .grid,
  .library,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .grid,
  .library,
  .plans,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 46px 0;
  }
}
