/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --yellow: #FFDD2D;
  --yellow-d: #F0CF00;
  --black: #111;
  --dark: #1C1C1E;
  --dark-2: #2A2A2C;
  --dark-3: #3A3A3C;
  --white: #fff;
  --bg: #F2F3F5;
  --surface: #fff;
  --border: #E4E5E7;
  --text: #111;
  --muted: #6B6B6B;
  --faint: #9B9B9B;
  --green: #1E7E34;
  --green-bg: #E9F5EC;
  --error: #E33;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --sh: 0 2px 8px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .04);
  --sh-md: 0 4px 16px rgba(0, 0, 0, .10);
  --sh-lg: 0 8px 40px rgba(0, 0, 0, .14);

  --font: 'Inter', system-ui, sans-serif;
}

/* ── BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font: inherit; border: none; background: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.2; }

/* ── LAYOUT ─────────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section { background: var(--bg); }

/* ── HEADER ─────────────────────────────────────────── */
.hdr {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0);
}
.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.hdr-left { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.logo img, .logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--black); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: all .15s;
  cursor: pointer;
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-d); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-yellow:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: var(--white); color: var(--black); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--bg); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ── HERO ─────────────────────────────────────────────── */
.hero { background: var(--bg); padding: 60px 0 0; overflow: hidden; }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
  max-width: 14ch;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.hero-img-wrap {
  width: 100%;
  max-width: 1160px;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-2xl);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── COURSE BANNER ───────────────────────────────────── */
.course { padding: 40px 0; }
.course-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--r-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 260px;
}
.course-body {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
  position: relative;
  z-index: 1;
}
.course-tag {
  display: inline-block;
  background: rgba(255, 221, 45, .18);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
}
.course-body h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.course-body p { font-size: 15px; color: rgba(255, 255, 255, .65); line-height: 1.6; max-width: 44ch; }
.course-img { position: relative; overflow: hidden; min-height: 260px; }
.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ── WHY SECTION ─────────────────────────────────────── */
.why { padding: 64px 0; }
.sec-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -.3px;
}
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.why-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.why-card.dark { background: var(--dark); color: var(--white); border-color: transparent; }
.why-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  background: var(--bg);
}
.why-card.dark .why-icon { background: rgba(255, 255, 255, .08); }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.why-card.dark p { color: rgba(255, 255, 255, .55); }
.why-cta { text-align: center; }

