/* AI Maketing Facebook — Marketing site 2026 (light + motion) */
:root {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-soft: #eef2ff;
  --zalo: #0068ff;
  --accent: #0ea5e9;
  --success: #16a34a;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 6px 20px rgba(15, 23, 42, 0.06);
  --glow: 0 0 60px rgba(79, 70, 229, 0.18);
  --font: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.03em; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(680px, calc(100% - 40px)); margin: 0 auto; }

.page-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 520px at 10% -8%, rgba(79, 70, 229, 0.12), transparent 58%),
    radial-gradient(800px 480px at 95% 5%, rgba(14, 165, 233, 0.1), transparent 52%),
    radial-gradient(700px 400px at 50% 100%, rgba(99, 102, 241, 0.06), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #eef2ff 100%);
  animation: meshPulse 16s var(--ease) infinite alternate;
}
@keyframes meshPulse {
  from { filter: hue-rotate(0deg) saturate(1); }
  to { filter: hue-rotate(8deg) saturate(1.05); }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="left"].is-in,
[data-reveal="right"].is-in { transform: none; }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="scale"].is-in { transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .page-bg { animation: none; }
  .hero-float, .ticker-track { animation: none !important; }
}

/* —— Topbar —— */
.topbar {
  background: #ffffff;
  color: #64748b;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  flex-wrap: wrap;
  padding: 6px 0;
}
.topbar a {
  color: var(--brand);
  font-weight: 600;
}
.topbar a:hover { color: var(--brand-dark); }

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245, 247, 252, 0.72);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-mark.has-img {
  background: transparent;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.menu a {
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}
.menu a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid var(--line);
  gap: 2px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.lang-btn:hover { color: var(--brand); }
.lang-btn.is-active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.burger {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s, color 0.15s, filter 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.28);
  border-color: transparent;
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 36px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text) !important;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: #c7d2fe;
  color: var(--brand) !important;
  background: #f8fafc;
}
.btn-zalo {
  background: linear-gradient(135deg, #3b82f6, #0068ff);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(0, 104, 255, 0.28);
}
.btn-zalo:hover { filter: brightness(1.06); }
.btn-light {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.btn-light:hover { filter: brightness(0.98); }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 14px; }
.btn.full { width: 100%; }

/* —— Hero —— */
.hero {
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #c7d2fe;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
}
.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  animation: pulseDot 1.8s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08); }
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 15em;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 34em;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.metrics > div {
  min-width: 108px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.metrics > div:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.12);
}
.metrics dt {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.metrics dd {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-width: 0;
}
.hero-float {
  animation: heroFloat 6s var(--ease) infinite alternate;
}
@keyframes heroFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}
.browser-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--glow), 0 28px 70px rgba(15, 23, 42, 0.12);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.browser-card:hover {
  box-shadow: 0 0 70px rgba(79, 70, 229, 0.18), 0 32px 80px rgba(15, 23, 42, 0.14);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border-bottom: 1px solid var(--line);
}
.browser-bar .c {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.c1 { background: #f87171; }
.c2 { background: #fbbf24; }
.c3 { background: #34d399; }
.browser-title {
  margin-left: 8px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.browser-body {
  background: #f1f5f9;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.browser-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s var(--ease);
}
.browser-card:hover .browser-body img {
  transform: scale(1.03);
}
.hero-proof {
  position: absolute;
  left: -8px;
  bottom: -14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #86efac;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
}
.hero-proof i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}
.browser-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: flex-start;
}
.hero-pills li {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* —— Download —— */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}
.dl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dl-card:hover {
  border-color: #dbeafe;
  box-shadow: var(--shadow);
}
.dl-os {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dl-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}
.dl-os h3 {
  font-size: 18px;
  margin: 0 0 2px;
}
.dl-os p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}
.dl-meta {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.dl-meta li {
  color: var(--muted);
  font-size: 13.5px;
}
.dl-meta code {
  font-size: 12.5px;
  background: #e2e8f0;
  padding: 1px 6px;
  border-radius: 4px;
}
.dl-alt {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.dl-alt:hover { text-decoration: underline; }
.dl-note {
  text-align: center;
  margin: 20px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.dl-note a {
  color: var(--brand);
  font-weight: 600;
}
.dl-note a:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .dl-grid { grid-template-columns: 1fr; }
}

/* —— Ticker —— */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 12px 0;
  animation: ticker 32s linear infinite;
}
.ticker-track span {
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track span::after {
  content: "·";
  margin-left: 28px;
  opacity: 0.4;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* —— Sections —— */
.section { padding: 64px 0; }
.section-soft { background: #eef2ff66; }
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}
.section-head p {
  color: var(--muted);
  font-size: 15.5px;
}

/* —— Product media —— */
.media-card {
  position: relative;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s;
  cursor: zoom-in;
}
.media-card:hover {
  box-shadow: var(--shadow);
  border-color: #dbeafe;
}
.media-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.media-card:hover img { transform: scale(1.02); }
.media-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}
.zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.media-card:hover .zoom-hint,
.media-card:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}
.browser-body {
  cursor: zoom-in;
}
.browser-body .zoomable {
  pointer-events: auto;
}

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 14px;
  min-height: 480px;
}
.bento-main {
  grid-row: 1 / -1;
}
.bento .media-card {
  min-height: 0;
}
.bento .media-card img {
  min-height: 140px;
}
.bento-main img {
  min-height: 100%;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.module-grid .media-card.sm {
  aspect-ratio: 16 / 10;
}
.module-grid .media-card.sm img {
  min-height: 100%;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 14px;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.info-card, .feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.info-card:hover, .feat-card:hover {
  border-color: #dbeafe;
  box-shadow: var(--shadow);
}
.info-ic {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  font-size: 18px;
  margin-bottom: 12px;
}
.info-card h3, .feat-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.info-card p {
  color: var(--muted);
  font-size: 14px;
}
.feat-card ul {
  display: grid;
  gap: 6px;
}
.feat-card li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 14px;
}
.feat-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.7;
}

/* —— Flow —— */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-inline: auto;
  counter-reset: step;
}
.flow li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: baseline;
  padding: 14px 16px 14px 54px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.flow li::before {
  content: counter(step);
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  color: #fff;
  background: var(--brand);
}
.flow strong { font-size: 15px; }
.flow span { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; }
.flow li strong { grid-column: 1 / -1; }

/* —— Pricing —— */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 18px 18px;
  box-shadow: var(--shadow-sm);
}
.price-card.popular {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.14);
  background: linear-gradient(180deg, #f8fbff 0%, #fff 40%);
}
.price-card .tag {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
}
.price-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  padding-right: 70px;
}
.amount {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.amount span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.price-card ul {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  flex: 1;
}
.price-card li {
  color: var(--muted);
  font-size: 14px;
  padding-left: 14px;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

/* —— FAQ —— */
.faq-list { display: grid; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 16px;
  font-weight: 600;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14.5px;
}

/* —— CTA —— */
.cta-banner {
  text-align: center;
  padding: 48px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 55%, #ecfeff 100%);
  color: var(--text);
  border: 1px solid #c7d2fe;
  box-shadow: var(--shadow-sm);
}
.cta-banner h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 10px;
  color: var(--text);
}
.cta-banner p {
  opacity: 1;
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15.5px;
}

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.5);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer p { color: var(--muted); margin-top: 6px; }
.footer-meta { text-align: right; }
.footer-meta a {
  color: var(--brand);
  font-weight: 700;
}
.footer-meta p { font-size: 12px; }

