/* ==========================================================
   Amr Zanaty | Mind Over Math
   Brand: black + gold (from the logo)
   ========================================================== */
:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-alt: #111114;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --line: #2a2a31;
  --line-soft: #202026;
  --text: #f6f3ec;
  --muted: #a9a59b;
  --gold: #f2b71e;
  --gold-hi: #ffe68a;
  --gold-lo: #c48a0a;
  --gold-grad: linear-gradient(180deg, #ffe68a 0%, #f2b71e 48%, #c48a0a 100%);
  --steel: #8a8b92;
  --danger: #ff6b5b;
  --ok: #4fd18b;
  --radius: 16px;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; font-stretch: 92%; }
h2 em, h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1em; }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: 1em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #1a1204; box-shadow: 0 8px 28px rgba(242, 183, 30, .28); }
.btn-gold:hover { box-shadow: 0 12px 34px rgba(242, 183, 30, .4); }
.btn-line { border-color: rgba(246, 243, 236, .35); color: var(--text); background: rgba(255,255,255,.02); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(16px, calc((100% - 1180px) / 2));
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 10, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-soft); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.brand-text small { color: var(--gold); font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; font: 700 .9rem var(--sans); color: var(--text); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: .55em 1.1em; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: rgba(10,10,12,.97); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav-links .btn { margin-top: 16px; }
  .nav.menu-open { background: rgba(10,10,12,.97); }
}

/* ================= HERO ================= */
.hero { position: relative; }
.hero-stage { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 40px) 16px 64px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(242,183,30,.16), transparent 70%),
    radial-gradient(40% 40% at 85% 90%, rgba(138,139,146,.12), transparent 70%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 80%);
          mask-image: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 80%);
}
.sym { position: absolute; font-family: var(--display); font-weight: 800; color: var(--gold); opacity: .09; font-size: clamp(3rem, 8vw, 7rem); line-height: 1; will-change: transform; }
.s1 { top: 14%; left: 7%; } .s2 { top: 18%; right: 9%; } .s3 { bottom: 16%; left: 12%; }
.s4 { bottom: 12%; right: 14%; } .s5 { top: 48%; left: 2%; font-size: clamp(2rem, 5vw, 4rem); } .s6 { top: 54%; right: 3%; font-size: clamp(1.4rem, 3vw, 2.6rem); }

