/* GoldPoint Academy landing page.
   A blend of the clean package-first layout with the GoldPoint Academy look:
   Playfair + Manrope, gold gradients, dark accents, tilt and scroll effects. */

:root {
  --gold: #C9A227;
  --gold-hi: #F2D675;
  --gold-lo: #8E6F14;
  --ink: #0E0E10;
  --text: #2A2A2E;
  --muted: #6D6D75;
  --line: #ECE8DC;
  --bg: #FFFFFF;
  --soft: #F8F7F3;
  --champagne: #FBF6E6;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 22px; }
.container--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.placeholder-note { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }
.placeholder-note--left { text-align: left; margin-top: 8px; }

.gold-text {
  background: linear-gradient(100deg, var(--gold-lo), var(--gold) 30%, var(--gold-hi) 55%, var(--gold) 75%, var(--gold-lo));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.eyebrow {
  display: inline-block; color: var(--gold-lo); font-weight: 800; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow--light { color: var(--gold-hi); }

/* ---------- Cursor glow ---------- */
.glow {
  position: fixed; left: 0; top: 0; z-index: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform;
  background: radial-gradient(circle, rgba(201,162,39,.16), transparent 65%);
}
@media (hover: hover) { .glow.on { opacity: 1; } }
main, .footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold { background: linear-gradient(120deg, var(--gold), var(--gold-hi)); border-color: transparent; color: var(--ink); }
.btn--gold:hover { box-shadow: 0 14px 34px -8px rgba(201,162,39,.6); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-btn { background: none; border: 0; padding: 6px 2px; font-size: 14px; font-weight: 600; color: var(--ink); }
.link-btn:hover { color: var(--gold-lo); }
.link-btn--gold { color: var(--gold-lo); font-weight: 700; font-size: inherit; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); white-space: nowrap; }
.brand__mark { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 10px rgba(142,111,20,.35)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__name { font: 700 21px/1 var(--serif); letter-spacing: .005em; }
.brand__name b { font-weight: 700; color: var(--ink); }
.brand__name em { font-style: normal; color: var(--gold); }
.brand__name small { display: block; margin-top: 5px; font: 800 9px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav__links > a { position: relative; padding: 6px 0; color: var(--ink); }
.nav__links > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links > a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__mobile-actions { display: none; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__actions { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 10px;
  }
  .nav__toggle span { display: block; height: 2px; width: 22px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  /* Anchored to the fixed header, with an explicit height */
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    flex-direction: column; gap: 0; padding: 8px 22px 32px; background: #fff;
    font-size: 18px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links > a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__links > a::after { display: none; }
  .nav__mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(242,214,117,.35), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(251,246,230,.9), transparent 60%),
    #fff;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  background: #fff; border: 1px solid var(--gold); color: var(--gold-lo);
  padding: 7px 15px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 6px 20px -10px rgba(201,162,39,.7);
}
.pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201,162,39,.6); animation: pulse 1.6s ease-out infinite;
}
.pill__arrow { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pulse { to { box-shadow: 0 0 0 14px rgba(201,162,39,0); } }
.hero__title { font: 700 clamp(38px, 5.6vw, 68px)/1.05 var(--serif); letter-spacing: -.02em; }
.hero__title em { font-style: italic; }
.nowrap { white-space: nowrap; }
.hero__sub { margin: 22px 0 32px; font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hero__trust strong { display: block; color: var(--ink); font: 700 24px/1.2 var(--serif); }

/* Layered package cards (replaces the 3D coin) */
.stack { position: relative; height: 460px; max-width: 470px; margin-left: auto; }
.stack__card {
  position: absolute; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(160deg, #fff, var(--champagne)); border: 1px solid var(--line);
  border-radius: 26px; padding: 24px; box-shadow: 0 20px 50px -30px rgba(120,90,10,.45);
}
.stack__card strong { font: 700 20px var(--serif); color: var(--ink); }
.stack__card--back { width: 62%; top: 0; right: 0; transform: rotate(5deg); }
.stack__card--mid { width: 64%; top: 96px; left: 0; transform: rotate(-4deg); background: #fff; }
.stack__card--front {
  width: 84%; bottom: 10px; right: 3%; padding: 30px; gap: 8px; overflow: hidden;
  background: radial-gradient(420px 260px at 90% 0%, rgba(201,162,39,.38), transparent 60%), #0A0A0C;
  border-color: rgba(242,214,117,.35); color: #fff;
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.7), 0 0 0 1px rgba(242,214,117,.08);
  animation: float 6s ease-in-out infinite;
}
.stack__card--front .stack__title { color: #fff; font-size: 30px; }
.stack__meta { color: #b9b9c0; font-size: 14px; }
.stack__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stack__bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 16px 0 12px; overflow: hidden; }
.stack__bar span { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 14px rgba(242,214,117,.7); }
.stack__foot { display: flex; align-items: center; gap: 10px; }
.stack__card--front .price { color: #fff; }
.stack__card--front .strike { color: #8b8b93; }
/* Photo cards: image fills the card, text sits on top over a dark fade */
.stack__card--photo { overflow: hidden; border-color: rgba(242,214,117,.35); }
.stack__card--back.stack__card--photo, .stack__card--mid.stack__card--photo { min-height: 215px; background: #0A0A0C; }
.stack__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.stack__card--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,12,.85), rgba(10,10,12,.35) 50%, rgba(10,10,12,.05)); }
.stack__card--front.stack__card--photo::before { background: linear-gradient(180deg, rgba(10,10,12,.55), rgba(10,10,12,.88) 50%, rgba(10,10,12,.96)); }
.stack__card--photo > :not(.stack__img) { position: relative; z-index: 2; }
.stack__card--photo strong { color: #fff; }
.stack__card--photo .muted { color: #d6d6dc; }
.stack__card--photo .chip:not(.chip--gold) { background: rgba(10,10,12,.55); color: var(--gold-hi); border-color: rgba(242,214,117,.4); }
.stack__mark { width: 40px; height: 40px; margin-left: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.chip {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 99px; background: var(--champagne); color: var(--gold-lo); border: 1px solid #EFE2B0;
}
.chip--gold { background: linear-gradient(120deg, var(--gold), var(--gold-hi)); color: var(--ink); border-color: transparent; }
.save {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 99px; background: var(--champagne); color: var(--gold-lo); border: 1px solid #EFE2B0;
}
.save--dark { background: rgba(242,214,117,.12); color: var(--gold-hi); border-color: rgba(242,214,117,.35); }
.price { font: 800 28px/1 var(--sans); color: var(--ink); letter-spacing: -.02em; }
.strike { color: var(--muted); text-decoration: line-through; font-size: 15px; }

@media (max-width: 960px) {
  .hero { padding: calc(var(--nav-h) + 40px) 0 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .stack { margin: 0 auto; height: 420px; width: 100%; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; }
  .hero__trust { gap: 18px 24px; }
  .stack { height: 380px; }
  .stack__card { padding: 18px; }
  .stack__card--front { width: 92%; right: 4%; padding: 24px; }
  .stack__card--front .stack__title { font-size: 26px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; padding: 18px 0; overflow: hidden; position: relative; z-index: 1; }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: slide 36s linear infinite; }
.marquee__track span { display: flex; align-items: center; gap: 46px; font: italic 600 19px var(--serif); white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: 13px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 104px 0; }
.section--soft { background: var(--soft); }
.section__head { margin-bottom: 54px; max-width: 680px; }
.section__head--center { text-align: center; margin-inline: auto; }
.section h2 { font: 700 clamp(32px, 4.6vw, 52px)/1.08 var(--serif); letter-spacing: -.015em; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 600px; }
.section__head--center .section__lead { margin-inline: auto; }
@media (max-width: 900px) { .section { padding: 76px 0; } .section__head { margin-bottom: 40px; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before, .timeline__fill { content: ""; position: absolute; left: 27px; top: 0; width: 3px; border-radius: 3px; }
.timeline::before { bottom: 0; background: var(--line); }
.timeline__fill { height: calc(var(--p, 0) * 100%); background: linear-gradient(var(--gold-hi), var(--gold)); box-shadow: 0 0 18px rgba(201,162,39,.8); }
.tl { position: relative; display: flex; gap: 26px; padding-bottom: 48px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot {
  position: relative; z-index: 1; flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--line);
  font: 700 21px var(--serif); color: var(--muted); transition: all .5s var(--ease);
}
.tl.on .tl__dot { background: var(--ink); color: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(201,162,39,.18); }
.tl__box { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 26px; box-shadow: 0 14px 40px -28px rgba(0,0,0,.35); }
.tl__box h3 { font: 700 22px var(--serif); margin-bottom: 6px; }
.tl__box p { color: var(--muted); }
@media (max-width: 760px) {
  .timeline::before, .timeline__fill { left: 21px; }
  .tl { gap: 16px; }
  .tl__dot { width: 46px; height: 46px; font-size: 17px; }
}

/* ---------- Tilt + glare (shared) ---------- */
.tilt { position: relative; transform-style: preserve-3d; transition: transform .25s var(--ease), box-shadow .3s; will-change: transform; }
.glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.6), transparent 45%);
}
.tilt.active .glare { opacity: 1; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; perspective: 1200px; }
.pkg {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 18px 44px -30px rgba(0,0,0,.4);
}
.pkg:hover { box-shadow: 0 30px 60px -28px rgba(142,111,20,.55); }
.pkg__thumb {
  position: relative; height: 190px; display: flex; align-items: flex-start; justify-content: space-between;
  padding: 20px; overflow: hidden; background: linear-gradient(135deg, #17171a, #2b2410);
}
.pkg__thumb::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -110px; right: -70px;
  background: radial-gradient(circle, rgba(242,214,117,.55), transparent 65%);
}
.pkg__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px);
}
.pkg__sym {
  position: relative; z-index: 1; align-self: flex-end; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(120deg, var(--gold), var(--gold-hi)); color: var(--ink);
  box-shadow: 0 14px 30px -8px rgba(0,0,0,.6); transform: translateZ(40px);
}
.pkg__sym svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pkg__thumb .save { position: relative; z-index: 1; }
.pkg__body { padding: 24px; display: flex; flex-direction: column; }
.pkg h3 { font: 700 24px/1.2 var(--serif); }
.pkg__desc { color: var(--muted); margin-top: 8px; font-size: 15px; min-height: 3.2em; } /* 2 lines keeps prices aligned */
.pkg__meta { display: flex; gap: 10px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pkg__price { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.pkg__price-note { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: auto; }
.pkg__actions { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.pkg__toggle {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; padding: 10px; font-size: 14px; font-weight: 700; color: var(--gold-lo);
}
.pkg__toggle:hover { color: var(--ink); }
.pkg__toggle .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .3s var(--ease); }
.pkg__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.pkg__courses { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.pkg__courses.is-open { grid-template-rows: 1fr; }
.pkg__courses > div { overflow: hidden; }
.pkg__courses-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lo); margin: 10px 0 4px; }
.course { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pkg__courses-label + .course { border-top: 0; }
.course__name { font-weight: 700; color: var(--ink); }
.course__hrs { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.course__price { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.course__buy {
  height: 30px; padding: 0 13px; border-radius: 99px; font-size: 12px; font-weight: 700;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background .2s, color .2s;
}
.course__buy:hover { border-color: var(--gold); }
.course__buy.is-added { background: var(--ink); border-color: var(--ink); color: var(--gold-hi); }

@media (max-width: 1024px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .packages { grid-template-columns: 1fr; } }

/* Schools: grouped package rows */
.school-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.school-nav a {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 700; color: var(--ink); transition: border-color .2s, background .2s;
}
.school-nav a:hover { border-color: var(--gold); background: var(--soft); }
.school { scroll-margin-top: calc(var(--nav-h, 76px) + 24px); }
.school + .school { margin-top: 72px; }
.school__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px;
  padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.section .school__title { font: 700 clamp(22px, 3vw, 30px)/1.2 var(--serif); }
.school__count { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lo); }
.pkg__num { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lo); margin-bottom: 6px; }
.course__name { overflow-wrap: anywhere; }

/* Single wide card (Start Here, Get Paid & Grow) */
.packages--wide { grid-template-columns: 1fr; }
.pkg--wide { flex-direction: row; }
.pkg--wide .pkg__thumb { width: 280px; height: auto; min-height: 200px; flex: none; }
.pkg--wide .pkg__body { flex: 1; min-width: 0; }
.pkg--wide .pkg__desc { min-height: 0; max-width: 640px; }
.pkg--wide .pkg__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
.pkg--wide .pkg__actions .btn--block { width: auto; }
/* Package with a photo instead of the icon */
/* Photo and overlay share the same centre crop, so the logos stay on his head. */
.pkg__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.pkg--photo .pkg__thumb { align-items: flex-end; }
.pkg--photo .pkg__thumb::before { display: none; }
.pkg--photo .pkg__thumb::after { background: linear-gradient(0deg, rgba(14,14,16,.6), transparent 40%); }
.pkg--wide.pkg--photo .pkg__thumb { width: 400px; }

/* Tool logos linked to the learner's head */
.pkg__overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.tool__line { fill: none; stroke: #F2D675; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; filter: drop-shadow(0 0 6px rgba(242,214,117,.9)); animation: tool-flow 1.4s linear infinite; }
.tool__spark { fill: #F2D675; filter: drop-shadow(0 0 10px #F2D675); transform-box: fill-box; transform-origin: center; animation: tool-pulse 1.8s ease-in-out infinite; }
.tool__disc { fill: #0E0E10; stroke: #E9C64F; stroke-width: 4; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)); }
.tool { animation: tool-float 4s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes tool-flow { to { stroke-dashoffset: 32; } }  /* dots travel from the logos into his head */
@keyframes tool-pulse { 50% { transform: scale(1.5); opacity: .7; } }
@keyframes tool-float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .tool, .tool__line, .tool__spark { animation: none; } }

@media (max-width: 680px) {
  .pkg--wide.pkg--photo .pkg__thumb { width: auto; height: auto; aspect-ratio: 3 / 2; }
  .pkg--wide { flex-direction: column; }
  .pkg--wide .pkg__thumb { width: auto; min-height: 0; height: 140px; }
  .pkg--wide .pkg__actions { flex-direction: column; align-items: stretch; }
  .pkg--wide .pkg__actions .btn--block { width: 100%; }
}

/* ---------- Method (dark) ---------- */
.method {
  color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 520px at 80% 30%, rgba(201,162,39,.28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(201,162,39,.12), transparent 60%),
    #0A0A0C;
}
.method h2 { color: #fff; }
.method .section__lead { color: #b9b9c0; }
.method .eyebrow { color: var(--gold-hi); }
.method__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.points { display: grid; gap: 14px; margin-top: 34px; }
.point {
  display: flex; gap: 16px; padding: 18px 20px; border: 1px solid #26262b; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.point:hover { border-color: var(--gold); transform: translateX(6px); }
.point b {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(120deg, var(--gold), var(--gold-hi)); color: var(--ink); font: 800 16px var(--sans);
}
.point h3 { color: #fff; font: 700 18px var(--serif); margin-bottom: 2px; }
.point p { color: #a9a9b2; font-size: 15px; }

.prism-wrap { position: relative; perspective: 1300px; height: 420px; display: grid; place-items: center; }
.prism { position: relative; width: 230px; height: 300px; transform-style: preserve-3d; animation: spin 20s linear infinite; }
.prism:hover { animation-play-state: paused; }
@keyframes spin { from { transform: rotateX(-8deg) rotateY(0); } to { transform: rotateX(-8deg) rotateY(360deg); } }
.face {
  position: absolute; inset: 0; border-radius: 26px; padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(242,214,117,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 50px -10px rgba(201,162,39,.45), inset 0 0 40px rgba(201,162,39,.08);
  backface-visibility: hidden;
}
.face:nth-child(1) { transform: rotateY(0deg) translateZ(150px); }
.face:nth-child(2) { transform: rotateY(120deg) translateZ(150px); }
.face:nth-child(3) { transform: rotateY(240deg) translateZ(150px); }
.face__big { font: 700 52px/1 var(--serif); color: var(--gold-hi); }
.face h4 { color: #fff; font: 700 23px var(--serif); margin-bottom: 6px; }
.face p { font-size: 14px; color: #c8c8cf; }
.prism-floor { position: absolute; bottom: 20px; width: 340px; max-width: 90%; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(201,162,39,.35), transparent 70%); filter: blur(10px); }
@media (max-width: 900px) {
  .method__grid { grid-template-columns: 1fr; }
  .prism-wrap { order: -1; height: 380px; }
  .prism { scale: .86; }
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 40px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 20px 50px -34px rgba(120,90,10,.45);
}
.plan--featured {
  background: linear-gradient(160deg, #fff, var(--champagne));
  border: 1.5px solid var(--gold); box-shadow: 0 30px 70px -34px rgba(142,111,20,.6);
}
.plan__badge {
  position: absolute; top: -14px; left: 40px; padding: 6px 14px; border-radius: 99px;
  background: var(--ink); color: var(--gold-hi); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.plan h3 { font: 700 28px var(--serif); }
.plan__desc { color: var(--muted); margin-top: 8px; }
.plan__price { margin: 28px 0; font: 800 42px/1 var(--sans); color: var(--ink); letter-spacing: -.03em; }
.plan__price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; flex: 1; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2D675' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat;
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; gap: 32px; }
  .plan { padding: 32px 24px; }
  .plan__badge { left: 24px; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.quote {
  margin: 0; padding: 34px 30px; border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: linear-gradient(160deg, #fff, var(--champagne)); border: 1px solid var(--line);
  box-shadow: 0 20px 50px -30px rgba(120,90,10,.45);
}
.quote blockquote { margin: 0; font: 600 20px/1.45 var(--serif); color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.quote strong { color: var(--ink); }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-hi); font-size: 13px; font-weight: 800; border: 1.5px solid var(--gold);
}
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 6px 28px; box-shadow: 0 20px 50px -36px rgba(0,0,0,.3); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item h3 { font: inherit; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: 0; padding: 22px 0; text-align: left;
  font: 700 19px var(--serif); color: var(--ink);
}
.faq__q:hover { color: var(--gold-lo); }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--champagne); transition: background .3s; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; margin-top: -1px;
  background: var(--gold-lo); transition: transform .3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--ink); }
.faq__q[aria-expanded="true"] .faq__icon::before,
.faq__q[aria-expanded="true"] .faq__icon::after { background: var(--gold-hi); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__a p { padding: 0 48px 22px 0; color: var(--muted); }
@media (max-width: 520px) { .faq { padding: 4px 18px; } .faq__q { font-size: 17px; } .faq__a p { padding-right: 0; } }

/* ---------- Final CTA ---------- */
.join { background: var(--champagne); }
.signup {
  position: relative; overflow: hidden; text-align: center;
  background: var(--ink); color: #fff; border-radius: 34px; padding: 72px 28px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.signup::before {
  content: ""; position: absolute; left: 50%; top: -340px; width: 520px; height: 520px; border-radius: 50%;
  transform: translateX(-50%); background: radial-gradient(circle, rgba(242,214,117,.35), transparent 65%);
}
.signup > * { position: relative; }
.signup h2 { color: #fff; max-width: 680px; margin: 0 auto; font-size: clamp(34px, 5.4vw, 60px); }
.signup p { color: #bdbdc4; max-width: 500px; margin: 16px auto 32px; font-size: 17px; }
@media (max-width: 760px) { .signup { padding: 52px 20px; border-radius: 26px; } }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 60px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 14px; max-width: 30ch; }
.footer h4 { font: 800 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lo); margin-bottom: 14px; }
.footer__grid a:not(.brand) { display: block; color: var(--muted); padding: 4px 0; }
.footer__grid a:not(.brand):hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; margin-left: auto; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); transition: background .3s; }
.socials a:hover { background: var(--gold-lo); }
.socials svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .socials { margin-left: 0; }
}

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,12,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .25s var(--ease); }
.modal__panel {
  position: relative; width: 100%; max-width: 430px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: radial-gradient(500px 220px at 50% -60px, rgba(242,214,117,.3), transparent 70%), #fff;
  border-radius: 28px; padding: 40px 36px 32px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  animation: pop .35s var(--ease);
}
.modal__mark { width: 52px; height: 52px; margin-bottom: 18px; filter: drop-shadow(0 8px 14px rgba(142,111,20,.4)); }
.modal__panel h2 { font: 700 32px/1.1 var(--serif); }
.modal__panel > .muted { margin-top: 8px; font-size: 15px; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--soft); font-size: 20px; line-height: 1; color: var(--muted);
}
.modal__close:hover { color: var(--ink); }
.modal__switch { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.form { display: grid; gap: 16px; margin-top: 28px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.form input {
  height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font: 500 16px var(--sans); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.2); }
.form input.is-invalid { border-color: #C4321F; }
.form .btn { margin-top: 8px; }
.form__msg { font-size: 14px; text-align: center; min-height: 1.2em; color: var(--muted); }
.form__msg.is-error { color: #C4321F; }
.form__msg.is-ok { color: var(--gold-lo); font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 250; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 99px; text-align: center;
  background: var(--ink); color: #fff; font-size: 14px; border: 1px solid rgba(242,214,117,.4);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal { opacity: 0; transform: translateY(34px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Tilt elements manage their own transform once visible */
.js .tilt.reveal.is-visible { transition: transform .25s var(--ease), box-shadow .3s, opacity .9s var(--ease); }

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