/* =========================================================
   Aura Academy – design system
   Palette from the logo: royal blue trident + gold "A" on deep navy.
   ========================================================= */
:root {
  --primary: #1c6fd1;          /* logo blue */
  --primary-600: #155bb0;
  --sky: #4ea8ff;
  --gold: #f5a524;             /* logo gold */
  --gold-600: #e0870b;
  --navy: #0a1b3d;
  --navy-2: #102a5c;
  --ink: #0f172a;
  --text: #475569;
  --muted: #94a3b8;
  --line: #e6ebf3;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --success: #16a34a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 27, 61, .06);
  --shadow: 0 14px 40px -12px rgba(10, 27, 61, .18);
  --shadow-gold: 0 12px 30px -10px rgba(245, 165, 36, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.rot { transform: rotate(-90deg); width: 14px; height: 14px; }
[hidden] { display: none !important; }
html:not(.ready) body { opacity: 0; }
body { transition: opacity .3s; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); box-shadow: 0 10px 24px -10px var(--primary); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #ffc248, var(--gold) 45%, var(--gold-600)); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-ghost { background: #fff; color: var(--primary); border-color: #cfe0f6; }
.btn-ghost:hover { border-color: var(--primary); background: #f0f6ff; }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: 9px 14px; font-size: .88rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; padding-inline: 12px; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- announcement + header ---------- */
.announce { background: #071331; color: #dbe7ff; font-size: .85rem; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; text-align: center; flex-wrap: wrap; }
.announce .ic { color: var(--gold); }
.announce a { color: var(--gold); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo img { height: 46px; width: auto; }
.logo span { font-family: "Cinzel", serif; font-weight: 800; font-size: 1.25rem; white-space: nowrap;
  background: linear-gradient(90deg, var(--gold-600), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo.light span { background: linear-gradient(90deg, #ffd27a, var(--gold)); -webkit-background-clip: text; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: .93rem; color: #334155; }
.nav-links > a:not(.btn), .drop-btn { padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.nav-links > a:not(.btn):hover, .drop-btn:hover { background: var(--bg-soft); color: var(--primary); }
.nav-links a.active, .drop-btn.active { color: var(--primary); }
.nav-links .btn { margin-left: 8px; }
.dropdown { position: relative; }
.drop-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; color: inherit; font-weight: 600; }
.drop-btn .ic { width: 16px; height: 16px; transition: transform .25s; }
.dropdown.open .drop-btn .ic, .dropdown:hover .drop-btn .ic { transform: rotate(180deg); }
.drop-menu { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 8px; min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transition: .25s var(--ease); }
.dropdown:hover .drop-menu, .dropdown.open .drop-menu { opacity: 1; visibility: visible; translate: -50% 0; }
.drop-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; }
.drop-menu a:hover { background: var(--bg-soft); }
.drop-menu em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--ink); font-size: .85rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.nav-search { flex: 1; max-width: 340px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--bg-soft); border: 1.5px solid transparent; transition: .2s; }
.nav-search:focus-within { border-color: var(--primary); background: #fff; }
.nav-search .ic { color: var(--muted); }
.nav-search input { border: 0; outline: 0; background: none; font: inherit; font-size: .9rem; width: 100%; color: var(--ink); }
.drop-menu a .ic { margin-left: auto; width: 15px; height: 15px; color: var(--muted); }
.nav-links > a .ic { width: 17px; height: 17px; color: #ff0033; }
.nav-links > a { display: inline-flex; align-items: center; gap: 6px; }
.auth-slot { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.auth-user { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: .82rem; }
.auth-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(7, 19, 49, .68); }
.auth-dialog { position: relative; width: min(440px, 100%); max-height: min(90vh, 760px); overflow-y: auto; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.auth-dialog h2 { padding-right: 28px; font-size: 1.45rem; }
.auth-intro { margin: 6px 0 22px; color: var(--muted); font-size: .9rem; }
.auth-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.auth-dialog form { display: grid; gap: 14px; }
.auth-dialog form label { display: grid; gap: 6px; }
.auth-dialog form label span { color: var(--ink); font-size: .82rem; font-weight: 700; }
.auth-dialog input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--bg-soft); color: var(--ink); font: inherit; }
.auth-dialog input:focus { outline: none; border-color: var(--primary); background: #fff; }
.auth-options { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.auth-link { border: 0; background: none; color: var(--primary); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; text-align: left; }
.auth-link:disabled { opacity: .6; cursor: wait; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--muted); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-google { gap: 10px; }
.auth-google svg { width: 20px; height: 20px; }
.auth-message { min-height: 1.3em; margin-top: 12px; font-size: .82rem; }
.auth-message.error { color: #b91c1c; }
.auth-message.success { color: var(--success); }
body.auth-open { overflow: hidden; }

/* ---------- theme gradients (courses) ---------- */
.theme-blue   { background: linear-gradient(135deg, #0a1b3d 0%, #1c6fd1 65%, #4ea8ff 100%); }
.theme-violet { background: linear-gradient(135deg, #1e1550 0%, #4c3bcf 60%, #1c6fd1 100%); }
.theme-amber  { background: linear-gradient(135deg, #3a1d00 0%, #c56a00 55%, #f5a524 100%); }
.theme-teal   { background: linear-gradient(135deg, #062b33 0%, #0f7c8a 60%, #2bb5b0 100%); }
.theme-rose   { background: linear-gradient(135deg, #3a0b1f 0%, #b42357 60%, #f06292 100%); }
.theme-green  { background: linear-gradient(135deg, #062d1c 0%, #15803d 60%, #4ade80 100%); }

/* ---------- store: banner carousel ---------- */
.page-pad { padding: 28px 0 72px; }
.hero-store { padding: 22px 0 8px; background: linear-gradient(180deg, #eef4ff, #fff); }
.carousel { position: relative; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 22px; scrollbar-width: none; box-shadow: var(--shadow); }
.carousel-track::-webkit-scrollbar { display: none; }
.banner { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 32 / 10; min-height: 220px; overflow: hidden; color: #fff; display: flex; align-items: center; container-type: inline-size; }
.banner.has-img img { width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 50%, rgba(255,255,255,.18), transparent 60%),
  radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 22px 22px; pointer-events: none; }
.banner.has-img::before { display: none; }
.banner-copy { position: relative; z-index: 1; padding: 0 clamp(22px, 6cqw, 72px); max-width: 64%; }
.banner-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-size: .78rem; font-weight: 700; margin-bottom: 12px; }
.banner h2 { color: #fff; font-size: clamp(1.5rem, 5cqw, 3.3rem); font-weight: 800; line-height: 1.05; }
.banner p { margin: 10px 0 18px; font-size: clamp(.88rem, 1.8cqw, 1.15rem); color: rgba(255,255,255,.88); }
.banner-art { position: absolute; right: 5cqw; top: 50%; transform: translateY(-50%); height: 88%; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.car-btn { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: .2s; z-index: 2; }
.car-btn:hover { background: #fff; transform: scale(1.06); }
.car-btn.prev { left: 14px; } .car-btn.prev .ic { transform: rotate(90deg); }
.car-btn.next { right: 14px; } .car-btn.next .ic { transform: rotate(-90deg); }
.car-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.car-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s var(--ease); padding: 0; }
.car-dots button.on { width: 26px; background: #fff; }

/* ---------- store: class picker ---------- */
.pick-wrap { padding: 28px 0 8px; }
.pick-title, .shelf-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; }
.pick-title { margin-bottom: 16px; }
.class-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.class-tile { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; color: #fff; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.class-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.class-tile b { font-size: 2.1rem; font-weight: 800; line-height: 1; display: flex; align-items: center; }
.class-tile b sup { font-size: .85rem; }
.class-tile b .ic { width: 34px; height: 34px; }
.class-tile span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
.class-tile small { font-weight: 600; font-size: .78rem; opacity: .85; }
.class-tile > .ic { margin-left: auto; opacity: .8; transition: transform .3s var(--ease); }
.class-tile:hover > .ic { transform: translateX(4px); }

/* ---------- store: shelves (horizontal product rows) ---------- */
.shelf { padding: 34px 0 6px; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); white-space: nowrap; font-size: .92rem; }
.see-all:hover { gap: 10px; }
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 3 * 20px) / 4)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; margin: -4px -4px 0; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; overscroll-behavior-x: contain; }
.shelf-track > * { scroll-snap-align: start; }
.shelf-track::-webkit-scrollbar { height: 6px; } .shelf-track::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.ribbon { position: absolute; top: 10px; right: 10px; z-index: 3; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.card-media { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: #eef4ff; color: var(--primary); }
.chip .ic { width: 13px; height: 13px; }
.chip.gold { background: #fff4e0; color: var(--gold-600); }
.product h3 { font-size: 1.04rem; font-weight: 800; line-height: 1.3; }
.product h3 a:hover { color: var(--primary); }
.meta { display: flex; align-items: center; gap: 6px; font-size: .82rem; margin-top: 6px; color: #64748b; }
.meta .ic { width: 15px; height: 15px; color: var(--primary); }
.soon-text { font-size: 1.15rem !important; color: var(--gold-600) !important; }
.thumb-off.soon { background: var(--navy); }
.thumb.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- stats strip ---------- */
.section-sm { padding: 30px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: linear-gradient(135deg, #e8f1ff, #fff4e0); color: var(--primary); }
.stat strong { display: block; font-size: 1.45rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .82rem; color: #64748b; }

/* ---------- YouTube strip ---------- */
.yt-strip { background: linear-gradient(135deg, #1a0a0f, #3b0d16 60%, #5c1020); border-radius: 24px; padding: clamp(20px, 3vw, 32px); color: #f3d6db; }
.yt-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.yt-head h2 { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; }
.yt-head p { font-size: .9rem; }
.yt-head > div { flex: 1; min-width: 200px; }
.yt-logo { width: 52px; height: 52px; border-radius: 14px; background: #ff0033; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.yt-logo .ic { width: 28px; height: 28px; }
.btn-red { background: #ff0033; color: #fff; }
.btn-red:hover { background: #e0002d; transform: translateY(-2px); }
.yt-strip .shelf-track { grid-auto-columns: minmax(240px, calc((100% - 3 * 20px) / 4)); scrollbar-color: rgba(255,255,255,.3) transparent; }
.yt-strip .video { border-color: transparent; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; margin: 0 auto clamp(30px, 4vw, 48px); max-width: 640px; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.section-head h2, .contact-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-top: 8px; }

/* ---------- course thumbnails (YouTube-style banners) ---------- */
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; container-type: inline-size; }
.thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60cqw 60cqw at 85% 50%, rgba(255,255,255,.18), transparent 70%); }
.thumb-logo { position: absolute; right: 3cqw; top: 50%; transform: translateY(-50%); height: 84%; width: auto; filter: drop-shadow(0 1.5cqw 3cqw rgba(0,0,0,.4)); z-index: 1; transition: transform .5s var(--ease); }
.card:hover .thumb-logo { transform: translateY(-50%) scale(1.06) rotate(-3deg); }
.thumb-off { position: absolute; top: 4.5cqw; left: 5cqw; background: #e11d48; color: #fff; font-weight: 800; font-size: 3.6cqw; padding: .7cqw 2.2cqw; border-radius: 1.4cqw; z-index: 2; letter-spacing: .02em; }
.thumb-class { position: absolute; left: 5cqw; top: 14cqw; font-size: 17cqw; font-weight: 800; line-height: .9; text-shadow: 0 1cqw 3cqw rgba(0,0,0,.35); z-index: 2; }
.thumb-class small { display: block; font-size: 4cqw; letter-spacing: .32em; font-weight: 800; color: #ffd27a; margin-bottom: 1cqw; }
.thumb-class sup { font-size: 6cqw; }
.thumb-class.is-word { font-size: 11.5cqw; }
.thumb-batch { position: absolute; left: 5cqw; top: 37.5cqw; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 3.5cqw; padding: .7cqw 2.2cqw; border-radius: 1.4cqw; text-transform: uppercase; letter-spacing: .05em; z-index: 2; }
.theme-amber .thumb-batch { background: #fff; }
.thumb-subs { position: absolute; left: 5cqw; top: 45cqw; display: flex; flex-wrap: wrap; gap: 1.2cqw; z-index: 2; max-width: 62cqw; }
.thumb-subs span { background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.4); font-size: 2.9cqw; font-weight: 600; padding: .3cqw 1.8cqw; border-radius: 99px; }

/* ---------- cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { display: block; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.08rem; font-weight: 800; }
.mini-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 4px; font-size: .84rem; }
.mini-list li { display: flex; align-items: center; gap: 5px; }
.mini-list .ic { color: var(--success); width: 15px; height: 15px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: auto 0 14px; padding-top: 12px; }
.price strong { font-size: 1.75rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price s { color: var(--muted); font-size: .95rem; }
.badge-off { background: #dcfce7; color: #15803d; font-weight: 800; font-size: .75rem; padding: 3px 8px; border-radius: 6px; }

/* ---------- results ---------- */
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 22px; }
.result { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; text-align: center; transition: .35s var(--ease); }
.result:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.result::before { content: ""; position: absolute; inset: 0 0 auto; height: 70px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(135deg, var(--navy), var(--primary)); }
.result-top { position: relative; width: 92px; margin: 0 auto 12px; }
.result-top img, .result .avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.result .avatar { display: grid; place-items: center; color: var(--muted); }
.result .avatar .ic { width: 40px; height: 40px; }
.result-score { position: absolute; right: -18px; bottom: -4px; background: linear-gradient(135deg, #ffc248, var(--gold-600)); color: var(--navy); font-weight: 800; font-size: .85rem; padding: 4px 10px; border-radius: 999px; border: 3px solid #fff; }
.result h4 { font-size: 1.05rem; }
.result-class { font-size: .8rem; font-weight: 700; color: var(--primary); }
.result p { font-size: .88rem; margin-top: 10px; }
.result .q { width: 16px; height: 16px; color: var(--gold); margin-right: 6px; vertical-align: -2px; }
.stars { display: flex; justify-content: center; gap: 2px; margin-top: 10px; color: var(--gold); }
.stars .ic { width: 15px; height: 15px; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.feature { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .35s var(--ease); }
.feature:hover { border-color: #cfe0f6; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature-ic { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--sky)); color: #fff; box-shadow: 0 8px 18px -8px var(--primary); }
.feature:nth-child(even) .feature-ic { background: linear-gradient(135deg, var(--gold-600), #ffc248); box-shadow: var(--shadow-gold); }
.feature-ic .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 1.02rem; font-weight: 800; }
.feature p { font-size: .9rem; margin-top: 3px; }

/* ---------- founder ---------- */
.founder-card { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; background: linear-gradient(135deg, var(--navy), #0f2c66); color: #cbd8f0;
  border-radius: 28px; padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.founder-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(rgba(245,165,36,.25), transparent 70%); }
.founder-photo { aspect-ratio: 1; border-radius: 24px; overflow: hidden; border: 3px solid rgba(245,165,36,.6); box-shadow: 0 20px 40px -14px rgba(0,0,0,.6); display: grid; place-items: center; background: var(--navy-2); color: var(--muted); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .ic { width: 60px; height: 60px; }
.founder-text { position: relative; z-index: 1; }
.founder-text .q-big { display: block; width: 40px; height: 40px; color: var(--gold); margin: 10px 0 6px; opacity: .9; }
.founder-text p { margin: 8px 0; font-size: 1.02rem; }
.founder-text p:first-of-type { color: #fff; font-weight: 700; }
.sign { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.sign strong { display: block; font-family: "Cinzel", serif; font-size: 1.35rem; color: var(--gold); }
.sign span { font-size: .88rem; }

/* ---------- videos ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin: -10px auto 28px; flex-wrap: wrap; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.tab { padding: 9px 20px; border-radius: 10px; border: 0; background: none; font-weight: 700; color: #64748b; cursor: pointer; transition: .25s; }
.tab.active { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -8px var(--primary); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.video p { padding: 14px 16px; font-weight: 700; font-size: .9rem; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--primary)); overflow: hidden; }
.video-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video:hover .video-img img { transform: scale(1.06); }
.play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.95); color: #e11d48; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.play .ic { width: 22px; height: 22px; margin-left: 3px; }
.video:hover .play { transform: scale(1.12); }

/* ---------- FAQ ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: border-color .25s, box-shadow .25s; }
details[open] { border-color: #cfe0f6; box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
summary::-webkit-details-marker { display: none; }
summary > .ic { color: var(--primary); transition: transform .3s var(--ease); }
details[open] summary > .ic { transform: rotate(180deg); }
details p { padding: 0 20px 18px; }

/* ---------- contact / lead form ---------- */
.contact { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #cbd8f0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-copy h2 { color: #fff; margin-bottom: 24px; }
.contact-actions { display: grid; gap: 12px; max-width: 380px; }
.contact-tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: .25s var(--ease); }
.contact-tile:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.contact-tile .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--gold); color: var(--navy); }
.contact-tile span { display: block; font-size: .78rem; }
.contact-tile b { color: #fff; }
.lead-form { background: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.lead-form label { display: grid; gap: 6px; }
.lead-form label span { font-size: .82rem; font-weight: 700; color: var(--ink); }
.lead-form input, .lead-form select { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink); width: 100%; transition: border-color .2s, background .2s; }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--primary); background: #fff; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 6px; min-height: 1px; }
.form-msg.ok { color: var(--success); }

/* ---------- listing page ---------- */
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.list-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; width: min(360px, 100%); transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(28,111,209,.1); }
.search-box .ic { color: var(--muted); }
.search-box input { border: 0; outline: 0; font: inherit; width: 100%; background: none; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 26px; padding: 14px 16px; background: var(--bg-soft); border-radius: 16px; }
.fgroup { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fgroup > span { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 2px; }
.fchip { padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .86rem; color: #475569; cursor: pointer; transition: .2s; }
.fchip:hover { border-color: #b9cfee; }
.fchip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 50px 20px; display: grid; justify-items: center; gap: 8px; }
.empty-state > .ic { width: 46px; height: 46px; color: var(--muted); }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .85rem; color: #64748b; margin-bottom: 10px; }
.crumbs a { color: var(--primary); font-weight: 600; }

/* ---------- product detail ---------- */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.pd-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; }
.pd-main h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; margin: 4px 0 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 12px; margin-top: 22px; }
.facts div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.facts .ic { grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: #e8f1ff; color: var(--primary); }
.facts span { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts b { font-size: .92rem; color: var(--ink); line-height: 1.25; }
.pd-block { margin-top: 34px; }
.pd-block h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; }
.learn { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px 20px; padding: 20px; border-radius: 16px; background: #f4fbf6; border: 1px solid #d5f0dd; }
.learn li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .94rem; }
.learn .ic { color: var(--success); margin-top: 2px; }
.includes { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; font-size: .9rem; color: var(--ink); }
.includes .ic { color: var(--primary); }
.syl summary { gap: 12px; justify-content: flex-start; }
.syl summary > .ic { margin-left: 8px; }
.syl-ic .ic { color: #fff; width: 20px; height: 20px; }
.syl-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--sky)); color: #fff; flex-shrink: 0; }
.syl em { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--gold-600); background: #fff4e0; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.syl ol { padding: 0 20px 18px 48px; } .syl li { padding: 3px 0; }
.syl > p { padding: 0 20px 18px; }
.pd-side { position: sticky; top: calc(var(--header-h) + 20px); }
.buy-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.buy-card .price { margin: 0; padding: 0; }
.buy-card .price strong { font-size: 2.1rem; }
.buy-card .small { display: flex; align-items: center; gap: 6px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: #64748b; text-align: center; }
.secure .ic { color: var(--success); }
.sticky-buy { display: none; }

/* ---------- checkout ---------- */
.co-wrap { max-width: 1000px; }
.steps { list-style: none; display: flex; justify-content: center; gap: clamp(10px, 4vw, 40px); margin-bottom: 30px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: .9rem; }
.steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); border: 1.5px solid var(--line); font-size: .8rem; }
.steps li.on { color: var(--ink); } .steps li.on span { background: var(--primary); border-color: var(--primary); color: #fff; }
.co-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.co-form, .co-summary { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); }
.co-form { display: grid; gap: 16px; box-shadow: var(--shadow); }
.co-form h1 { font-size: 1.5rem; font-weight: 800; }
.co-form label { display: grid; gap: 6px; }
.co-form label span { font-size: .82rem; font-weight: 700; color: var(--ink); }
.co-form input { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink); width: 100%; }
.co-form input:focus { outline: none; border-color: var(--primary); background: #fff; }
.co-summary { background: var(--bg-soft); }
.co-summary h3 { margin-bottom: 14px; }
.co-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.co-item .thumb { border-radius: 10px; }
.co-item b { display: block; color: var(--ink); line-height: 1.3; }
.co-item span { font-size: .82rem; }
.co-summary dl { margin: 18px 0 12px; display: grid; gap: 8px; }
.co-summary dl div { display: flex; justify-content: space-between; font-size: .92rem; }
.co-summary .disc dd { color: var(--success); font-weight: 700; }
.co-summary .total { border-top: 1px dashed #cbd5e1; padding-top: 10px; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.co-summary .small { display: flex; gap: 6px; align-items: center; }
.co-done { text-align: center; max-width: 560px; margin: 10px auto 0; display: grid; justify-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px 24px; box-shadow: var(--shadow); }
.co-done .big-ok { width: 64px; height: 64px; color: var(--success); }
.co-done h1 { font-size: 1.8rem; }
.center-row { justify-content: center; flex-wrap: wrap; }

.policy h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.policy h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.policy ul { padding-left: 20px; }

/* ---------- footer ---------- */
.footer { background: #061029; color: #94a3b8; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer h5 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-grid a:not(.logo), .footer-grid span { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .9rem; transition: color .2s; overflow-wrap: anywhere; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin: 14px 0 18px; font-size: .9rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid !important; place-items: center; padding: 0 !important; }
.socials a:hover { background: var(--gold); color: var(--navy) !important; }
.copy { text-align: center; border-top: 1px solid #142445; margin-top: 44px; padding-top: 20px; font-size: .82rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.result-grid .reveal:nth-child(2), .feature-grid .reveal:nth-child(2) { transition-delay: .08s; }
.result-grid .reveal:nth-child(3), .feature-grid .reveal:nth-child(3) { transition-delay: .16s; }
.result-grid .reveal:nth-child(4), .feature-grid .reveal:nth-child(4) { transition-delay: .24s; }

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

/* ---------- bottom nav (phones) ---------- */
.bottom-nav { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-search { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff;
    padding: 16px 20px 96px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease); font-size: 1.02rem; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a:not(.btn), .drop-btn { padding: 14px 12px; width: 100%; justify-content: space-between; text-align: left; border-bottom: 1px solid var(--line); border-radius: 0; display: flex; align-items: center; gap: 8px; }
  .drop-menu { position: static; translate: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 8px 8px; min-width: 0; }
  .drop-btn .ic { display: none; }
  .nav-links .btn { margin: 18px 0 0; padding: 14px; }
  .auth-slot { align-items: stretch; flex-direction: column; margin: 8px 0 0; }
  .auth-slot .auth-user { max-width: none; padding: 8px 12px; }
  .auth-slot .btn { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shelf-track { grid-auto-columns: minmax(260px, calc((100% - 2 * 20px) / 3)); }
  .pd-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; }
}
@media (max-width: 860px) {
  .class-pick { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-grid, .founder-card, .co-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 240px; width: 100%; margin-inline: auto; }
  .founder-text { text-align: center; }
  .founder-text .q-big { margin-inline: auto; }
  .contact-copy { text-align: center; }
  .contact-actions { margin-inline: auto; }
  .pd-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-side { position: static; }
  .banner { aspect-ratio: 16 / 9; }
  .banner-copy { max-width: 72%; }
  .banner-art { height: 80%; right: -6cqw; opacity: .9; }
  .car-btn { display: none; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: grid; justify-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: #64748b; padding: 4px 0; }
  .bottom-nav a .ic { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--primary); }
  .bottom-nav a:last-child { color: #229ed9; }
  body { padding-bottom: 64px; }
  body[data-page="product"] { padding-bottom: 136px; }
  .sticky-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 65;
    padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(10,27,61,.25); }
  .sticky-buy .price { margin: 0; padding: 0; gap: 8px; }
  .sticky-buy .price strong { font-size: 1.35rem; }
  .sticky-buy .btn { padding: 12px 28px; }
  .co-summary { order: -1; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .container, .narrow { width: calc(100% - 32px); }
  .logo img { height: 38px; }
  .logo span { font-size: 1.02rem; }
  .announce { font-size: .76rem; }
  .announce .container > .ic { display: none; }
  .hero-store { padding-top: 14px; }
  .carousel-track { border-radius: 18px; }
  .banner { aspect-ratio: auto; min-height: 210px; }
  .banner-copy { max-width: 78%; padding: 22px 20px 34px; }
  .banner h2 { font-size: 1.45rem; }
  .banner p { font-size: .84rem; margin: 6px 0 14px; }
  .banner .btn { padding: 10px 16px; font-size: .85rem; }
  .banner-art { height: 70%; right: -14%; opacity: .55; }
  .class-pick { gap: 10px; }
  .class-tile { padding: 14px; gap: 10px; }
  .class-tile b { font-size: 1.6rem; }
  .class-tile span { font-size: .9rem; }
  .class-tile > .ic { display: none; }
  .shelf { padding-top: 26px; }
  .shelf-track, .yt-strip .shelf-track { grid-auto-columns: 82%; gap: 14px; }
  .stat { padding: 16px; gap: 10px; flex-direction: column; text-align: center; }
  .stat .ic { width: 40px; height: 40px; padding: 9px; }
  .stat strong { font-size: 1.2rem; }
  .filters { gap: 12px; padding: 12px; }
  .fgroup { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .fchip { flex-shrink: 0; padding: 7px 14px; }
  .list-head { align-items: stretch; }
  .search-box { width: 100%; }
  .co-item { grid-template-columns: 96px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .auth-dialog { padding: 26px 20px; }
}
