/* ===========================================================
   Zapfinity — modern dark + gold theme
   =========================================================== */

:root {
  /* Palette */
  --bg: #07070b;
  --bg-2: #0d0d14;
  --surface: #11111a;
  --surface-2: #161622;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #ECECF2;
  --muted: #9B9BAE;
  --dim: #6E6E82;

  --gold: #E8C46A;
  --gold-2: #B07E2A;
  --gold-soft: #F5D58A;

  --grad-gold: linear-gradient(135deg, #F5D58A 0%, #E8C46A 35%, #B07E2A 100%);
  --grad-text: linear-gradient(180deg, #F8DC92 0%, #C8983F 100%);

  /* Layout */
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: #000;
  padding: 8px 12px; border-radius: 8px;
  z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================================
   Animated background
   =========================================================== */
.bg {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 196, 106, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(176, 126, 42, 0.08), transparent 60%),
    var(--bg);
}
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.bg__glow {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite alternate;
}
.bg__glow--1 { background: rgba(232, 196, 106, 0.35); top: -120px; left: 60%; }
.bg__glow--2 { background: rgba(120, 80, 240, 0.18); top: 40%; left: -10%; animation-delay: -6s; }
.bg__glow--3 { background: rgba(232, 196, 106, 0.18); top: 70%; left: 70%; animation-delay: -12s; }
@keyframes float {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(40px, -40px, 0) scale(1.08); }
}

/* ===========================================================
   Nav
   =========================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 7, 11, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 7, 11, 0.78);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
  filter: drop-shadow(0 4px 14px rgba(232, 196, 106, 0.18));
}
.nav__brand:hover .logo { transform: rotate(-6deg) scale(1.05); }
.logo--lg { width: 72px; height: 72px; }
.nav__links {
  display: flex; gap: 28px;
  font-size: 14px; color: var(--muted);
}
.nav__links a { transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: inline-flex; }

.nav__burger {
  display: none;
  background: transparent; border: 1px solid var(--line);
  width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav__burger span {
  display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 80px 0 auto 0;
  background: rgba(13, 13, 20, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 24px;
  display: none; flex-direction: column; gap: 14px;
  z-index: 49;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { color: var(--text); font-size: 18px; padding: 8px 0; }
.mobile-menu .btn { align-self: flex-start; margin-top: 8px; }

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn--gold {
  background: var(--grad-gold);
  color: #1a1306;
  box-shadow: 0 8px 32px rgba(232, 196, 106, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--gold:hover {
  box-shadow: 0 12px 40px rgba(232, 196, 106, 0.42), inset 0 1px 0 rgba(255,255,255,0.5);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--gold); color: var(--gold-soft); }

/* ===========================================================
   Typography / shared
   =========================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 20px; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .lede { color: var(--muted); font-size: 17px; margin-top: 16px; }

section { padding: 96px 0; position: relative; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 0;
  position: relative;
  z-index: 2;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(232, 196, 106, 0.08);
  border: 1px solid rgba(232, 196, 106, 0.25);
  font-size: 13px; color: var(--gold-soft);
  margin-bottom: 28px;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 196, 106, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 196, 106, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(232, 196, 106, 0); }
}

.hero__title {
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.hero__proof {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.proof__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof__lbl { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* Floating orbit cards */
.orbit {
  position: absolute;
  right: 5%;
  top: 12%;
  width: 420px; height: 420px;
  pointer-events: none;
}
.orbit__card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  animation: bob 6s ease-in-out infinite;
  font-size: 14px;
  white-space: nowrap;
}
.orbit__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--grad-gold);
  color: #1a1306;
  font-weight: 800;
  border-radius: 10px;
  font-size: 16px;
}
.orbit__card--1 { top: 12%;  right: 4%;  animation-delay: 0s; }
.orbit__card--2 { top: 46%;  right: 30%; animation-delay: -2s; }
.orbit__card--3 { top: 72%;  right: 0%;  animation-delay: -4s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ===========================================================
   Marquee
   =========================================================== */
.marquee {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.marquee__track {
  display: inline-flex; gap: 32px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--dim);
}
.marquee__track span:nth-child(odd) { color: var(--gold-soft); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   Course
   =========================================================== */
.course__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.modcard {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease;
}
.modcard:hover { border-color: rgba(232, 196, 106, 0.35); transform: translateY(-3px); }
.modcard__step {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.modcard p { color: var(--muted); margin: 0; font-size: 15px; }
.modcard--accent {
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(232,196,106,0.12), transparent 60%),
    linear-gradient(180deg, rgba(232,196,106,0.06), rgba(232,196,106,0.02));
  border-color: rgba(232, 196, 106, 0.30);
}

.course__who {
  margin-top: 56px;
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
}
.course__who h4 {
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--gold-soft);
}
.course__who ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
  color: var(--muted);
}
.course__who li {
  position: relative; padding-left: 22px;
}
.course__who li::before {
  content: "✦";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}

