/* ==========================================================================
   CRYSTALSKILL — APP DESIGN SYSTEM  (v2)
   Midnight + champagne gold, matched to the course artwork.
   Mobile-first: on phones the site behaves like an Android app —
   app bar on top, tab bar at the bottom, bottom sheets, swipe rows.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  /* palette */
  --night:#0B0A10; --night-2:#14121C; --night-3:#1E1B29; --night-line:rgba(255,255,255,.09);
  --bg:#F8F5EF; --bg-2:#F1ECE2; --surface:#FFFFFF; --line:#E7E0D3;
  --ink:#16141D; --ink-2:#4B4757; --muted:#827D8E;
  --gold:#C9A45C; --gold-2:#E6C983; --gold-3:#F6E7C1; --gold-deep:#8F6C2A;
  --cyan:#45C6E6; --green:#16A36A; --green-bg:#E7F6EE; --red:#D9443F; --red-bg:#FCEBEA; --wa:#25D366;
  --grad-gold:linear-gradient(135deg,#F1D79A 0%,#C9A45C 45%,#A8823E 100%);
  /* type */
  --f-display:'Fraunces', Georgia, serif;
  --f-ui:'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* shape */
  --r-sm:10px; --r:16px; --r-lg:24px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(22,20,29,.06), 0 4px 14px rgba(22,20,29,.06);
  --sh-2:0 10px 40px -12px rgba(22,20,29,.25);
  --sh-gold:0 10px 30px -8px rgba(201,164,92,.55);
  --ease:cubic-bezier(.22,1,.36,1);
  --wrap:1200px; --gut:20px;
  --topbar-h:68px; --tabbar-h:0px; --annbar-h:0px;

  /* legacy token names (used by whatsapp.css / player.css) */
  --gutter:var(--gut); --radius:12px; --radius-sm:8px; --ease-soft:var(--ease); --dur-fast:.25s;
  --onyx:var(--night); --onyx-2:var(--night-2); --onyx-3:var(--night-3);
  --gold-light:var(--gold-2); --t1:#fff; --t2:#B9B4C5; --td1:var(--ink); --td2:var(--ink-2);
  --ivory:#fff; --white:#fff; --cream:var(--bg); --font-serif:var(--f-display); --font-sans:var(--f-ui);
  --font-mono:ui-monospace,'SFMono-Regular',Menlo,monospace; --danger:var(--red); --emerald:var(--green);
}
@media (max-width:900px){ :root{ --topbar-h:58px; --tabbar-h:68px; --gut:16px; } }
html.has-annbar{ --annbar-h:40px; }
@view-transition{ navigation:auto; }

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--f-ui); font-size:15.5px; line-height:1.6; color:var(--ink-2); background:var(--bg);
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
  padding-top:calc(var(--topbar-h) + var(--annbar-h));
  padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color:transparent;
}
img,video,iframe{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ cursor:pointer; background:none; border:0; }
ul{ list-style:none; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:6px; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
[hidden]{ display:none !important; }

/* ---------- layout ---------- */
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 var(--gut); }
.wrap--narrow{ max-width:780px; }
.sec{ padding:88px 0; position:relative; }
.sec--tight{ padding:56px 0; }
.sec--dark{ background:var(--night); color:var(--t2); }
.sec--soft{ background:var(--bg-2); }
.sec--white{ background:var(--surface); }
.sec--dark h1,.sec--dark h2,.sec--dark h3{ color:#fff; }
.grid{ display:grid; gap:24px; }
.g2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.g3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.g4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.stack{ display:flex; flex-direction:column; gap:12px; }
.row{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.center{ text-align:center; }
.mt-8{ margin-top:8px; } .mt-12{ margin-top:12px; } .mt-16{ margin-top:16px; } .mt-24{ margin-top:24px; } .mt-32{ margin-top:32px; } .mt-48{ margin-top:48px; }
@media (max-width:1000px){ .g4{ grid-template-columns:repeat(2,minmax(0,1fr)); } .g3{ grid-template-columns:repeat(2,minmax(0,1fr)); } .split{ grid-template-columns:minmax(0,1fr); gap:32px; } }
@media (max-width:640px){ .g2,.g3,.g4{ grid-template-columns:1fr; } .sec{ padding:52px 0; } .sec--tight{ padding:40px 0; } }

/* ---------- type ---------- */
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-deep); }
.sec--dark .eyebrow,.phead .eyebrow,.hero .eyebrow{ color:var(--gold-2); }
.eyebrow::before{ content:''; width:18px; height:2px; border-radius:2px; background:currentColor; }
.h1{ font-family:var(--f-display); font-weight:600; font-size:clamp(2.1rem,5vw,3.9rem); line-height:1.06; letter-spacing:-.02em; color:var(--ink); }
.h2{ font-family:var(--f-display); font-weight:600; font-size:clamp(1.65rem,3.4vw,2.6rem); line-height:1.12; letter-spacing:-.015em; color:var(--ink); }
.h3{ font-family:var(--f-ui); font-weight:700; font-size:1.12rem; line-height:1.35; color:var(--ink); }
.sec--dark .h1,.sec--dark .h2,.sec--dark .h3,.phead .h1,.hero .h1{ color:#fff; }
.h1 em,.h2 em{ font-style:italic; color:var(--gold); }
.lead{ font-size:1.12rem; line-height:1.7; }
.muted{ color:var(--muted); }
.small{ font-size:13px; }
.gold{ color:var(--gold-deep); } .sec--dark .gold{ color:var(--gold-2); }
.head{ max-width:720px; margin:0 auto 40px; text-align:center; }
.head .lead,.head p{ margin-top:12px; }
.head--left{ margin-left:0; text-align:left; }
.head-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:28px; flex-wrap:wrap; }
@media (max-width:640px){ .head{ margin-bottom:26px; } .lead{ font-size:1.02rem; } body{ font-size:15px; } }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:48px; padding:12px 24px; border-radius:12px;
  font-weight:700; font-size:15px; line-height:1.2; white-space:nowrap; text-align:center;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  user-select:none; -webkit-user-select:none;
}
.btn:active{ transform:scale(.97); }
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn--gold{ background:var(--grad-gold); color:#1A1408; box-shadow:var(--sh-gold); }
.btn--gold:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -10px rgba(201,164,92,.7); }
.btn--dark{ background:var(--ink); color:#fff; }
.btn--dark:hover{ background:#2A2633; transform:translateY(-2px); }
.btn--outline{ border:1.5px solid var(--line); color:var(--ink); background:var(--surface); }
.btn--outline:hover{ border-color:var(--ink); }
.btn--ghost-light{ border:1.5px solid rgba(255,255,255,.22); color:#fff; background:rgba(255,255,255,.04); }
.btn--ghost-light:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.btn--wa{ background:var(--wa); color:#fff; }
.btn--wa:hover{ background:#1EBE5A; }
.btn--sm{ min-height:40px; padding:8px 16px; font-size:13.5px; border-radius:10px; }
.btn--lg{ min-height:56px; padding:16px 30px; font-size:16px; border-radius:14px; }
.btn--block{ width:100%; }
.btn[disabled],.btn.is-loading{ opacity:.65; pointer-events:none; }
.link{ color:var(--gold-deep); font-weight:700; display:inline-flex; align-items:center; gap:6px; }
.link::after{ content:'→'; transition:transform .2s; }
.link:hover::after{ transform:translateX(4px); }
.sec--dark .link{ color:var(--gold-2); }
.shine{ position:relative; overflow:hidden; }
.shine::after{ content:''; position:absolute; top:0; left:-60%; width:40%; height:100%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent); transform:skewX(-20deg); animation:shine 3.6s ease-in-out infinite; }
@keyframes shine{ 0%,60%{ left:-60%; } 100%{ left:130%; } }

/* ---------- chips & badges ---------- */
.chip{ display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:var(--r-pill); font-size:13px; font-weight:600; background:var(--surface); border:1px solid var(--line); color:var(--ink-2); white-space:nowrap; transition:all .2s; }
.chip.is-active,.chip:hover{ background:var(--ink); border-color:var(--ink); color:#fff; }
.chips{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }
.chips::-webkit-scrollbar{ display:none; }
.badge{ display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:var(--r-pill); font-size:11.5px; font-weight:700; letter-spacing:.02em; background:var(--gold-3); color:var(--gold-deep); }
.badge--dark{ background:rgba(11,10,16,.78); color:var(--gold-2); backdrop-filter:blur(6px); }
.badge--green{ background:var(--green-bg); color:var(--green); }
.badge--red{ background:var(--red-bg); color:var(--red); }
.badge--free{ background:var(--green); color:#fff; }

/* ---------- cards ---------- */
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:24px; box-shadow:var(--sh-1); }
.sec--dark .card{ background:var(--night-2); border-color:var(--night-line); box-shadow:none; }
.icon-tile{ width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:var(--gold-3); color:var(--gold-deep); margin-bottom:14px; }
.icon-tile svg{ width:24px; height:24px; }
.sec--dark .icon-tile{ background:rgba(201,164,92,.14); color:var(--gold-2); }
.feature p{ margin-top:6px; font-size:14.5px; }

/* ---------- price ---------- */
.price{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; }
.price__now{ font-family:var(--f-ui); font-weight:800; font-size:1.3rem; color:var(--ink); letter-spacing:-.01em; }
.price__mrp{ font-size:.92rem; color:var(--muted); }
.price__off{ font-size:11.5px; font-weight:800; color:var(--green); background:var(--green-bg); padding:2px 7px; border-radius:6px; }
.price__tax{ flex-basis:100%; font-size:11.5px; color:var(--muted); font-weight:600; }
.price__free{ font-weight:800; font-size:1.25rem; color:var(--green); }
.price--lg .price__now{ font-size:2.1rem; }
.price--lg .price__tax{ font-size:12.5px; }
.price--on-dark .price__now{ color:#fff; } .price--on-dark .price__mrp,.price--on-dark .price__tax{ color:var(--t2); }
.price--on-dark .price__off{ background:rgba(22,163,106,.18); color:#5BD49D; }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.annbar{ position:fixed; top:0; left:0; right:0; z-index:260; height:var(--annbar-h); background:linear-gradient(90deg,#7A1F1C,#B8322C 45%,#8F6C2A); color:#fff; display:flex; align-items:center; overflow:hidden; }
.annbar__inner{ flex:1; display:flex; align-items:center; justify-content:center; gap:10px; font-size:13.5px; font-weight:600; padding:0 44px 0 12px; white-space:nowrap; overflow:hidden; }
.annbar__inner b{ color:#FFE6A8; }
.annbar__cta{ background:#fff; color:#7A1F1C; font-weight:800; font-size:12px; padding:5px 11px; border-radius:var(--r-pill); }
.annbar__close{ position:absolute; right:6px; top:50%; transform:translateY(-50%); width:32px; height:32px; color:#fff; font-size:20px; opacity:.85; }
.annbar__sep{ opacity:.5; }
.annbar__long{ display:inline; }
@media (max-width:760px){ .annbar__long,.annbar__sep--1{ display:none; } .annbar__inner{ font-size:12.5px; gap:7px; justify-content:flex-start; } }
@media (max-width:380px){ .annbar__cta{ display:none; } }
html:not(.has-annbar) .annbar{ display:none; }

/* countdown */
.countdown{ display:inline-flex; gap:4px; font-variant-numeric:tabular-nums; }
.countdown__unit b{ font-weight:800; }
.countdown--boxes{ gap:8px; }
.countdown--boxes .countdown__box{ min-width:58px; padding:8px 6px; border-radius:12px; background:var(--night); color:#fff; text-align:center; }
.countdown--boxes .countdown__box b{ display:block; font-size:1.35rem; font-weight:800; line-height:1.1; }
.countdown--boxes .countdown__box span{ font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--t2); }
.countdown.is-over{ opacity:.5; }

/* seat meter */
.seats{ margin-top:12px; }
.seats__bar{ height:8px; border-radius:8px; background:rgba(22,20,29,.08); overflow:hidden; }
.seats__bar span{ display:block; height:100%; border-radius:8px; background:linear-gradient(90deg,var(--gold),#E0643F); transition:width .8s var(--ease); }
.seats__label{ margin-top:6px; font-size:12.5px; font-weight:600; color:var(--ink-2); }
.seats__label b{ color:var(--red); }
.sec--dark .seats__bar,.hero .seats__bar{ background:rgba(255,255,255,.12); }
.sec--dark .seats__label,.hero .seats__label{ color:var(--t2); }
.seat-pulse{ animation:seatPulse 1s ease; }
@keyframes seatPulse{ 0%{ transform:scale(1);} 40%{ transform:scale(1.35); color:var(--red);} 100%{ transform:scale(1);} }

/* offer strip (reusable urgency block) */
.offer{ display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; padding:26px 28px; border-radius:var(--r-lg); background:linear-gradient(120deg,#1B1622,#2A1F14); color:var(--t2); border:1px solid rgba(201,164,92,.25); position:relative; overflow:hidden; }
.offer::before{ content:''; position:absolute; right:-80px; top:-80px; width:240px; height:240px; border-radius:50%; background:radial-gradient(circle,rgba(201,164,92,.35),transparent 70%); }
.offer h3{ color:#fff; font-family:var(--f-display); font-size:1.45rem; font-weight:600; line-height:1.2; margin-top:6px; }
.offer .countdown--boxes .countdown__box{ background:rgba(255,255,255,.07); }
.offer__right{ display:flex; flex-direction:column; gap:12px; align-items:flex-end; position:relative; }
@media (max-width:760px){ .offer{ grid-template-columns:1fr; padding:22px 18px; } .offer__right{ align-items:stretch; } .offer .countdown--boxes{ justify-content:space-between; } }

/* ==========================================================================
   TOP BAR (desktop nav → app bar on phones)
   ========================================================================== */
.topbar{ position:fixed; top:var(--annbar-h); left:0; right:0; z-index:200; height:var(--topbar-h); background:rgba(11,10,16,.86); backdrop-filter:saturate(1.4) blur(16px); -webkit-backdrop-filter:saturate(1.4) blur(16px); border-bottom:1px solid var(--night-line); }
.topbar__in{ height:100%; display:flex; align-items:center; gap:18px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ width:38px; height:38px; border-radius:10px; object-fit:cover; background:#fff; }
.brand__txt{ display:flex; flex-direction:column; line-height:1.05; }
.brand__txt b{ font-family:var(--f-display); font-size:1.18rem; color:#fff; font-weight:600; letter-spacing:-.01em; }
.brand__txt b span{ color:var(--gold); font-style:italic; }
.brand__txt small{ font-size:10px; color:var(--t2); letter-spacing:.12em; text-transform:uppercase; font-weight:600; }
.nav{ display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav a{ padding:8px 12px; border-radius:10px; font-size:14px; font-weight:600; color:#D5D1DE; transition:all .2s; white-space:nowrap; }
.nav a:hover{ color:#fff; background:rgba(255,255,255,.06); }
.nav a.is-active{ color:var(--gold-2); }
.nav a.nav__demo{ color:#1A1408; background:var(--grad-gold); margin-left:4px; }
.nav__drop{ position:relative; }
.nav__drop > button{ padding:8px 12px; border-radius:10px; font-size:14px; font-weight:600; color:#D5D1DE; display:flex; align-items:center; gap:4px; }
.nav__drop > button:hover{ color:#fff; background:rgba(255,255,255,.06); }
.nav__menu{ position:absolute; top:calc(100% + 8px); right:0; min-width:210px; background:var(--night-2); border:1px solid var(--night-line); border-radius:14px; padding:8px; box-shadow:var(--sh-2); display:none; }
.nav__drop:hover .nav__menu,.nav__drop:focus-within .nav__menu{ display:block; }
.nav__menu a{ display:block; }
.topbar__actions{ display:flex; align-items:center; gap:8px; }
.topbar__login{ color:#fff; font-weight:600; font-size:14px; padding:8px 12px; border-radius:10px; }
.topbar__login:hover{ background:rgba(255,255,255,.06); }
.avatar{ width:36px; height:36px; border-radius:50%; background:var(--grad-gold); color:#1A1408; display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; overflow:hidden; flex-shrink:0; }
.avatar img{ width:100%; height:100%; object-fit:cover; }
.icon-btn{ width:40px; height:40px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; color:#fff; }
.icon-btn:hover{ background:rgba(255,255,255,.07); }
.icon-btn svg{ width:22px; height:22px; }
.topbar__menu-btn{ display:none; }
.topbar__title{ display:none; }
@media (max-width:1100px){ .nav a{ padding:8px 9px; font-size:13.5px; } }
@media (max-width:900px){
  .nav,.topbar__cta-desk{ display:none; }
  .topbar__actions{ margin-left:auto; }
  .topbar__menu-btn{ display:inline-flex; }
  .brand img{ width:34px; height:34px; }
  .brand__txt small{ display:none; }
}

/* ==========================================================================
   BOTTOM TAB BAR (phones) + BOTTOM SHEET
   ========================================================================== */
.tabbar{ display:none; }
@media (max-width:900px){
  .tabbar{ display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:190; height:calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding:6px 4px env(safe-area-inset-bottom); background:rgba(255,255,255,.96); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border-top:1px solid var(--line); box-shadow:0 -6px 24px rgba(22,20,29,.06); }
  .tab{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font-size:10.5px; font-weight:700; color:var(--muted); position:relative; border-radius:14px; transition:color .2s; }
  .tab svg{ width:23px; height:23px; }
  .tab.is-active{ color:var(--ink); }
  .tab.is-active::before{ content:''; position:absolute; top:-6px; width:26px; height:3px; border-radius:0 0 3px 3px; background:var(--gold); }
  .tab:active{ transform:scale(.92); }
  .tab--fab{ color:var(--ink); }
  .tab--fab .tab__fab{ width:52px; height:52px; margin-top:-26px; border-radius:18px; background:var(--grad-gold); color:#1A1408; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 22px -6px rgba(201,164,92,.75), 0 0 0 5px #fff; }
  .tab--fab .tab__fab svg{ width:26px; height:26px; }
  .tab__dot{ position:absolute; top:2px; right:calc(50% - 18px); min-width:16px; height:16px; padding:0 4px; border-radius:8px; background:var(--red); color:#fff; font-size:9.5px; line-height:16px; text-align:center; }
}
.sheet{ position:fixed; inset:0; z-index:400; display:flex; align-items:flex-end; justify-content:center; pointer-events:none; visibility:hidden; transition:visibility 0s .4s; }
.sheet.is-open{ visibility:visible; transition:none; }
.sheet__backdrop{ position:absolute; inset:0; background:rgba(11,10,16,.55); opacity:0; transition:opacity .3s; }
.sheet__panel{ position:relative; width:100%; max-width:560px; max-height:88vh; overflow-y:auto; background:var(--surface); border-radius:24px 24px 0 0; padding:10px 18px calc(20px + env(safe-area-inset-bottom)); transform:translateY(100%); transition:transform .38s var(--ease); overscroll-behavior:contain; }
.sheet.is-open{ pointer-events:auto; }
.sheet.is-open .sheet__backdrop{ opacity:1; }
.sheet.is-open .sheet__panel{ transform:none; }
.sheet__grip{ width:42px; height:5px; border-radius:5px; background:var(--line); margin:4px auto 14px; }
.sheet__user{ display:flex; align-items:center; gap:12px; padding:12px; border-radius:16px; background:var(--bg); margin-bottom:12px; }
.sheet__user b{ color:var(--ink); display:block; }
.sheet__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:12px; }
.sheet__tile{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px 4px; border-radius:14px; font-size:11.5px; font-weight:700; color:var(--ink); text-align:center; background:var(--bg); }
.sheet__tile svg{ width:24px; height:24px; color:var(--gold-deep); }
.sheet__list a,.sheet__list button{ display:flex; align-items:center; gap:12px; width:100%; padding:13px 6px; border-bottom:1px solid var(--line); font-weight:600; color:var(--ink); font-size:15px; text-align:left; }
.sheet__list svg{ width:20px; height:20px; color:var(--muted); }
.sheet__list a::after{ content:'›'; margin-left:auto; color:var(--muted); font-size:20px; }
html.sheet-open{ overflow:hidden; }

/* install banner */
.install{ position:fixed; left:12px; right:12px; bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); z-index:185; display:flex; align-items:center; gap:12px; padding:12px; border-radius:18px; background:var(--night); color:#fff; box-shadow:var(--sh-2); transform:translateY(150%); transition:transform .4s var(--ease); }
.install.is-in{ transform:none; }
.install img{ width:44px; height:44px; border-radius:12px; background:#fff; }
.install__txt{ flex:1; line-height:1.3; } .install__txt b{ display:block; font-size:14px; } .install__txt small{ font-size:12px; color:var(--t2); }
.install__x{ color:var(--t2); font-size:22px; width:30px; }
@media (min-width:901px){ .install{ left:auto; right:24px; bottom:24px; width:360px; } }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero{ position:relative; background:var(--night); color:var(--t2); overflow:hidden; padding:64px 0 72px; }
.hero::before{ content:''; position:absolute; inset:0; background:radial-gradient(60% 60% at 85% 10%,rgba(201,164,92,.22),transparent 60%),radial-gradient(50% 50% at 0% 100%,rgba(69,198,230,.14),transparent 60%); pointer-events:none; }
.hero__grid{ position:relative; display:grid; grid-template-columns:1.08fr .92fr; gap:52px; align-items:center; }
.hero__title{ margin-top:14px; }
.hero__sub{ margin-top:18px; max-width:560px; font-size:1.1rem; color:#CFCAD9; }
.hero__ctas{ display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.hero__trust{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:26px; font-size:13.5px; }
.stars{ color:#F5B940; letter-spacing:1px; }
.trust-item{ display:flex; align-items:center; gap:8px; }
.trust-item b{ color:#fff; }
.faces{ display:flex; }
.faces img,.faces span{ width:32px; height:32px; border-radius:50%; border:2px solid var(--night); margin-left:-8px; object-fit:cover; background:var(--night-3); }
.faces img:first-child{ margin-left:0; }
.hero__offer{ margin-top:22px; padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.05); border:1px solid rgba(201,164,92,.3); display:flex; align-items:center; gap:14px; flex-wrap:wrap; max-width:560px; }
.hero__offer-tag{ background:#B8322C; color:#fff; font-weight:800; font-size:11.5px; padding:4px 9px; border-radius:7px; letter-spacing:.04em; }
.hero__offer .countdown{ color:#fff; }
.hero__visual{ position:relative; }
.hero__img{ border-radius:28px; overflow:hidden; aspect-ratio:1/1; box-shadow:0 40px 80px -30px rgba(0,0,0,.8); border:1px solid rgba(255,255,255,.08); }
.hero__img img{ width:100%; height:100%; object-fit:cover; }
.float-card{ position:absolute; display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:16px; background:rgba(255,255,255,.95); color:var(--ink); box-shadow:var(--sh-2); font-size:13px; animation:bob 5s ease-in-out infinite; }
.float-card b{ display:block; font-size:14px; }
.float-card small{ color:var(--muted); font-size:11.5px; }
.float-card__ic{ width:36px; height:36px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:var(--gold-3); color:var(--gold-deep); }
.float-card__ic svg{ width:20px; height:20px; }
.float-card--a{ left:-28px; bottom:56px; } .float-card--b{ right:-18px; top:40px; animation-delay:1.4s; }
@keyframes bob{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-8px);} }
@media (max-width:900px){
  .hero{ padding:28px 0 36px; }
  .hero__grid{ grid-template-columns:minmax(0,1fr); gap:26px; }
  .hero__visual{ order:-1; max-width:420px; width:100%; margin:0 auto; }
  .hero__img{ aspect-ratio:16/11; border-radius:22px; }
  .float-card--a{ left:8px; bottom:-14px; } .float-card--b{ right:8px; top:12px; }
  .hero__sub{ font-size:1rem; }
  .hero__ctas .btn{ flex:1 1 auto; }
}

/* quick actions (app-style shortcuts on mobile home) */
.quick{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:26px; }
.quick a{ display:flex; flex-direction:column; align-items:center; gap:7px; padding:14px 6px; border-radius:18px; background:rgba(255,255,255,.05); border:1px solid var(--night-line); color:#fff; font-size:12px; font-weight:700; text-align:center; }
.quick a:active{ transform:scale(.95); }
.quick__ic{ width:42px; height:42px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:rgba(201,164,92,.16); color:var(--gold-2); }
.quick__ic svg{ width:22px; height:22px; }
@media (min-width:901px){ .quick{ display:none; } }

/* stats strip */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-radius:var(--r-lg); background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-1); overflow:hidden; }
.stat{ padding:22px 16px; text-align:center; border-right:1px solid var(--line); }
.stat:last-child{ border-right:0; }
.stat b{ display:block; font-family:var(--f-display); font-size:2rem; font-weight:600; color:var(--ink); line-height:1.1; }
.stat > span{ font-size:12.5px; font-weight:600; color:var(--muted); }
.stats--overlap{ margin-top:-40px; position:relative; z-index:2; }
@media (max-width:640px){ .stats{ grid-template-columns:repeat(2,1fr); } .stat:nth-child(2){ border-right:0; } .stat:nth-child(-n+2){ border-bottom:1px solid var(--line); } .stat b{ font-size:1.6rem; } .stats--overlap{ margin-top:-24px; } }

/* marquee of companies */
.marquee{ overflow:hidden; mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee__track{ display:flex; gap:10px; width:max-content; animation:marq 60s linear infinite; padding:5px 0; }
.marquee--rev .marquee__track{ animation-direction:reverse; animation-duration:70s; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
@keyframes marq{ to{ transform:translateX(-50%); } }
.co-chip{ display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border-radius:var(--r-pill); background:var(--night-2); border:1px solid var(--night-line); color:#DCD7E5; font-weight:600; font-size:14px; white-space:nowrap; }
.co-chip::before{ content:'◆'; color:var(--gold); font-size:9px; }

/* ==========================================================================
   HORIZONTAL SWIPE ROWS (app feel on phones)
   ========================================================================== */
.hscroll{ display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 48px)/3); gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:4px 2px 14px; }
.hscroll::-webkit-scrollbar{ display:none; }
.hscroll > *{ scroll-snap-align:start; }
@media (max-width:1000px){ .hscroll{ grid-auto-columns:calc((100% - 24px)/2); } }
@media (max-width:640px){ .hscroll{ grid-auto-columns:82%; gap:14px; margin:0 calc(-1 * var(--gut)); padding:4px var(--gut) 14px; scroll-padding:0 var(--gut); } }

/* ==========================================================================
   COURSE CARD
   ========================================================================== */
.ccard{ display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh-1); transition:transform .25s var(--ease), box-shadow .25s var(--ease); position:relative; height:100%; }
.ccard:hover{ transform:translateY(-4px); box-shadow:var(--sh-2); }
.ccard__img{ position:relative; aspect-ratio:16/9; background:var(--night-2); overflow:hidden; }
.ccard__img img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.ccard:hover .ccard__img img{ transform:scale(1.04); }
.ccard__badges{ position:absolute; top:10px; left:10px; display:flex; gap:6px; flex-wrap:wrap; }
.ccard__body{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.ccard__meta{ display:flex; gap:10px; flex-wrap:wrap; font-size:12px; font-weight:600; color:var(--muted); }
.ccard__meta span{ display:inline-flex; align-items:center; gap:4px; }
.ccard__meta svg{ width:14px; height:14px; }
.ccard__title{ font-weight:700; font-size:1.05rem; line-height:1.35; color:var(--ink); }
.ccard__desc{ font-size:13.5px; line-height:1.55; color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ccard__foot{ margin-top:auto; padding-top:12px; display:flex; align-items:flex-end; justify-content:space-between; gap:10px; border-top:1px dashed var(--line); }
.ccard__save{ font-size:12px; font-weight:700; color:var(--green); }
.ccard--feature{ border:1.5px solid var(--gold); box-shadow:0 18px 50px -20px rgba(201,164,92,.6); }
.ccard__ribbon{ position:absolute; top:12px; right:-34px; transform:rotate(35deg); background:var(--grad-gold); color:#1A1408; font-size:11px; font-weight:800; padding:4px 40px; z-index:2; letter-spacing:.04em; }
.ccard--wide{ display:grid; grid-template-columns:1.1fr 1fr; }
.ccard--wide .ccard__img{ aspect-ratio:auto; min-height:100%; }
@media (max-width:760px){ .ccard--wide{ grid-template-columns:1fr; } .ccard--wide .ccard__img{ aspect-ratio:16/9; } }
.sec--dark .ccard{ background:var(--night-2); border-color:var(--night-line); }
.sec--dark .ccard__title,.sec--dark .price__now{ color:#fff; }
.sec--dark .ccard__desc{ color:var(--t2); }
.sec--dark .ccard__foot{ border-color:var(--night-line); }

/* course list row (compact, on phones) */
.mlist{ display:flex; flex-direction:column; gap:10px; }

/* ==========================================================================
   FREE DEMOS
   ========================================================================== */
.demos{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:1000px){ .demos{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .demos{ grid-template-columns:1fr; gap:12px; } }
.dcard{ position:relative; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh-1); transition:transform .25s var(--ease); }
.dcard:hover{ transform:translateY(-3px); }
.sec--dark .dcard{ background:var(--night-2); border-color:var(--night-line); }
.dcard__img{ position:relative; aspect-ratio:16/9; background:var(--night-3); }
.dcard__img img{ width:100%; height:100%; object-fit:cover; }
.dcard__num{ position:absolute; top:10px; left:10px; width:34px; height:34px; border-radius:10px; background:var(--grad-gold); color:#1A1408; font-weight:800; display:flex; align-items:center; justify-content:center; font-size:15px; }
.dcard__play{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.dcard__play span{ width:58px; height:58px; border-radius:50%; background:rgba(255,255,255,.92); color:var(--ink); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(0,0,0,.4); transition:transform .2s; }
.dcard:hover .dcard__play span{ transform:scale(1.08); }
.dcard__play svg{ width:24px; height:24px; margin-left:3px; }
.dcard__state{ position:absolute; top:10px; right:10px; }
.dcard__body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.dcard__title{ font-weight:700; color:var(--ink); line-height:1.35; }
.sec--dark .dcard__title{ color:#fff; }
.dcard__desc{ font-size:13.5px; }
.dcard__foot{ margin-top:auto; padding-top:10px; display:flex; justify-content:space-between; align-items:center; font-size:12.5px; font-weight:600; color:var(--muted); }
.dcard.is-locked .dcard__img img{ filter:saturate(.6) brightness(.7); }
.dcard.is-watched{ border-color:var(--green); }
.demo-track{ display:flex; align-items:center; gap:8px; }
.demo-track span{ flex:1; height:6px; border-radius:6px; background:var(--line); }
.demo-track span.is-done{ background:var(--green); }
.demo-track span.is-now{ background:var(--gold); }
.sec--dark .demo-track span{ background:rgba(255,255,255,.12); }
.sec--dark .demo-track span.is-done{ background:var(--green); } .sec--dark .demo-track span.is-now{ background:var(--gold); }

/* demo player page */
.dplayer{ display:grid; grid-template-columns:1fr 360px; gap:24px; align-items:start; }
.video{ position:relative; aspect-ratio:16/9; background:#000; border-radius:var(--r); overflow:hidden; box-shadow:var(--sh-2); }
.video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video__shield{ position:absolute; top:0; right:0; width:70px; height:60px; z-index:2; }
.video__lock{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center; padding:20px; color:#fff; background:linear-gradient(rgba(11,10,16,.7),rgba(11,10,16,.92)); }
.dlist{ display:flex; flex-direction:column; gap:8px; }
.dlist a{ display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:10px; border-radius:14px; background:var(--night-2); border:1px solid var(--night-line); color:#fff; }
.dlist a.is-now{ border-color:var(--gold); background:rgba(201,164,92,.12); }
.dlist img{ width:86px; aspect-ratio:16/9; object-fit:cover; border-radius:8px; }
.dlist b{ font-size:13.5px; line-height:1.35; display:block; }
.dlist small{ font-size:11.5px; color:var(--t2); }
.dlist__st{ font-size:16px; }
@media (max-width:900px){ .dplayer{ grid-template-columns:minmax(0,1fr); } .video{ border-radius:0; margin:0 calc(-1 * var(--gut)); } }

/* ==========================================================================
   COURSE DETAIL
   ========================================================================== */
.phead{ background:var(--night); color:var(--t2); padding:56px 0 48px; position:relative; overflow:hidden; }
.phead::before{ content:''; position:absolute; inset:0; background:radial-gradient(50% 70% at 90% 0%,rgba(201,164,92,.18),transparent 60%); pointer-events:none; }
.phead > .wrap{ position:relative; }
.phead .lead{ margin-top:14px; color:#CFCAD9; max-width:680px; }
@media (max-width:640px){ .phead{ padding:30px 0 30px; } }
.crumbs{ font-size:12.5px; font-weight:600; color:var(--t2); margin-bottom:14px; display:flex; gap:6px; flex-wrap:wrap; }
.crumbs a:hover{ color:#fff; }
.cd-grid{ display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:36px; align-items:start; }
.cd-hero-meta{ display:flex; gap:16px; flex-wrap:wrap; margin-top:18px; font-size:13.5px; font-weight:600; color:#E2DEEA; }
.cd-hero-meta span{ display:inline-flex; align-items:center; gap:6px; }
.cd-hero-meta svg{ width:16px; height:16px; color:var(--gold-2); }
.buybox{ position:sticky; top:calc(var(--topbar-h) + var(--annbar-h) + 20px); background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-2); overflow:hidden; }
.buybox__img{ aspect-ratio:16/9; position:relative; background:var(--night); }
.buybox__img img{ width:100%; height:100%; object-fit:cover; }
.buybox__body{ padding:20px; }
.buybox__save{ display:inline-block; margin-top:6px; font-size:13px; font-weight:700; color:var(--green); }
.buybox__list{ margin-top:16px; display:flex; flex-direction:column; gap:8px; font-size:13.5px; }
.buybox__list li{ display:flex; gap:8px; align-items:flex-start; }
.buybox__list svg{ width:16px; height:16px; color:var(--green); flex-shrink:0; margin-top:3px; }
.urgent{ margin-top:16px; padding:14px; border-radius:14px; background:#FFF6EC; border:1px solid #F3D9B6; }
.urgent__h{ font-size:12.5px; font-weight:800; color:#A3471E; margin-bottom:8px; }
.trustline{ display:flex; align-items:center; justify-content:center; gap:6px; font-size:12px; color:var(--muted); margin-top:10px; text-align:center; }
.trustline svg{ width:14px; height:14px; }
.pay-logos{ display:flex; justify-content:center; gap:6px; margin-top:8px; flex-wrap:wrap; }
.pay-logos span{ font-size:10.5px; font-weight:800; padding:3px 7px; border-radius:6px; background:var(--bg); color:var(--ink-2); border:1px solid var(--line); }
@media (max-width:1000px){ .cd-grid{ grid-template-columns:minmax(0,1fr); } .buybox{ position:static; } .cd-grid > .buybox{ order:-1; } }
.curr{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--surface); }
.curr__item{ display:flex; align-items:center; gap:12px; padding:13px 16px; border-bottom:1px solid var(--line); font-size:14.5px; color:var(--ink); }
.curr__item:last-child{ border-bottom:0; }
.curr__num{ width:28px; height:28px; border-radius:8px; background:var(--bg-2); color:var(--ink-2); font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.curr__lock{ margin-left:auto; color:var(--muted); flex-shrink:0; }
.curr__lock svg{ width:16px; height:16px; }
.curr__group{ padding:12px 16px; background:var(--bg); font-weight:700; color:var(--ink); border-bottom:1px solid var(--line); display:flex; justify-content:space-between; }
.curr__more{ display:block; width:100%; padding:12px; text-align:center; font-weight:700; color:var(--gold-deep); background:var(--bg); }
.incl{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.incl li{ display:flex; gap:10px; align-items:flex-start; padding:12px 14px; border-radius:14px; background:var(--surface); border:1px solid var(--line); font-size:14px; }
.incl svg{ width:20px; height:20px; color:var(--gold-deep); flex-shrink:0; }
@media (max-width:560px){ .incl{ grid-template-columns:1fr; } }
.upsell{ display:flex; gap:16px; align-items:center; padding:18px; border-radius:var(--r); background:linear-gradient(120deg,var(--gold-3),#FFF8E8); border:1px solid #EBD39F; }
.upsell img{ width:120px; aspect-ratio:16/9; object-fit:cover; border-radius:10px; flex-shrink:0; }
@media (max-width:560px){ .upsell{ flex-direction:column; align-items:flex-start; } .upsell img{ width:100%; } }

/* sticky buy bar (phones) */
.buybar{ display:none; }
@media (max-width:1000px){
  .buybar{ display:flex; position:fixed; left:0; right:0; bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index:180; align-items:center; gap:12px; padding:10px var(--gut); background:var(--surface); border-top:1px solid var(--line); box-shadow:0 -10px 30px rgba(22,20,29,.1); }
  .buybar__price{ flex:1; line-height:1.2; min-width:0; }
  .buybar__price b{ font-size:1.15rem; color:var(--ink); font-weight:800; }
  .buybar__price s{ font-size:12px; color:var(--muted); margin-left:4px; }
  .buybar__price small{ display:block; font-size:11px; color:var(--muted); font-weight:600; }
  .buybar .btn{ min-height:46px; }
  body.has-buybar{ padding-bottom:calc(var(--tabbar-h) + 70px + env(safe-area-inset-bottom)); }
  body.has-buybar .float-actions{ bottom:calc(var(--tabbar-h) + 82px + env(safe-area-inset-bottom)); }
  body.has-buybar .enrol-toast{ bottom:calc(var(--tabbar-h) + 82px + env(safe-area-inset-bottom)); }
}
@media (max-width:900px) and (min-width:0){ }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.co-steps{ display:flex; gap:8px; align-items:center; font-size:12.5px; font-weight:700; color:var(--t2); margin-top:14px; flex-wrap:wrap; }
.co-steps span{ display:flex; align-items:center; gap:6px; }
.co-steps i{ width:22px; height:22px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-style:normal; font-size:11px; background:rgba(255,255,255,.1); }
.co-steps .is-done i{ background:var(--green); color:#fff; } .co-steps .is-now{ color:#fff; } .co-steps .is-now i{ background:var(--gold); color:#1A1408; }
.co-grid{ display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:28px; align-items:start; }
.co-item{ display:flex; gap:14px; align-items:center; }
.co-item img{ width:110px; aspect-ratio:16/9; object-fit:cover; border-radius:10px; flex-shrink:0; }
.summary{ position:sticky; top:calc(var(--topbar-h) + var(--annbar-h) + 20px); }
.sumrow{ display:flex; justify-content:space-between; gap:12px; padding:9px 0; font-size:14.5px; color:var(--ink-2); }
.sumrow b{ color:var(--ink); font-weight:700; font-variant-numeric:tabular-nums; }
.sumrow--disc b{ color:var(--green); }
.sumrow--sub{ border-top:1px dashed var(--line); margin-top:4px; padding-top:12px; }
.sumrow--total{ border-top:2px solid var(--ink); margin-top:8px; padding-top:14px; font-size:1.05rem; color:var(--ink); font-weight:700; }
.sumrow--total b{ font-size:1.45rem; font-weight:800; }
.sumnote{ font-size:12px; color:var(--muted); margin-top:4px; }
.coupon{ display:flex; gap:8px; margin-top:12px; }
.coupon input{ flex:1; text-transform:uppercase; }
.coupon-msg{ font-size:12.5px; font-weight:600; margin-top:6px; }
.coupon-msg.ok{ color:var(--green); } .coupon-msg.err{ color:var(--red); }
.savings{ margin-top:12px; padding:10px 12px; border-radius:12px; background:var(--green-bg); color:var(--green); font-weight:700; font-size:13.5px; text-align:center; }
@media (max-width:1000px){ .co-grid{ grid-template-columns:minmax(0,1fr); } .summary{ position:static; } }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.field label{ font-size:13px; font-weight:700; color:var(--ink); }
.field label small{ font-weight:500; color:var(--muted); }
.input,.field input,.field select,.field textarea{ width:100%; min-height:48px; padding:12px 14px; border-radius:12px; border:1.5px solid var(--line); background:var(--surface); color:var(--ink); font-size:15px; transition:border-color .2s, box-shadow .2s; -webkit-appearance:none; appearance:none; }
.field select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23827D8E' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:36px; }
.field textarea{ min-height:96px; resize:vertical; }
.input:focus,.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 4px rgba(201,164,92,.18); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; gap:0; } }
.dark-form .field label{ color:#fff; }
.dark-form .field input,.dark-form .field select,.dark-form .field textarea{ background:var(--night-2); border-color:var(--night-line); color:#fff; }
.alert{ padding:13px 16px; border-radius:12px; font-size:14px; font-weight:600; margin-bottom:16px; }
.alert--ok{ background:var(--green-bg); color:#0F7A4E; border:1px solid #BFE6D2; }
.alert--err{ background:var(--red-bg); color:#A92F2B; border:1px solid #F3C9C7; }
.alert--info{ background:var(--gold-3); color:var(--gold-deep); border:1px solid #EBD39F; }
.check{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; }
.check input{ width:18px; height:18px; margin-top:2px; accent-color:var(--gold-deep); }
.divider{ display:flex; align-items:center; gap:12px; color:var(--muted); font-size:12.5px; margin:16px 0; }
.divider::before,.divider::after{ content:''; flex:1; height:1px; background:var(--line); }
.gbtn{ display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:50px; border-radius:12px; border:1.5px solid var(--line); background:#fff; font-weight:700; color:var(--ink); }
.gbtn svg{ width:20px; height:20px; }
.tabs{ display:flex; padding:4px; border-radius:14px; background:var(--bg-2); margin-bottom:18px; }
.tabs button{ flex:1; padding:11px; border-radius:11px; font-weight:700; color:var(--muted); }
.tabs button.is-active{ background:var(--surface); color:var(--ink); box-shadow:var(--sh-1); }
.auth{ max-width:460px; margin:0 auto; }
.auth .card{ padding:28px; }
@media (max-width:560px){ .auth .card{ padding:20px 16px; border-radius:20px; } }

/* ==========================================================================
   TESTIMONIALS · FAQ · STEPS · TEAM · GALLERY
   ========================================================================== */
.tcard{ display:flex; flex-direction:column; gap:14px; height:100%; }
.tcard__q{ font-size:14.5px; line-height:1.65; color:var(--ink-2); }
.sec--dark .tcard__q{ color:#D6D1DF; }
.tcard__who{ display:flex; align-items:center; gap:10px; margin-top:auto; }
.tcard__who b{ display:block; color:var(--ink); font-size:14px; }
.sec--dark .tcard__who b{ color:#fff; }
.tcard__who small{ font-size:12px; color:var(--muted); }
.faq{ display:flex; flex-direction:column; gap:10px; }
.faq details{ background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.faq summary{ list-style:none; cursor:pointer; padding:16px 18px; font-weight:700; color:var(--ink); display:flex; justify-content:space-between; gap:14px; align-items:center; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; font-size:22px; font-weight:400; color:var(--gold-deep); transition:transform .25s; flex-shrink:0; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ padding:0 18px 16px; font-size:14.5px; line-height:1.7; }
.sec--dark .faq details{ background:var(--night-2); border-color:var(--night-line); }
.sec--dark .faq summary{ color:#fff; }
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; counter-reset:st; }
.step{ position:relative; padding:22px; border-radius:var(--r); background:var(--night-2); border:1px solid var(--night-line); }
.step::before{ counter-increment:st; content:'0' counter(st); font-family:var(--f-display); font-size:2rem; font-weight:600; color:var(--gold); display:block; margin-bottom:8px; }
.step h3{ color:#fff; font-size:1.05rem; font-weight:700; }
.step p{ font-size:14px; margin-top:6px; }
@media (max-width:1000px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.person{ text-align:left; }
.person__img{ aspect-ratio:4/5; border-radius:var(--r); overflow:hidden; background:var(--bg-2); }
.person__img img{ width:100%; height:100%; object-fit:cover; }
.person h3{ margin-top:12px; }
.founder{ display:grid; grid-template-columns:.9fr 1.1fr; gap:0; padding:0; overflow:hidden; }
.founder .person__img{ border-radius:0; aspect-ratio:auto; min-height:100%; }
.founder__body{ padding:26px; display:flex; flex-direction:column; justify-content:center; }
.founder__body blockquote{ margin-top:12px; font-size:14.5px; line-height:1.75; font-style:italic; }
@media (max-width:700px){ .founder{ grid-template-columns:1fr; } .founder .person__img{ aspect-ratio:1/1; } }
.gallery{ columns:4 220px; column-gap:12px; }
.gallery button{ display:block; width:100%; margin-bottom:12px; border-radius:14px; overflow:hidden; break-inside:avoid; }
.gallery img{ width:100%; height:auto; transition:transform .4s var(--ease); }
.gallery button:hover img{ transform:scale(1.04); }
@media (max-width:560px){ .gallery{ columns:2; column-gap:8px; } .gallery button{ margin-bottom:8px; border-radius:10px; } }
.lightbox{ position:fixed; inset:0; z-index:500; background:rgba(0,0,0,.92); display:flex; align-items:center; justify-content:center; }
.lightbox img{ max-width:94vw; max-height:84vh; border-radius:10px; }
.lightbox button{ position:absolute; color:#fff; font-size:34px; width:52px; height:52px; }
.lightbox__x{ top:12px; right:12px; } .lightbox__p{ left:8px; top:50%; } .lightbox__n{ right:8px; top:50%; }
.compare{ width:100%; border-collapse:separate; border-spacing:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; font-size:14px; }
.compare th,.compare td{ padding:13px 14px; border-bottom:1px solid var(--line); text-align:center; }
.compare th:first-child,.compare td:first-child{ text-align:left; }
.compare thead th{ background:var(--bg); font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink); }
.compare tr:last-child td{ border-bottom:0; }
.compare .hl{ background:#FFF9EC; font-weight:700; color:var(--ink); }
.table-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* CTA band */
.cta-band{ border-radius:var(--r-lg); padding:44px; background:var(--night); color:var(--t2); display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; position:relative; overflow:hidden; }
.cta-band::before{ content:''; position:absolute; inset:0; background:radial-gradient(50% 90% at 100% 0%,rgba(201,164,92,.28),transparent 60%); }
.cta-band > *{ position:relative; }
.cta-band h2{ color:#fff; }
@media (max-width:760px){ .cta-band{ grid-template-columns:1fr; padding:28px 20px; } }

/* callback mini form */
.callback{ display:flex; gap:8px; max-width:440px; }
.callback input{ flex:1; }
@media (max-width:420px){ .callback{ flex-direction:column; } }

/* ==========================================================================
   DASHBOARD
   ========================================================================== */
.dash-head{ display:flex; align-items:center; gap:16px; }
.dash-head .avatar{ width:58px; height:58px; font-size:22px; border-radius:18px; }
.dash-tiles{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:22px; }
.dash-tile{ padding:16px; border-radius:16px; background:var(--night-2); border:1px solid var(--night-line); }
.dash-tile b{ display:block; font-size:1.5rem; color:#fff; font-weight:800; }
.dash-tile span{ font-size:12px; font-weight:600; }
@media (max-width:640px){ .dash-tiles{ grid-template-columns:repeat(2,1fr); } }
.continue{ display:flex; gap:16px; align-items:center; padding:14px; border-radius:var(--r); background:var(--surface); border:1.5px solid var(--gold); box-shadow:var(--sh-1); }
.continue img{ width:140px; aspect-ratio:16/9; object-fit:cover; border-radius:10px; }
@media (max-width:560px){ .continue img{ width:96px; } }
.progress{ height:7px; border-radius:7px; background:var(--bg-2); overflow:hidden; }
.progress span{ display:block; height:100%; background:linear-gradient(90deg,var(--gold),var(--green)); border-radius:7px; }
.dtabs{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; border-bottom:1px solid var(--line); margin-bottom:22px; position:sticky; top:calc(var(--topbar-h) + var(--annbar-h)); background:var(--bg); z-index:5; }
.dtabs::-webkit-scrollbar{ display:none; }
.dtabs a{ padding:12px 14px; font-weight:700; font-size:14px; color:var(--muted); border-bottom:2.5px solid transparent; white-space:nowrap; }
.dtabs a.is-active{ color:var(--ink); border-color:var(--gold); }
.list{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.list__row{ display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.list__row:last-child{ border-bottom:0; }
.list__main{ flex:1; min-width:180px; }
.list__main b{ color:var(--ink); display:block; font-size:14.5px; }
.list__main small{ color:var(--muted); font-size:12.5px; }
.empty{ text-align:center; padding:44px 20px; }
.empty svg{ width:46px; height:46px; color:var(--gold); margin:0 auto 10px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{ background:var(--night); color:var(--t2); padding:64px 0 28px; font-size:14px; }
.footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; }
.footer h4{ color:#fff; font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:14px; }
.footer a:hover{ color:var(--gold-2); }
.footer__links{ display:flex; flex-direction:column; gap:9px; }
.social{ display:flex; gap:8px; margin-top:18px; }
.social a{ width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:var(--night-2); border:1px solid var(--night-line); color:#fff; }
.social svg{ width:18px; height:18px; }
.footer__bottom{ margin-top:40px; padding-top:20px; border-top:1px solid var(--night-line); display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:12.5px; }
@media (max-width:900px){ .footer{ padding:40px 0 24px; } .footer__grid{ grid-template-columns:1fr 1fr; gap:26px; } .footer__brand{ grid-column:1/-1; } }

/* ==========================================================================
   FLOATING ACTIONS · TOASTS · MODALS
   ========================================================================== */
.float-actions{ position:fixed; right:20px; bottom:22px; z-index:170; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
.float-btn{ width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(0,0,0,.25); }
.float-btn--wa{ background:var(--wa); color:#fff; }
.float-btn--top{ width:42px; height:42px; background:var(--surface); color:var(--ink); font-size:18px; opacity:0; pointer-events:none; transition:opacity .3s; border:1px solid var(--line); }
.float-btn--top.show{ opacity:1; pointer-events:auto; }
@media (max-width:900px){
  .float-actions{ right:14px; bottom:calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); }
  .float-btn{ width:52px; height:52px; }
  .float-btn--top{ display:none; }
  .wa-card{ bottom:calc(var(--tabbar-h) + 78px + env(safe-area-inset-bottom)) !important; }
}
.enrol-toast{ position:fixed; left:20px; bottom:22px; z-index:160; display:flex; align-items:flex-start; gap:12px; max-width:340px; padding:13px 38px 13px 14px; background:#fff; color:var(--ink); border-radius:16px; border:1px solid var(--line); box-shadow:0 18px 44px rgba(22,20,29,.22); font-size:13px; line-height:1.4; opacity:0; transform:translateY(16px); transition:opacity .35s, transform .35s; }
.enrol-toast.is-in{ opacity:1; transform:none; }
.enrol-toast__icon{ font-size:22px; }
.enrol-toast__body{ display:flex; flex-direction:column; gap:1px; }
.enrol-toast__city{ font-weight:500; color:var(--muted); }
.enrol-toast__body small{ font-size:11px; color:var(--muted); margin-top:3px; }
.enrol-toast__close{ position:absolute; top:6px; right:8px; font-size:18px; color:var(--muted); padding:4px; }
@media (max-width:900px){ .enrol-toast{ left:12px; right:78px; max-width:none; bottom:calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); } }
.modal{ position:fixed; inset:0; z-index:450; display:flex; align-items:center; justify-content:center; padding:16px; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(11,10,16,.7); }
.modal__box{ position:relative; width:100%; max-width:960px; }
.modal__x{ position:absolute; top:-44px; right:0; color:#fff; font-size:30px; width:40px; height:40px; }
.snack{ position:fixed; left:50%; bottom:calc(var(--tabbar-h) + 20px); transform:translateX(-50%) translateY(20px); z-index:600; background:var(--ink); color:#fff; padding:12px 18px; border-radius:12px; font-size:14px; font-weight:600; opacity:0; transition:all .3s; pointer-events:none; }
.snack.is-in{ opacity:1; transform:translateX(-50%); }

/* reveal on scroll */
[data-reveal]{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); transition-delay:calc(var(--i,0) * 70ms); }
[data-reveal].in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ *{ animation:none !important; transition:none !important; } [data-reveal]{ opacity:1; transform:none; } }

/* legal pages */
.prose{ color:var(--ink-2); font-size:15.5px; line-height:1.85; }
.prose h2{ font-family:var(--f-ui); font-size:1.15rem; font-weight:800; color:var(--ink); margin:30px 0 8px; }
.prose p + p{ margin-top:12px; }
.prose a{ color:var(--gold-deep); font-weight:600; }

/* immersive (player) pages hide marketing chrome */
body.immersive{ padding-top:0; background:var(--night); }
body.immersive .topbar,body.immersive .footer,body.immersive .annbar{ display:none; }
@media (max-width:900px){ body.immersive{ padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom)); } }

/* print */
@media print{ .topbar,.tabbar,.footer,.float-actions,.annbar,.no-print{ display:none !important; } body{ padding:0; background:#fff; } }

/* demo cards become an app-style list on phones */
@media (max-width:560px){
  .demos .dcard{ display:grid; grid-template-columns:132px 1fr; }
  .demos .dcard__img{ aspect-ratio:auto; min-height:100%; }
  .demos .dcard__desc{ display:none; }
  .demos .dcard__body{ padding:10px 12px; gap:4px; }
  .demos .dcard__title{ font-size:14px; }
  .demos .dcard__num{ width:26px; height:26px; font-size:13px; top:6px; left:6px; border-radius:8px; }
  .demos .dcard__state{ display:none; }
  .demos .dcard__play span{ width:40px; height:40px; }
  .demos .dcard__play svg{ width:18px; height:18px; }
}
/* legacy helpers still used inside the lesson player */
.btn-ghost{ color:var(--gold-2); font-weight:700; font-size:14px; }
.player-support .field textarea{ background:var(--night); border-color:var(--night-line); color:#fff; }

@media (max-width:640px){ .cd-grid .hscroll{ grid-auto-columns:86% !important; } }
.steps--3{ grid-template-columns:repeat(3,1fr); } @media (max-width:760px){ .steps--3{ grid-template-columns:1fr; } }

@media (max-width:900px){ body.page-checkout .float-actions{ display:none; } }

/* ---------- Request a course ---------- */
.rq-board{ display:flex; flex-direction:column; gap:10px; }
.rq-item{ display:flex; gap:16px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:14px 16px; box-shadow:var(--sh-1); }
.rq-item[hidden]{ display:none; }
.rq-votes{ flex:0 0 60px; text-align:center; border-radius:12px; background:var(--gold-3); color:var(--gold-deep); padding:8px 4px; line-height:1.1; }
.rq-votes b{ display:block; font-size:1.35rem; font-weight:800; }
.rq-votes small{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.rq-main{ flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.rq-title{ color:var(--ink); font-size:1.02rem; }
.rq-act{ flex:0 0 auto; }
@media (max-width:560px){ .rq-item{ flex-wrap:wrap; } .rq-votes{ flex-basis:52px; } .rq-main{ flex-basis:calc(100% - 70px); } .rq-act{ flex-basis:100%; } .rq-act .btn{ width:100%; justify-content:center; } }
.rq-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.rq-pills label{ cursor:pointer; position:relative; }
.rq-pills input{ position:absolute; left:0; top:0; width:1px; height:1px; opacity:0; pointer-events:none; }
.rq-pills span{ display:inline-block; padding:7px 13px; border-radius:var(--r-pill); border:1px solid var(--line); background:var(--surface); font-size:13px; font-weight:600; color:var(--ink-2); transition:all .15s; }
.rq-pills input:checked + span{ background:var(--ink); border-color:var(--ink); color:#fff; }
.rq-pills input:focus-visible + span{ outline:2px solid var(--gold); outline-offset:2px; }
.rq-chosen{ display:flex; flex-direction:column; gap:6px; align-items:flex-start; padding:14px 16px; border-radius:12px; background:var(--gold-3); margin-bottom:16px; }
.rq-chosen b{ color:var(--ink); font-size:1.05rem; }
.rq-steps{ padding-left:20px; display:flex; flex-direction:column; gap:10px; }
.rq-steps li::marker{ color:var(--gold-deep); font-weight:800; }
.rq-launched{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:10px 12px; border:1px solid var(--line); border-radius:12px; color:var(--ink); }
.rq-launched:hover{ border-color:var(--gold); }
.rq-launched small{ margin-left:auto; color:var(--muted); }
.rq-band{ display:flex; gap:20px; align-items:center; justify-content:space-between; flex-wrap:wrap; background:var(--surface); border:1px dashed var(--gold); border-radius:var(--r); padding:22px 24px; }
.rq-band p{ margin-top:4px; }
