:root {
  --course-bg: #06101f;
  --course-panel: rgba(9, 20, 38, 0.84);
  --course-panel-soft: rgba(255, 255, 255, 0.055);
  --course-line: rgba(142, 213, 255, 0.16);
  --course-text: #f4f8ff;
  --course-soft: rgba(229, 239, 255, 0.78);
  --course-muted: rgba(229, 239, 255, 0.58);
  --course-cyan: #21dfff;
  --course-blue: #4c7dff;
  --course-violet: #8d67ff;
  --course-gold: #ffe08a;
  --course-shadow: 0 28px 80px rgba(2, 8, 20, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--course-text);
  background:
    radial-gradient(circle at 18% 8%, rgba(33, 223, 255, 0.18), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(141, 103, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #050a14 0%, #071325 44%, #0b1e3a 100%);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  pointer-events: none;
}

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

.course-shell {
  width: min(calc(100% - 1rem), 1120px);
  margin: 0 auto;
  padding: 0.85rem 0 2rem;
}

.course-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.7rem 0 1rem;
}

.course-brand,
.course-nav {
  display: inline-flex;
  align-items: center;
}

.course-brand {
  gap: 0.72rem;
  min-width: 0;
}

.course-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 17px;
  box-shadow: 0 12px 28px rgba(33, 223, 255, 0.18);
}

.course-brand span {
  display: grid;
  gap: 0.1rem;
}

.course-brand strong {
  font-size: 0.98rem;
  line-height: 1;
}

.course-brand small {
  color: var(--course-soft);
  font-size: 0.78rem;
  line-height: 1.25;
}

.course-nav {
  gap: 0.8rem;
  color: var(--course-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.course-nav a {
  transition: color 200ms ease, transform 200ms ease;
}

.course-nav a:hover,
.course-nav a:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.course-hero,
.course-section,
.course-final {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--course-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(33, 223, 255, 0.12), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(141, 103, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(9, 20, 38, 0.94), rgba(7, 16, 31, 0.9));
  box-shadow: var(--course-shadow);
}

.course-hero {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
}

.course-copy {
  display: grid;
  gap: 0.9rem;
}

.eyebrow {
  margin: 0;
  color: var(--course-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.65rem, 15vw, 5.4rem);
  line-height: 0.95;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 9vw, 3.5rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.12;
}

p {
  color: var(--course-soft);
  line-height: 1.65;
}

.course-lede {
  max-width: 58ch;
  font-size: 1rem;
}

.course-actions,
.course-pills,
.course-card-grid,
.proof-grid {
  display: grid;
  gap: 0.78rem;
}

.course-actions {
  margin-top: 0.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
  text-align: center;
}

.button-primary {
  color: #041121;
  background: linear-gradient(135deg, #24e4ff, #7da1ff 52%, #a989ff);
  box-shadow: 0 16px 34px rgba(33, 223, 255, 0.2);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.course-visual {
  position: relative;
  min-height: 18rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(33, 223, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
}

.course-visual img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(62%, 15rem);
  height: auto;
  border-radius: 32px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.36));
}

.orbit-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 15rem;
  height: 15rem;
  border: 1px dashed rgba(33, 223, 255, 0.26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.course-note {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  max-width: 12rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(3, 10, 20, 0.7);
  backdrop-filter: blur(16px);
}

.course-note span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--course-gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-note strong {
  line-height: 1.28;
}

.course-section,
.course-final {
  margin-top: 1rem;
  padding: 1rem;
}

.course-section-header {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.course-pills {
  grid-template-columns: 1fr;
}

.course-pills span,
.course-card,
.proof-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--course-panel-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.course-pills span {
  min-height: 3rem;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 850;
  text-align: center;
}

.course-card,
.proof-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 22px;
}

.course-card span,
.proof-card span {
  color: var(--course-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-card strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.course-final {
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 224, 138, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(8, 19, 36, 0.96), rgba(16, 31, 58, 0.9));
}

.course-footer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 0 0;
  color: var(--course-muted);
  font-size: 0.88rem;
}

.course-footer p {
  color: inherit;
}

.course-footer a {
  color: var(--course-cyan);
  font-weight: 800;
}

@media (min-width: 760px) {
  .course-shell {
    width: min(calc(100% - 2rem), 1120px);
    padding-top: 1.2rem;
  }

  .course-hero {
    grid-template-columns: 1fr 0.82fr;
    align-items: center;
    padding: 2rem;
  }

  .course-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .course-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-card-grid,
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-section,
  .course-final {
    margin-top: 1.2rem;
    padding: 1.5rem;
  }

  .course-final {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .course-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-nav {
    width: 100%;
    justify-content: space-between;
  }

  .course-brand small {
    display: none;
  }
}
