:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #eef6ff;
  --muted: #a9b8ca;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #7cf7d4;
  --brand-2: #7aa8ff;
  --brand-3: #f7c875;
  --danger: #ff7a91;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --radius: 28px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 40px));
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f9ff;
  --bg-2: #ffffff;
  --surface: rgba(9, 31, 61, 0.06);
  --surface-strong: rgba(9, 31, 61, 0.1);
  --text: #091f3d;
  --muted: #5b687a;
  --line: rgba(9, 31, 61, 0.14);
  --shadow: 0 28px 70px rgba(31, 54, 91, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  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(124, 247, 212, 0.2), transparent 27rem),
    radial-gradient(circle at 82% 0%, rgba(122, 168, 255, 0.18), transparent 25rem),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--brand);
  color: #06131e;
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .site-header {
  background: rgba(247, 249, 255, 0.78);
}

.notice {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  padding: 8px 18px;
  background: linear-gradient(90deg, rgba(124, 247, 212, 0.18), rgba(122, 168, 255, 0.18));
  color: var(--text);
  font-size: 0.86rem;
}

.notice a {
  color: var(--brand);
  font-weight: 800;
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--surface);
}

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

.theme-toggle,
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
}

.theme-toggle {
  display: grid;
  place-items: center;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 900;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06131e;
}

.btn-secondary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-3), #ff8cb8);
  color: #111827;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
}

.btn-whatsapp {
  background: #25d366;
  color: #062014;
  border-color: transparent;
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section.compact {
  padding: 34px 0 20px;
}

.hero {
  padding-top: 92px;
  min-height: 770px;
  display: grid;
  align-items: center;
}

.hero-glow {
  position: absolute;
  inset: 6rem 0 auto auto;
  width: 50vw;
  height: 50vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 247, 212, 0.18), transparent 64%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-grid,
.platform-grid,
.finder-grid,
.contact-grid,
.outcomes-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 850px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

.hero-lede,
.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero-actions,
.card-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  color: var(--muted);
}

.hero-proof strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.28));
}

.marquee-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 12px 16px;
  overflow: hidden;
}

.marquee-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.marquee-track span,
.badge {
  border: 1px solid var(--line);
  background: rgba(124, 247, 212, 0.12);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 900;
}

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

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
}

.programme-grid,
.pricing-grid,
.capstone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.programme-card,
.price-card,
.capstone-card,
.finder,
.lead-form {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.programme-card::after,
.capstone-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -38% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(124, 247, 212, 0.12);
  filter: blur(8px);
}

.programme-card.cdip::after {
  background: rgba(247, 200, 117, 0.14);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.programme-card h3,
.capstone-card h3,
.price-card h3 {
  margin: 22px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.programme-card p,
.capstone-card p,
.price-card p {
  color: var(--muted);
}

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

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

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 5px rgba(124, 247, 212, 0.12);
}

.finder-section {
  background: linear-gradient(180deg, transparent, rgba(124, 247, 212, 0.045), transparent);
}

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

.choice-grid button {
  min-height: 104px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font-weight: 850;
}

.choice-grid button.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(124, 247, 212, 0.12);
}

.recommendation {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(124, 247, 212, 0.11);
  border: 1px solid rgba(124, 247, 212, 0.22);
  display: grid;
  gap: 8px;
}

.recommendation span {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.recommendation strong {
  font-size: 1.25rem;
  line-height: 1.2;
}

.programme-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.programme-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
}

.programme-tabs button.active {
  color: #06131e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.curriculum-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.curriculum-tools label {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(124, 247, 212, 0.12);
}

select option {
  color: #091f3d;
}

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

.module-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}

.module-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px;
  min-height: 146px;
}

.module-card summary::-webkit-details-marker {
  display: none;
}

.module-number {
  color: var(--brand);
  font-weight: 950;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.module-card h3 {
  margin: 8px 0 10px;
  font-size: 1.1rem;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.module-card p,
.module-card li {
  color: var(--muted);
  font-size: 0.94rem;
}

.module-body {
  border-top: 1px solid var(--line);
  padding: 0 18px 18px;
}

.module-body ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.platform {
  background: linear-gradient(135deg, rgba(122, 168, 255, 0.08), rgba(124, 247, 212, 0.05));
}

.platform-visual {
  padding: 20px;
}

.stat-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.stat-stack div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.stat-stack strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.stat-stack span {
  color: var(--muted);
}

.price-card.featured {
  border-color: rgba(124, 247, 212, 0.5);
  transform: translateY(-10px);
}

.price {
  color: var(--text) !important;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.outcome-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.outcome-list span {
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 850;
}

.contact {
  background:
    radial-gradient(circle at 0% 10%, rgba(247, 200, 117, 0.14), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035));
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-cards a {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 12px 14px;
  color: var(--brand);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  z-index: 90;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #062014;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.32);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer p,
.footer-bottom {
  color: var(--muted);
}

.footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer a:not(.brand) {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}

.footer a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 118px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--bg-2);
    box-shadow: var(--shadow);
  }

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

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

  .hero-grid,
  .platform-grid,
  .finder-grid,
  .contact-grid,
  .outcomes-grid,
  .programme-grid,
  .pricing-grid,
  .capstone-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

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

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .notice {
    display: none;
  }

  .navbar {
    min-height: 72px;
  }

  .nav-actions .btn-whatsapp {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .marquee-card {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .choice-grid,
  .module-grid,
  .stat-stack {
    grid-template-columns: 1fr;
  }

  .curriculum-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .programme-card,
  .price-card,
  .capstone-card,
  .finder,
  .lead-form {
    padding: 22px;
    border-radius: 22px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
