/* ============================================================
   MSX GROUP — Landing khóa học "10 Cấp Độ Làm Chủ AI"
   Design system: dark tech / neural / glassmorphism
   ============================================================ */

:root {
  --bg: #04070d;
  --bg-2: #070c16;
  --bg-3: #0a1220;
  --ink: #e8eef7;
  --ink-dim: #9aa7ba;
  /* #5b6678 cũ chỉ ~3.2:1 trên nền tối (chữ chìm). Nâng lên ~6:1 (đạt WCAG AA cho chữ nhỏ). */
  --ink-faint: #8591a6;
  --green: #00e887;
  --cyan: #3ef2ff;
  --gold: #ffc24b;
  --gold-2: #ffaa00;
  --danger: #ff5e6c;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --font-main: "Be Vietnam Pro", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 18px;
  --max-w: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: #04140c; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000; /* trên các nút nổi (widgets z-index 9997–9999) */
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
}
#preloader .pl-logo {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 4px;
  color: var(--ink-dim); text-transform: uppercase;
}
#preloader .pl-count {
  font-size: clamp(48px, 9vw, 96px); font-weight: 800;
  background: linear-gradient(120deg, var(--green), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
#preloader .pl-bar {
  width: min(320px, 60vw); height: 2px; background: var(--line);
  border-radius: 2px; overflow: hidden;
}
#preloader .pl-bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

/* ---------- Canvas Three.js ---------- */
#webgl {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* Lớp phủ tối toàn trang (giữa canvas 3D và nội dung) — đảm bảo contrast cho text */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.30), rgba(4, 7, 13, 0.46)),
    radial-gradient(120% 90% at 50% 40%, rgba(4, 7, 13, 0.18), rgba(4, 7, 13, 0.52));
}

/* grain overlay */
body::after {
  content: ""; position: fixed; inset: -50%;
  z-index: 2; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

main { position: relative; z-index: 3; }

/* ---------- Nav (redesign: scrim luôn hiện, không backdrop-filter → mượt màn rộng) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(20px, 4vw, 48px);
  /* Scrim gradient ở đỉnh: chữ nav luôn đọc rõ trên mọi section mà KHÔNG cần blur. */
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.92) 0%, rgba(4, 7, 13, 0.5) 55%, transparent 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: rgba(6, 10, 18, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px -14px rgba(0, 0, 0, 0.75);
  padding-top: 10px; padding-bottom: 10px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.nav-logo-ai { color: var(--green); }
.nav-logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.nav-cta) {
  position: relative; font-size: 14px; color: var(--ink-dim);
  padding: 8px 14px; border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.28s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--ink); }