/* —— Chat —— */
.chat-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 120;
  width: 54px; height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.35);
  transition: transform 0.15s, background 0.15s;
}
.chat-fab:hover {
  background: var(--brand-dark);
  transform: scale(1.04);
}
.chat-panel {
  position: fixed;
  right: 18px; bottom: 82px;
  z-index: 120;
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-panel[hidden] { display: none !important; }
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.chat-head button {
  border: 0; background: transparent;
  color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1;
}
.chat-body {
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}
.chat-foot { padding: 0 14px 14px; }

/* —— Zalo QR modal —— */
.zalo-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.zalo-modal[hidden] { display: none !important; }
.zalo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.zalo-modal-card {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
  border: 1px solid var(--line);
  animation: zalo-pop 0.28s var(--ease);
}
@keyframes zalo-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.zalo-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.zalo-modal-close:hover { background: #e2e8f0; }
.zalo-modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 28px;
}
.zalo-modal-logo.has-img { padding:0; overflow:hidden; background:transparent !important; }
.zalo-modal-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  box-shadow: 0 0 0 3px #e2e8f0;
  flex-shrink: 0;
}
.zalo-modal-brand h3 {
  margin: 0 0 2px;
  font-size: 17px;
}
.zalo-modal-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.zalo-qr-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 8px;
}
.zalo-qr-wrap img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
}
.zalo-modal-hint {
  text-align: center;
  margin: 12px 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}
.zalo-modal-actions {
  display: grid;
  gap: 8px;
}
body.zalo-open { overflow: hidden; }

