/* Trang công khai của website DQ Studio: trang chủ, Về chúng tôi, Liên hệ, Đăng nhập, Đăng ký. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/app/fonts/inter-vietnamese-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/app/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/app/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f6f7;
  --surface: #ffffff;
  --text: #16161d;
  --text-2: #55555f;
  --text-3: #8a8a94;
  --border: #e4e4e8;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #fff1e8;
  --success: #15803d;
  --error: #b91c1c;
  --ink: #16161d;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-size: 20px; flex-shrink: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

.eyebrow { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.h2 { font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 640px) { .h2 { font-size: 36px; } }
.lead { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--radius-sm); padding: 8px 16px; font-size: 13px; font-weight: 500; border: 1px solid transparent; cursor: pointer; background: transparent; transition: background 150ms, color 150ms, border-color 150ms; white-space: nowrap; }
.btn.lg { padding: 12px 20px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: rgba(228, 228, 232, 0.6); }
.btn-ghost.on-dark { color: #fff; }
.btn-ghost.on-dark:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn-outline:hover { background: var(--accent-soft); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn .ms { font-size: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(228, 228, 232, 0.7); background: rgba(246, 246, 247, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; }
.nav { display: none; flex: 1; align-items: center; gap: 4px; }
.nav a { border-radius: 8px; padding: 8px 12px; font-size: 14px; color: var(--text-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { font-weight: 500; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.home-nav { display: flex; align-items: center; gap: 4px; }
.menu { position: relative; }
.menu summary { list-style: none; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: rgba(228, 228, 232, 0.6); }
.menu .ic-close { display: none; }
.menu[open] .ic-open { display: none; }
.menu[open] .ic-close { display: inline-block; }
.menu nav { position: absolute; top: 44px; right: 0; width: 224px; display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 32px -8px rgba(22, 22, 29, 0.2); }
.menu nav a { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.menu nav a:hover { background: var(--bg); color: var(--text); }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu { display: none; }
}
@media (max-width: 420px) {
  .site-header .home-nav .btn-ghost { display: none; }
  .site-header .wrap { gap: 12px; }
  .site-header .home-nav .btn-primary { padding: 8px 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; pointer-events: none; background: radial-gradient(60% 60% at 80% 0%, #fff1e8 0%, rgba(246, 246, 247, 0) 70%); }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: 56px; padding-top: 56px; padding-bottom: 80px; }
@media (min-width: 640px) { .hero .wrap { padding-top: 80px; } }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: end; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.pill { display: inline-flex; width: fit-content; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding: 4px 12px; font-size: 12px; color: var(--text-2); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 40px; line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); }
@media (min-width: 640px) { .hero h1 { font-size: 60px; } }
.hero-sub { max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
@media (min-width: 640px) { .hero-sub { font-size: 19px; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-link { display: inline-flex; align-items: center; gap: 4px; padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.hero-link:hover { color: var(--text); }
.hero-points { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-2); }
.hero-points li { display: flex; align-items: center; gap: 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.7); padding: 12px 16px; }
.hero-points .ms { color: var(--accent); }
.models { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.models p { font-size: 13px; color: var(--text-3); text-align: center; }
.models ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.models li { font-family: ui-monospace, Consolas, monospace; font-size: 14px; font-weight: 500; color: var(--text-2); }

/* ---------- Mockup ---------- */
.mock { overflow: hidden; border-radius: 18px; border: 1px solid rgba(22, 22, 29, 0.1); background: #fff; box-shadow: 0 40px 90px -40px rgba(22, 22, 29, 0.55), 0 2px 6px rgba(22, 22, 29, 0.06); }
.mock-chrome { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); background: #fafafb; padding: 10px 16px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e8; }
.mock-tabs { display: none; gap: 4px; }
.mock-tabs button { padding: 4px 12px; font-size: 11px; color: var(--text-3); background: none; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; cursor: pointer; }
.mock-tabs button:hover { color: var(--text); }
.mock-tabs button.on { border-color: var(--border); background: #fff; color: var(--text); font-weight: 500; }

/* ---------- Slide dự án mẫu ---------- */
.mock-slides { display: grid; }
.mock-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity 450ms ease, transform 450ms ease, visibility 0s linear 450ms; }
.mock-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity 450ms ease, transform 450ms ease; }
.mock-slide.wide .scenes { grid-template-columns: repeat(2, 1fr); align-content: start; }
.mock-slide.wide .scene-media { aspect-ratio: 16 / 9; }
/* Màn rộng: thẻ cảnh 16:9 nằm ngang (video trái, lời thoại phải) để slide cao bằng slide dọc */
@media (min-width: 768px) {
  .mock-slide.wide .scenes { grid-template-columns: repeat(2, 1fr); }
  .mock-slide.wide .scene { display: grid; grid-template-columns: 58% 1fr; grid-template-rows: auto auto 1fr; column-gap: 10px; row-gap: 4px; padding: 8px; }
  .mock-slide.wide .scene-media { grid-row: 1 / 4; }
  .mock-slide.wide .scene-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mock-slide.wide .scene .l { -webkit-line-clamp: 3; }
}
.slide-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: -32px; }
.slide-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.slide-arrow:hover { color: var(--text); border-color: #d4d4d8; }
.slide-dots { display: flex; gap: 8px; }
.slide-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: #d4d4d8; cursor: pointer; transition: width 300ms ease, background 300ms ease; }
.slide-dots button.on { width: 26px; background: var(--accent); }
/* Slide giới thiệu (phim + chương) */
.intro-grid { display: grid; gap: 14px; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.intro-player { position: relative; border-radius: 12px; overflow: hidden; background: #0f0f14; aspect-ratio: 16 / 9; box-shadow: 0 18px 40px -24px rgba(22, 22, 29, 0.6); }
.intro-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-full { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: rgba(22, 22, 29, 0.72); color: #fff; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; backdrop-filter: blur(6px); }
.intro-full .ms { font-size: 17px; }
.intro-full:hover { background: rgba(22, 22, 29, 0.9); }
.intro-chapters { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.intro-chapters button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid transparent; border-radius: 10px; background: none; font: inherit; font-size: 12.5px; color: var(--text-2); text-align: left; cursor: pointer; transition: background 150ms, border-color 150ms; }
.intro-chapters button:hover { background: var(--bg); color: var(--text); }
.intro-chapters button.on { background: var(--accent-soft); border-color: #fbd5bd; color: var(--text); font-weight: 600; }
.intro-chapters .ms { flex: 0 0 auto; font-size: 17px; color: var(--accent); }
.intro-chapters span:not(.ms) { flex: 1; min-width: 0; text-align: left; }
.intro-chapters b { font-family: ui-monospace, Consolas, monospace; font-size: 11px; font-weight: 500; color: var(--text-3); }
.intro-foot { display: flex; align-items: center; gap: 14px; }
.intro-bar { position: relative; flex: 1; display: flex; gap: 3px; height: 10px; }
.intro-bar span { border-radius: 4px; }
.intro-head { position: absolute; top: -5px; bottom: -5px; left: 0; width: 2px; border-radius: 999px; background: var(--text); transition: left 250ms linear; }
.intro-foot .btn { padding: 10px 16px; font-size: 13px; flex-shrink: 0; }
@media (max-width: 1023px) { .intro-chapters { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .intro-chapters button { padding: 6px 8px; font-size: 11px; gap: 6px; }
  .intro-chapters b { display: none; }
  .intro-foot .btn { padding: 8px 12px; }
}
.film-btn { width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; transition: transform 150ms ease, box-shadow 150ms ease; }
.ready.film-btn b { display: flex; align-items: center; gap: 6px; font-family: inherit; font-size: 15px; letter-spacing: -0.01em; }
.ready.film-btn b .ms { font-size: 22px; }
.film-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(194, 65, 12, 0.6); }
.film-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(10, 10, 14, 0.78); backdrop-filter: blur(4px); }
.film-modal[hidden] { display: none; }
.film-box { position: relative; width: min(960px, 100%); display: flex; flex-direction: column; gap: 10px; }
.film-box video { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.film-box.vertical { width: min(420px, 100%); }
.film-box.vertical video { aspect-ratio: 9 / 16; max-height: 78vh; object-fit: contain; }
.film-box p { color: rgba(255, 255, 255, 0.75); font-size: 13px; text-align: center; }
.film-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.15); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.film-close:hover { background: rgba(255, 255, 255, 0.28); }
@media (prefers-reduced-motion: reduce) { .mock-slide, .mock-slide.on { transition: none; transform: none; } }
@media (min-width: 640px) { .mock-tabs { display: flex; } }
.mock-count { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; border: 1px solid var(--border); background: #fff; padding: 2px 8px; font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.mock-count .ms { font-size: 13px; color: var(--accent); }
.mock-body { display: flex; }
.mock-rail { display: none; width: 48px; flex-shrink: 0; flex-direction: column; align-items: center; gap: 12px; border-right: 1px solid var(--border); background: #fafafb; padding: 16px 0; color: var(--text-3); }
.mock-rail img { width: 22px; height: 22px; }
.mock-rail .ms { font-size: 18px; }
.mock-rail .on { border-radius: 6px; background: var(--accent-soft); padding: 4px; color: var(--accent); }
@media (min-width: 640px) { .mock-rail { display: flex; } }
.mock-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 16px; }
@media (min-width: 640px) { .mock-main { padding: 20px; } }
.mock-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mock-head p { margin-right: auto; font-size: 14px; font-weight: 600; }
.chip { border-radius: 999px; border: 1px solid var(--border); padding: 2px 8px; font-size: 11px; color: var(--text-2); }
.stepper { display: flex; align-items: center; gap: 6px; font-size: 11px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 6px; }
.stepper .st { display: flex; align-items: center; gap: 4px; border-radius: 999px; padding: 4px 8px; }
.stepper .st .ms { font-size: 12px; }
.stepper .done { background: var(--accent-soft); color: var(--accent); }
.stepper .active { background: var(--accent); color: #fff; font-weight: 500; }
.stepper .line { display: none; width: 16px; height: 1px; background: var(--border); }
@media (min-width: 640px) { .stepper .line { display: block; } }
.mock-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .mock-grid { grid-template-columns: 1fr 200px; } }
.scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .scenes { grid-template-columns: repeat(4, 1fr); } }
.scene { display: flex; flex-direction: column; gap: 8px; border-radius: 10px; border: 1px solid var(--border); padding: 8px; }
.scene-media { position: relative; aspect-ratio: 9 / 12; overflow: hidden; border-radius: 7px; background: var(--ink); }
.scene-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-media .play { position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, 0.4); color: #fff; display: flex; align-items: center; justify-content: center; }
.scene-media .play .ms { font-size: 14px; }
.scene-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.scene-top b { font-size: 11px; font-weight: 500; }
.ok-pill { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; background: #dcfce7; padding: 2px 8px; font-size: 10px; font-weight: 500; color: #15803d; }
.ok-pill .ms { font-size: 12px; }
.scene .t { font-family: ui-monospace, Consolas, monospace; font-size: 10px; color: var(--text-3); }
.scene .l { font-size: 11px; line-height: 1.35; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.refs { display: none; flex-direction: column; gap: 12px; }
@media (min-width: 1024px) { .refs { display: flex; } }
.ref { border-radius: 10px; border: 1px solid var(--border); padding: 12px; }
.ref > p { margin-bottom: 8px; font-size: 11px; font-weight: 500; color: var(--text-3); }
.ref .who { display: flex; align-items: center; gap: 8px; }
.ref .who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ref .who b { display: block; font-size: 12px; font-weight: 500; }
.ref .who span { font-size: 10px; color: var(--text-3); }
.ref .prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ref .prods img { aspect-ratio: 1; border-radius: 5px; border: 1px solid var(--border); background: #fff; object-fit: cover; }
.ready { border-radius: 10px; background: var(--accent-soft); padding: 12px; color: var(--accent); }
.ready p { font-size: 11px; }
.ready b { font-family: ui-monospace, Consolas, monospace; font-size: 18px; font-weight: 600; }
.timeline { display: flex; flex-direction: column; gap: 6px; }
.timeline .ticks { display: flex; justify-content: space-between; font-family: ui-monospace, Consolas, monospace; font-size: 10px; color: var(--text-3); }
.track { position: relative; display: flex; gap: 4px; height: 24px; }
.track span { flex: 1; border-radius: 4px; }
.track .playhead { position: absolute; top: -4px; bottom: -4px; width: 2px; flex: none; border-radius: 999px; background: var(--text); animation: playhead 8s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .track .playhead { animation: none; left: 72%; } }

/* ---------- Section chung ---------- */
.section { scroll-margin-top: 80px; }
.section.alt { border-top: 1px solid var(--border); background: var(--surface); }
.section .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.section-head { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }

.feat-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { display: flex; flex-direction: column; gap: 12px; border-radius: 16px; border: 1px solid var(--border); background: rgba(246, 246, 247, 0.6); padding: 24px; }
.feat .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08); display: flex; align-items: center; justify-content: center; }
.feat .ic .ms { font-size: 22px; color: var(--accent); }
.feat h3 { font-size: 16px; font-weight: 600; }
.feat p { font-size: 14px; line-height: 1.65; color: var(--text-2); }
.script-tile { display: flex; flex-direction: column; gap: 24px; overflow: hidden; border-radius: 16px; background: var(--ink); padding: 24px; color: #fff; }
@media (min-width: 640px) { .script-tile { padding: 32px; } }
@media (min-width: 768px) { .script-tile { grid-column: span 2; grid-row: span 2; } }
.script-tile .ms { font-size: 28px; color: #fb923c; }
.script-tile h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.script-tile > div > p { max-width: 440px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }
.script-box { margin-top: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); padding: 16px; }
.script-box .idea { margin-bottom: 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); padding: 8px 12px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.script-box .idea span { color: rgba(255, 255, 255, 0.45); }
.script-box li { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 10px 0; font-size: 13px; }
.script-box li b { font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 400; color: #fb923c; }
.script-box li span { color: rgba(255, 255, 255, 0.85); }

.steps { position: relative; display: grid; gap: 32px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps::before { content: ""; display: none; position: absolute; top: 20px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, #c2410c, #e4e4e8); }
@media (min-width: 768px) { .steps::before { display: block; } }
.step { position: relative; display: flex; gap: 16px; }
@media (min-width: 768px) { .step { flex-direction: column; align-items: flex-start; } }
.step .num { position: relative; z-index: 1; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08); display: flex; align-items: center; justify-content: center; color: var(--text-2); }
.step:first-child .num { color: var(--accent); }
.step .t { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--text-3); }
.step h3 { font-size: 17px; font-weight: 600; margin: 8px 0; }
.step p { font-size: 14px; line-height: 1.65; color: var(--text-2); }

/* ---------- Bảng giá ---------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 768px) { .plans.n3 { grid-template-columns: repeat(3, 1fr); } .plans.n2 { grid-template-columns: repeat(2, 1fr); } .plans.n1 { max-width: 420px; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; border-radius: 16px; padding: 24px; border: 1px solid var(--border); background: var(--surface); }
@media (min-width: 640px) { .plan { padding: 28px; } }
.plan.best { border-color: transparent; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(194, 65, 12, 0.6); }
.plan .flag { position: absolute; top: -12px; left: 24px; border-radius: 999px; background: var(--accent); color: #fff; padding: 4px 12px; font-size: 11px; font-weight: 600; }
.plan h3 { font-size: 17px; font-weight: 600; }
.plan .desc { margin-top: 4px; font-size: 13px; color: var(--text-2); }
.plan.best .desc, .plan.best .per { color: rgba(255, 255, 255, 0.65); }
.plan .price { display: flex; align-items: baseline; gap: 4px; }
.plan .price b { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.plan .per { font-size: 14px; color: var(--text-3); }
.plan ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); }
.plan.best ul { color: rgba(255, 255, 255, 0.85); }
.plan li { display: flex; gap: 8px; }
.plan li .ms { font-size: 18px; color: var(--accent); }
.plan.best li .ms { color: #fb923c; }
.plan li strong { color: var(--text); }
.plan.best li strong { color: #fff; }
.plan .btn { margin-top: auto; padding: 12px 16px; font-size: 14px; }
.plan.best .btn { background: var(--accent); color: #fff; }
.plan.best .btn:hover { background: var(--accent-hover); }
.plan:not(.best) .btn { border-color: var(--border); background: var(--surface); color: var(--text); }
.plan:not(.best) .btn:hover { background: var(--accent-soft); }
.rules { display: grid; gap: 12px 32px; }
@media (min-width: 768px) { .rules { grid-template-columns: 1fr 1fr; } }
.rules div { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; font-size: 14px; }
@media (min-width: 640px) { .rules div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; } }
.rules dt { flex-shrink: 0; font-weight: 500; }
.rules dd { margin: 0; color: var(--text-2); }
@media (min-width: 640px) { .rules dd { text-align: right; } }
.bank { display: flex; flex-direction: column; gap: 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: 24px; }
.bank dl { display: grid; gap: 6px 24px; margin: 0; font-size: 14px; }
@media (min-width: 640px) { .bank dl { grid-template-columns: auto 1fr; } }
.bank dt { color: var(--text-3); }
.bank dd { margin: 0; font-weight: 500; overflow-wrap: break-word; }
.bank dd.mono { white-space: nowrap; }
.skeleton { height: 288px; border-radius: 16px; background: rgba(228, 228, 232, 0.5); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---------- Dành cho ai ---------- */
.cases { display: grid; gap: 16px; }
@media (min-width: 768px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { display: flex; flex-direction: column; gap: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: 24px; }
.case .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.case .ic .ms { font-size: 22px; color: var(--accent); }
.case h3 { font-size: 17px; font-weight: 600; }
.case > p { font-size: 14px; line-height: 1.65; color: var(--text-2); }
.case .result { margin-top: auto; display: flex; gap: 8px; border-top: 1px solid var(--border); padding-top: 16px; font-size: 14px; line-height: 1.65; }
.case .result .ms { font-size: 18px; color: var(--success); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 24px; background: var(--ink); padding: 56px 24px; }
@media (min-width: 640px) { .cta { padding: 64px 48px; } }
.cta::before { content: ""; position: absolute; top: -96px; right: -96px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(234, 88, 12, 0.45), rgba(22, 22, 29, 0) 70%); }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
@media (min-width: 768px) { .cta-in { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.cta h2 { font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
@media (min-width: 640px) { .cta h2 { font-size: 40px; } }
.cta p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.65); }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--border); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--text-3); }
@media (min-width: 768px) { .site-footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer .brand { font-size: 13px; }
.site-footer .brand img { width: 22px; height: 22px; }
.site-footer .brand b { color: var(--text); font-weight: 500; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .note { max-width: 420px; font-size: 12px; }

/* ---------- Về chúng tôi ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none; background: radial-gradient(55% 60% at 85% 0%, #fff1e8 0%, rgba(246, 246, 247, 0) 70%); }
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 24px; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 640px) { .page-hero .wrap { padding-top: 80px; } }
.page-hero h1 { max-width: 820px; font-size: 36px; line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
@media (min-width: 640px) { .page-hero h1 { font-size: 54px; } }
.page-hero p.lead { max-width: 640px; font-size: 17px; }
@media (min-width: 640px) { .page-hero p.lead { font-size: 18px; } }
.why { display: grid; gap: 40px; }
@media (min-width: 1024px) { .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; } }
.why > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.compare { overflow: hidden; border-radius: 16px; border: 1px solid var(--border); }
.compare .row2 { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare .row2:last-child { border-bottom: 0; }
.compare .row2 p { padding: 14px 16px; }
.compare .row2 p + p { border-left: 1px solid var(--border); }
.compare .head { background: var(--bg); font-size: 12px; font-weight: 500; color: var(--text-3); }
.compare .head p { padding: 12px 16px; }
.compare .head p + p { color: var(--accent); }
.compare .row2:not(.head) p:first-child { color: var(--text-2); }
.principles { display: grid; gap: 16px; }
@media (min-width: 640px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { display: flex; gap: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: 24px; }
.principle .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.principle .ic .ms { font-size: 22px; color: var(--accent); }
.principle h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.principle p { font-size: 14px; line-height: 1.65; color: var(--text-2); }
.group-band .wrap { display: flex; flex-direction: column; gap: 16px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .group-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; } }
.group-band .actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- Liên hệ ---------- */
.contact-wrap { display: flex; flex-direction: column; gap: 48px; padding-top: 56px; padding-bottom: 80px; }
@media (min-width: 640px) { .contact-wrap { padding-top: 80px; } }
.contact-wrap h1 { font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
@media (min-width: 640px) { .contact-wrap h1 { font-size: 48px; } }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; } }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-side h2 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.details { display: flex; flex-direction: column; gap: 8px; }
.details li { display: flex; align-items: flex-start; gap: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); padding: 12px 16px; }
.details .ms { color: var(--accent); margin-top: 2px; }
.details span { display: block; font-size: 12px; color: var(--text-3); }
.details b { font-size: 14px; font-weight: 500; }
.details a:hover b { color: var(--accent); }

/* ---------- Biểu mẫu ---------- */
.form-card { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: 24px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form { display: flex; flex-direction: column; gap: 16px; }
.form .two { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 500; }
.field small { font-size: 12px; color: var(--text-3); }
.input { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); padding: 10px 12px; font-size: 15px; transition: border-color 150ms, box-shadow 150ms; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12); }
textarea.input { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 13px; color: var(--error); }
.form-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-ok .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.form-ok .ic .ms { font-size: 24px; color: var(--accent); }
.form-ok h2 { font-size: 20px; font-weight: 600; }
.hidden { display: none !important; }

/* ---------- Đăng nhập / Đăng ký ---------- */
.auth { flex: 1; display: grid; place-items: center; padding: 48px 16px; position: relative; overflow: hidden; }
.auth::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none; background: radial-gradient(55% 60% at 70% 0%, #fff1e8 0%, rgba(246, 246, 247, 0) 70%); }
.auth-card { position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 24px; }
.auth-card .brand { justify-content: center; font-size: 18px; }
.auth-card .brand img { width: 36px; height: 36px; }
.auth-card h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; text-align: center; }
.auth-card .sub { margin-top: 6px; font-size: 14px; color: var(--text-2); text-align: center; }
.auth-card .switch-line { font-size: 14px; color: var(--text-2); text-align: center; }
.auth-card .switch-line a { color: var(--accent); font-weight: 500; }
.auth-card .btn { width: 100%; padding: 12px 16px; font-size: 15px; }
.trial .trial-text { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.trial { display: flex; align-items: flex-start; gap: 10px; border-radius: 12px; background: var(--accent-soft); padding: 12px 14px; font-size: 13px; color: var(--accent-hover); }

/* ---------- 404 ---------- */
.nf { flex: 1; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.nf h1 { font-size: 72px; font-weight: 700; letter-spacing: -0.04em; color: var(--accent); }
.nf p { margin: 8px 0 24px; color: var(--text-2); }