.nav-cta {
  font-size: 13.5px; font-weight: 700; padding: 11px 22px;
  border-radius: 99px; border: 1px solid var(--green);
  color: var(--green); background: rgba(0, 232, 135, 0.08);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav-cta .arr { transition: transform 0.3s; }
.nav-cta:hover { background: var(--green); color: #03130b; box-shadow: 0 0 24px rgba(0, 232, 135, 0.45); transform: translateY(-1px); }
.nav-cta:hover .arr { transform: translateX(4px); }
.nav-cta.gold { border-color: var(--gold); color: var(--gold); background: rgba(255, 194, 75, 0.08); }
.nav-cta.gold:hover { background: var(--gold); color: #1d1303; box-shadow: 0 0 24px rgba(255, 194, 75, 0.45); }
.nav-cta--mobile { display: none; }

/* Hamburger (mobile) */
.nav-burger {
  display: none; width: 44px; height: 44px; flex: none;
  position: relative; z-index: 10002; /* trên drawer (10001) để nút X luôn bấm được khi menu mở */
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(20, 28, 42, 0.6);
}
/* Focus ring nhìn thấy cho bàn phím (WCAG 2.4.7) */
.nav-burger:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px; border-radius: 10px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; z-index: 10000; background: rgba(2, 4, 8, 0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
/* Ẩn các nút nổi (chat/contact/back-to-top) khi MỞ menu hoặc chat → không lọt lên overlay */
body.menu-open .cw-fab, body.menu-open .fcontact, body.menu-open .totop,
body.cw-open .fcontact, body.cw-open .totop {
  opacity: 0 !important; pointer-events: none !important; transition: opacity 0.2s ease;
}
/* Khi menu mở: nâng cả .nav lên TRÊN scrim (drawer là con của .nav, vốn kẹt ở context z=100)
   → menu sắc nét phía trước, scrim chỉ làm mờ nội dung trang phía sau */
body.menu-open .nav { z-index: 10001; }
.nav-scrim.show { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  .nav-cta--desktop { display: none; }
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; z-index: 10001;
    width: min(80vw, 320px); height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 88px 22px 28px;
    background: #070c16; border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(100%); transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.nav-cta) { font-size: 16px; padding: 14px 16px; border-radius: 12px; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a:not(.nav-cta):hover,
  .nav-links a.is-active { background: rgba(255, 255, 255, 0.05); color: var(--ink); }
  .nav-cta--mobile { display: inline-flex; justify-content: center; margin-top: 16px; }
}

/* ---------- Section base ---------- */
section { position: relative; padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 48px); }
.wrap { max-width: var(--max-w); margin: 0 auto; position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--green);
  padding: 8px 18px; border: 1px solid rgba(0, 232, 135, 0.3);
  border-radius: 99px; background: rgba(0, 232, 135, 0.06);
  margin-bottom: 26px;
}
.kicker.gold { color: var(--gold); border-color: rgba(255, 194, 75, 0.35); background: rgba(255, 194, 75, 0.06); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

h1, h2, h3 { font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(38px, 6.4vw, 78px); }
.h-lg { font-size: clamp(30px, 4.6vw, 54px); }
.h-md { font-size: clamp(22px, 3vw, 32px); }

.grad-green {
  background: linear-gradient(110deg, var(--green) 10%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-gold {
  background: linear-gradient(110deg, var(--gold) 10%, #ff8c42 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Shimmer cụm nhấn tiêu đề hero: dải sáng quét nhẹ qua chữ gradient, lặp chậm */
.hero-title .grad-green {
  background: linear-gradient(110deg, var(--green) 0%, var(--cyan) 40%, #eafff7 50%, var(--cyan) 60%, var(--green) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShimmer 5s ease-in-out 1.2s infinite;
}
@keyframes gradShimmer { 0%, 60% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-title .grad-green { animation: none; } }
.lead { color: var(--ink-dim); font-size: clamp(16px, 1.6vw, 19px); max-width: 700px; }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 40px; border-radius: 99px;
  font-weight: 800; font-size: 16px; border: none;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.3s; }
.btn:hover .arr { transform: translateX(5px); }
.btn-green {
  background: linear-gradient(110deg, var(--green), #00c9a7);
  color: #03130b;
  box-shadow: 0 8px 32px rgba(0, 232, 135, 0.35);
}
.btn-green:hover { box-shadow: 0 14px 44px rgba(0, 232, 135, 0.5); }
.btn-gold {
  background: linear-gradient(110deg, var(--gold), var(--gold-2));
  color: #1d1303;
  box-shadow: 0 8px 32px rgba(255, 194, 75, 0.35);
}
.btn-gold:hover { box-shadow: 0 14px 44px rgba(255, 194, 75, 0.5); }
.btn-ghost {
  background: rgba(20, 28, 42, 0.66); color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); }
.btn-big { padding: 22px 52px; font-size: 18px; }

/* shine sweep on primary buttons */
.btn-green::after, .btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -80%; } 100% { left: 130%; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-top: 86px;
}
.hero .lead { margin: 28px auto 40px; }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
/* Router phụ dưới CTA hero: lối tắt cho người đã sẵn sàng → mục Sự kiện */
.hero-router { margin-top: 20px; font-size: 14px; color: var(--ink-dim); }
.hero-router a { color: var(--gold); font-weight: 600; border-bottom: 1px dashed rgba(255, 194, 75, 0.5); padding-bottom: 1px; transition: color 0.2s; }
.hero-router a:hover { color: var(--gold-2); }
.hero-meta {
  display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; justify-content: center;
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .hm {
  display: flex; flex-direction: column; gap: 4px; min-width: 110px;
}
.hero-meta .hm b {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero-meta .hm span { font-size: 12.5px; color: var(--ink-dim); letter-spacing: 1px; text-transform: uppercase; }
.scroll-hint {
  margin: 32px auto 0; align-self: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px;
  color: var(--ink-dim); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* free badge floating in hero */
.free-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
  color: #03130b; background: linear-gradient(110deg, var(--green), var(--cyan));
  padding: 10px 24px; border-radius: 99px;
  box-shadow: 0 0 40px rgba(0, 232, 135, 0.4);
  margin-bottom: 28px;
}
.price-strike { text-decoration: line-through; opacity: 0.72; font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 56px; will-change: transform; }
.marquee-track span {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee-track span::after { content: "◆"; color: var(--green); font-size: 9px; }
.marquee.gold .marquee-track span::after { color: var(--gold); }

/* ---------- Glass card ----------
   Nền ĐẶC (không backdrop-filter blur): trên trang gộp có ~15 thẻ .card (2 buổi học +
   testimonial featured + 9 tường + 3 ethos). backdrop-filter buộc re-blur mỗi khung hình
   trên nền WebGL luôn động → giật nặng màn rộng. Nền đặc cũng chặn particle lọt qua sau
   chữ (hết "text chìm"). Xem [[wide-screen-perf]] và ghi chú trong three-bg.js. */
.card {
  background: linear-gradient(155deg, #0c1626 0%, #080e1a 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  transition: transform 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 232, 135, 0.35); background: linear-gradient(155deg, #0f1b30 0%, #0a1220 100%); box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.9); }
.card.gold-hover:hover { border-color: rgba(255, 194, 75, 0.4); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 940px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.icon-chip {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  background: rgba(0, 232, 135, 0.1);
  border: 1px solid rgba(0, 232, 135, 0.25);
}
.icon-chip.gold { background: rgba(255, 194, 75, 0.1); border-color: rgba(255, 194, 75, 0.3); }

/* ---------- Pain / Dream section ---------- */
.pain-list { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.pain-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--line);
}
.pain-item .x { color: var(--danger); font-weight: 800; flex-shrink: 0; }
.pain-item .v { color: var(--green); font-weight: 800; flex-shrink: 0; }

/* ---------- Curriculum / Level timeline ---------- */
/* ===== LỘ TRÌNH 10 LEVEL — framed-thumb-glow (ảnh panel trái + nền đặc chặn particle) ===== */
.timeline { position: relative; margin-top: 64px; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline .progress-line {
  position: absolute; left: 27px; top: 0; width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--green), var(--cyan), var(--gold));
  transform-origin: top; transform: scaleY(0);
  box-shadow: 0 0 14px rgba(62, 242, 255, 0.35);
}

/* Block level — GSAP .reveal animate translateY/opacity ở .lv (div ngoài) */
.lv { position: relative; padding: 0 0 30px 84px; }

/* Bi số 01..10 */
.lv-num {
  position: absolute; left: 0; top: 16px;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  background: var(--bg-3); border: 1px solid var(--line);
  color: var(--ink-dim); z-index: 3;
  transition: border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.lv.is-free .lv-num { border-color: var(--green); color: var(--green); box-shadow: 0 0 18px rgba(0, 232, 135, 0.25); }
.lv.is-paid .lv-num { border-color: rgba(255, 194, 75, 0.5); color: var(--gold); box-shadow: 0 0 18px rgba(255, 194, 75, 0.18); }
.lv:hover .lv-num { transform: scale(1.06); }
.lv.is-free:hover .lv-num { box-shadow: 0 0 26px rgba(0, 232, 135, 0.45); }
.lv.is-paid:hover .lv-num { box-shadow: 0 0 26px rgba(255, 194, 75, 0.4); }

/* CARD: flex 2 cột phẳng, nền ĐẶC chặn particle three.js.
   (Đã BỎ backdrop-filter blur ở đây — nền đã đặc nên không cần. Việc 10 card
   phải re-blur backdrop mỗi khung hình trên nền WebGL luôn động là thủ phạm
   chính gây GIẬT trên màn hình rộng; xem ghi chú trong three-bg.js.) */
.lv-card {
  position: relative;
  display: flex; align-items: stretch; gap: 0;
  min-height: 232px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(150deg, #0a1420, #070c16);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .lv-card { background: linear-gradient(150deg, #0a1424, #070c16); }
}
/* Dải sáng dọc mép trái theo màu level */
.lv-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 4;
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  opacity: 0.55; transition: opacity 0.35s ease;
}
.lv.is-paid .lv-card::before { background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.lv-card:hover { transform: translateX(6px); }
.lv-card:hover::before { opacity: 1; }
.lv.is-free .lv-card:hover {
  border-color: rgba(0, 232, 135, 0.42);
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.9), 0 0 36px -12px rgba(0, 232, 135, 0.3);
}
.lv.is-paid .lv-card:hover {
  border-color: rgba(255, 194, 75, 0.42);
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.9), 0 0 36px -12px rgba(255, 194, 75, 0.28);
}

/* MEDIA: ảnh panel phủ kín chiều cao card, cố định bên trái */
.lv-media {
  position: relative;
  flex: 0 0 290px; align-self: stretch;
  overflow: hidden;
  background: var(--bg-3);
  border-right: 1px solid var(--line);
  transition: border-color 0.45s ease;
}
.lv-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  will-change: transform;
}
.lv-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0) 58%, rgba(4, 7, 13, 0.55) 100%),
    linear-gradient(0deg, rgba(4, 7, 13, 0.34), rgba(4, 7, 13, 0) 46%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.28), rgba(4, 7, 13, 0) 22%);
}
.lv-media::before {
  content: ""; position: absolute; top: 14%; bottom: 14%; right: 0; width: 2px;
  z-index: 2; border-radius: 2px;
  background: linear-gradient(180deg, transparent, currentColor, transparent);
  opacity: 0.5;
}
.lv.is-free .lv-media { color: var(--green); }
.lv.is-paid .lv-media { color: var(--gold); }
.lv.is-free .lv-media img { filter: saturate(1.05); }
.lv.is-paid .lv-media img { filter: saturate(1.05) contrast(1.02); }
.lv-card:hover .lv-media img { transform: scale(1.05); }
.lv.is-free .lv-card:hover .lv-media { border-right-color: rgba(0, 232, 135, 0.5); }
.lv.is-paid .lv-card:hover .lv-media { border-right-color: rgba(255, 194, 75, 0.5); }

/* CỘT TEXT (.lv-body) — căn giữa dọc, hết bug khoảng trống */
.lv-body {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  gap: 9px; padding: 24px 28px;
}
.lv-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; }
.lv-head h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.25; }
.lv-desc { color: var(--ink-dim); font-size: 15px; line-height: 1.55; margin: 0; }
.lv-output {
  margin-top: 4px; padding: 12px 16px; border-radius: 12px;
  background: rgba(0, 232, 135, 0.06);
  border: 1px dashed rgba(0, 232, 135, 0.28);
  font-size: 13.5px; color: var(--ink-dim); line-height: 1.5;
}
.lv.is-paid .lv-output { background: rgba(255, 194, 75, 0.06); border-color: rgba(255, 194, 75, 0.28); }
.lv-output b { color: var(--ink); }

/* Tag */
.tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 99px; white-space: nowrap;
}
.tag-free { background: rgba(0, 232, 135, 0.14); color: var(--green); border: 1px solid rgba(0, 232, 135, 0.35); }
.tag-stage { background: rgba(255, 194, 75, 0.12); color: var(--gold); border: 1px solid rgba(255, 194, 75, 0.3); }

/* L10 cao trào: gradient vàng-xanh, không cần thêm class HTML.
   Nền ĐẶC (không backdrop-filter) — pha sắc vàng/xanh trên nền tối đặc. */
.lv:last-child .lv-card,
.lv.is-final .lv-card {
  border-color: rgba(255, 194, 75, 0.4);
  background: linear-gradient(150deg, #1a1c10, #070c16 52%, #061a12);
}
.lv:last-child .lv-card::before,
.lv.is-final .lv-card::before {
  background: linear-gradient(180deg, transparent, var(--gold-2), var(--green) 70%, transparent);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) { .lv-media { flex-basis: 240px; } }
@media (max-width: 760px) {
  .lv { padding: 0 0 26px 0; }
  .lv-num { position: static; margin-bottom: 14px; top: auto; }
  .timeline::before, .timeline .progress-line { display: none; }
  .lv-card { flex-direction: column; align-items: stretch; min-height: 0; }
  .lv-media {
    order: -1; flex-basis: auto;
    width: 100%; height: clamp(180px, 52vw, 260px);
    border-right: none; border-bottom: 1px solid var(--line);
  }
  .lv.is-free .lv-card:hover .lv-media { border-right-color: var(--line); border-bottom-color: rgba(0, 232, 135, 0.5); }
  .lv.is-paid .lv-card:hover .lv-media { border-right-color: var(--line); border-bottom-color: rgba(255, 194, 75, 0.5); }
  .lv-media::before { display: none; }
  .lv-media::after { background: linear-gradient(0deg, rgba(4, 7, 13, 0.7), rgba(4, 7, 13, 0) 44%); }
  .lv-media img { object-position: center 40%; }
  .lv-body { padding: 20px 20px 22px; justify-content: flex-start; }
  .lv-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lv-card, .lv-media img, .lv-num { transition: none; }
  .lv-card:hover { transform: none; }
  .lv-card:hover .lv-media img { transform: none; }
}

/* ---------- Value stack (offer) ---------- */
.stack { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.stack-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 28px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s;
}
.stack-item:hover { border-color: rgba(0, 232, 135, 0.35); transform: translateX(6px); }
.stack-item .si-l { display: flex; align-items: center; gap: 18px; }
.stack-item .si-icon { font-size: 26px; }
.stack-item h4 { font-size: 16.5px; margin-bottom: 2px; }
.stack-item p { font-size: 13.5px; color: var(--ink-faint); }
.stack-item .si-price {
  font-family: var(--font-mono); font-weight: 700; white-space: nowrap;
  color: var(--ink-dim); font-size: 15px;
}
.stack-total {
  margin-top: 22px; padding: 30px 32px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(0, 232, 135, 0.1), rgba(62, 242, 255, 0.06));
  border: 1px solid rgba(0, 232, 135, 0.4);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.stack-total .st-label { font-size: 15px; color: var(--ink-dim); }
.stack-total .st-strike {
  font-family: var(--font-mono); font-size: clamp(18px, 2.4vw, 26px);
  text-decoration: line-through; color: var(--ink-faint);
}
.stack-total .st-now {
  font-size: clamp(34px, 5vw, 56px); font-weight: 800;
}
.stack-total.gold { background: linear-gradient(120deg, rgba(255, 194, 75, 0.1), rgba(255, 140, 66, 0.06)); border-color: rgba(255, 194, 75, 0.45); }

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: clamp(12px, 2vw, 22px); justify-content: center; margin: 36px 0; }
.cd-cell {
  min-width: clamp(70px, 10vw, 110px);
  padding: 18px 10px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--line);
  text-align: center;
}
.cd-cell b {
  display: block; font-size: clamp(30px, 5vw, 52px); font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--green), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-cell.gold b { background: linear-gradient(120deg, var(--gold), #ff8c42); -webkit-background-clip: text; background-clip: text; }
.cd-cell span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- Seats bar (scarcity) ---------- */
.seats { max-width: 560px; margin: 28px auto 0; text-align: left; }
.seats .seats-info { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 8px; }
.seats .seats-info b { color: var(--gold); }
.seats-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.seats-bar i {
  display: block; height: 100%; width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--danger));
}

/* ---------- Testimonials ---------- */
/* Bố cục: 1 card NỔI BẬT (phân cấp) + lưới 3×3 ĐỀU. Card trong lưới cao bằng
   nhau (grid stretch) và ghim phần tác giả xuống đáy nên các hàng thẳng đều. */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
@media (max-width: 940px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testi-grid { grid-template-columns: 1fr; } }
/* Tường học viên (masonry) — gói trọn 9 thẻ còn lại, cao thấp tự xếp tự nhiên */
.testi-wall { columns: 3 290px; column-gap: 22px; margin-top: 26px; }
.testi-wall .testi-card { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 22px; }
@media (max-width: 940px) { .testi-wall { columns: 2 260px; } }
/* Mobile: dải ngang cuộn (marquee tự chạy + vuốt được) thay cho cột dọc */
@media (max-width: 600px) {
  .testi-wall {
    columns: auto;
    display: flex; flex-wrap: nowrap; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .testi-wall::-webkit-scrollbar { display: none; }
  .testi-wall .testi-card { flex: 0 0 82%; max-width: 320px; margin: 0; }
}
.testi-card { display: flex; flex-direction: column; }
.testi-card .quote { font-size: 15px; color: var(--ink-dim); font-style: italic; margin-bottom: 22px; }
.testi-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; } /* ghim đáy → hàng đều */

/* Card nổi bật: quote lớn, avatar to, viền + nền accent xanh */
.testi-featured {
  margin-top: 56px;
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(26px, 3.5vw, 44px);
  border-color: rgba(0, 232, 135, 0.32);
  background: linear-gradient(120deg, rgba(0, 232, 135, 0.07), rgba(62, 242, 255, 0.03));
}
.testi-featured .tf-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; min-width: 156px; }
.testi-featured .ava-lg {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(0, 232, 135, 0.45);
}
.testi-featured .ava-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-featured .tf-name b { display: block; font-size: 16px; }
.testi-featured .tf-name span { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.testi-featured .quote { font-size: clamp(17px, 1.9vw, 23px); line-height: 1.5; color: var(--ink); font-style: italic; margin: 0; }
@media (max-width: 600px) {
  .testi-featured { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .testi-featured .tf-person { flex-direction: row; justify-content: center; text-align: left; }
}
.testi-card .ava {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #03130b; flex-shrink: 0;
}
.testi-card .who b { display: block; font-size: 14.5px; }
.testi-card .who span { font-size: 12.5px; color: var(--ink-faint); }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--glass); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  color: var(--ink); font-weight: 700; font-size: 15.5px;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .pm { color: var(--green); font-size: 20px; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-dim); font-size: 14.5px; }

