:root {
  --purple: #9945ff;
  --purple-deep: #7a2fe0;
  --purple-soft: #f3e8ff;
  --purple-banner: #8b3dff;
  --teal: #00c48c;
  --teal-deep: #009e70;
  --teal-soft: #d9fbe8;
  --ink: #1f1f1f;
  --muted: #5b5b66;
  --line: #ececf2;
  --bg: #f7f8fc;
  --white: #ffffff;
  --logo-white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 31, 31, 0.08);
  --radius: 24px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% -10%, rgba(153, 69, 255, 0.16), transparent 38%),
    radial-gradient(circle at 100% 8%, rgba(0, 196, 140, 0.14), transparent 32%),
    var(--bg);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(236, 236, 242, 0.8);
}

.header__inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  background: var(--logo-white);
  border-radius: 8px;
  padding: 2px 4px;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.nav a:not(.nav__cta):hover {
  color: var(--purple);
}

.nav__cta {
  background: var(--purple);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(153, 69, 255, 0.28);
}

.nav__cta:hover {
  background: var(--purple-deep);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  padding: 12px 11px;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 99px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
.hero-card h2 {
  font-family: "Fredoka", "Plus Jakarta Sans", sans-serif;
  line-height: 1.12;
  margin: 0;
}

.hero {
  padding: 48px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--purple);
  display: block;
}

.hero__lead {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(153, 69, 255, 0.28);
}

.btn--primary:hover {
  background: var(--purple-deep);
}

.btn--ghost {
  background: var(--white);
  border: 1px solid var(--line);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__stats strong {
  display: block;
  font-size: 1.7rem;
  font-family: "Fredoka", sans-serif;
  color: var(--ink);
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
}

.hero-banner {
  position: absolute;
  top: 50%;
  left: -8%;
  z-index: 2;
  transform: translateY(-50%) rotate(-6deg);
  background: var(--ink);
  color: var(--white);
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  max-width: 280px;
  text-align: center;
}

.hero__photo {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.method,
.programs,
.projects,
.enroll {
  padding: 64px 0;
}

.method__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.station-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.station-card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.station-card--lab {
  border-top: 6px solid var(--purple);
}

.station-card--lab .station-card__tag {
  color: var(--purple);
}

.station-card--maker {
  border-top: 6px solid var(--teal);
}

.station-card--maker .station-card__tag {
  color: var(--teal-deep);
}

.station-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

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

.station-card ul,
.program ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.program {
  background: var(--white);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.program--wide {
  grid-column: 1 / -1;
}

.program__top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.program__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple-soft), var(--teal-soft));
  border-radius: 14px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--purple-deep);
}

.program__week {
  margin: 0;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.program h3 {
  font-size: 1.28rem;
}

.program__goal,
.program li {
  color: var(--muted);
}

.program__goal {
  margin: 0 0 12px;
}

.program__product {
  display: inline-block;
  margin: 0 0 18px;
  background: linear-gradient(90deg, var(--purple-soft), var(--teal-soft));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 12px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.skills span {
  background: #f4f4f8;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.8rem;
  font-weight: 700;
}

.projects {
  background: linear-gradient(180deg, transparent, rgba(153, 69, 255, 0.06));
}

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

.project-chip {
  background: var(--white);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-chip:hover {
  transform: translateY(-2px);
  border-color: var(--purple-soft);
}

.enroll {
  padding-bottom: 88px;
}

.enroll__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.enroll__copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

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

.enroll__points {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.enroll__points li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-weight: 600;
}

.enroll__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
}

.form {
  background: var(--white);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}

.form input,
.form select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  background: #fcfcff;
}

.form input:focus,
.form select:focus {
  outline: 3px solid rgba(153, 69, 255, 0.18);
  border-color: var(--purple);
}

.form__fieldset {
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin: 0;
  display: grid;
  gap: 10px;
}

.form__fieldset legend {
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0 6px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-card:has(input:checked) {
  border-color: var(--purple);
  background: var(--purple-soft);
}

.radio-card input {
  width: auto;
  min-height: auto;
  accent-color: var(--purple);
}

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

.form__section--minor[hidden] {
  display: none !important;
}

.form__section--minor.is-visible {
  display: grid;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--purple-soft), #faf8ff);
  border: 1.5px solid rgba(153, 69, 255, 0.2);
}

.form__section-title {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--purple-deep);
}

.form__error {
  margin: 0;
  color: #c62828;
  font-size: 0.88rem;
  font-weight: 600;
}

.form__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  background: var(--logo-white);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer img {
  height: 34px;
  width: auto;
  background: var(--logo-white);
  border-radius: 6px;
  padding: 2px 4px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero__grid,
  .method__grid,
  .program-grid,
  .enroll__grid,
  .form__row,
  .footer__inner,
  .projects__grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 16px;
    right: 16px;
    background: var(--white);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 8px;
  }

  .nav__cta {
    text-align: center;
  }

  .hero-banner {
    left: 4%;
    max-width: 220px;
    font-size: 0.78rem;
    padding: 10px 14px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 28px;
  }

  .hero__stats {
    gap: 16px;
  }

  .form,
  .program,
  .station-card {
    padding: 20px;
  }
}