.hero-intro { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-name {
  font-family: var(--display); font-weight: 900; font-stretch: 100%;
  font-size: clamp(3rem, 8.6vw, 8.8rem); line-height: .95; letter-spacing: -0.025em;
  margin: 0 0 .28em; display: flex; flex-wrap: wrap; justify-content: center; column-gap: .24em;
}
.hero-name .word { display: inline-flex; white-space: nowrap; }
.hero-name .ch {
  display: inline-block; will-change: transform, opacity;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(242,183,30,.18));
}
.hero-name .word-eng .ch { background: none; color: var(--text); -webkit-text-fill-color: currentColor; filter: none; font-weight: 500; font-stretch: 90%; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 500; color: var(--text); margin-bottom: 1.6em; }
.hero-sub span { color: var(--muted); font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.scroll-hint { margin: 40px 0 0; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-hint .ic { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; color: var(--gold); }
@keyframes bob { 50% { transform: translateY(5px); } }

.hero-grid {
  position: relative; margin: 56px auto 0; width: min(1180px, 100%);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hero-card {
  position: relative; border-radius: var(--radius); padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(29,29,34,.92), rgba(18,18,22,.92));
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  display: flex; flex-direction: column; justify-content: center; will-change: transform, opacity;
}
.hero-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(242,183,30,.55), transparent 40%, transparent 70%, rgba(242,183,30,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hc-value { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; margin: 0 0 .22em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.hc-value span { font-size: .5em; font-weight: 700; }
.hc-label { font-weight: 700; font-size: 1.05rem; margin: 0 0 .2em; }
.hc-sub { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.4; }
.hero-ident { grid-column: 2; grid-row: 2; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; will-change: transform, opacity; }
.hero-ident img { width: clamp(64px, 7vw, 96px); height: auto; margin-bottom: 10px; filter: drop-shadow(0 8px 24px rgba(242,183,30,.3)); }
.hi-name { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin: 0; line-height: 1.1; }
.hi-tag { color: var(--gold); font-weight: 600; margin: 4px 0 14px; letter-spacing: .04em; }

/* Animated (pinned) hero */
.hero-anim .hero { height: 310vh; }
.hero-anim .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; }
.hero-anim .hero-intro { position: absolute; inset: var(--nav-h) 16px 0; justify-content: center; padding-bottom: 4vh; }
.hero-anim .hero-grid {
  position: absolute; inset: calc(var(--nav-h) + 12px) 0 20px; margin: 0 auto; padding: 0 16px;
  grid-template-rows: repeat(3, minmax(0, 210px)); align-content: center;
}
.hero-anim .hero-card, .hero-anim .hero-ident { opacity: 0; }
.hero-anim .hero-card { padding: clamp(14px, 2.2vh, 24px) 22px; }

@media (max-width: 720px) {
  .hero-name { font-size: 17vw; flex-direction: column; align-items: center; row-gap: .02em; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-ident { display: none; }
  .hero-card { padding: 14px; border-radius: 12px; }
  .hc-value { font-size: clamp(1.5rem, 7.5vw, 2.1rem); }
  .hc-label { font-size: .9rem; }
  .hc-sub { font-size: .78rem; }
  .hero-anim .hero-grid { grid-template-rows: repeat(4, minmax(0, 150px)); }
  .hero-anim .hero-card { padding: 12px 14px; }
  .sym { opacity: .06; }
}
@media (max-width: 720px) and (max-height: 700px), (max-height: 560px) {
  .hero-anim .hc-sub { display: none; }
}

/* ================= SCHOOLS ================= */
.schools { border-block: 1px solid var(--line-soft); background: var(--bg-alt); padding: 26px 0 30px; overflow: hidden; }
.schools-title { text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem); white-space: nowrap; color: var(--text); opacity: .82; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "\2726"; color: var(--gold); font-size: .8em; opacity: .9; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= ABOUT ================= */
.about { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid rgba(242,183,30,.45); border-radius: 22px; z-index: -1; }
.about-photo figcaption { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; background: rgba(10,10,12,.82); backdrop-filter: blur(8px); padding: 8px 14px 8px 10px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--gold-hi); border: 1px solid var(--line); }
.about-photo figcaption img { width: 34px; height: auto; }
.about-quote { margin: 28px 0; padding: 22px 24px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.about-quote p { font-style: italic; margin-bottom: .6em; }
.about-quote footer { color: var(--gold); font-weight: 700; font-size: .9rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; }
.facts dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ================= RESULTS ================= */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.result-feature {
  grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 340px;
  background: radial-gradient(80% 70% at 80% 10%, rgba(242,183,30,.25), transparent 60%), linear-gradient(180deg, #1d1a12, #121113);
  border-color: rgba(242,183,30,.4);
}
.r-badge { display: inline-block; align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(242,183,30,.4); border-radius: 999px; padding: .35em .9em; margin-bottom: 18px; }
.r-value { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin: 0 0 .25em; letter-spacing: -0.02em; }
.r-value span { font-size: .5em; color: var(--muted); }
.result-feature .r-value { font-size: clamp(4rem, 9vw, 7.5rem); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-feature .r-value span { color: inherit; }
.r-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin: 0 0 .25em; }
.result-feature .r-name { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.r-meta { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 1000px) { .results { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .results { grid-template-columns: 1fr; } .result-feature { grid-column: auto; grid-row: auto; min-height: 260px; } }

/* ================= COURSES ================= */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.course:hover { border-color: rgba(242,183,30,.5); transform: translateY(-3px); }
.course header { margin-bottom: 10px; }
.lvl { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #1a1204; background: var(--gold-grad); padding: .35em .8em; border-radius: 6px; margin-bottom: 12px; }
.course h3 { font-size: 1.45rem; font-weight: 800; margin: 0; }
.course > p { color: var(--muted); font-size: .96rem; }
.boards { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.boards div { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px; }
.boards h4 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.boards p { margin: 0; font-size: .88rem; line-height: 1.45; }
.course-cta { justify-content: center; background: linear-gradient(160deg, rgba(242,183,30,.14), rgba(242,183,30,.03)); border-color: rgba(242,183,30,.35); }
.course-cta p { color: var(--text); opacity: .85; }
.course-cta .btn { align-self: flex-start; }
.formats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.formats li { background: var(--bg-alt); padding: 20px 22px; }
.formats strong { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 2px; }
.formats span { color: var(--muted); font-size: .9rem; }
@media (max-width: 1000px) { .courses { grid-template-columns: repeat(2, 1fr); } .formats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .courses { grid-template-columns: 1fr; } .formats { grid-template-columns: 1fr; } }

/* ================= FEATURES ================= */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.features .ic { width: 42px; height: 42px; padding: 9px; border-radius: 12px; color: var(--gold); background: rgba(242,183,30,.1); border: 1px solid rgba(242,183,30,.25); margin-bottom: 16px; }
.features h3 { margin-bottom: .3em; }
.features p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ================= STEPS ================= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { position: relative; padding: 26px 22px; border-top: 2px solid var(--gold); background: linear-gradient(180deg, var(--surface), transparent); border-radius: 0 0 var(--radius) var(--radius); }
.steps .n { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); display: block; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ================= QUOTE BAND ================= */
.quote-band { padding: clamp(80px, 11vw, 140px) 0; text-align: center; background: radial-gradient(60% 80% at 50% 50%, rgba(242,183,30,.12), transparent 70%), var(--bg); border-top: 1px solid var(--line-soft); }
.qb-kicker { display: inline-block; font-family: var(--display); font-weight: 800; color: #1a1204; background: var(--gold-grad); padding: .35em .9em; border-radius: 8px; transform: rotate(-2deg); font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 28px; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--display); font-weight: 700; font-stretch: 94%; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.2; letter-spacing: -0.01em; }
.qb-sign { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; margin: 0; }

/* ================= REGISTER ================= */
.register { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.register-info { position: sticky; top: calc(var(--nav-h) + 24px); }
.reg-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.reg-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.reg-points li::before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--gold-grad); color: #1a1204; font-size: .75rem; font-weight: 900; }
.wa-inline { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; transition: border-color .2s; }
.wa-inline:hover { border-color: var(--ok); }
.wa-inline .ic { width: 30px; height: 30px; color: var(--ok); }
.wa-inline span { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.wa-inline strong { color: var(--text); font-size: 1.05rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 38px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-family: var(--display); font-weight: 800; font-size: 1.1rem; padding: 0; margin-bottom: 14px; color: var(--gold-hi); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; min-width: 0; }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.req { color: var(--gold); }
.opt { color: var(--muted); font-weight: 400; }
.hint { color: var(--muted); font-size: .84rem; margin: -4px 0 0; }
input, select, textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: .8em .95em;
  transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b71e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: #6f6c66; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,183,30,.18); }
.invalid { border-color: var(--danger) !important; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { margin: 0; cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: .8em; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; transition: all .2s; }
.seg input:checked + span { border-color: var(--gold); background: rgba(242,183,30,.1); color: var(--gold-hi); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; margin-top: 6px; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--gold); }
.consent.invalid { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1.4em; margin: 0 0 12px; }
button[disabled] { opacity: .6; cursor: progress; transform: none; }
.success { text-align: center; padding: 24px 8px; }
.success img { margin: 0 auto 18px; }
.success h3 { font-size: 1.8rem; }
.success p { color: var(--muted); }
.success .btn { margin-top: 6px; }
.demo-note { font-size: .88rem; border: 1px dashed var(--line); border-radius: 10px; padding: 10px; }
.link-btn { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--gold); font: 600 .95rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .register { grid-template-columns: 1fr; } .register-info { position: static; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 0; } }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; min-width: 0; }
a.contact-card:hover { border-color: rgba(242,183,30,.55); transform: translateY(-3px); }
.contact-card > .ic { width: 28px; height: 28px; color: var(--gold); margin-bottom: 10px; }
.cc-label { color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.cc-value { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.social-row { display: flex; gap: 10px; margin: 8px 0 6px; }
.social-row a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); transition: all .2s; }
.social-row a:hover { color: #1a1204; background: var(--gold-grad); border-color: transparent; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* ================= FOOTER ================= */
.footer { border-top: 1px solid var(--line-soft); padding: 40px 0 48px; background: var(--bg-alt); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand strong { font-family: var(--display); font-size: 1.1rem; }
.footer-brand span { color: var(--gold); font-size: .85rem; font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: .88rem; margin: 0; }
.footer-copy a { color: var(--muted); }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #0a2e17; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 28px; height: 28px; stroke-width: 2; }

/* ==========================================================
   MOTION
   ========================================================== */
:root { --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-io: cubic-bezier(.7, 0, .2, 1); }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(242,183,30,.6); }

/* Page-load: nav drops in, the name's letters rise one by one, then the rest */
.nav { animation: navIn .9s var(--ease-out) .1s backwards; }
@keyframes navIn { from { transform: translateY(-100%); opacity: 0; } }
.hero-name .ch { animation: chIn 1.1s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 55ms + 200ms); }
@keyframes chIn { from { opacity: 0; transform: translateY(55%) rotate(8deg) scale(.9); } }
.hero-extra { animation: fadeUp 1s var(--ease-out) backwards; }
.hero-intro > .eyebrow { animation-delay: .1s; }
.hero-sub { animation-delay: .95s; }
.hero-cta { animation-delay: 1.1s; }
.scroll-hint { animation-delay: 1.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes fadeIn { from { opacity: 0; } }
.hero-bg { animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }
.sym { animation: floaty 7s ease-in-out infinite; }
.s2 { animation-duration: 9s; animation-delay: -2s; } .s3 { animation-duration: 8s; animation-delay: -4s; }
.s4 { animation-duration: 10s; animation-delay: -1s; } .s5 { animation-duration: 6s; } .s6 { animation-duration: 11s; animation-delay: -5s; }
@keyframes floaty { 50% { translate: 0 -18px; rotate: 6deg; } }

/* Entrance animations (added by js/motion.js) */
[data-m] { opacity: 0; transition: opacity .9s ease, transform 1.1s var(--ease-out), clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0ms); }
[data-m="up"] { transform: translate3d(0, 44px, 0); }
[data-m="left"] { transform: translate3d(-70px, 0, 0); }
[data-m="right"] { transform: translate3d(70px, 0, 0); }
[data-m="rise"] { transform: perspective(1000px) translate3d(0, 80px, 0) rotateX(16deg); transform-origin: 50% 100%; }
[data-m="pop"] { transform: translate3d(0, 30px, 0) scale(.86); }
[data-m="stamp"] { transform: rotate(-14deg) scale(1.8); transition-timing-function: ease, cubic-bezier(.3, 1.6, .5, 1); }
[data-m="clip"] { opacity: 1; clip-path: inset(0 0 100% 0); }
[data-m].in { opacity: 1; transform: none; }
[data-m="stamp"].in { transform: rotate(-2deg); }
[data-m="clip"].in { clip-path: inset(-40px -40px -40px -40px); }

/* Headings rise word by word */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transform: translate3d(0, 110%, 0) rotate(5deg); transform-origin: 0 100%; transition: transform 1s var(--ease-out); }
.split.in .wi { transform: none; }
.split em { background: none; color: inherit; }
.split em .wi { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Eyebrow: a gold line draws in first */
.eb-line { opacity: 0; transform: translateX(-10px); transition: opacity .7s ease, transform .8s var(--ease-out); }
.eb-line::before { content: ""; display: inline-block; vertical-align: middle; width: 0; height: 2px; margin-right: 0; background: var(--gold-grad); transition: width .7s var(--ease-out) .15s, margin .7s var(--ease-out) .15s; }
.eb-line.in { opacity: 1; transform: none; }
.eb-line.in::before { width: 32px; margin-right: 12px; }

/* About photo: wipe reveal + parallax inside the frame */
.photo-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.5); aspect-ratio: 440 / 512; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.about-photo figcaption { transition: transform .8s var(--ease-out) .9s, opacity .8s ease .9s; }
.about-photo[data-m] figcaption { opacity: 0; transform: translateY(14px); }
.about-photo.in figcaption { opacity: 1; transform: none; }
.about-quote { position: relative; }
.about-quote::before { content: ""; position: absolute; left: -3px; top: 0; width: 3px; height: 100%; background: var(--gold-grad); transform-origin: top; transform: scaleY(0); transition: transform 1.1s var(--ease-out) .4s; }
.about-quote.in::before { transform: scaleY(1); }
.about-quote { border-left-color: var(--line); }

/* Floating section symbols (parallax) */
.has-sym { position: relative; overflow: clip; }
.has-sym > .wrap { position: relative; z-index: 1; }
.fsym { position: absolute; z-index: 0; pointer-events: none; font-family: var(--display); font-weight: 900; line-height: 1; color: var(--gold); opacity: .05; font-size: clamp(8rem, 18vw, 16rem); will-change: transform; }
.fs-a { top: 4%; right: 3%; } .fs-b { bottom: 6%; left: 2%; font-size: clamp(5rem, 12vw, 11rem); }
.fs-c { top: 8%; left: -2%; } .fs-d { bottom: 4%; right: 2%; }
.fs-e { top: 10%; right: 4%; } .fs-f { bottom: 10%; left: 1%; }

/* Results: shine sweep on the feature card */
.result { position: relative; transition: transform .35s ease, border-color .3s ease; }
.result-feature { overflow: hidden; }
.result-feature::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,230,138,.16) 50%, transparent 62%); background-size: 260% 100%; animation: sweep 5.5s ease-in-out infinite; }
@keyframes sweep { from { background-position: 130% 0; } 55%, to { background-position: -130% 0; } }
.result:hover, .course:hover { border-color: rgba(242,183,30,.55); }

/* Features: icons draw themselves */
.features .ic { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-io) .35s, transform .4s var(--ease-out); }
.features li.in .ic { stroke-dashoffset: 0; }
.features li:hover .ic { transform: rotate(-8deg) scale(1.08); }

/* Steps: gold line fills as you scroll, numbers light up */
.steps li { border-top-color: var(--line); }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); box-shadow: 0 0 10px rgba(242,183,30,.5); }
.steps .n { transition: color .5s ease, transform .5s var(--ease-out), text-shadow .5s ease; }
.steps li.lit .n { color: var(--gold); transform: translateY(-3px); text-shadow: 0 0 24px rgba(242,183,30,.35); }

/* Quote: words light up with scroll */
.qw { display: inline; opacity: .14; transition: opacity .25s linear; }

/* Hover spotlight on cards */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242,183,30,.13), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* Buttons: shimmer */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-130%); transition: transform .8s var(--ease-out); }
.btn-gold:hover::after { transform: translateX(130%); }
.btn-shine::after { animation: autoShine 5s ease-in-out 2.5s infinite; }
.btn-shine:hover::after { animation: none; }
@keyframes autoShine { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
.btn { transition: transform .35s var(--ease-out), box-shadow .2s ease, background .2s ease, border-color .2s ease; }

/* Nav: active section underline */
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after, .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links.open a { animation: fadeUp .45s var(--ease-out) backwards; }
.nav-links.open a:nth-child(2) { animation-delay: .04s; } .nav-links.open a:nth-child(3) { animation-delay: .08s; }
.nav-links.open a:nth-child(4) { animation-delay: .12s; } .nav-links.open a:nth-child(5) { animation-delay: .16s; } .nav-links.open a:nth-child(6) { animation-delay: .2s; }
@media (max-width: 900px) { .nav-links a:not(.btn)::after { bottom: 8px; right: auto; width: 28px; } }

/* Form: labels glow on focus, success celebrates */
.field label, legend { transition: color .25s ease; }
.field:focus-within > label { color: var(--gold-hi); }
.success:not([hidden]) > * { animation: fadeUp .7s var(--ease-out) backwards; }
.success:not([hidden]) > img { animation: logoIn 1s var(--ease-out) backwards; }
.success > :nth-child(2) { animation-delay: .15s; } .success > :nth-child(3) { animation-delay: .25s; }
.success > :nth-child(4) { animation-delay: .35s; } .success > :nth-child(5) { animation-delay: .45s; } .success > :nth-child(6) { animation-delay: .55s; }
@keyframes logoIn { from { opacity: 0; transform: scale(.4) rotate(-20deg); } 60% { transform: scale(1.12) rotate(4deg); } }

/* Contact icons + WhatsApp button */
.contact-card > .ic { transition: transform .45s var(--ease-out); }
.contact-card:hover > .ic { transform: translateY(-3px) rotate(-10deg) scale(1.12); }
.social-row a:hover .ic { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }
.wa-float { animation: waIn .8s var(--ease-out) 1.8s backwards; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.8s ease-out 3s infinite; }
@keyframes waIn { from { opacity: 0; transform: scale(.3) translateY(30px); } }
@keyframes ring { from { transform: scale(1); opacity: .7; } 70%, to { transform: scale(1.7); opacity: 0; } }

/* ---------- Calm mode: fades only, nothing flies around ---------- */
.calm [data-m], .calm [data-m].in { transform: none; }
.calm [data-m="clip"] { opacity: 0; clip-path: none; }
.calm [data-m="clip"].in { opacity: 1; }
.calm .split .wi { transform: none; opacity: 0; transition: opacity .8s ease; }
.calm .split.in .wi { opacity: 1; }
.calm .eb-line { transform: none; }
.calm .hero-name .ch { animation-name: fadeIn; }
.calm .hero-extra, .calm .success:not([hidden]) > *, .calm .nav-links.open a { animation-name: fadeIn; }
.calm .nav, .calm .wa-float { animation: fadeIn .8s ease backwards; }
.calm .sym, .calm .hero-bg, .calm .marquee-track, .calm .scroll-hint .ic,
.calm .result-feature::before, .calm .btn-shine::after, .calm .wa-float::before { animation: none; }
.calm .features .ic { stroke-dashoffset: 0; }
html.calm { scroll-behavior: auto; }

/* Fees shown in the registration section (filled in from the console) */
.fees { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 28px; }
.fees h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--gold-hi); }
.fees ul { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.fees li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-bottom: 1px dashed var(--line-soft); padding-bottom: 8px; }
.fees li:last-child { border-bottom: 0; }
.fees strong { font-family: var(--display); color: var(--gold-hi); white-space: nowrap; }
.fees .fine { color: var(--muted); font-size: .85rem; margin: 0; }