/* ---------- Form ----------
   Nền ĐẶC (bỏ backdrop-filter blur): 2 form lớn luôn trong vùng nhìn khi cuộn,
   re-blur backdrop mỗi frame trên WebGL động rất nặng trên màn rộng. */
.form-card {
  max-width: 620px; margin: 0 auto;
  background: linear-gradient(160deg, #0d1828 0%, #090f1b 100%);
  border: 1px solid rgba(0, 232, 135, 0.3);
  border-radius: 24px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(0, 232, 135, 0.08);
}
.form-card.gold { border-color: rgba(255, 194, 75, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(255, 194, 75, 0.08); }
.field { margin-bottom: 18px; text-align: left; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-dim); margin-bottom: 8px; letter-spacing: 0.5px; }
.field input, .field select {
  width: 100%; padding: 15px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--ink); font-family: inherit; font-size: 15px;
  outline: none; transition: border-color 0.3s, box-shadow 0.3s;
}
/* Placeholder rõ (UA mặc định bị mờ ~3.5:1) — đặt màu tường minh ≥4.5:1, opacity:1 cho Firefox */
.field input::placeholder { color: var(--ink-faint); opacity: 1; }
.field input:focus, .field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 232, 135, 0.15);
}
.form-card.gold .field input:focus, .form-card.gold .field select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 194, 75, 0.15);
}
.field select option { background: var(--bg-3); }
.form-note { font-size: 12.5px; color: var(--ink-faint); text-align: center; margin-top: 16px; }
.form-success {
  display: none; text-align: center; padding: 36px 10px;
}
.form-success .fs-icon { font-size: 56px; margin-bottom: 16px; }

