:root {
  --brand: #0d4fb3; --brand-2: #0f9f95; --accent: #ffb020; --ink: #12233d; --muted: #566884;
  --bg: #ffffff; --alt: #f3f6fb; --line: #dfe6f1; --night: #061a33; --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: "Be Vietnam Pro", "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 19px; font-weight: 700; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: #2a1c00; font-weight: 700; font-size: 16px; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(255, 176, 32, .8); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { box-shadow: none; border-color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--brand); }

.nav { position: fixed; inset: 0 0 auto; z-index: 20; color: #fff; transition: background .25s, box-shadow .25s; }
.nav.solid, .nav.open { background: rgba(6, 26, 51, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -14px #000; }
.nav-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, #2f8cff, var(--brand-2)); position: relative; }
.logo-mark::after { content: ""; position: absolute; left: 10px; top: 7px; width: 8px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(42deg); }
.menu { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.menu a { opacity: .82; } .menu a:hover { opacity: 1; color: var(--accent); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: #fff; }

.hero { color: #fff; text-align: center; padding: 128px 0 0; background:
  radial-gradient(900px 520px at 85% 0%, rgba(33, 118, 214, .45), transparent 70%),
  radial-gradient(760px 480px at 0% 60%, rgba(14, 150, 140, .34), transparent 70%),
  linear-gradient(180deg, var(--night) 0, var(--night) calc(100% - 180px), var(--bg) calc(100% - 180px)); }
.hero .eyebrow { color: #5fd0c5; }
.hero h1 { font-size: clamp(32px, 5.6vw, 64px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { max-width: 720px; margin: 20px auto 0; font-size: clamp(16px, 1.8vw, 19px); color: #c9d8ee; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px 0 44px; }
.player { max-width: 1000px; margin-inline: auto; border-radius: 20px; overflow: hidden; background: #04101f; box-shadow: 0 40px 80px -30px rgba(4, 16, 31, .75), 0 0 0 1px rgba(255, 255, 255, .14); }
.player video { width: 100%; aspect-ratio: 16 / 9; }

.section { padding: 88px 0; }
.alt { background: var(--alt); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.pains article { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.pains b { display: inline-block; margin-bottom: 14px; color: var(--brand); font-size: 30px; font-weight: 800; }
.pains p { margin-top: 8px; color: var(--muted); }
.safe article { border-top: 4px solid var(--brand-2); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.card { display: flex; flex-direction: column; min-width: 0; padding: 26px 26px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(13, 60, 130, .45); }
.card.wide { grid-column: span 2; }
.card.full { grid-column: 1 / -1; }
.card p { margin: 8px 0 18px; color: var(--muted); font-size: 15px; }
.shot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.card .shot { position: relative; flex: 1 1 220px; min-height: 220px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; }
.card .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.card.wide .shot { flex-basis: 360px; min-height: 360px; }

.dark { background: linear-gradient(150deg, var(--night), #052a33); color: #fff; }
.dark .sub { color: #b7c9e4; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin: 30px 0 20px; }
.steps button { width: 100%; height: 100%; min-height: 104px; padding: 12px 6px; border: 2px solid rgba(170, 205, 255, .26); border-radius: 14px; background: rgba(16, 42, 78, .8); color: #dbe8fb; font-size: 13.5px; font-weight: 600; line-height: 1.35; transition: background .2s, border-color .2s; }
.steps button b { display: block; font-size: 20px; color: var(--accent); margin-bottom: 4px; }
.steps button[aria-current="step"] { background: linear-gradient(150deg, #117f74, #0d5f72); border-color: #3fe0c2; color: #fff; }
.step-card { border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); padding: 26px 30px; min-height: 190px; }
.step-card span { color: #5fd0c5; font-weight: 700; font-size: 14px; }
.step-card h3 { margin: 4px 0 8px; font-size: 24px; }
.step-card p { color: #cbdaf0; }
.step-card .back { margin-top: 10px; color: #ffc9bf; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.tabs button { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.role { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.checks { list-style: none; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 7px; height: 13px; border: solid var(--brand-2); border-width: 0 3px 3px 0; transform: rotate(42deg); }
.role .shot img, .level .shot img, .ai-shot img { width: 100%; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(13, 40, 90, .45), 0 0 0 1px var(--line); }

.intro { max-width: 680px; color: var(--muted); font-size: 17px; }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0 28px; }
.levels button { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 600; text-align: left; line-height: 1.35; transition: border-color .2s, background .2s; }
.levels b { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--alt); color: var(--brand); font-weight: 800; }
.levels button[aria-selected="true"] { border-color: var(--brand); background: #eef4ff; }
.levels button[aria-selected="true"] b { background: var(--brand); color: #fff; }
.level { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.level h3 { margin-bottom: 18px; font-size: 22px; }

.ai { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; align-items: center; }
.ai-steps { list-style: none; counter-reset: s; margin: 20px 0; display: grid; gap: 18px; }
.ai-steps li { counter-increment: s; position: relative; padding-left: 50px; }
.ai-steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.ai-steps b { display: block; } .ai-steps span, .note { color: var(--muted); font-size: 15px; }
.ai-shot img { box-shadow: 0 30px 60px -28px rgba(20, 20, 70, .7); }

.faq { max-width: 820px; }
.faq details { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { padding: 18px 22px; font-weight: 600; cursor: pointer; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

.cta { text-align: center; color: #fff; padding: 76px 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.cta p { margin-bottom: 26px; opacity: .92; }
footer { background: var(--night); color: #9fb4d4; padding: 34px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
footer .logo { color: #fff; }

dialog { margin: auto; padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
dialog::backdrop { background: rgba(3, 12, 26, .86); }
dialog img { max-width: 96vw; max-height: 90vh; width: auto; border-radius: 12px; }
#zoom-close { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(6, 26, 51, .9); color: #fff; font-size: 18px; }

/* chỉ ẩn-hiện dần khi JavaScript chạy được */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px); }

@media (max-width: 960px) {
  .menu { position: absolute; left: 0; right: 0; top: 68px; display: none; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: rgba(6, 26, 51, .97); }
  .nav.open .menu { display: flex; }
  .menu a { padding: 11px 0; }
  .burger { display: flex; }
  .nav-row .btn { margin-left: auto; }
  .pains, .bento { grid-template-columns: 1fr 1fr; }
  .card.wide, .card.full { grid-column: span 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .role, .level, .ai { grid-template-columns: minmax(0, 1fr); }
  .levels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 104px; }
  .hero br { display: none; }
  .pains, .bento { grid-template-columns: minmax(0, 1fr); }
  .card.wide, .card.full { grid-column: auto; }
  .card.wide .shot { flex-basis: 220px; min-height: 220px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps button { min-height: 84px; }
  .step-card { padding: 20px; }
  .levels button { padding: 10px; font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
