/* TASH — giao diện neon (chuyển từ bản Astro demo v4). Màu, font, thành phần dùng chung. */
/* Font tự host (SIL OFL), không gọi Google Fonts: nhanh hơn và không gửi IP người xem ra nước ngoài. */

:root {
  --bg: #0b0420;
  --bg-deep: #05020f;
  --panel: #160a33;
  --panel-2: #1f0f47;
  --line: #2b1a5c;
  --line-2: #3a2a6b;
  --ink: #ffffff;
  --ink-soft: #e6e0ff;
  --ink-mute: #c9c3e6;
  --ink-faint: #8c83b8;
  --dark: #0b0420;
  --paper: #ffffff;
  --paper-mute: #4a4370;

  --pink: #ff2e93;
  --cyan: #00e5ff;
  --lime: #b6ff2e;
  --yellow: #ffe600;
  --purple: #9b6cff;
  --orange: #ff7a00;
  --red: #ff3b5c;
  --zalo: #0068ff;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1280px;
  --gutter: 32px;
  --radius: 26px;
  color-scheme: dark;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 20px; }
}

/* Mỗi "tone" đặt màu nhấn và màu chữ đi kèm. Mọi nền màu dùng chữ tối để đạt tương phản AA. */
.tone-pink { --tone: var(--pink); --tone-text: #ff7ab8; }
.tone-cyan { --tone: var(--cyan); --tone-text: var(--cyan); }
.tone-lime { --tone: var(--lime); --tone-text: var(--lime); }
.tone-yellow { --tone: var(--yellow); --tone-text: var(--yellow); }
.tone-purple { --tone: var(--purple); --tone-text: #b9a0ff; }
.tone-orange { --tone: var(--orange); --tone-text: #ffa04d; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}

img, svg, canvas, video { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: var(--cyan); }
a:hover { color: var(--lime); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--dark); padding: 10px 16px; border-radius: 10px; font-weight: 800;
}
.skip-link:focus { top: 12px; color: var(--dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(64px, 9vw, 110px); padding-bottom: 40px; }
.section-tight { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 40px; }
.center { text-align: center; }

.h-hero { font-size: clamp(44px, 6.6vw, 96px); line-height: 0.92; letter-spacing: -0.02em; }
.h-section { font-size: clamp(36px, 5vw, 72px); line-height: 0.98; }
.h-card { font-size: clamp(34px, 4vw, 52px); line-height: 0.98; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-soft); max-width: 600px; }
.section-intro { color: var(--ink-mute); font-size: 19px; margin: 12px 0 36px; }
.accent { color: var(--tone-text, var(--cyan)); }
.accent-pink { color: var(--pink); }
.accent-cyan { color: var(--cyan); }
.accent-lime { color: var(--lime); }
.accent-yellow { color: var(--yellow); }
.highlight {
  display: inline-block; color: var(--dark); background: var(--lime);
  padding: 0 0.14em; border-radius: 18px; transform: rotate(-2deg); box-shadow: 6px 6px 0 var(--pink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 16px; border: 2px solid transparent; min-height: 48px;
  transition: transform 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { font-size: 15px; padding: 9px 18px; min-height: 44px; border-radius: 999px; }
.btn-lg { font-size: 18px; padding: 18px 30px; border-radius: 18px; }
.btn-tone { background: var(--tone, var(--pink)); color: var(--dark); }
.btn-tone:hover { color: var(--dark); }
.btn-pink { background: var(--pink); color: var(--dark); box-shadow: 0 0 22px rgba(255, 46, 147, 0.5); }
.btn-pink:hover { color: var(--dark); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { color: var(--ink); }
.btn-outline-cyan { border-color: var(--cyan); color: var(--cyan); background: transparent; }
.btn-outline-cyan:hover { color: var(--cyan); }
.btn-dark { background: var(--dark); color: var(--ink); }
.btn-dark:hover { color: var(--ink); }
.btn-shadow-white { box-shadow: 5px 5px 0 var(--ink); }
.btn-shadow-yellow { box-shadow: 5px 5px 0 var(--yellow); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy='true'] { opacity: 0.7; cursor: progress; transform: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.pill {
  display: inline-block; font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px;
  background: var(--tone, var(--cyan)); color: var(--dark);
}
.pill-outline { background: transparent; border: 1.5px solid var(--tone, var(--cyan)); color: var(--tone-text, var(--cyan)); padding: 4px 12px; }
.pill-dark { background: var(--dark); color: var(--tone, var(--yellow)); font-size: 14px; padding: 6px 14px; }
.chip { background: var(--panel-2); padding: 8px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.kicker { font-weight: 800; font-size: 14px; color: var(--tone-text, var(--cyan)); margin-bottom: 8px; letter-spacing: 0.02em; }

/* ---------- Cards ---------- */
.panel { background: var(--panel); border: 2px solid var(--line-2); border-radius: 22px; padding: 22px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }

.tile { border-radius: var(--radius); padding: 26px; background: var(--tone); color: var(--dark); }
.tile h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.05; }
.tile p { margin-top: 8px; }
.tilt-l { transform: rotate(-1.2deg); }
.tilt-r { transform: rotate(1.2deg); }

.feature {
  display: flex; flex-wrap: wrap; overflow: hidden; background: var(--panel);
  border: 3px solid var(--tone); border-radius: 34px; box-shadow: 10px 10px 0 var(--tone);
}
.feature > .feature-media { flex: 1 1 440px; min-width: 0; }
.feature > .feature-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature > .feature-body {
  flex: 1 1 400px; min-width: 0; padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.feature-body p { font-size: 19px; color: var(--ink-soft); }
.feature.reverse { flex-wrap: wrap-reverse; flex-direction: row-reverse; }
@media (max-width: 640px) {
  .feature { box-shadow: 6px 6px 0 var(--tone); border-radius: 26px; }
}

.polaroids { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.polaroid {
  margin: 0; width: min(250px, 100%); background: var(--paper); padding: 10px 10px 14px; border-radius: 14px;
  box-shadow: 8px 8px 0 var(--tone); color: var(--dark); text-decoration: none; display: block;
  transition: transform 0.15s ease;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.polaroid figcaption, .polaroid .cap, .polaroid .sub { display: block; }
.polaroid figcaption, .polaroid .cap { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-align: center; margin-top: 8px; line-height: 1.15; }
.polaroid .sub { font-size: 13px; font-weight: 700; color: #6a6290; text-align: center; }
.polaroid:nth-child(4n + 1) { transform: rotate(-3deg); }
.polaroid:nth-child(4n + 2) { transform: rotate(2.5deg); }
.polaroid:nth-child(4n + 3) { transform: rotate(-1.5deg); }
.polaroid:nth-child(4n + 4) { transform: rotate(3deg); }
a.polaroid:hover { transform: rotate(0) translateY(-4px); color: var(--dark); }
@media (max-width: 640px) {
  /* Thẻ rộng gần hết màn hình: nghiêng ít để không lấn ra ngoài lề 16px. */
  .polaroid:nth-child(odd) { transform: rotate(-1deg); }
  .polaroid:nth-child(even) { transform: rotate(1deg); }
}

/* ---------- Banners ---------- */
.band {
  border-radius: 22px; padding: 22px 28px; display: flex; gap: 18px; align-items: center;
  justify-content: space-between; flex-wrap: wrap; background: var(--tone); color: var(--dark);
}
.band .band-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; }
.cta-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.cta-card {
  text-decoration: none; background: var(--tone); color: var(--dark); border-radius: 28px; padding: 32px;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 8px 8px 0 var(--shadow, var(--yellow));
  transition: transform 0.15s ease;
}
.cta-card:hover { color: var(--dark); transform: translateY(-3px); }
.cta-card .k { font-weight: 800; font-size: 14px; }
.cta-card .t { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.05; }

.locked {
  background: var(--panel-2); border: 2px dashed var(--purple); border-radius: 30px; padding: clamp(24px, 4vw, 40px);
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.locked h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; margin-bottom: 8px; }
.locked p { font-size: 18px; color: var(--ink-soft); }

/* ---------- FAQ (details/summary: đọc được khi tắt JS) ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--panel); border: 2px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq details[open] { border-color: var(--tone); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 800; font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--tone); font-size: 24px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); color: var(--dark); border-radius: 26px; padding: clamp(20px, 3vw, 32px); color-scheme: light; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.field input, .field textarea {
  font-size: 17px; font-weight: 500; padding: 13px 14px; border: 2px solid #ddd5f3; border-radius: 12px;
  background: var(--paper); color: var(--dark); width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--dark); outline: none; box-shadow: 0 0 0 3px rgba(155, 108, 255, 0.35); }
.field [aria-invalid='true'] { border-color: var(--red); }
.field-error { color: #c4002b; font-size: 13px; font-weight: 700; min-height: 0; }
.field-error:empty { display: none; }
.req { color: #c4002b; }
fieldset.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.choices legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 54px; min-height: 46px;
  padding: 9px 14px; border-radius: 12px; border: 2px solid var(--dark); font-weight: 800; font-size: 15px;
  background: var(--paper); color: var(--dark);
}
.choice.round span { border-radius: 999px; }
.choice input:checked + span { background: var(--dark); color: var(--choice-on, var(--yellow)); }
.choice input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--dark); }
.check a { color: #5b2bd6; font-weight: 700; }
.form-note { font-size: 13px; color: var(--paper-mute); }
.form-alert { background: #ffe3ea; color: #8a0020; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.form-alert:empty { display: none; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .big { font-family: var(--font-display); font-size: clamp(34px, 4vw, 44px); font-weight: 800; line-height: 1.05; color: var(--success, #c2006a); }
.form-success p { margin-top: 8px; font-size: 17px; }
.form-card[data-sent] .form { display: none; }
.form-card:not([data-sent]) .form-success { display: none; }
.cf-slot:empty { display: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 14px; color: var(--ink-faint); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }

/* ---------- Prose (trang pháp lý) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose blockquote { margin: 20px 0; padding: 14px 18px; border-left: 4px solid var(--yellow); background: var(--panel); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--panel-2); }
.draft-banner { background: var(--yellow); color: var(--dark); border-radius: 14px; padding: 14px 18px; font-weight: 700; margin: 20px 0; }

/* ===== Header ===== */
.site-header { border-bottom: 1px solid var(--line); background: rgba(11, 4, 32, 0.92); position: relative; z-index: 40; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo {
  width: 44px; height: 44px; border-radius: 14px; background: var(--yellow); color: var(--dark);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 800; font-size: 26px; transform: rotate(-6deg); box-shadow: 4px 4px 0 var(--pink);
}
.word { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: 0.02em; }
.nav-wrap { display: flex; align-items: center; gap: 22px; }
.site-header nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.site-header nav a:hover { color: var(--lime); }
.site-header nav a[aria-current='page'] { color: var(--yellow); }
.site-header .actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 2px solid var(--line-2); color: var(--ink); border-radius: 12px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav-wrap:not(.open) { display: none; }
  .nav-wrap {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 18px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px var(--gutter) 24px;
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .site-header nav ul { flex-direction: column; gap: 4px; }
  .site-header nav a { display: block; padding: 10px 0; font-size: 18px; }
  .site-header .actions { flex-wrap: wrap; }
  .site-header .actions .btn { flex: 1; }
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); color: var(--ink-faint); font-size: 14px; }
.site-footer .cols { display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between; padding-top: 36px; padding-bottom: 100px; }
.site-footer .col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.site-footer .name strong { color: var(--ink); font-family: var(--font-display); font-size: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer a, .linklike { color: var(--ink-mute); }
.site-footer a:hover, .linklike:hover { color: var(--lime); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-size: inherit; }

/* ===== Nút Zalo (trên) + Facebook (dưới) nổi: hai hình tròn cùng cỡ ===== */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.zalo, .fb {
  position: relative; width: 56px; height: 56px; border-radius: 50%; color: #fff; text-decoration: none;
  display: grid; place-items: center;
}
.zalo { background: var(--zalo); font-weight: 800; font-size: 14px; letter-spacing: -0.01em; box-shadow: 0 10px 30px rgba(0, 104, 255, 0.55); }
.fb { background: #1877f2; box-shadow: 0 10px 30px rgba(24, 119, 242, 0.5); }
.zalo:hover, .fb:hover { color: #fff; }
.zalo .dot { position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); border: 2px solid var(--dark); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ===== Cookie ===== */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto;
  background: var(--panel); border: 2px solid var(--purple); border-radius: 20px; padding: 18px 20px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1 1 320px; font-size: 14px; color: var(--ink-soft); }
.cookie-actions { display: flex; gap: 10px; flex: 1 1 220px; }
.cookie-btn { flex: 1; background: var(--ink); color: var(--dark); border-radius: 12px; }
.cookie-btn:hover { color: var(--dark); }

/* ===== Khối level / sản phẩm / khóa ===== */
.title-link { color: inherit; text-decoration: none; }
.title-link:hover { color: var(--tone-text); }
.tone-link { color: var(--tone-text); border-color: var(--tone); }
.tone-link:hover { color: var(--tone-text); }
.polaroid.card { width: 100%; }
.polaroid.card img { aspect-ratio: 1 / 1; }
.locked-body { flex: 1 1 380px; min-width: 0; }
.shadow-purple { --shadow: var(--purple); }
.check-group { display: flex; flex-direction: column; gap: 8px; }

/* ===== Form ===== */
.partner-card { --choice-on: var(--cyan); --success: #6b3fe0; }
.form-title { font-size: 22px; line-height: 1.1; }
.big-title { font-size: clamp(32px, 3.6vw, 44px); line-height: 1; margin-bottom: 6px; }
.form-sub { color: var(--paper-mute); }
.topic-note { font-size: 14px; font-weight: 700; background: #e9fbff; border-radius: 10px; padding: 8px 12px; }
.partner-card button[type='submit'] { align-self: flex-start; }
.intro-card { background: var(--yellow); box-shadow: 12px 12px 0 var(--pink); --success: var(--dark); }
.intro-card .field input { background: var(--paper); border-color: var(--dark); }
.intro-title { font-size: clamp(28px, 3vw, 34px); line-height: 1; }
@media (max-width: 640px) { .intro-card { box-shadow: 6px 6px 0 var(--pink); } }

/* ===== Trang chủ: hero + bảng LED ===== */
.hero { padding-top: 40px; padding-bottom: 56px; }
.aud { display: inline-flex; gap: 6px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px; margin-bottom: 28px; max-width: 100%; }
.aud button {
  font-size: 15px; font-weight: 800; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  background: transparent; color: var(--ink-mute); min-height: 44px;
}
.aud button[aria-pressed='true'][data-aud='ph'] { background: var(--pink); color: var(--dark); }
.aud button[aria-pressed='true'][data-aud='nt'] { background: var(--cyan); color: var(--dark); }
.hero-grid { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.hero .hero-copy { flex: 1.25 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero .hero-copy .h-hero { margin-bottom: -4px; font-size: clamp(44px, 6.2vw, 92px); }
.stats { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 4px 0 0; font-size: 15px; color: var(--ink-mute); }
.stats strong { color: var(--tone); }
.led-wrap { flex: 1 1 480px; min-width: 0; position: relative; }
.led-wrap .sticker {
  position: absolute; top: -18px; right: 18px; z-index: 2; background: var(--yellow); color: var(--dark);
  font-family: var(--font-display); font-weight: 800; font-size: 16px; padding: 6px 14px; border-radius: 12px;
  transform: rotate(6deg); box-shadow: 3px 3px 0 var(--pink);
}
.led-card {
  --led: #ff2e93;
  background: var(--panel); border: 2px solid var(--line-2); border-radius: 30px; padding: clamp(16px, 2.4vw, 24px);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.08), 0 40px 80px -30px rgba(255, 46, 147, 0.45);
}
.led-screen { background: var(--bg-deep); border-radius: 18px; border: 1px solid var(--line); padding: clamp(10px, 2vw, 18px); }
.led { width: 100%; aspect-ratio: 40 / 7; }
.led-label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-mute); }
.led-label input {
  font-family: var(--font-mono); font-size: 26px; font-weight: 800; letter-spacing: 0.1em; color: var(--ink);
  background: var(--bg-deep); border: 2px solid var(--led); border-radius: 16px; padding: 12px 18px; text-transform: uppercase;
  width: 100%; min-width: 0;
}
.led-label input:focus { outline: none; box-shadow: 0 0 18px var(--led); }
.led-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mute { font-size: 13px; color: var(--ink-faint); }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--dark); padding: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.swatch[aria-pressed='true'] { border-color: var(--ink); }
.swatch-dot { width: 32px; height: 32px; border-radius: 50%; display: block; }
.sw-0 { background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.sw-1 { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.sw-2 { background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.sw-3 { background: var(--yellow); box-shadow: 0 0 14px var(--yellow); }
.led-tools .code { margin-left: auto; font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); }
.led-tools .code span { color: var(--led); }
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .aud button { padding: 10px 14px; font-size: 14px; }
  .led-tools .code { margin-left: 0; }
}

/* ===== Trang chủ: 4 mạch mô phỏng ===== */
.sims { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.sim { background: var(--panel); border: 2px solid var(--tone); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.sim h3 { font-size: 24px; line-height: 1.1; }
.stage { display: flex; justify-content: center; align-items: center; height: 182px; }
.stage.col { flex-direction: column; align-items: stretch; gap: 16px; }
.stage.short { height: 152px; }
.pole { background: var(--bg-deep); border: 2px solid var(--line-2); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.lamp { width: 46px; height: 46px; border-radius: 50%; background: #1f1440; transition: background 0.2s; }
.lamp.red.on { background: #ff3b5c; box-shadow: 0 0 26px 6px rgba(255, 59, 92, 0.8); }
.lamp.yellow.on { background: var(--yellow); box-shadow: 0 0 26px 6px rgba(255, 230, 0, 0.8); }
.lamp.green.on { background: var(--lime); box-shadow: 0 0 26px 6px rgba(182, 255, 46, 0.8); }
.fan { width: 160px; height: 160px; }
.fan.speed-1 { animation: spin 1.4s linear infinite; }
.fan.speed-2 { animation: spin 0.6s linear infinite; }
.fan.speed-3 { animation: spin 0.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.speeds { display: flex; gap: 8px; }
.speeds button { flex: 1; height: 46px; border-radius: 12px; cursor: pointer; border: 2px solid var(--cyan); background: transparent; color: var(--cyan); font-weight: 800; }
.speeds button[aria-pressed='true'] { background: var(--cyan); color: var(--dark); }
.sim[data-state='far'] { --dist: var(--lime); }
.sim[data-state='mid'] { --dist: var(--yellow); }
.sim[data-state='near'] { --dist: #ff3b5c; }
.sim .track { display: flex; align-items: center; background: var(--bg-deep); border-radius: 14px; padding: 18px 12px; }
.sim .track svg { flex: none; }
.sim .gap { height: 3px; width: 60%; background-image: repeating-linear-gradient(90deg, var(--dist) 0 6px, transparent 6px 12px); }
.sim .wall { width: 12px; height: 54px; background: var(--dist); border-radius: 4px; margin-left: auto; box-shadow: 0 0 14px var(--dist); }
.sim .status { text-align: center; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--dist); }
.range-label { font-size: 13px; color: var(--ink-mute); display: flex; flex-direction: column; gap: 6px; }
.sim input[type='range'] { width: 100%; accent-color: var(--tone); min-height: 32px; }
.rgb-lamp { width: 120px; height: 120px; border-radius: 50%; display: block; background: rgb(255, 46, 147); box-shadow: 0 0 60px 12px rgba(255, 46, 147, 0.6); }
.rgb { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; }
.rgb input { flex: 1; }
.rgb.r { color: #ff5c7a; } .rgb.r input { accent-color: #ff5c7a; }
.rgb.g { color: var(--lime); } .rgb.g input { accent-color: var(--lime); }
.rgb.b { color: var(--cyan); } .rgb.b input { accent-color: var(--cyan); }
.lab-band { margin-top: 32px; }

/* ===== Trang chủ: 3 level ===== */
.levels { display: flex; gap: 16px; flex-wrap: wrap; }
.level {
  flex: 1 1 240px; min-width: 0; border: 3px solid var(--tone); border-radius: 28px; overflow: hidden;
  background: var(--panel); display: flex; flex-direction: column; transition: flex-grow 0.25s ease;
}
.level[data-active] { flex: 2 1 420px; background: var(--tone); color: var(--dark); box-shadow: 0 0 40px var(--tone); }
.level-head { all: unset; cursor: pointer; display: flex; flex-direction: column; padding-bottom: 6px; }
.level-head:focus-visible { outline: 3px solid var(--yellow); outline-offset: -6px; }
.level-head img, .level-head .ph { width: 100%; height: 150px; object-fit: cover; background: #fff; transition: height 0.25s ease; }
.level[data-active] .level-head img, .level[data-active] .level-head .ph { height: 260px; }
.level .meta { font-family: var(--font-mono); font-size: 13px; font-weight: 800; padding: 20px 24px 0; }
.level .name { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 32px); font-weight: 800; line-height: 1.05; padding: 4px 24px 0; }
.level-panel { padding: 6px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.level-panel p { font-size: 18px; }
.level .more { font-weight: 800; color: inherit; }
.level:not([data-active]) .more { color: var(--tone-text); }
.level[data-active] .more:hover { color: var(--dark); }
.levels[data-js] .level:not([data-active]) .level-panel { display: none; }
@media (max-width: 640px) { .level[data-active] .level-head img { height: 200px; } }

/* ===== Trang chủ: các khối khác ===== */
.ticker { overflow: hidden; background: var(--pink); transform: rotate(-1.2deg); margin: 8px -20px 0; border-block: 3px solid var(--dark); }
.ticker-track {
  display: flex; width: max-content; gap: 44px; padding: 14px 0; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); color: var(--dark);
  animation: ticker 26s linear infinite;
}
.ticker-track .t1 { color: #fff; }
.ticker-track .t3 { color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }
.more-cta { margin-top: 48px; }
.skills { list-style: none; padding: 0; margin: 40px 0 0; }
.skills .num { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; }
.skills .skill { display: block; font-weight: 800; font-size: 19px; margin-top: 10px; }
.block {
  background: var(--tone); color: var(--dark); border-radius: 36px; padding: clamp(22px, 4vw, 48px);
  display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; align-items: center; box-shadow: 12px 12px 0 var(--shadow, var(--yellow));
}
.block.shadow-purple { --shadow: var(--purple); align-items: flex-start; }
.block-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.block-copy.wide { flex-basis: 100%; }
.block-copy p { font-size: 19px; max-width: 760px; }
.block-form { flex: 1 1 420px; min-width: 0; }
.aud-grid { flex: 1 1 340px; min-width: 0; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.aud-grid li { background: var(--dark); color: var(--ink); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.aud-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--tone-text); }
.aud-line { color: var(--ink-mute); font-size: 14px; }
@media (max-width: 640px) {
  .block { box-shadow: 6px 6px 0 var(--shadow, var(--yellow)); border-radius: 26px; }
  .aud-grid { grid-template-columns: minmax(0, 1fr); }
}
.faq-wrap { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.facts { flex: 1 1 320px; min-width: 0; background: var(--panel); border: 2px solid var(--purple); border-radius: 28px; padding: clamp(22px, 3vw, 30px); }
.facts h2 { font-size: 32px; color: var(--yellow); margin-bottom: 18px; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.facts dt { color: var(--ink-faint); font-weight: 700; }
.facts dd { margin: 0; }
.faq-col { flex: 2 1 520px; min-width: 0; }
.faq-title { font-size: clamp(32px, 4vw, 52px); margin-bottom: 22px; }
.final { padding-bottom: 110px; }
.final-title { margin-bottom: 30px; }

/* ===== Chương trình ===== */
.intro { margin: 18px auto 32px; }
.path { list-style: none; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 0; margin: 0; align-items: center; }
.arrow { font-size: 28px; color: var(--ink-faint); }
.step {
  display: inline-block; background: var(--tone); color: var(--dark); text-decoration: none; font-family: var(--font-display);
  font-weight: 800; font-size: clamp(18px, 2vw, 22px); padding: 10px 22px; border-radius: 16px;
}
.step:hover { color: var(--dark); transform: rotate(-2deg); }
.programs { display: flex; flex-direction: column; gap: 32px; }
.anchor { scroll-margin-top: 20px; }
.narrow { max-width: 920px; }
.accent { color: var(--tone-text); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; margin-top: 32px; }
[data-gallery] .product-grid { margin-top: 0; }
.product-grid [data-hidden] { display: none; }
.empty { margin-top: 24px; text-align: center; padding: 48px; border: 2px dashed var(--line-2); border-radius: 24px; color: var(--ink-mute); font-size: 18px; }
.other-title { margin-bottom: 20px; }
.others { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.other { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: var(--panel); border: 2px solid var(--tone); border-radius: 22px; padding: 22px; color: var(--ink-soft); text-decoration: none; height: 100%; }
.other:hover { color: var(--ink); background: var(--panel-2); }
.other-name { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.05; }

/* ===== Phòng triển lãm + sản phẩm ===== */
.top .lead { margin-top: 14px; margin-bottom: 32px; }
.plain { color: inherit; text-decoration: none; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filters[hidden] { display: none; }
.filter { font-size: 16px; font-weight: 800; padding: 11px 20px; border-radius: 999px; cursor: pointer; border: 2px solid var(--tone); background: transparent; color: var(--tone-text); min-height: 44px; }
.filter[aria-pressed='true'] { background: var(--tone); color: var(--dark); }
.submit { border-radius: 34px; padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 48px); box-shadow: 12px 12px 0 var(--pink); }
.submit h2 { flex: 1 1 420px; }
@media (max-width: 640px) { .submit { box-shadow: 6px 6px 0 var(--pink); } }
.level-pill { text-decoration: none; align-self: flex-start; }
.level-pill:hover { color: var(--dark); }
.feature-media video { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.all { margin-top: 28px; font-weight: 800; }

/* ===== Hợp tác ===== */
.partner-hero { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.partner-hero .hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.partner-hero .hero-copy .h-hero { font-size: clamp(44px, 6.6vw, 96px); }
.partner-hero .hero-media { flex: 1 1 420px; min-width: 0; position: relative; }
.partner-hero .hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; border: 3px solid var(--cyan); box-shadow: 12px 12px 0 var(--purple); }
.partner-hero .sticker {
  position: absolute; left: -10px; bottom: 28px; background: var(--yellow); color: var(--dark); font-family: var(--font-display);
  font-weight: 800; font-size: clamp(16px, 1.8vw, 20px); padding: 8px 16px; border-radius: 14px; transform: rotate(-5deg); box-shadow: 4px 4px 0 var(--pink);
}
.audiences, .values, .steps { list-style: none; padding: 0; margin: 28px 0 0; }
.values { margin-top: 40px; gap: 14px; }
.values h3 { font-size: 22px; color: var(--tone-text); }
.values p { color: var(--ink-mute); font-size: 15px; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs[hidden] { display: none; }
.tab { font-size: 17px; font-weight: 800; padding: 13px 22px; border-radius: 16px; cursor: pointer; border: 2px solid var(--tone); background: transparent; color: var(--tone-text); min-height: 48px; }
.tab[aria-selected='true'] { background: var(--tone); color: var(--dark); }
.panels { display: flex; flex-direction: column; gap: 24px; }
.panels [data-panel][hidden] { display: none; }
.talk { align-self: flex-start; }
.steps-title { font-size: clamp(32px, 4.4vw, 56px); }
.steps h3 { font-size: 20px; margin-top: 6px; font-family: var(--font-body); }
.steps p { color: var(--ink-mute); font-size: 15px; }
.step-num { font-family: var(--font-display); font-size: 60px; font-weight: 800; line-height: 1; color: var(--tone); }
.forms { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; scroll-margin-top: 16px; }
.form-main { flex: 2 1 560px; min-width: 0; }
.form-main .form-card { border-radius: 32px; box-shadow: 12px 12px 0 var(--cyan); }
.form-side { flex: 1 1 320px; min-width: 0; scroll-margin-top: 16px; }
@media (max-width: 640px) {
  .partner-hero .hero-media img { box-shadow: 6px 6px 0 var(--purple); }
  .partner-hero .sticker { left: 8px; }
  .form-main .form-card { box-shadow: 6px 6px 0 var(--cyan); }
}

/* ===== 404 + pháp lý ===== */
.nf { padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.nf .code { font-family: var(--font-mono); font-weight: 800; font-size: clamp(64px, 12vw, 140px); color: var(--yellow); line-height: 1; }
.nf .btn-row { justify-content: center; }
.legal { padding-bottom: 110px; }
.legal .meta { color: var(--ink-faint); margin-top: 10px; }