/* ---------- Big CTA section ---------- */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 232, 135, 0.12), transparent 70%);
}
.cta-final.gold-bg {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 194, 75, 0.12), transparent 70%);
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #060a12;
  border-top: 1px solid var(--line);
  display: none;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; padding: 15px; font-size: 15px; }
@media (max-width: 760px) { .sticky-cta { display: block; } }

/* ---------- Footer ---------- */
footer {
  position: relative; z-index: 3;
  border-top: 1px solid var(--line);
  padding: 48px clamp(20px, 5vw, 48px) calc(60px + env(safe-area-inset-bottom));
  text-align: center; color: var(--ink-faint); font-size: 13.5px;
}
footer .f-logo { font-weight: 800; font-size: 17px; color: var(--ink); margin-bottom: 10px; }
footer .f-logo-img {
  display: block;
  height: 64px; width: auto; margin: 0 auto 14px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
footer a { color: var(--ink-dim); }
footer a:hover { color: var(--green); }

/* ---------- Reveal helpers (GSAP targets) ---------- */
.reveal, .reveal-stagger > * { opacity: 0; }
html.no-js .reveal, html.no-js .reveal-stagger > * { opacity: 1; }

/* ---------- Mystery price box ---------- */
.mystery {
  margin: 40px auto 0; max-width: 860px;
  border-radius: 24px; padding: 40px clamp(22px, 4vw, 56px);
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 194, 75, 0.08), rgba(255, 94, 108, 0.04));
  border: 1px solid rgba(255, 194, 75, 0.35);
  position: relative; overflow: hidden;
}
.mystery::before {
  content: ""; position: absolute; inset: -2px;
  background: conic-gradient(from var(--ang, 0deg), transparent 70%, rgba(255, 194, 75, 0.5), transparent 85%);
  animation: spin-border 5s linear infinite;
  z-index: -1;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --ang: 360deg; } }
