:root {
  --ink: #10131b;
  --muted: #626b7a;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --line: #e1e4db;
  --lime: #1f8fff;
  --blue: #0b67d8;
  --sky: #45c7ff;
  --coral: #ff6d4d;
  --cyan: #34c6d3;
  --violet: #6d5dfc;
  --deep: #171a25;
  --shadow: 0 24px 80px rgba(16, 19, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(247, 247, 242, 0.92);
  border-bottom: 1px solid rgba(225, 228, 219, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.brand-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 19, 27, 0.95), rgba(36, 33, 70, 0.78)),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1900&q=80") center/cover;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
strong,
span {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.55rem, 8vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 14px 28px rgba(31, 143, 255, 0.28);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.screen {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #11141e;
  box-shadow: var(--shadow);
}

.screen-top {
  display: flex;
  gap: 7px;
  padding: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.screen-top span:nth-child(2) {
  background: var(--sky);
}

.screen-top span:nth-child(3) {
  background: var(--cyan);
}

.canvas-scene {
  position: relative;
  min-height: 365px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 70% 25%, rgba(52, 198, 211, 0.28), transparent 28%),
    #080d24;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.pixel-star {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ffd84a;
  box-shadow:
    14px 0 #ffd84a,
    -14px 0 #ffd84a,
    0 14px #ffd84a,
    0 -14px #ffd84a;
}

.star-one {
  top: 68px;
  left: 62px;
}

.star-two {
  right: 110px;
  bottom: 82px;
  transform: scale(0.72);
}

.planet {
  position: absolute;
  top: 44px;
  right: 44px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), #ffd66b);
}

.player {
  position: absolute;
  left: 23%;
  bottom: 128px;
  width: 54px;
  height: 54px;
  border-radius: 8px 8px 16px 16px;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(52, 198, 211, 0.16);
}

.platform {
  position: absolute;
  height: 18px;
  border-radius: 8px;
  background: var(--lime);
}

.platform.one {
  left: 10%;
  right: 42%;
  bottom: 92px;
}

.platform.two {
  left: 45%;
  right: 16%;
  bottom: 176px;
  background: var(--coral);
}

.platform.three {
  left: 18%;
  right: 58%;
  bottom: 252px;
  background: var(--violet);
}

.floating-stat {
  position: absolute;
  width: min(270px, 72%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.floating-stat strong,
.floating-stat span {
  display: block;
}

.floating-stat strong {
  font-size: 1.05rem;
}

.floating-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.stat-one {
  left: -30px;
  bottom: 44px;
}

.stat-two {
  right: -28px;
  top: 92px;
}

.section,
.program-grid,
.feature-band,
.contact-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

section[id] {
  scroll-margin-top: 88px;
}

.intro {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
}

.intro p:last-child,
.feature-copy p,
.section-heading p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.program-grid.two-courses {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 19, 27, 0.06);
}

.number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
  background: var(--lime);
  font-weight: 900;
}

.program-card:nth-child(2) .number {
  background: var(--cyan);
}

.program-card:nth-child(3) .number {
  color: #fff;
  background: var(--violet);
}

.program-card h3 {
  margin: 30px 0 10px;
  font-size: 1.42rem;
}

.program-card p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  background: #e9eee8;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pixel-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  aspect-ratio: 4 / 3;
  padding: clamp(20px, 4vw, 36px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    #060a21;
  background-size: 28px 28px;
}

.showcase-card {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 3px solid currentColor;
  border-radius: 8px;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.1);
}

.showcase-card.blue {
  color: #20b8ff;
  background: rgba(32, 184, 255, 0.14);
}

.showcase-card.magenta {
  color: #d66bff;
  background: rgba(214, 107, 255, 0.14);
}

.showcase-card.orange {
  color: #ffb43c;
  background: rgba(255, 180, 60, 0.14);
}

.showcase-card.green {
  color: var(--sky);
  background: rgba(69, 199, 255, 0.14);
}

.feature-copy {
  max-width: 660px;
}

.feature-copy .eyebrow,
.outcomes .eyebrow {
  color: var(--violet);
}

.feature-copy p {
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--coral);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.outcome-grid div {
  min-height: 190px;
  padding: 28px;
  background: var(--surface);
}

.outcome-grid strong,
.outcome-grid span {
  display: block;
}

.outcome-grid strong {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.outcome-grid span {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  color: #fff;
  background: var(--deep);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.contact-details a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: #f8faf6;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  font-size: 1rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #0d1017;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px 14px;
  }

  .hero,
  .intro,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .program-grid.two-courses {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    max-width: 155px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .floating-stat {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-visual {
    min-height: 0;
  }

  .canvas-scene {
    min-height: 300px;
  }

  .pixel-showcase {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