/* ===========================================================
   Pillars
   =========================================================== */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pcard {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(232,196,106,0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 196, 106, 0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.pcard__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-gold);
  color: #1a1306;
  margin-bottom: 20px;
}
.pcard__icon svg { width: 26px; height: 26px; }
.pcard p { color: var(--muted); margin: 0; }

/* ===========================================================
   About
   =========================================================== */
.about__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.about__text p { color: var(--muted); margin: 0 0 16px; font-size: 17px; }
.about__text blockquote {
  margin: 32px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(232, 196, 106, 0.05);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: sticky; top: 100px;
}
.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: border-color .25s ease;
}
.stat:hover { border-color: rgba(232, 196, 106, 0.3); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat__lbl { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* ===========================================================
   Waitlist
   =========================================================== */
.waitlist__card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  border: 1px solid rgba(232, 196, 106, 0.22);
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(232,196,106,0.12), transparent 60%),
    radial-gradient(700px 300px at 100% 100%, rgba(176,126,42,0.08), transparent 60%),
    linear-gradient(180deg, rgba(232,196,106,0.04), rgba(255,255,255,0.01));
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.waitlist__copy p { color: var(--muted); margin: 0 0 24px; }
.checks { display: grid; gap: 10px; }
.checks li {
  position: relative; padding-left: 28px;
  color: var(--text); font-size: 15px;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.15);
}
.checks li::after {
  content: ""; position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid #1a1306;
  border-bottom: 2px solid #1a1306;
  transform: rotate(-45deg);
}

.form { width: 100%; }
.form__label {
  display: block; font-size: 13px; color: var(--muted);
  margin-bottom: 8px; letter-spacing: 0.05em;
}
.form__row {
  display: flex; gap: 8px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0,0,0,0.3);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__row:focus-within {
  border-color: rgba(232,196,106,0.5);
  box-shadow: 0 0 0 4px rgba(232,196,106,0.12);
}
.form__input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--text); font: inherit;
  padding: 10px 14px;
}
.form__input::placeholder { color: var(--dim); }
.form__hint { color: var(--dim); font-size: 12px; margin: 10px 4px 0; }
.form.is-success .form__row { border-color: rgba(80, 200, 120, 0.5); }
.form.is-success .form__hint { color: #74D49A; }

/* ===========================================================
   FAQ
   =========================================================== */
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: rgba(232, 196, 106, 0.3); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute;
  background: var(--gold);
  transition: transform .25s ease;
}
.faq__plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq__plus::after  { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); }
.faq__item p {
  margin: 0; padding: 0 22px 20px;
  color: var(--muted); font-size: 15px;
}

/* ===========================================================
   Final CTA
   =========================================================== */
.final__inner { text-align: center; }
.final__inner h2 { max-width: 22ch; margin: 0 auto 28px; }

/* ===========================================================
   Footer
   =========================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: rgba(0,0,0,0.3);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  color: var(--muted); font-size: 14px;
}
.footer__links a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 12px; justify-content: flex-end; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.footer__social a:hover {
  color: #1a1306; background: var(--grad-gold); border-color: transparent;
}
.footer__bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px;
  color: var(--dim); font-size: 13px; flex-wrap: wrap;
}

/* ===========================================================
   Reveal animations
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .orbit { display: none; }
  .course__grid, .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__stats { position: static; }
  .waitlist__card { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__social { justify-content: flex-start; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .course__grid, .pillars__grid, .about__stats { grid-template-columns: 1fr; }
  .course__who ul { grid-template-columns: 1fr; }
  .form__row { flex-direction: column; border-radius: 18px; padding: 8px; }
  .form__row .btn { width: 100%; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero__title { font-size: clamp(34px, 9vw, 56px); }
  .hero__proof { gap: 24px; }
  .logo { width: 38px; height: 38px; }
  .mobile-menu { inset: 72px 0 auto 0; }
}