.mystery .price-hidden {
  font-family: var(--font-mono); font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 800; letter-spacing: 6px; color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 194, 75, 0.4);
  margin: 18px 0; white-space: nowrap;
}
.mystery p { color: var(--ink-dim); font-size: 15px; }

/* ---------- Compare table (vì sao khó từ chối) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
.compare .col {
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); background: var(--glass);
}
.compare .col.win { border-color: rgba(0, 232, 135, 0.4); background: rgba(0, 232, 135, 0.04); }
.compare .col h3 { margin-bottom: 20px; font-size: 19px; }
.compare .col ul { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--ink-dim); }
.compare .col ul li { display: flex; gap: 12px; }
.compare .col ul li::before { content: "✕"; color: var(--danger); font-weight: 800; }
.compare .col.win ul li::before { content: "✓"; color: var(--green); }

/* ---------- Level card media: đã gộp vào khối "LỘ TRÌNH 10 LEVEL" phía trên ---------- */

/* ---------- Testimonial photo avatar ---------- */
.testi-card .ava { overflow: hidden; padding: 0; }
.testi-card .ava img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Avatar proof strip ---------- */
.proof-strip { margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.proof-track { display: inline-flex; gap: 14px; will-change: transform; align-items: center; }
.proof-track img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--line); flex-shrink: 0;
}

/* ---------- Event visual (ảnh/video sân khấu) ---------- */
.event-visual {
  margin: 8px auto 0; max-width: 920px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 194, 75, 0.28); position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.event-visual img, .event-visual video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.event-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 7, 13, 0.55));
}
.event-visual .ev-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 26px; font-size: 13.5px; color: var(--ink-dim);
  display: flex; align-items: center; gap: 10px;
}
.event-visual .ev-cap b { color: var(--gold); }

/* ---------- Mockup quà tặng ---------- */
.gift-visual { display: flex; justify-content: center; margin-bottom: 8px; }
.gift-visual img {
  max-width: 380px; width: 100%; border-radius: 18px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* ---------- Roadmap bridge banner ---------- */
.bridge {
  margin-top: 64px; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255, 194, 75, 0.3);
  background: linear-gradient(120deg, rgba(255, 194, 75, 0.08), rgba(0, 232, 135, 0.05));
  padding: clamp(32px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.bridge h3 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 8px; }
.bridge p { color: var(--ink-dim); font-size: 15px; max-width: 540px; }

/* =====================================================================
   ASCENSION REDESIGN — hero editorial, rail ngang, curtain, cursor…
   ===================================================================== */

/* ---------- HERO editorial broken-grid ---------- */
.hero--editorial { text-align: left; align-items: stretch; justify-content: center; }
.hero--editorial .hero-grid {
  width: 100%; max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(14px, 2.2vh, 28px);
  align-items: start;
}
.hero-main { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
.hero-aside { grid-column: 6 / span 7; grid-row: 2; min-width: 0; }
.hero--editorial .kicker { margin-bottom: 14px; }
.hero--editorial .free-badge { margin-bottom: 16px; }
.hero-title { font-size: clamp(34px, 5.4vw, 78px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; white-space: nowrap; }
.hero-title .hero-line { display: block; overflow: hidden; padding: 0.2em 0.05em 0.2em; }
.hero-title .hero-line.bleed-left { margin-left: -3vw; }
.hero-title .line-in { display: inline-block; will-change: transform; }
.hero--editorial .lead { margin: 0 0 24px; }
.hero--editorial .hero-ctas { justify-content: flex-start; }
.hero--editorial .hero-meta {
  justify-content: flex-start; gap: clamp(13px, 1.6vw, 26px);
  margin-top: 16px; padding-top: 15px; flex-wrap: nowrap;
}
.hero--editorial .hero-meta .hm { min-width: 0; }
.hero--editorial .hero-meta .hm b { font-size: clamp(24px, 2.6vw, 34px); }
.hero--editorial .hero-meta .hm span { font-size: 11.5px; }

/* Tăng tách bạch cho text hero nằm trên lõi 3D sáng */
.hero .lead, .hero-meta .hm b, .hero-meta .hm span, .scroll-hint {
  text-shadow: 0 1px 14px rgba(4, 7, 13, 0.95), 0 0 6px rgba(4, 7, 13, 0.8);
}

.ghost-num {
  position: absolute; top: clamp(36px, 7vh, 110px); right: clamp(-12px, 1vw, 28px); z-index: 0;
  font-family: var(--font-mono); font-weight: 800; line-height: 0.78;
  font-size: clamp(170px, 33vw, 540px);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.06);
  pointer-events: none; user-select: none; letter-spacing: -0.04em;
}
.ghost-num.ghost-green { -webkit-text-stroke-color: rgba(0, 232, 135, 0.12); }

@media (max-width: 980px) {
  .hero--editorial .hero-grid { display: block; }
  .hero-main, .hero-aside { grid-column: auto; }
  .hero-aside { margin-top: 26px; padding-bottom: 0; }
  .hero-title { white-space: normal; font-size: clamp(34px, 9vw, 60px); }
  .hero-title .hero-line.bleed-left { margin-left: 0; }
  .ghost-num { font-size: clamp(120px, 44vw, 320px); top: 56px; }
}

/* ---------- HORIZONTAL RAIL 10 LEVEL ---------- */
.h-rail-section { padding: 0; position: relative; }
.h-rail-sticky {
  height: 100svh; min-height: 540px; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(96px, 11vh, 116px) 0 clamp(12px, 1.8vh, 22px);
}
.h-rail-head { padding: 0 clamp(20px, 5vw, 56px); flex: 0 0 auto; }
.h-rail-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.h-rail-counter { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); white-space: nowrap; flex: 0 0 auto; }
.h-rail-counter b { color: var(--green); font-size: 22px; }
.h-rail-title { font-size: clamp(18px, 2.3vw, 27px); margin: 0; line-height: 1.15; flex: 1 1 auto; min-width: 0; }
.h-rail-bar { height: 3px; background: var(--line); border-radius: 3px; margin: 10px 0 5px; overflow: hidden; }
.rail-progress { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold)); box-shadow: 0 0 12px rgba(62,242,255,.4); }
.h-rail-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-faint); }