/* ── HOW EARN ────────────────────────────────────────── */
.earn { padding: 64px 0; background: var(--white); }
.earn-subtitle { text-align: center; font-size: 16px; color: var(--muted); margin-top: -28px; margin-bottom: 36px; }
.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.earn-card {
  background: #F7F8FA;
  border: 1px solid #E4E5E8;
  border-radius: var(--r-xl);
  padding: 20px 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
}
.earn-flow { margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.flow-empty {
  border: 2px dashed #6BA3F5;
  border-radius: var(--r-md);
  height: 80px;
  background: #fff;
  flex-shrink: 0;
}
.flow-light {
  background: #ECEEF1;
  border-radius: var(--r-md);
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.flow-light .flow-val { font-weight: 700; font-size: 17px; color: #111; margin-bottom: 3px; }
.flow-light .flow-label { font-size: 13px; color: #6B6B6B; font-weight: 400; }
.flow-dark {
  background: #D9DCE3;
  border-radius: var(--r-md);
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.flow-dark .flow-val { font-weight: 700; font-size: 20px; color: #111; margin-bottom: 4px; }
.flow-dark .flow-label { font-size: 13px; color: #6B6B6B; font-weight: 400; }
.flow-blue {
  background: #3578F4;
  border-radius: var(--r-md);
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.flow-blue .flow-val { font-weight: 700; font-size: 19px; color: #fff; margin-bottom: 3px; }
.flow-blue .flow-label { font-size: 13px; color: rgba(255, 255, 255, .8); }
.flow-blue-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 80px; flex-shrink: 0; }
.flow-blue-half {
  border-radius: var(--r-md);
  padding: 12px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-blue-half.light { background: #C8DEFF; }
.flow-blue-half.light .flow-val { font-weight: 700; font-size: 16px; color: #1A3F8A; margin-bottom: 3px; }
.flow-blue-half.light .flow-label { font-size: 12px; color: #3A5FA0; }
.flow-blue-half.dark { background: #3578F4; }
.flow-blue-half.dark .flow-val { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 3px; }
.flow-blue-half.dark .flow-label { font-size: 12px; color: rgba(255, 255, 255, .8); }
.earn-card p { font-size: 14px; color: #444; line-height: 1.7; }
.earn-card p + p { margin-top: 12px; }
.earn-card strong { color: #111; }

/* ── STEPS ──────────────────────────────────────────── */
.steps { padding: 64px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 24ch; margin: 0 auto; }

/* ── FORM ───────────────────────────────────────────── */
.form-sec { padding: 0 0 64px; }
.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px 40px 32px;
  box-shadow: var(--sh-lg);
}
.form-wrap h3 { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 4px; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
  color: var(--text);
}
.field input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 221, 45, .25);
}
.field input.error { border-color: var(--error); }
.form-error {
  display: block;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 13px;
  line-height: 1.45;
}
.form-error[hidden] { display: none; }
.btn-submit { width: 100%; padding: 15px; font-size: 16px; font-weight: 700; margin-top: 8px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--yellow);
  cursor: pointer;
}
.consent label { font-size: 12px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent a { color: var(--black); text-decoration: underline; }

/* ── LEVERAGE CTA ─────────────────────────────────────── */
.lev-cta { padding: 64px 0; background: var(--bg); }
.lev-cta-in { text-align: center; }
.lev-cta h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.lev-cta p { font-size: 16px; color: var(--muted); max-width: 56ch; margin: 0 auto; line-height: 1.6; }

/* ── FOOTER ─────────────────────────────────────────── */
.ftr { background: var(--dark); color: rgba(255, 255, 255, .45); padding: 32px 0; }
.ftr-in { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.ftr-links { display: flex; gap: 20px; }
.ftr-links a { color: rgba(255, 255, 255, .45); transition: color .15s; }
.ftr-links a:hover { color: rgba(255, 255, 255, .7); }

/* ── THANKS PAGE ──────────────────────────────────────── */
.page-thanks { min-height: 100vh; display: flex; flex-direction: column; }
.thanks-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 80px 20px;
}
.thanks-card {
  max-width: 480px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 48px 40px;
  box-shadow: var(--sh-lg);
  text-align: center;
}
.thanks-icon { font-size: 56px; margin-bottom: 20px; }
.thanks-card h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.thanks-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: rev-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}
@keyframes rev-fade { to { opacity: 1; } }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-img-wrap img { max-width: 100%; }
  .course-card { grid-template-columns: 1fr; }
  .course-img { height: 240px; min-height: 240px; }
  .course-body { padding: 28px 24px; }
  .earn-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .hdr-left { gap: 0; }
  .hdr-in .btn-sm {
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 13px;
  }
  .hero { padding: 32px 0 0; }
  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    max-width: none;
  }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .why, .earn, .steps, .lev-cta { padding: 48px 0; }
  .course { padding: 32px 0; }
  .why-grid, .earn-grid, .steps-grid { grid-template-columns: 1fr; }
  .sec-title { margin-bottom: 28px; }
  .earn-subtitle { margin-top: -16px; margin-bottom: 28px; }
  .course-body { padding: 28px 20px; }
  .course-body h2 { font-size: 20px; }
  .form-sec { padding: 0 0 48px; }
  .form-wrap, .thanks-card { padding: 28px 20px; }
  .field input { font-size: 16px; }
  .ftr { padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0)); }
  .ftr-in { flex-direction: column; gap: 16px; text-align: center; }
  .ftr-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn,
  .why-cta .btn,
  .form-wrap .btn-submit,
  .thanks-card .btn {
    width: 100%;
  }
  .flow-light .flow-val { font-size: 15px; }
  .flow-dark .flow-val { font-size: 17px; }
  .flow-blue .flow-val { font-size: 16px; }
  .flow-blue-half { padding: 10px 8px; }
  .flow-blue-half .flow-val { font-size: 13px; }
  .flow-blue-half .flow-label { font-size: 10px; line-height: 1.3; }
  .lev-cta h2 br { display: none; }
}