/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox[hidden] { display: none !important; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox-figure {
  margin: 0;
  width: 100%;
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  background: #0f172a;
}
.lightbox-figure figcaption {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -4px;
  right: 0;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-prev { left: -8px; }
.lightbox-next { right: -8px; }
.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}
.lightbox-open-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lightbox-open-link:hover { color: #fff; }
body.lb-open { overflow: hidden; }

@media (max-width: 700px) {
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
    background: rgba(15, 23, 42, 0.55);
  }
  .lightbox-close {
    top: -8px;
    right: 0;
  }
  .zoom-hint { display: none; }
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { min-height: 420px; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero { padding-top: 32px; }
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }
  .bento-main { grid-row: auto; }
  .bento .media-card {
    aspect-ratio: 16 / 10;
  }
  .menu { display: none; }
  .nav-actions .btn { display: none; }
  .menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    padding: 10px 0 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .menu.is-open a {
    padding: 12px 16px;
    border-radius: 0;
  }
  .burger { display: flex; }
  .lang-switch { margin-left: auto; }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap, .narrow { width: calc(100% - 28px); }
  .card-grid.four,
  .card-grid.three,
  .price-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 28px; }
  .metrics > div { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .footer-meta { text-align: left; }
  .price-card h3 { padding-right: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
  .media-card img { transition: none; }
}

/* —— Docs pages (guide / terms) —— */
.narrow-doc { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.doc-main { padding: 36px 0 64px; }
.doc-hero { margin-bottom: 24px; }
.doc-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 10px;
}
.doc-lead {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0 0 8px;
}
.doc-meta {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}
.doc-toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.doc-toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}
.doc-toc ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}
.doc-toc a {
  color: var(--brand);
  font-weight: 600;
}
.doc-toc a:hover { text-decoration: underline; }
.doc-body section {
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.doc-body section:last-child { border-bottom: 0; }
.doc-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px;
}
.doc-body h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 14px 0 8px;
  color: var(--brand-dark);
}
.doc-body p, .doc-body li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.doc-body p { margin: 0 0 10px; }
.doc-body ol, .doc-body ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.doc-body li { margin: 6px 0; }
.doc-body a { color: var(--brand); font-weight: 600; }
.doc-body a:hover { text-decoration: underline; }
/* Nút trong bài: không bị .doc-body a đè màu (tránh chữ trùng nền) */
.doc-body .btn {
  margin: 6px 8px 0 0;
  text-decoration: none !important;
  font-weight: 700;
}
.doc-body a.btn-primary,
.doc-body a.btn-primary:hover {
  color: #ffffff !important;
  background: var(--brand);
}
.doc-body a.btn-primary:hover {
  background: var(--brand-dark);
}
.doc-body a.btn-zalo,
.doc-body a.btn-zalo:hover {
  color: #ffffff !important;
  background: var(--zalo);
}
.doc-body a.btn-ghost,
.doc-body a.btn-ghost:hover {
  color: var(--text) !important;
  background: var(--surface);
  border-color: var(--line);
}
.doc-body a.btn-ghost:hover {
  color: var(--brand) !important;
  border-color: #bfdbfe;
}
.doc-body a.btn-light,
.doc-body a.btn-light:hover {
  color: var(--brand) !important;
  background: #fff;
}
.legal-banner {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 28px;
}
.legal-banner strong {
  display: block;
  color: #b91c1c;
  font-size: 15px;
  margin-bottom: 6px;
}
.legal-banner p {
  margin: 0;
  color: #7f1d1d;
  font-size: 14.5px;
  line-height: 1.65;
}
.doc-accept {
  margin-top: 20px !important;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--brand-dark) !important;
  font-weight: 600;
  font-size: 14.5px !important;
}
.menu a.is-current {
  color: var(--brand);
  background: var(--brand-soft);
}
.legal-inline {
  text-align: center;
  margin: 14px auto 0;
  max-width: 720px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.legal-inline a {
  color: var(--brand);
  font-weight: 700;
}
.legal-inline a:hover { text-decoration: underline; }
.footer-meta a { margin: 0 2px; }


/* ========== 2026 light glass overrides ========== */
.section { position: relative; }
.section-head .kicker {
  color: var(--brand) !important;
  letter-spacing: 0.08em;
}
.section-head h2 {
  color: var(--text) !important;
  font-size: clamp(26px, 3.2vw, 36px);
}
.section-head p { color: var(--muted) !important; }
.section-soft {
  background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.05), transparent) !important;
}
.dl-card, .price-card, .faq-item, .media-card, .feature-card, .who-card {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.4s !important;
}
.dl-card:hover, .price-card:hover, .media-card:hover, .feature-card:hover, .who-card:hover {
  transform: translateY(-6px);
  border-color: #c7d2fe !important;
  box-shadow: 0 18px 44px rgba(79, 70, 229, 0.12), var(--shadow-sm) !important;
}
.media-card {
  overflow: hidden;
  border-radius: var(--radius) !important;
  position: relative;
}
.media-card img {
  transition: transform 0.55s var(--ease) !important;
}
.media-card:hover img { transform: scale(1.045); }
.media-label {
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.88)) !important;
  color: #f8fafc !important;
  font-weight: 700 !important;
}
.bento { gap: 14px !important; }
.bento-main {
  box-shadow: var(--glow) !important;
}
.ticker {
  border-color: var(--line) !important;
  background: #ffffff !important;
  color: var(--brand) !important;
  box-shadow: var(--shadow-sm);
}
.ticker-track {
  animation: tickerMove 28s linear infinite;
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.footer {
  background: #ffffff !important;
  border-top: 1px solid var(--line) !important;
  color: var(--muted) !important;
}
.footer strong { color: var(--text) !important; }
.footer-meta a { color: var(--brand) !important; }
.logo-mark {
  background: linear-gradient(135deg, #6366f1, #0ea5e9) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3);
}
.menu a { color: #475569 !important; }
.menu a:hover, .menu a.is-current { color: var(--brand-dark) !important; }
.lang-btn {
  background: transparent !important;
  color: #64748b !important;
  border-color: var(--line) !important;
}
.lang-btn[aria-pressed="true"] {
  background: var(--brand-soft) !important;
  color: var(--brand-dark) !important;
  border-color: #c7d2fe !important;
}
.price-card .price { color: var(--text) !important; }
.price-card li, .dl-meta, .dl-meta code { color: var(--muted) !important; }
.dl-note, .legal-inline { color: var(--muted) !important; }
.dl-note a, .legal-inline a { color: var(--brand) !important; }
.faq-item summary { color: var(--text) !important; }
.faq-item p { color: var(--muted) !important; }
.cta-band {
  background: linear-gradient(135deg, #eef2ff, #e0f2fe) !important;
  border: 1px solid #c7d2fe !important;
  box-shadow: var(--shadow-sm) !important;
}
.chat-fab {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35) !important;
}
.chat-panel, .zalo-modal-card {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow) !important;
}
.doc-page .doc-body, .doc-page .doc-hero h1 { color: var(--text) !important; }
.doc-toc {
  background: #ffffff !important;
  border-color: var(--line) !important;
}
.doc-body section { border-color: var(--line) !important; }
.intro-compare th { background: #eef2ff !important; color: var(--text) !important; }
.intro-compare td { color: var(--text) !important; border-color: var(--line) !important; }
.soft-note {
  background: #eef2ff !important;
  border-left-color: #6366f1 !important;
  color: #1e293b !important;
}
.price-card.is-hot {
  border-color: #a5b4fc !important;
  box-shadow: 0 0 0 1px #c7d2fe, var(--shadow) !important;
}
/* intro CTA buttons stay high-contrast on light */
.intro-cta-row a.btn-primary {
  background: #4f46e5 !important;
  color: #ffffff !important;
}
.intro-cta-row a.btn-zalo {
  background: #0068ff !important;
  color: #ffffff !important;
}
.intro-cta-row a.btn-ghost {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #94a3b8 !important;
}

/* ========== Blog / SEO articles ========== */
.blog-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.blog-breadcrumb a { color: var(--brand); }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-hero-fig {
  margin: 0 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.blog-hero-fig img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.blog-hero-fig figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #f8fafc;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
  margin-bottom: 40px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.12);
}
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2ff;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.blog-card-body h2 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
}
.blog-card-body h2 a { color: var(--text); }
.blog-card-body h2 a:hover { color: var(--brand-dark); }
.blog-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.blog-card-more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
}
.blog-card-more:hover { text-decoration: underline; }
.blog-article .soft-note,
.blog-cta.soft-note {
  border-left: 3px solid #6366f1;
  padding: 0.85rem 1rem;
  background: #eef2ff;
  border-radius: 0 12px 12px 0;
  margin: 1.25rem 0;
}
.blog-article-page .doc-body h2 { color: var(--text); }
.blog-article-page .doc-body p,
.blog-article-page .doc-body li { color: #334155; }
@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
}