.h-rail-track {
  /* align-items:center + cap chiều cao card → trên màn cao, card không bị kéo giãn để lộ
     khoảng trống bên trong; phần dư thành lề trên/dưới (căn giữa) thay vì ô trống trong card. */
  flex: 1 1 auto; min-height: 0; display: flex; align-items: center; gap: clamp(18px, 2vw, 30px);
  padding: clamp(12px, 2vh, 22px) clamp(20px, 5vw, 56px) 4px;
  width: max-content; will-change: transform;
}

/* Panel = .lv tái dùng, bố cục DỌC trong rail. Card CAO theo nội dung (không ép full màn),
   bề rộng do TỈ LỆ ẢNH quyết định: ảnh full-width aspect 4/3 → đúng tỉ lệ ảnh gốc nên hiện
   trọn, không cắt, KHÔNG dải tối 2 bên. align-items:center của track lo căn giữa dọc. */
.h-rail-track .lv { position: relative; flex: 0 0 clamp(300px, 30vw, 500px); height: auto; padding: 0; }
.h-rail-track .lv-card {
  height: auto; display: flex; flex-direction: column; min-height: 0; gap: 0;
  overflow: hidden; transform: none;
  /* bán trong suốt (KHÔNG backdrop-filter → không ảnh hưởng độ mượt) cho lõi 3D ánh nhẹ sau card */
  background: linear-gradient(150deg, rgba(12, 22, 38, 0.66), rgba(7, 12, 22, 0.6));
}
.h-rail-track .lv-card:hover { transform: translateY(-4px); }
.h-rail-track .lv-media {
  position: relative; width: 100%; aspect-ratio: 4 / 3; height: auto; flex: 0 0 auto;
  border-right: none; border-bottom: 1px solid var(--line); align-self: stretch;
  background: transparent;
}
/* khung media = đúng tỉ lệ ảnh (4:3) → cover hiện TRỌN ảnh, không cắt, không dải bên */
.h-rail-track .lv-media img { object-fit: cover; object-position: center; }
.h-rail-track .lv-media::before,
.h-rail-track .lv-media::after { display: none; }
/* Bố cục body căn hàng đồng nhất giữa mọi panel: tag → tiêu đề (chừa 2 dòng) → desc → output (đáy) */
.h-rail-track .lv-body {
  flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column;
  justify-content: flex-start; gap: 9px; padding: 15px clamp(16px, 1.5vw, 24px) 16px;
}
.h-rail-track .lv-head {
  flex-direction: column; align-items: flex-start; gap: 7px;
  min-height: 76px; margin: 0;
}
.h-rail-track .lv-head .tag { order: -1; }
.h-rail-track .lv-head h3 { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.24; }
.h-rail-track .lv-desc {
  font-size: 13px; line-height: 1.45; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.h-rail-track .lv-output { margin-top: 4px; font-size: 12.5px; padding: 10px 13px; } /* sát mô tả, hết ô trống thừa */

/* Số lớn dạng VIỀN RỖNG ở góc phải — ảnh hiện xuyên qua, không che nội dung */
.h-rail-track .lv-num {
  position: absolute; top: 6px; right: 14px; left: auto; bottom: auto;
  width: auto; height: auto; border: none; background: none; box-shadow: none;
  z-index: 5; font-size: clamp(70px, 8.2vw, 124px); line-height: 0.8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6)); transition: none;
}
.h-rail-track .lv.is-free .lv-num { -webkit-text-stroke-color: var(--green); }
.h-rail-track .lv.is-paid .lv-num { -webkit-text-stroke-color: var(--gold); }
.h-rail-track .lv:hover .lv-num { transform: none; }

/* Panel CTA cuối rail */
.panel-cta {
  flex: 0 0 clamp(300px, 30vw, 460px); height: auto; min-height: clamp(420px, 56vh, 560px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  border-radius: var(--radius); border: 1px solid rgba(0, 232, 135, 0.35);
  background: linear-gradient(155deg, rgba(0, 232, 135, 0.1), rgba(7, 12, 22, 0.95) 55%, rgba(255, 194, 75, 0.06));
}
.panel-cta-inner { padding: 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.panel-cta-inner h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
.panel-cta-inner p { color: var(--ink-dim); font-size: 15px; max-width: 280px; }
.panel-cta-inner .kicker { margin: 0; }

/* Mobile: rail → stack dọc thường (tái dùng layout card cũ) */
@media (max-width: 820px) {
  .h-rail-section { padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 48px); }
  .h-rail-sticky { height: auto; min-height: 0; overflow: visible; display: block; padding: 0; }
  .h-rail-head { padding: 0; text-align: center; }
  .h-rail-head-row { justify-content: center; }
  .h-rail-counter, .h-rail-bar, .h-rail-hint { display: none; }
  .h-rail-title { font-size: clamp(22px, 5vw, 30px); }
  .h-rail-track {
    flex-direction: column; width: auto; transform: none !important;
    gap: 20px; padding: 36px 0 0; will-change: auto;
  }
  .h-rail-track .lv { flex: none; width: 100%; height: auto; }
  .h-rail-track .lv-card { flex-direction: column; }
  .h-rail-track .lv-media { height: clamp(180px, 52vw, 260px); flex: none; }
  .h-rail-track .lv-num { font-size: clamp(70px, 18vw, 120px); }
  .panel-cta { flex: none; width: 100%; height: auto; padding: 40px 0; }
}


/* ---------- Reduced-motion: rail → stack dọc, hiện đủ 10 level ---------- */
@media (prefers-reduced-motion: reduce) {
  .h-rail-section { padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 48px); }
  .h-rail-sticky { height: auto; min-height: 0; overflow: visible; display: block; padding: 0; }
  .h-rail-head { padding: 0; }
  .h-rail-bar, .h-rail-hint, .h-rail-counter { display: none; }
  .h-rail-track { flex-direction: column; width: auto; transform: none !important; gap: 20px; padding: 36px 0 0; will-change: auto; }
  .h-rail-track .lv { flex: none; width: 100%; height: auto; }
  .h-rail-track .lv-card { flex-direction: column; }
  .h-rail-track .lv-media { height: clamp(200px, 30vh, 320px); flex: none; }
  .h-rail-track .lv-num { font-size: clamp(80px, 12vw, 140px); }
  .panel-cta { flex: none; width: 100%; height: auto; padding: 44px 20px; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; }
  .msx-select-menu, .msx-toast, .msx-dialog, .msx-dialog-overlay { transition: none !important; }
}

