:root {
  --bg: #030712;
  --bg-soft: #07111f;
  --text: #f8fafc;
  --muted: #b7c2d6;
  --muted-strong: #dbe4f3;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(13, 22, 42, 0.58);
  --glass-strong: rgba(16, 28, 54, 0.78);
  --blue: #2f7cff;
  --violet: #7c3aed;
  --purple: #a855f7;
  --pink: #ec4899;
  --green: #10b981;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius: 12px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 124, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 85% 22%, rgba(236, 72, 153, 0.18), transparent 32rem),
    linear-gradient(180deg, #020617, #07111f 44%, #030712 100%);
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(47, 124, 255, 0.08) 34% 35%, transparent 35% 100%),
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.2), transparent 34rem);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.48) 1px, transparent 0);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 78%, transparent);
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(5, 10, 24, 0.56);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.4);
  animation: floatIn 640ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.site-header.is-scrolled {
  background: rgba(5, 10, 24, 0.76);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(47, 124, 255, 0.18), rgba(168, 85, 247, 0.18));
  color: var(--blue);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a,
.ghost-button {
  border: 0;
  color: var(--muted-strong);
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
}

.desktop-nav a:hover,
.ghost-button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-button,
.glass-button,
.course-card button {
  border: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--pink));
  box-shadow: 0 16px 42px rgba(47, 124, 255, 0.32);
  position: relative;
  overflow: hidden;
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transition: transform 620ms ease;
}

.primary-button:hover::after {
  transform: translateX(120%);
}

.primary-button:hover,
.glass-button:hover,
.course-card button:hover {
  transform: translateY(-2px);
}

.primary-button.small {
  min-height: 44px;
  padding: 0 18px;
}

.primary-button.full,
.glass-button.full {
  width: 100%;
}

.glass-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.mobile-nav {
  position: fixed;
  z-index: 39;
  top: 96px;
  left: 14px;
  right: 14px;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 10, 24, 0.9);
  backdrop-filter: blur(18px);
}

.mobile-nav a {
  display: block;
  padding: 14px;
  border-radius: 10px;
  color: var(--muted-strong);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

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

.hero {
  position: relative;
  width: 100%;
  min-height: 790px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 120px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.84), rgba(3, 7, 18, 0.44) 48%, rgba(3, 7, 18, 0.18)),
    linear-gradient(180deg, rgba(3, 7, 18, 0.18), rgba(3, 7, 18, 0.68));
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.58fr);
  gap: 42px;
  align-items: end;
  padding: 0 0 72px;
}

.hero-copy h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.48);
  animation: slideUp 700ms 90ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-copy p {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted-strong);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  animation: slideUp 700ms 170ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: slideUp 700ms 250ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: slideUp 700ms 330ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.signal-row span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 14px;
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(47, 124, 255, 0.25), transparent 28rem);
  opacity: 0.5;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  padding: 28px;
  animation: slideUp 760ms 320ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.panel-topline {
  color: #9cc2ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel h2 {
  margin: 10px 0 18px;
  font-size: 28px;
  line-height: 1.08;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted-strong);
}

.hero-panel li {
  position: relative;
  padding-left: 20px;
}

.hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(47, 124, 255, 0.9);
}

.proof-strip {
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  animation: slideUp 760ms 420ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.proof-strip div {
  min-height: 130px;
  padding: 24px;
  background: rgba(9, 17, 35, 0.78);
  backdrop-filter: blur(18px);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 20px;
  margin-bottom: 8px;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.split-section,
.enrollment-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
  padding: 120px 0 0;
}

.section-copy h2,
.section-heading h2,
.syllabus-card h2,
.newsletter-band h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

.section-copy p,
.section-heading p,
.syllabus-card p,
.newsletter-band p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.studio-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
}

.studio-card img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.studio-card div {
  padding: 34px;
  align-self: end;
}

.studio-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.studio-card p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 0 54px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(47, 124, 255, 0.22), transparent 24rem);
  transition: opacity 260ms ease;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), 0 0 46px rgba(47, 124, 255, 0.14);
}

.course-card:hover::after {
  opacity: 1;
}

.course-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.course-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.18) contrast(1.05);
}

.course-body {
  padding: 24px;
}

.course-level {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
}

.course-level.green {
  color: #5ee6b2;
}

.course-level.blue {
  color: #82b8ff;
}

.course-level.purple {
  color: #d8b4fe;
}

.course-body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.course-body p {
  min-height: 92px;
  margin: 14px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
}

.course-meta strong {
  color: #fff;
  font-size: 24px;
}

.course-card button {
  width: 100%;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.syllabus-section {
  padding-top: 110px;
}

.syllabus-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(47, 124, 255, 0.17), rgba(168, 85, 247, 0.12)),
    rgba(10, 18, 36, 0.72);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.outcome-grid span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-weight: 700;
}

.enrollment-section {
  align-items: start;
  padding-top: 120px;
}

.enrollment-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 20px;
  color: var(--muted);
}

.enrollment-note strong {
  color: #fff;
}

.enroll-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--glass-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
  padding: 14px 14px;
  transition: border 160ms ease, box-shadow 160ms ease;
}

select option {
  color: #0f172a;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47, 124, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.16);
}

.terms-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
}

.terms-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--blue);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #9cc2ff;
  font-weight: 700;
}

.form-status.is-error {
  color: #fda4af;
}

.community-section {
  padding-bottom: 120px;
}

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

.community-grid article {
  padding: 28px;
  transition: transform 240ms ease, border-color 240ms ease;
}

.community-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.community-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.community-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.newsletter-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(47, 124, 255, 0.2), rgba(236, 72, 153, 0.14)),
    rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.newsletter-form .form-status {
  grid-column: 1 / -1;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding: 0 0 52px;
  color: var(--muted);
}

.site-footer p {
  max-width: 430px;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 940px) {
  .desktop-nav,
  .ghost-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  body.menu-open .mobile-nav {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-section,
  .enrollment-section,
  .syllabus-card,
  .newsletter-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 190px;
  }

  .proof-strip,
  .course-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .studio-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
  }

  .brand {
    font-size: 15px;
  }

  .header-actions .primary-button {
    display: none;
  }

  .section-shell,
  .proof-strip,
  .newsletter-band,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero-grid {
    width: min(100% - 28px, 1180px);
    gap: 24px;
    padding-bottom: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .hero-actions,
  .newsletter-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .form-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .course-body p {
    min-height: 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