/* ============================================================
   MSX UI KIT — custom dropdown · toast · confirm dialog
   Đồng bộ design system dark-neon / glass của landing.
   ============================================================ */

/* ---------- Custom dropdown ---------- */
.msx-select { position: relative; width: 100%; }
.msx-select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-radius: 12px; text-align: left;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--ink); font-family: inherit; font-size: 15px; line-height: 1.3;
  outline: none; transition: border-color 0.3s, box-shadow 0.3s;
}
.msx-select-trigger .msx-select-value.is-placeholder { color: var(--ink-faint); }
.msx-select-trigger .msx-select-arrow {
  flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-dim);
  border-bottom: 2px solid var(--ink-dim); transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s, border-color 0.3s;
}
.msx-select.is-open .msx-select-trigger,
.msx-select-trigger:focus-visible {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 232, 135, 0.15);
}
.msx-select.is-open .msx-select-arrow { transform: rotate(225deg) translate(-3px, -3px); border-color: var(--green); }
.form-card.gold .msx-select.is-open .msx-select-trigger,
.form-card.gold .msx-select-trigger:focus-visible {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 194, 75, 0.15);
}
.form-card.gold .msx-select.is-open .msx-select-arrow { border-color: var(--gold); }

.msx-select-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  max-height: 280px; overflow-y: auto; padding: 6px;
  background: rgba(10, 18, 32, 0.96); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(-6px) scale(0.985); transform-origin: top center;
  pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.msx-select.is-open .msx-select-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.msx-select-menu::-webkit-scrollbar { width: 8px; }
.msx-select-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 8px; }
.msx-option {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 9px;
  font-size: 14.5px; color: var(--ink-dim); cursor: pointer; transition: background 0.18s, color 0.18s;
}
.msx-option:hover, .msx-option.is-active { background: rgba(0, 232, 135, 0.1); color: var(--ink); }
.msx-option.is-selected { color: var(--green); font-weight: 600; }
.msx-option.is-selected::after {
  content: "✓"; margin-left: auto; font-size: 13px; color: var(--green);
}
.msx-option.is-placeholder { color: var(--ink-faint); }
.form-card.gold .msx-option:hover, .form-card.gold .msx-option.is-active { background: rgba(255, 194, 75, 0.1); }
.form-card.gold .msx-option.is-selected, .form-card.gold .msx-option.is-selected::after { color: var(--gold); }

/* ---------- Toast ---------- */
.msx-toast-wrap {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  z-index: 2000; display: flex; flex-direction: column; gap: 12px;
  width: min(420px, calc(100vw - 32px)); pointer-events: none;
}
.msx-toast {
  display: flex; align-items: flex-start; gap: 13px; padding: 15px 18px;
  border-radius: 14px; background: rgba(10, 18, 32, 0.95);
  border: 1px solid var(--line); border-left: 3px solid var(--green);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); backdrop-filter: blur(18px);
  color: var(--ink); font-size: 14.5px; line-height: 1.5; pointer-events: auto;
  opacity: 0; transform: translateY(-14px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.msx-toast.is-in { opacity: 1; transform: translateY(0); }
.msx-toast .mt-icon { flex: none; font-size: 18px; line-height: 1.4; }
.msx-toast .mt-body { flex: 1; }
.msx-toast .mt-title { font-weight: 700; margin-bottom: 2px; }
.msx-toast .mt-close {
  flex: none; background: none; border: none; color: var(--ink-faint);
  font-size: 18px; line-height: 1; padding: 2px; transition: color 0.2s;
}
.msx-toast .mt-close:hover { color: var(--ink); }
.msx-toast.is-success { border-left-color: var(--green); }
.msx-toast.is-error { border-left-color: var(--danger); }
.msx-toast.is-info { border-left-color: var(--cyan); }
.msx-toast.is-warn { border-left-color: var(--gold); }

/* ---------- Confirm dialog ---------- */
.msx-dialog-overlay {
  position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(4, 7, 13, 0.72); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s ease;
}
.msx-dialog-overlay.is-in { opacity: 1; }
.msx-dialog {
  width: min(440px, 100%); padding: clamp(26px, 4vw, 36px); text-align: center;
  background: var(--glass-2); border: 1px solid rgba(0, 232, 135, 0.3); border-radius: 22px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 232, 135, 0.08);
  backdrop-filter: blur(18px);
  transform: translateY(14px) scale(0.97); transition: transform 0.25s ease;
}
.msx-dialog-overlay.is-in .msx-dialog { transform: translateY(0) scale(1); }
.msx-dialog.is-danger { border-color: rgba(255, 94, 108, 0.4); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 94, 108, 0.1); }
.msx-dialog .md-icon {
  width: 58px; height: 58px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; border-radius: 50%; background: rgba(0, 232, 135, 0.12);
}
.msx-dialog.is-danger .md-icon { background: rgba(255, 94, 108, 0.14); }
.msx-dialog .md-title { font-size: clamp(19px, 2.4vw, 23px); font-weight: 800; letter-spacing: -0.02em; }
.msx-dialog .md-text { color: var(--ink-dim); font-size: 15px; margin-top: 10px; }
.msx-dialog .md-actions { display: flex; gap: 12px; margin-top: 26px; }
.msx-dialog .md-actions .btn { flex: 1; padding: 14px 22px; font-size: 15px; }
.msx-btn-cancel {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--ink);
}
.msx-btn-cancel:hover { background: rgba(255, 255, 255, 0.12); }
.msx-btn-danger {
  background: linear-gradient(110deg, var(--danger), #ff3b4e); color: #fff;
  box-shadow: 0 8px 32px rgba(255, 94, 108, 0.35);
}
.msx-btn-danger:hover { box-shadow: 0 14px 44px rgba(255, 94, 108, 0.5); }

/* ============================================================
   HERO — Ô VIDEO AI (lấp khoảng trống trái) + GIẢNG VIÊN
   ============================================================ */

/* figure GIỮ khung (aspect-ratio) để khi ẩn nút → chèn <video> vẫn đúng kích thước */
.hero-media {
  grid-column: 1 / span 5; grid-row: 2; align-self: center;
  position: relative; margin: 0; min-width: 0;
  width: 100%; max-width: 384px; aspect-ratio: 4 / 5;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; padding: 0; border: 1px solid rgba(0, 232, 135, 0.28);
  border-radius: 22px; overflow: hidden; cursor: pointer; isolation: isolate;
  background: var(--bg-3);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.85), 0 0 60px -28px rgba(0, 232, 135, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.hero-video:hover { transform: translateY(-4px); border-color: rgba(0, 232, 135, 0.5); box-shadow: 0 36px 84px -24px rgba(0, 0, 0, 0.9), 0 0 74px -22px rgba(0, 232, 135, 0.6); }
.hero-video:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.hero-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-video-grad {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.12) 0%, rgba(4, 7, 13, 0) 32%, rgba(4, 7, 13, 0.5) 76%, rgba(4, 7, 13, 0.92) 100%);
}
.hero-video-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green); padding: 6px 12px; border-radius: 99px;
  background: rgba(4, 7, 13, 0.6); border: 1px solid rgba(0, 232, 135, 0.4);
}
.hero-video-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero-video-play {
  position: absolute; top: 50%; left: 50%; z-index: 3; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #03130b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 10px 30px rgba(0, 232, 135, 0.5); transition: transform 0.3s ease;
}
.hero-video-play svg { width: 25px; height: 25px; margin-left: 3px; }
.hero-video:hover .hero-video-play { transform: translate(-50%, -50%) scale(1.08); }
.hero-video-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(0, 232, 135, 0.5); animation: vpulse 2.6s ease-out infinite; }
@keyframes vpulse { 0% { transform: scale(0.9); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }
.hero-video-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 16px 15px; text-align: left; font-size: 13px; color: var(--ink); line-height: 1.4; }
.hero-video-cap b { color: var(--green); font-weight: 700; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; object-fit: cover; border-radius: 22px; background: #000; border: 1px solid rgba(0, 232, 135, 0.3); }
@media (prefers-reduced-motion: reduce) { .hero-video-play::before { animation: none; } }

/* ---------- Giảng viên / speaker ---------- */
.speaker {
  display: grid; grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: 56px;
}
.speaker-photo {
  position: relative; margin: 0; border-radius: 24px; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; background: var(--bg-3);
  border: 1px solid rgba(0, 232, 135, 0.3);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 70px -30px rgba(0, 232, 135, 0.45);
}
.speaker-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
/* hoà nền xám studio vào nền tối neon: tối 4 mép + đáy đậm */
.speaker-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(125% 92% at 50% 22%, rgba(4, 7, 13, 0) 44%, rgba(4, 7, 13, 0.55) 100%),
    linear-gradient(180deg, rgba(4, 7, 13, 0) 52%, rgba(4, 7, 13, 0.88) 100%);
}
.speaker-ring { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(0, 232, 135, 0.22), inset 0 0 60px -22px rgba(0, 232, 135, 0.55); }
.speaker-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.5px; color: var(--ink); padding: 7px 13px;
  border-radius: 99px; background: rgba(4, 7, 13, 0.6); border: 1px solid var(--line);
}
.speaker-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.speaker-chip {
  position: absolute; z-index: 3; display: flex; flex-direction: column; line-height: 1.1;
  padding: 12px 16px; border-radius: 14px; background: rgba(10, 18, 32, 0.92);
  border: 1px solid var(--line); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.85);
}
.speaker-chip b { font-size: 22px; font-weight: 800; }
.speaker-chip span { font-size: 11px; color: var(--ink-dim); letter-spacing: 0.3px; }
.speaker-chip--a { top: 18px; right: -16px; }
.speaker-chip--a b { color: var(--green); }
.speaker-chip--b { bottom: 58px; left: -18px; }
.speaker-chip--b b { color: var(--gold); font-size: 18px; }
.speaker-name { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.speaker-role { color: var(--ink-dim); font-size: clamp(15px, 1.7vw, 17px); margin-top: 10px; }
.speaker-role b { color: var(--ink); }
.speaker-intro { color: var(--ink-dim); font-size: 15.5px; margin-top: 18px; line-height: 1.7; }
.speaker-intro b { color: var(--ink); }
.speaker-creds { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.speaker-creds li { position: relative; padding-left: 30px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.55; }
.speaker-creds li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
  color: var(--green); background: rgba(0, 232, 135, 0.12); border: 1px solid rgba(0, 232, 135, 0.3);
}
.speaker-creds li b { color: var(--ink); }
.speaker-ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .speaker { grid-template-columns: 1fr; gap: 30px; }
  .speaker-photo { max-width: 360px; margin: 0 auto; width: 100%; }
  .speaker-chip--a { right: 8px; }
  .speaker-chip--b { left: 8px; bottom: 64px; }
}

/* HERO mobile: xếp dọc, video xuống cuối để không đẩy CTA xuống sâu */
@media (max-width: 980px) {
  .hero--editorial .hero-grid { display: flex; flex-direction: column; }
  .hero-media { order: 3; align-self: center; width: 100%; max-width: 300px; margin: 22px auto 0; }
}

/* ============================================================
   A11Y — focus ring cho phím Tab + tôn trọng reduced-motion
   ============================================================ */
/* Nút CTA chính + FAQ + link thiếu focus-visible → bổ sung (WCAG 2.4.7). */
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* Tắt MỌI animation lặp vô hạn khi người dùng yêu cầu giảm chuyển động (grain nền,
   pulse, shine, drip, spin-border…). Chỉ ảnh hưởng animation, KHÔNG đụng transition. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
  }
}

/* LƯỚI AN TOÀN preloader: nếu GSAP/CDN không tải được (main.js không chạy), #preloader
   tự mờ đi sau ~3.5s để KHÔNG che trang vĩnh viễn. Luồng JS bình thường đã ẩn nó ở ~2.2s
   nên fallback này chỉ kích hoạt khi JS hỏng. */
@keyframes pl-failsafe { to { opacity: 0; visibility: hidden; } }
#preloader { animation: pl-failsafe 0.5s ease 3.5s forwards; }
