/* ==========================================================================
   Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5
   OMNI X 1.5 — v4 Executive Flagship Conversion Architecture
   Calm authority (Apple / Linear / Stripe) + Real Interactive Software Tour
   + Buyer-First Visual Proof + Head-to-Head Comparison + Risk Reversal
   ========================================================================== */

:root {
  --bg-void: #06070a;
  --bg-surface: #0b0e15;
  --bg-elevated: #111623;
  --bg-card: #0e121c;

  --ink-primary: #f8fafc;
  --ink-secondary: #9aa6ba;
  --ink-muted: #68768f;

  --accent-blue: #2563eb;
  --accent-blue-bright: #3b82f6;
  --accent-sky: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-blue: rgba(59, 130, 246, 0.45);
  --border-emerald: rgba(16, 185, 129, 0.42);

  --shadow-stage: 0 36px 96px -24px rgba(0, 0, 0, 0.9);
  --glow-blue: 0 14px 38px -10px rgba(37, 99, 235, 0.58);

  --font-display: 'Bricolage Grotesque', 'Be Vietnam Pro', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1240px;
}

/* Liquid Glass Hairline Rim (Zero-blur fast GPU path) */
.liquid-glass {
  position: relative;
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.09) 22%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0) 58%,
    rgba(255, 255, 255, 0.1) 82%,
    rgba(255, 255, 255, 0.24) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-primary);
  background-color: var(--bg-void);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-sky);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 18px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

/* ==========================================================================
   RESTRAINED FLAGSHIP EFFECTS (Hero Grid + BorderBeam on 2 focal points only)
   ========================================================================== */
.hero-backdrop {
  position: relative;
  overflow: hidden;
}

.hero-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 72% 60% at 50% 15%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 72% 60% at 50% 15%, #000 20%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -190px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 130vw);
  height: 520px;
  background: radial-gradient(ellipse 50% 54% at 50% 42%, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0.09) 38%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-backdrop > .container {
  position: relative;
  z-index: 2;
}

/* Static luminous edge highlight (replaces 60fps @property conic repaint) */
.border-beam {
  position: relative;
  isolation: isolate;
}

.border-beam::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.25px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.65) 0%,
    rgba(56, 189, 248, 0.35) 26%,
    rgba(255, 255, 255, 0.06) 52%,
    rgba(16, 185, 129, 0.48) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(59, 130, 246, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::after {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.1;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  color: var(--ink-primary);
  box-shadow:
    0 14px 36px -10px rgba(37, 99, 235, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow:
    0 18px 44px -10px rgba(59, 130, 246, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-light {
  background: #ffffff;
  color: #05070c;
  font-weight: 700;
  box-shadow:
    0 12px 30px -10px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-light:hover {
  transform: translateY(-1.5px);
  background: #f1f5f9;
}

.btn-pill {
  border-radius: 999px;
}

/* Text-Roll CTA + Rotating Arrow Chip (MotionSites surfaces-and-buttons #4) */
.btn-roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.18;
}

.btn-roll > span {
  display: inline-block;
  transition: transform 380ms var(--ease-quint);
}

.btn-roll::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 105%;
  width: 100%;
  transition: transform 380ms var(--ease-quint);
}

.btn:hover .btn-roll > span,
.btn:hover .btn-roll::after {
  transform: translateY(-105%);
}

.btn-arrow-chip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 300ms var(--ease-expo), background-color 220ms ease;
}

.btn-sm .btn-arrow-chip {
  width: 20px;
  height: 20px;
}

.btn-arrow-chip.is-dark {
  background: #06070a;
  color: #ffffff;
}

.btn:hover .btn-arrow-chip {
  transform: translate(2px, -1px) scale(1.06);
  background: rgba(255, 255, 255, 0.26);
}

.btn:hover .btn-arrow-chip.is-dark {
  background: #1d4ed8;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-emerald {
  background: var(--accent-emerald);
  color: #02140d;
  font-weight: 700;
}

.btn-emerald:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-sm { min-height: 40px; padding: 8px 15px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 15.5px; }

/* ==========================================================================
   HEADER (FLOATING LIQUID-GLASS PILL ON SCROLL)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 7, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 260ms var(--ease-expo), border-color 260ms var(--ease-expo), padding 260ms var(--ease-expo);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  transition: max-width 280ms var(--ease-expo), min-height 260ms var(--ease-expo), border-radius 280ms var(--ease-expo), background-color 260ms var(--ease-expo), box-shadow 260ms var(--ease-expo), padding 260ms var(--ease-expo);
}

@media (min-width: 960px) {
  .site-header.is-scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    padding-top: 12px;
    pointer-events: none;
  }

  .site-header.is-scrolled .header-inner {
    pointer-events: auto;
    max-width: 1020px;
    min-height: 58px;
    padding-inline: 18px 12px;
    border-radius: 999px;
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 14px 36px -14px rgba(0, 0, 0, 0.8),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-blue);
  display: grid;
  place-items: center;
}

.brand-ver {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.16);
  color: var(--accent-sky);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.nav-links { display: none; align-items: center; gap: 24px; }
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  padding-block: 4px;
  transition: color 180ms ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent-sky), var(--accent-emerald));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms var(--ease-expo);
}
.nav-links a:hover { color: var(--ink-primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.header-actions { display: none; align-items: center; gap: 10px; }

.mobile-menu-btn {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--bg-surface);
  color: var(--ink-primary); display: grid; place-items: center;
}

.mobile-drawer {
  display: none; border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface); padding: 14px 18px 18px;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.mobile-drawer-links a { padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.mobile-drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (min-width: 960px) {
  .nav-links, .header-actions { display: flex; }
  .mobile-menu-btn, .mobile-drawer { display: none !important; }
}

/* ==========================================================================
   SECTION 1: EXECUTIVE HERO + BEFORE/AFTER WORKBENCH
   ========================================================================== */
.hero { padding-block: 34px 58px; }
@media (min-width: 960px) { .hero { padding-block: 48px 76px; } }

.hero-top {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px -12px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  margin-bottom: 20px;
  max-width: 100%;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.36);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #6ee7b7;
  white-space: nowrap;
}

.eyebrow-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #dbeafe;
  letter-spacing: -0.01em;
}

.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  font-size: clamp(31px, 4.9vw, 60px);
  line-height: 1.07;
  letter-spacing: -0.036em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-br { display: none; }
@media (min-width: 780px) { .hero-br { display: inline; } }

.hero-title .accent {
  background: linear-gradient(95deg, #60a5fa 0%, #38bdf8 52%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 22px;
  max-width: 680px;
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 1.62;
  color: var(--ink-secondary);
}

.hero-sub strong {
  color: var(--ink-primary);
  font-weight: 700;
}

/* Viral Genres Quick-Switch Strip */
.hero-niches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto 24px;
}

@media (min-width: 1020px) {
  .hero-niches {
    max-width: 980px;
    flex-wrap: nowrap;
  }
}

.hero-niche-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.hero-niche-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--ink-primary);
  transform: translateY(-1px);
}

.hero-niche-pill.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(16, 185, 129, 0.14));
  border-color: rgba(96, 165, 250, 0.52);
  color: #f8fafc;
  box-shadow: 0 8px 22px -10px rgba(37, 99, 235, 0.65);
}

.hn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.55);
  flex-shrink: 0;
}

.hero-niche-pill.is-active .hn-dot {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.hero-niche-more {
  border-style: dashed;
  border-color: rgba(56, 189, 248, 0.34);
  color: var(--accent-sky);
}

.hero-niche-more:hover {
  border-style: solid;
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.12);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-hero-glow {
  box-shadow:
    0 14px 36px -10px rgba(37, 99, 235, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.hero-req-note {
  margin: 16px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.24);
  font-size: 12.5px;
  line-height: 1.4;
  color: #cbd5e1;
  max-width: 100%;
  text-align: left;
}

.hero-req-note svg {
  color: var(--accent-sky);
  flex-shrink: 0;
}

.hero-req-note strong {
  color: #f8fafc;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero-req-note {
    border-radius: 14px;
    padding: 9px 13px;
    font-size: 12px;
  }
}

/* AI Runtime Minimal 4-Metric Strip */
.hero-metrics {
  margin: 28px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  gap: 14px 0;
}

@media (min-width: 720px) {
  .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
}

.hm-cell {
  position: relative;
  padding: 2px 14px;
  text-align: center;
}

.hm-cell + .hm-cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 719px) {
  .hm-cell:nth-child(3)::before { display: none; }
}

.hm-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  line-height: 1.15;
}

.hm-cell span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.3;
}

/* Luxury Cinema Workbench (Apple / Linear / Runway grade) */
.workbench {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 21, 34, 0.94) 0%, rgba(7, 9, 15, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 0;
  box-shadow:
    0 34px 96px -22px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 110px -40px rgba(56, 189, 248, 0.34);
  overflow: hidden;
}

.workbench::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), rgba(56, 189, 248, 0.52), rgba(255, 255, 255, 0.32), transparent);
  pointer-events: none;
  z-index: 3;
}

.wb-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 960px) {
  .wb-topbar { padding: 13px 20px; }
}

.wb-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wb-win-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wb-win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.wb-win-dots i:first-child { background: rgba(248, 113, 113, 0.72); }
.wb-win-dots i:nth-child(2) { background: rgba(251, 191, 36, 0.72); }
.wb-win-dots i:nth-child(3) { background: rgba(52, 211, 153, 0.78); }

.wb-topbar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.wb-topbar-sep { color: rgba(255, 255, 255, 0.22); font-size: 12px; }

.wb-topbar-active {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #6ee7b7;
  white-space: nowrap;
}

.wb-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.wb-replay-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--ink-primary);
}

.wb-view-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wb-view-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.wb-view-btn:hover {
  color: var(--ink-primary);
}

.wb-view-btn.is-active {
  background: var(--accent-blue);
  color: #ffffff;
}

.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

@media (min-width: 960px) {
  .workbench-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 18px;
    padding: 18px;
  }
}

.workbench-controls {
  background: linear-gradient(180deg, rgba(14, 19, 31, 0.82) 0%, rgba(9, 12, 20, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.wb-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 11px;
  white-space: nowrap;
}

.wb-step-counter {
  color: var(--accent-sky);
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.24);
}

.preset-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }

.preset-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 7.5px 11px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-primary);
  text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.preset-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #60a5fa, #34d399);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
}

.preset-btn.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(16, 185, 129, 0.07) 100%);
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 10px 26px -14px rgba(37, 99, 235, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.preset-btn.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.preset-thumb {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #04060a;
}

.preset-btn.is-active .preset-thumb {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: 0 0 16px -4px rgba(56, 189, 248, 0.55);
}

.preset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 260ms ease;
}

.preset-btn:hover .preset-thumb img,
.preset-btn.is-active .preset-thumb img {
  transform: scale(1.07);
}

.preset-btn-text { min-width: 0; flex: 1; }
.preset-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}

.preset-btn-text strong {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-primary);
}

.preset-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 1.5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-muted);
  white-space: nowrap;
}

.preset-btn.is-active .preset-tag {
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
}

.preset-btn-text span.preset-sub {
  display: block;
  font-size: 12px;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preset-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.preset-btn.is-active .preset-arrow {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  transform: translateX(2px);
}

/* Precision 2x2 Spec Grid (replaces awkward wrapping green chips) */
.wb-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.wb-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
}

.wb-spec-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.wb-spec-item strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-primary);
}

.wb-spec-item > div span {
  display: block;
  font-size: 10.5px;
  color: var(--ink-muted);
  line-height: 1.3;
  margin-top: 1px;
}

/* Luxury Before / After Cinema Viewport */
.compare-viewport {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #04060a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  aspect-ratio: 4 / 4.35;
  user-select: none;
  touch-action: pan-y;
  order: -1;
}

@media (min-width: 960px) {
  .compare-viewport { order: 0; aspect-ratio: auto; min-height: 520px; height: 100%; }
}

.compare-layer { position: absolute; inset: 0; }
.compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.compare-viewport.is-switching .compare-layer img {
  opacity: 0.72;
}

.compare-layer-after { clip-path: inset(0 0 0 var(--split, 46%)); }

.compare-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 10, 0.42) 0%, transparent 20%, transparent 72%, rgba(4, 6, 10, 0.74) 100%);
  pointer-events: none;
}

.compare-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.45) 0%, #ffffff 22%, #6ee7b7 52%, #ffffff 78%, rgba(56, 189, 248, 0.45) 100%);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.9),
    0 0 42px rgba(16, 185, 129, 0.55);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Scanner Comparison Luminous Aura & Traveling Laser Spark */
.compare-beam.is-scanner .scanner-aura {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1px;
  width: 78px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.28) 0%, rgba(16, 185, 129, 0.14) 36%, transparent 100%);
  pointer-events: none;
}

.compare-beam.is-scanner .scanner-pulse {
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 72px;
  border-radius: 999px;
  transform: translate3d(-50%, 0, 0);
  background: radial-gradient(ellipse at center, #ffffff 0%, rgba(56, 189, 248, 0.9) 46%, transparent 76%);
  pointer-events: none;
}

.compare-viewport.is-split-view .compare-beam.is-scanner .scanner-pulse {
  animation: scannerTravel 2.8s ease-in-out infinite alternate;
}

@keyframes scannerTravel {
  0% { transform: translate3d(-50%, 16px, 0); opacity: 0.45; }
  50% { opacity: 1; }
  100% { transform: translate3d(-50%, 380px, 0); opacity: 0.45; }
}

.wb-video-stage {
  transition: opacity 280ms var(--ease-expo), transform 340ms var(--ease-expo);
}

.wb-video-stage.is-fading {
  opacity: 0.22;
  transform: scale(1.018);
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 10, 18, 0.88);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.55),
    0 0 0 4px rgba(56, 189, 248, 0.22);
}

.hud-pill {
  position: absolute;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hud-dot-muted { background: #94a3b8; }
.hud-dot-live { background: #34d399; box-shadow: 0 0 10px #34d399; }

.hud-before {
  left: 14px;
  background: rgba(7, 10, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

.hud-after {
  right: 14px;
  background: rgba(7, 14, 24, 0.78);
  border: 1px solid rgba(52, 211, 153, 0.48);
  color: #ecfdf5;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.48);
}

.hud-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 10px 14px;
  border-radius: 13px;
  background: rgba(6, 8, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.hud-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hud-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hud-telemetry {
  font-size: 12px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.3;
}

.hud-drag-tip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.hud-drag-tip strong {
  color: var(--accent-sky);
  font-weight: 700;
}

.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 6; }

/* Real Synchronized Dual-Video Comparison Modes (9:16 Side-by-Side & Live Split Beam) */
.wb-video-stage,
.wb-video-controls {
  display: none;
}

.compare-viewport.is-video-mode .compare-img-stage,
.compare-viewport.is-video-mode #wbImgHud {
  display: none;
}

.compare-viewport.is-video-mode .wb-video-stage {
  display: grid;
}

.compare-viewport.is-video-mode .wb-video-controls {
  display: flex;
}

/* Mode A: Side-by-Side 9:16 (Zero Cropping, Crisp Dual Frames) */
.compare-viewport.is-video-mode.is-side-view {
  aspect-ratio: auto;
  min-height: 0;
  padding: 12px 12px 62px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.14), rgba(4, 6, 10, 0.98) 68%);
}

.compare-viewport.is-video-mode.is-side-view .compare-beam,
.compare-viewport.is-video-mode.is-side-view .compare-range {
  display: none;
}

.compare-viewport.is-video-mode.is-side-view .wb-video-stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  height: 100%;
}

.wb-vid-pane {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #030408;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 9 / 16;
  max-height: 515px;
  width: 100%;
  margin-inline: auto;
  box-shadow: 0 18px 42px -18px rgba(0, 0, 0, 0.9);
}

.wb-vid-pane.wb-vid-after {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 18px 44px -16px rgba(16, 185, 129, 0.36);
}

.wb-vid-pane video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wb-vid-pane .hud-pill {
  top: 10px;
  left: 10px;
  right: auto;
  padding: 4px 9px;
  font-size: 10.5px;
  z-index: 3;
}

/* Mode B: Live Split-Beam Across Both Synchronized 9:16 Videos */
.compare-viewport.is-video-mode.is-split-view {
  aspect-ratio: 9 / 14;
  max-height: 585px;
  padding: 0;
  background: radial-gradient(ellipse 64% 72% at 50% 46%, rgba(37, 99, 235, 0.2), #03050a 74%);
}

@media (min-width: 960px) {
  .compare-viewport.is-video-mode.is-split-view {
    aspect-ratio: auto;
    min-height: 540px;
  }
}

.compare-viewport.is-video-mode.is-split-view .wb-video-stage {
  display: block;
  position: absolute;
  inset: 0 0 54px 0;
}

.compare-viewport.is-video-mode.is-split-view .wb-vid-pane {
  position: absolute;
  inset: 0;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.compare-viewport.is-video-mode.is-split-view .wb-vid-pane video {
  object-fit: contain;
}

.compare-viewport.is-video-mode.is-split-view .wb-vid-pane.wb-vid-after {
  clip-path: inset(0 0 0 var(--split, 50%));
}

.compare-viewport.is-video-mode.is-split-view .wb-vid-pane.wb-vid-after .hud-pill {
  left: auto;
  right: 12px;
}

.compare-viewport.is-video-mode.is-split-view .compare-beam {
  bottom: 54px;
  z-index: 5;
}

.compare-viewport.is-video-mode.is-split-view .compare-range {
  bottom: 54px;
  height: calc(100% - 54px);
}

/* Synchronized Video Playback Controls Bar + Click-to-Play Glass Overlays */
.vid-play-overlay {
  position: absolute;
  inset: 0 0 54px 0;
  z-index: 8;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.compare-viewport:not(.is-paused) .vid-play-overlay {
  opacity: 0;
  visibility: hidden;
}

.vid-play-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 9px;
  border-radius: 999px;
  border: none;
  background: rgba(6, 10, 20, 0.8);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    0 18px 44px -10px rgba(0, 0, 0, 0.85),
    0 0 32px -10px rgba(56, 189, 248, 0.55);
  transition: transform 220ms var(--ease-expo), background-color 200ms ease, box-shadow 220ms ease;
}

.vid-play-pill:hover {
  transform: scale(1.045);
  background: rgba(12, 20, 38, 0.9);
  box-shadow:
    0 22px 52px -10px rgba(0, 0, 0, 0.9),
    0 0 38px -8px rgba(16, 185, 129, 0.6);
}

.vid-play-pill-sm {
  padding: 6px 14px 6px 7px;
  font-size: 12px;
  gap: 8px;
}

.vid-play-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px -4px rgba(16, 185, 129, 0.65);
}

.vid-play-pill-sm .vid-play-circle {
  width: 28px;
  height: 28px;
}

.wb-video-stage {
  cursor: pointer;
}

.wb-video-controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 9;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(7, 10, 18, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.wb-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.wb-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
}

.wb-ctrl-btn.is-sound.is-unmuted {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.52);
  color: #a7f3d0;
}

.wb-seek-bar {
  flex: 1;
  min-width: 56px;
  height: 5px;
  accent-color: #38bdf8;
  cursor: pointer;
}

.wb-timecode {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   COMMON SECTIONS
   ========================================================================== */
.section { padding-block: 56px; }
section[id] { scroll-margin-top: 90px; }
#giao-dien-that,
#tinh-nang,
#chu-de,
#so-sanh,
#tiet-kiem,
#triet-ly,
#bang-gia,
#hoi-dap,
.lumina-cta-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}
@media (min-width: 960px) { .section { padding-block: 86px; } }

.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 34px; }
.section-head-center { text-align: center; align-items: center; }

.kicker {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-sky);
}

.section-title {
  margin: 0;
  font-family: var(--font-display); font-weight: 800; font-style: normal;
  font-size: clamp(27px, 3.8vw, 44px);
  line-height: 1.09; letter-spacing: -0.03em;
  text-wrap: balance; overflow-wrap: anywhere;
}

.section-sub { margin: 0; font-size: 15.5px; color: var(--ink-secondary); max-width: 620px; }

/* ==========================================================================
   SECTION 2: 4 BUYER PERSONAS ("DÀNH CHO AI?")
   ========================================================================== */
.persona-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1060px) {
  .persona-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 200ms ease, transform 200ms ease;
}

.persona-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-2px);
}

.persona-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: var(--accent-sky);
  display: grid; place-items: center;
}

.persona-card h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 800;
}

.persona-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* 3-Step Workflow Strip */
.steps-strip {
  margin-top: 22px;
  padding: 22px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 22, 36, 0.9), rgba(9, 12, 20, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.steps-strip-head {
  text-align: center;
  margin-bottom: 18px;
}

.steps-strip-head h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 780px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

.step-card {
  position: relative;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(16, 185, 129, 0.24));
  border: 1px solid rgba(96, 165, 250, 0.45);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #e0f2fe;
  margin-bottom: 10px;
}

.step-card h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-primary);
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.step-card strong { color: #34d399; }

/* ==========================================================================
   SECTION 3: FLAGSHIP RESPONSIVE 1:1 OMNI X 1.5 STUDIO TOUR (ZERO SCROLLBAR)
   Desktop: Full 3-column studio + 6 executive interactive cards
   Mobile/Narrow (<960px): Edge-to-edge responsive studio pane + 3x2 pill selector + active detail spotlight
   ========================================================================== */
#giao-dien-that,
#tinh-nang,
#so-sanh,
#tiet-kiem,
#bang-gia,
#hoi-dap {
  scroll-margin-top: 78px;
}

.tour-shell {
  background: linear-gradient(180deg, rgba(17, 22, 35, 0.92) 0%, rgba(10, 13, 22, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--shadow-stage);
}

@media (min-width: 768px) {
  .tour-shell {
    border-radius: 28px;
    padding: 20px;
  }
}

.tour-stage-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-secondary);
}

.tour-stage-meta strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-primary);
  font-weight: 700;
}

.tour-stage-meta .tour-live-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-weight: 700;
}

.tour-meta-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tour-sample-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tour-sample-btn {
  padding: 3px 9px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.tour-sample-btn:hover {
  color: var(--ink-primary);
}

.tour-sample-btn.is-active {
  background: var(--accent-blue);
  color: #ffffff;
}

.omx-ui-frame {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.72);
  background: #f8fafc;
  overflow: hidden;
}

.omx-ui {
  width: 100%;
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.35;
  position: relative;
}

/* Interactive highlight zones */
.omx-zone {
  position: relative;
  border-radius: 12px;
  transition: box-shadow 200ms ease, background-color 200ms ease;
  cursor: pointer;
}

.omx-zone.is-active {
  box-shadow: 0 0 0 2.5px #2563eb, 0 0 0 6px rgba(37, 99, 235, 0.2);
  z-index: 4;
}

.omx-pin {
  position: absolute;
  top: -10px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.55);
  pointer-events: none;
  z-index: 6;
}

.omx-zone.is-active .omx-pin {
  background: #059669;
  transform: scale(1.1);
}

/* Row 1: Studio Top Bar */
.omx-bar-1 {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 9px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.omx-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 13.5px;
  color: #0f172a;
}

.omx-green-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; }
.omx-pill-gray {
  padding: 2px 7px; border-radius: 999px; background: #f1f5f9;
  border: 1px solid #e2e8f0; color: #475569; font-size: 10.5px; font-weight: 600;
}

.omx-center-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.omx-btn-lite {
  padding: 5px 9px; border-radius: 8px; background: #ffffff;
  border: 1px solid #e2e8f0; color: #334155; font-size: 11.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.omx-btn-rose { color: #be123c; border-color: #fecdd3; background: #fff1f2; }
.omx-btn-run {
  padding: 6px 13px; border-radius: 9px; background: #059669; color: #ffffff;
  font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 5px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3); white-space: nowrap;
}

.omx-right-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 3px; border-radius: 10px; }
.omx-btn-blue-soft { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.omx-btn-amber-soft { background: #fffbeb; border-color: #fde68a; color: #b45309; }

/* Row 2: Mode, Split, Resolution & Advanced */
.omx-bar-2 {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.omx-mode-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 3px; border-radius: 10px; }
.omx-seg-box {
  display: inline-flex; align-items: center; gap: 2px;
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 9px; padding: 2px;
}
.omx-seg-label { font-size: 11px; font-weight: 700; color: #64748b; padding: 0 5px; }
.omx-seg-item { padding: 3px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; color: #475569; white-space: nowrap; }
.omx-seg-item.is-blue { background: #2563eb; color: #ffffff; }
.omx-seg-item.is-dark { background: #0f172a; color: #ffffff; }
.omx-seg-item.is-green { background: #059669; color: #ffffff; font-family: var(--font-mono); }

.omx-adv-trigger {
  padding: 5px 14px 5px 10px; border-radius: 9px; background: #0f172a; color: #ffffff;
  font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.omx-adv-trigger span:not(.omx-pin) {
  padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.14);
  font-size: 10px; font-weight: 600;
}

/* Main 3-Column Studio Body — Desktop 3 cols, Mobile Smart Focused Pane (ZERO horizontal scroll!) */
.omx-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  align-items: start;
  position: relative;
}

@media (min-width: 960px) {
  .omx-body {
    grid-template-columns: 220px minmax(0, 1fr) 264px;
    gap: 14px;
    padding: 14px;
  }
}

/* On narrow screens (<960px), show ONLY the relevant pane edge-to-edge so there's ZERO crowding & ZERO scrollbar! */
@media (max-width: 959px) {
  .omx-center-actions .omx-btn-lite { display: none; }
  .omx-seg-box.omx-hide-sm { display: none; }
  .omx-mode-group { width: fit-content; max-width: 100%; }
  .omx-pin { top: -10px; right: -6px; width: 20px; height: 20px; font-size: 10px; }
  .omx-segments .omx-pin,
  .omx-output .omx-pin,
  .omx-inputs .omx-pin { top: -8px; right: 6px; }
  .omx-body[data-mobile-pane="1"] .omx-segments,
  .omx-body[data-mobile-pane="1"] .omx-output,
  .omx-body[data-mobile-pane="1"] .omx-adv-popover { display: none; }

  .omx-body[data-mobile-pane="2"] .omx-inputs,
  .omx-body[data-mobile-pane="2"] .omx-output,
  .omx-body[data-mobile-pane="2"] .omx-adv-popover { display: none; }

  .omx-body[data-mobile-pane="3"] .omx-inputs,
  .omx-body[data-mobile-pane="3"] .omx-output,
  .omx-body[data-mobile-pane="3"] .omx-adv-popover { display: none; }

  .omx-body[data-mobile-pane="4"] .omx-inputs,
  .omx-body[data-mobile-pane="4"] .omx-output,
  .omx-body[data-mobile-pane="4"] .omx-adv-popover { display: none; }

  .omx-body[data-mobile-pane="5"] .omx-inputs,
  .omx-body[data-mobile-pane="5"] .omx-segments,
  .omx-body[data-mobile-pane="5"] .omx-output { display: none; }
  .omx-body[data-mobile-pane="5"] .omx-adv-popover {
    position: static;
    width: 100%;
    display: flex;
    box-shadow: none;
  }

  .omx-body[data-mobile-pane="6"] .omx-inputs,
  .omx-body[data-mobile-pane="6"] .omx-segments,
  .omx-body[data-mobile-pane="6"] .omx-adv-popover { display: none; }
  .omx-body[data-mobile-pane="6"] .omx-out-video {
    max-width: 260px;
    margin-inline: auto;
    width: 100%;
  }
}

/* Left Column: Inputs */
.omx-inputs { display: flex; flex-direction: column; gap: 10px; padding: 4px; }
@media (max-width: 959px) {
  .omx-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (min-width: 960px) {
  .omx-inputs-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

.omx-slot { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 13px; padding: 10px; }
.omx-slot-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 700; color: #0f172a; margin-bottom: 8px;
}
.omx-count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #eff6ff; color: #2563eb; font-family: var(--font-mono); font-size: 10px; font-weight: 800; margin-left: 4px;
}
.omx-slot-head em { font-style: normal; font-size: 10px; font-weight: 600; color: #94a3b8; }

.omx-preview-box {
  position: relative; border-radius: 10px; overflow: hidden; background: #0f172a;
  aspect-ratio: 16 / 11; margin-bottom: 8px; border: 1px solid #e2e8f0;
}
.omx-preview-box img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.omx-preview-video { background: #090d14; display: flex; align-items: center; justify-content: center; }
.omx-preview-video img { width: 58%; height: 100%; object-fit: cover; object-position: center 15%; }

.omx-vid-tag {
  position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 5px;
  background: rgba(9, 13, 20, 0.82); color: #f8fafc; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
}
.omx-vid-ctrl {
  position: absolute; left: 6px; right: 6px; bottom: 6px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 3px 7px; border-radius: 6px; background: rgba(9, 13, 20, 0.78);
  color: #f8fafc; font-family: var(--font-mono); font-size: 9.5px;
}
.omx-slot-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.omx-slot-btn {
  padding: 5px 6px; border-radius: 8px; border: 1px solid #e2e8f0;
  background: #f8fafc; color: #334155; font-size: 11px; font-weight: 600; text-align: center;
}
.omx-slot-btn.is-blue { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.omx-slot-mini {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border-radius: 11px; background: #ffffff;
  border: 1px solid #e2e8f0; font-size: 11px; font-weight: 700; color: #0f172a;
}
.omx-slot-mini span:last-child { font-size: 10px; font-weight: 600; color: #64748b; white-space: nowrap; flex-shrink: 0; }

/* Center Column: Segments */
.omx-segments {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 13px; display: flex; flex-direction: column; gap: 11px;
}
.omx-seg-header {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; font-size: 13px; color: #0f172a; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9;
}
.omx-seg-header span {
  font-family: var(--font-mono); font-size: 11px; padding: 3px 8px;
  border-radius: 7px; background: #f1f5f9; color: #334155;
}
.omx-seg-card {
  border: 1.5px solid #a7f3d0; background: #fcfffe; border-radius: 14px;
  padding: 11px; display: flex; flex-direction: column; gap: 10px;
}
.omx-seg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.omx-seg-row-left { display: flex; align-items: center; gap: 8px; }
.omx-seg-tag { padding: 3px 9px; border-radius: 7px; background: #0f172a; color: #ffffff; font-size: 11px; font-weight: 700; }
.omx-seg-time { font-family: var(--font-mono); font-size: 11.5px; color: #334155; font-weight: 600; }
.omx-seg-right { display: flex; align-items: center; gap: 6px; }
.omx-status-ok {
  font-size: 11px; font-weight: 700; color: #059669; background: #ecfdf5;
  border: 1px solid #a7f3d0; padding: 3px 9px; border-radius: 999px;
}
.omx-btn-prompt { padding: 4px 8px; border-radius: 7px; background: #ffffff; border: 1px solid #cbd5e1; color: #334155; font-size: 11px; font-weight: 600; }
.omx-btn-seg { padding: 4px 9px; border-radius: 7px; background: #0f172a; color: #ffffff; font-size: 11px; font-weight: 600; }

.omx-dual-players { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.omx-mini-player-wrap { display: flex; flex-direction: column; gap: 5px; }
.omx-mini-player-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; color: #475569; }
.omx-mini-player-label.is-ai { color: #1d4ed8; }
.omx-mini-player {
  position: relative; border-radius: 10px; overflow: hidden; background: #0a0e17;
  aspect-ratio: 16 / 10.5; display: flex; align-items: center; justify-content: center;
}
.omx-mini-player img { height: 100%; width: 54%; object-fit: cover; object-position: center 14%; }

.omx-license-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 12px; border-radius: 10px; background: #0f172a; color: #f8fafc; font-size: 11px;
}
.omx-license-bar b { color: #34d399; }

/* Right Column: Output */
.omx-output {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 12px; display: flex; flex-direction: column; gap: 10px;
}
.omx-out-head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 12.5px; color: #0f172a; }
.omx-out-badge {
  padding: 2px 8px; border-radius: 999px; background: #ecfdf5;
  border: 1px solid #a7f3d0; color: #059669; font-size: 10.5px; font-weight: 700;
}
.omx-out-video { position: relative; border-radius: 12px; overflow: hidden; background: #0a0e17; aspect-ratio: 9 / 11.4; }
.omx-out-video img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.omx-audio-pill {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: #0f172a; font-size: 10px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.omx-out-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.omx-out-play { width: 28px; height: 28px; border-radius: 8px; background: #0f172a; color: #ffffff; display: grid; place-items: center; font-size: 11px; }
.omx-out-zoom { padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); color: #0f172a; font-size: 10.5px; font-weight: 700; }
.omx-out-actions { display: flex; flex-direction: column; gap: 6px; }
.omx-act-btn { padding: 8px 10px; border-radius: 10px; font-size: 11.5px; font-weight: 700; text-align: center; border: 1px solid #e2e8f0; }
.omx-act-blue { background: #2563eb; border-color: #2563eb; color: #ffffff; }
.omx-act-amber { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.omx-act-plain { background: #ffffff; color: #334155; }

/* Floating Advanced Popover */
.omx-adv-popover {
  position: absolute; top: 6px; right: 14px; width: 300px;
  background: #ffffff; border: 1.5px solid #2563eb; border-radius: 16px;
  padding: 12px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.34);
  display: none; flex-direction: column; gap: 9px; z-index: 20;
}
.omx-adv-popover.is-open { display: flex; }
.omx-adv-title {
  font-weight: 800; font-size: 12.5px; color: #0f172a; padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center;
}
.omx-topic-box { padding: 6px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; }
.omx-sub-kicker { font-size: 9.5px; font-weight: 800; letter-spacing: 0.05em; color: #64748b; margin-bottom: 4px; display: block; }
.omx-topic-list { display: flex; flex-direction: column; gap: 2px; }
.omx-topic-opt {
  padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; color: #1e293b;
  display: flex; align-items: center; justify-content: space-between;
}
.omx-topic-opt.is-picked { background: #2563eb; color: #ffffff; }
.omx-switches { display: flex; flex-direction: column; gap: 5px; }
.omx-sw-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 8px; border-radius: 9px; background: #eff6ff; border: 1px solid #bfdbfe;
}
.omx-sw-row strong { display: block; font-size: 11px; color: #0f172a; }
.omx-sw-row small { display: block; font-size: 9.5px; color: #64748b; }
.omx-sw-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22); flex-shrink: 0;
}

/* ==========================================================================
   UPGRADED INTERACTIVE STEPPER & SPOTLIGHT DETAIL BAR (NO BORING STACK!)
   ========================================================================== */
.tour-dock {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Compact 6-Step Pill Bar (3x2 on mobile, 6x1 on desktop) */
.tour-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 520px) {
  .tour-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .tour-pills { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.tour-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.tour-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
  color: var(--ink-primary);
}

.tour-pill.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(16, 185, 129, 0.14));
  border-color: var(--border-blue);
  color: var(--ink-primary);
  box-shadow: 0 8px 24px -10px rgba(37, 99, 235, 0.55);
}

.tour-pill-num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-sky);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tour-pill.is-active .tour-pill-num {
  background: var(--accent-emerald);
  color: #02140d;
}

.tour-pill-label {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

/* Active Feature Spotlight Detail Bar */
.tour-spotlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 24, 44, 0.95), rgba(11, 15, 26, 0.95));
  border: 1px solid var(--border-blue);
}

.tour-spotlight-main {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  flex: 1 1 320px;
}

.tour-spotlight-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-emerald);
  color: #02140d;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tour-spotlight h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-primary);
}

.tour-spotlight p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.48;
}

.tour-spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.tour-spotlight-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #bae6fd;
}

.tour-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tour-step-btn {
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.tour-step-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-sky);
}

.tour-step-btn.is-next {
  background: var(--accent-blue);
  border-color: var(--accent-blue-bright);
}

/* ==========================================================================
   SECTION 4: 6 UNHIDDEN BUYER-FIRST VISUAL FEATURES
   ========================================================================== */
.flagship-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 820px) {
  .flagship-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .span-7 { grid-column: span 7; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
}

.fx-card {
  position: relative;
  background: linear-gradient(180deg, rgba(13, 17, 27, 0.94) 0%, rgba(8, 10, 17, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 240ms var(--ease-expo), border-color 240ms ease, box-shadow 260ms ease;
}

/* Glow Features Edge Accent (MotionSites Glow Features inspired) */
.fx-card.glow-card {
  --glow-rgb: 56, 189, 248;
}
.fx-card.glow-card[data-glow="emerald"] { --glow-rgb: 16, 185, 129; }
.fx-card.glow-card[data-glow="sky"] { --glow-rgb: 56, 189, 248; }
.fx-card.glow-card[data-glow="blue"] { --glow-rgb: 59, 130, 246; }
.fx-card.glow-card[data-glow="violet"] { --glow-rgb: 129, 140, 248; }

.fx-card.glow-card::before {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--glow-rgb), 0.72) 50%, transparent 100%);
  opacity: 0.48;
  transition: opacity 260ms ease, left 300ms var(--ease-expo), right 300ms var(--ease-expo);
  pointer-events: none;
  z-index: 3;
}

.fx-card.glow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--glow-rgb), 0.42);
  box-shadow: 0 24px 56px -26px rgba(var(--glow-rgb), 0.36);
}

.fx-card.glow-card:hover::before {
  left: 6%;
  right: 6%;
  opacity: 1;
}

.fx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fx-kicker {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-sky); margin-bottom: 6px;
}
.fx-card h3 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; line-height: 1.18; letter-spacing: -0.025em;
}
.fx-tagline { margin: 6px 0 0; font-size: 14px; color: var(--ink-secondary); }
.fx-big-num {
  font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800; line-height: 1; color: var(--accent-emerald); flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 28px rgba(var(--glow-rgb, 16, 185, 129), 0.42);
}
.fx-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.fx-pill {
  font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--border-subtle); color: #cbd5e1;
}

/* Visuals inside Bento */
.eraser-pair { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; cursor: pointer; }
.eraser-play-btn {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 5;
  white-space: nowrap;
}
.eraser-play-btn:hover { transform: translate(-50%, -50%) scale(1.045); }
.eraser-pair:not(.is-paused) .eraser-play-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.eraser-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--border-strong);
  background: #04060a;
}
.eraser-box.is-video {
  aspect-ratio: 9 / 16;
  max-height: 410px;
  width: 100%;
  margin-inline: auto;
}
.eraser-box.is-clean {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 12px 30px -14px rgba(16, 185, 129, 0.42);
}
.eraser-box img,
.eraser-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.eraser-pill {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}
.eraser-pill.is-bad {
  background: rgba(15, 10, 18, 0.82);
  border: 1px solid rgba(244, 63, 94, 0.55);
  color: #fda4af;
}
.eraser-pill.is-ok {
  background: rgba(5, 22, 16, 0.84);
  border: 1px solid rgba(52, 211, 153, 0.58);
  color: #6ee7b7;
}

.sync-stage {
  background: #060911; border: 1px solid var(--border-subtle); border-radius: 14px;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.sync-cuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sync-seg {
  padding: 8px; border-radius: 9px; background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35); font-family: var(--font-mono); font-size: 10.5px; text-align: center;
}
.sync-seg b { display: block; color: var(--ink-primary); }
.sync-seg i { font-style: normal; color: var(--accent-sky); }

.wave-bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.wave-bars span {
  flex: 1; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-sky), var(--accent-emerald));
  opacity: 0.9;
  transition: transform 240ms var(--ease-expo);
}
.fx-card:hover .wave-bars span:nth-child(odd) { transform: scaleY(0.86); }
.fx-card:hover .wave-bars span:nth-child(even) { transform: scaleY(1.06); }

.anchor-frame { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.3; border: 1px solid var(--border-strong); }
.anchor-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.reticle {
  position: absolute; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; background: rgba(6, 7, 10, 0.86);
  border: 1px solid var(--accent-sky); font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
}
.reticle::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-emerald); }
.r-1 { top: 20%; left: 6%; }
.r-2 { top: 52%; left: 50%; transform: translateX(-50%); }
.r-3 { top: 18%; right: 6%; }

.trio-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trio-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 3.7; border: 1px solid var(--border-strong); }
.trio-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.trio-item span {
  position: absolute; left: 7px; right: 7px; bottom: 7px; padding: 4px 7px; border-radius: 7px;
  background: rgba(6, 7, 10, 0.84); font-size: 11px; font-weight: 700; text-align: center; color: var(--ink-primary);
}

.lanes-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.lane-box {
  padding: 8px 4px; border-radius: 9px; text-align: center;
  background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(59, 130, 246, 0.35);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; color: var(--accent-sky);
}

.queue-mini { display: flex; flex-direction: column; gap: 7px; }
.q-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 10px; background: #060911; border: 1px solid var(--border-subtle); font-size: 12.5px;
}
.q-bar { width: 78px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; flex-shrink: 0; }
.q-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-blue-bright), var(--accent-emerald)); }

.quad-matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quad-cell { padding: 14px; border-radius: 14px; background: #060911; border: 1px solid var(--border-subtle); }
.quad-cell strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--accent-sky); margin-bottom: 2px; }
.quad-cell span { font-size: 12.5px; color: var(--ink-secondary); }

/* ==========================================================================
   SECTION 5: DEPTH VIDEO SHOWCASE (OUTFIT CAROUSEL / SHELF HERO INSPIRED)
   ========================================================================== */
.depth-section {
  padding-top: 20px;
}

.depth-showcase {
  position: relative;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 64% 58% at 50% 42%, rgba(37, 99, 235, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(12, 16, 28, 0.92) 0%, rgba(6, 8, 14, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 14px 18px;
  overflow: hidden;
  box-shadow: 0 32px 84px -26px rgba(0, 0, 0, 0.88);
}

@media (min-width: 768px) {
  .depth-showcase { padding: 28px 24px 22px; }
}

.depth-stage {
  position: relative;
  height: 410px;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

@media (min-width: 768px) {
  .depth-stage { height: 470px; }
}

.depth-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 224px;
  aspect-ratio: 9 / 15.2;
  border-radius: 22px;
  overflow: hidden;
  background: #04060c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  user-select: none;
  transform: translate3d(-50%, -50%, 0) scale(0.6);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 460ms var(--ease-quint),
    opacity 420ms var(--ease-quint),
    border-color 260ms ease;
}

@media (min-width: 768px) {
  .depth-card { width: 256px; }
}

.depth-card[data-pos="0"] {
  transform: translate3d(-50%, -50%, 0) scale(1);
  z-index: 20;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow:
    0 24px 52px -16px rgba(0, 0, 0, 0.9),
    0 0 36px -16px rgba(16, 185, 129, 0.4);
}

.depth-card[data-pos="-1"] {
  transform: translate3d(calc(-50% - 165px), -50%, 0) scale(0.82);
  z-index: 12;
  opacity: 0.56;
  pointer-events: auto;
}

.depth-card[data-pos="1"] {
  transform: translate3d(calc(-50% + 165px), -50%, 0) scale(0.82);
  z-index: 12;
  opacity: 0.56;
  pointer-events: auto;
}

.depth-card[data-pos="-1"]:hover,
.depth-card[data-pos="1"]:hover {
  opacity: 0.88;
  border-color: rgba(56, 189, 248, 0.48);
}

.depth-card[data-pos="-2"],
.depth-card[data-pos="2"] {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 820px) {
  .depth-card[data-pos="-1"] { transform: translate3d(calc(-50% - 235px), -50%, 0) scale(0.83); }
  .depth-card[data-pos="1"] { transform: translate3d(calc(-50% + 235px), -50%, 0) scale(0.83); }
  .depth-card[data-pos="-2"] {
    transform: translate3d(calc(-50% - 410px), -50%, 0) scale(0.66);
    z-index: 6;
    opacity: 0.24;
    pointer-events: auto;
  }
  .depth-card[data-pos="2"] {
    transform: translate3d(calc(-50% + 410px), -50%, 0) scale(0.66);
    z-index: 6;
    opacity: 0.24;
    pointer-events: auto;
  }
}

@media (min-width: 1120px) {
  .depth-card[data-pos="-1"] { transform: translate3d(calc(-50% - 265px), -50%, 0) scale(0.84); }
  .depth-card[data-pos="1"] { transform: translate3d(calc(-50% + 265px), -50%, 0) scale(0.84); }
  .depth-card[data-pos="-2"] { transform: translate3d(calc(-50% - 475px), -50%, 0) scale(0.68); }
  .depth-card[data-pos="2"] { transform: translate3d(calc(-50% + 475px), -50%, 0) scale(0.68); }
}

.depth-card img,
.depth-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.depth-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.22) 0%, transparent 32%, transparent 62%, rgba(5, 7, 12, 0.94) 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.depth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.depth-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(6, 8, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  white-space: nowrap;
}

.depth-card[data-pos="0"] .depth-card-badge {
  border-color: rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
}

.depth-card-expand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #06070a;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 240ms ease, transform 240ms var(--ease-expo);
}

.depth-card[data-pos="0"]:hover .depth-card-expand,
.depth-card[data-pos="0"]:focus-visible .depth-card-expand {
  opacity: 1;
  transform: translateY(0);
}

.depth-center-play {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(6, 10, 20, 0.86);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.72),
    0 0 24px -4px rgba(16, 185, 129, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms var(--ease-expo), background-color 180ms ease;
}

.depth-card[data-pos="0"]:not(.is-playing) .depth-center-play {
  opacity: 1;
  pointer-events: auto;
}

.depth-card[data-pos="0"]:hover .depth-center-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(16, 185, 129, 0.85);
  border-color: rgba(255, 255, 255, 0.78);
}

.depth-card-bottom h3 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
}

.depth-card-bottom p {
  margin: 0;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.35;
}

.depth-dock {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(10, 14, 24, 0.82);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.depth-dock-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.depth-counter {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #7dd3fc;
  white-space: nowrap;
}

.depth-meta { min-width: 0; }
.depth-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink-primary);
}
.depth-meta span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.depth-dock-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.depth-pills {
  display: flex;
  align-items: center;
  gap: 5px;
}

.depth-pill-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 280ms var(--ease-expo), background-color 220ms ease;
}

.depth-pill-dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--accent-sky), var(--accent-emerald));
}

.depth-nav-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.depth-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-primary);
  display: grid;
  place-items: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.depth-nav-btn:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.52);
}

/* ==========================================================================
   SECTION 6: HEAD-TO-HEAD COMPARISON MATRIX ("KHÁC GÌ TỰ LÀM TAY?")
   ========================================================================== */
.compare-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  background: var(--bg-elevated);
}

.compare-table th.col-omnix,
.compare-table td.col-omnix {
  background: rgba(37, 99, 235, 0.08);
  border-left: 1px solid rgba(59, 130, 246, 0.25);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.cmp-bad { color: var(--ink-muted); }
.cmp-good { color: #e2f5ec; font-weight: 600; }
.cmp-tag-x { color: var(--accent-rose); font-weight: 800; margin-right: 6px; }
.cmp-tag-ok { color: var(--accent-emerald); font-weight: 800; margin-right: 6px; }

@media (max-width: 720px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); }
  .compare-table td { padding: 5px 0; border: 0; }
  .compare-table td.col-omnix { background: transparent; border-left: 0; padding-top: 6px; }
  .compare-table td:first-child { font-weight: 700; color: var(--ink-primary); margin-bottom: 4px; }
}

/* ==========================================================================
   SECTION 7: PRICE CALCULATOR (3-TIER STACKED ROI) + ORVANTE MANIFESTO
   ========================================================================== */
.roi-box.calc-shell {
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.96) 0%, rgba(6, 8, 14, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.85);
}

@media (min-width: 920px) {
  .roi-box.calc-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    padding: 34px;
    gap: 34px;
    align-items: stretch;
  }
}

.calc-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.calc-block {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.calc-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.calc-q {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.roi-slider-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.roi-slider-row .calc-q { margin-bottom: 0; }
.roi-val {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--accent-sky);
  font-variant-numeric: tabular-nums;
}
.roi-range { width: 100%; accent-color: var(--accent-blue-bright); height: 7px; cursor: pointer; }
.calc-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-muted);
}

.cost-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cost-chip {
  min-height: 38px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.035);
  color: var(--ink-secondary); font-size: 12.5px; font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.cost-chip:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--ink-primary); }
.cost-chip.is-active { background: var(--accent-blue); border-color: var(--accent-blue-bright); color: var(--ink-primary); }

.calc-addons { display: flex; flex-direction: column; gap: 8px; }
.calc-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.calc-check:hover { border-color: rgba(56, 189, 248, 0.35); background: rgba(255, 255, 255, 0.045); }
.calc-check input { position: absolute; opacity: 0; pointer-events: none; }
.calc-check-box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 8, 14, 0.9);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.calc-check input:checked + .calc-check-box {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  transform: scale(1.06);
}
.calc-check input:checked + .calc-check-box::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #02140d;
  border-bottom: 2px solid #02140d;
  transform: rotate(-45deg) translate(0.5px, -1px);
}
.calc-check-label { font-size: 13px; font-weight: 600; color: var(--ink-primary); flex: 1 1 190px; }
.calc-check em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--accent-sky); white-space: nowrap; }

.calc-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.calc-right-head p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.calc-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-tier {
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calc-tier.is-agency {
  background: rgba(255, 255, 255, 0.025);
}

.calc-tier.is-freelance {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.calc-tier-top span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-primary); }
.calc-tier-top small { display: block; font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }

.calc-tier-price {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-tier.is-agency .calc-tier-price {
  color: var(--ink-muted);
  text-decoration: line-through;
}

.calc-tier.is-freelance .calc-tier-price {
  color: #fda4af;
  text-decoration: line-through;
}

.calc-tier.is-omnix {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0e7490 54%, #059669 100%);
  border-color: rgba(167, 243, 208, 0.45);
  box-shadow:
    0 22px 54px -16px rgba(16, 185, 129, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.calc-omnix-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.calc-omnix-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.calc-omnix-price {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 31px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  margin-top: 3px;
}

.calc-omnix-price small {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

.calc-omnix-save {
  text-align: left;
}

@media (min-width: 520px) {
  .calc-omnix-save { text-align: right; }
}

.calc-omnix-save span {
  display: block;
  font-size: 11.5px;
  color: rgba(236, 253, 245, 0.86);
}

.calc-omnix-save strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: #ecfdf5;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

/* SECTION 7B: ORVANTE SCROLL WORD-REVEAL MANIFESTO */
.manifesto-section {
  padding-block: 56px 46px;
}

@media (min-width: 960px) {
  .manifesto-section { padding-block: 82px 64px; }
}

.manifesto-wrap {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.manifesto-text {
  margin: 16px auto 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
  text-wrap: balance;
}

.manifesto-text .mf-word {
  display: inline-block;
  transition: opacity 160ms linear;
}

.manifesto-text.is-split .mf-word {
  opacity: 0.18;
}

.manifesto-text .mf-word.is-em {
  color: #6ee7b7;
}

.manifesto-proof-row {
  margin-top: 28px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--ink-secondary);
}

.manifesto-proof-row strong {
  color: var(--ink-primary);
  font-family: var(--font-mono);
  margin-right: 4px;
}

.manifesto-proof-row i {
  display: none;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 680px) {
  .manifesto-proof-row i { display: inline-block; }
}

/* 4-Point Trust / Risk-Reversal Strip */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

.trust-card {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-emerald);
  display: grid; place-items: center; flex-shrink: 0;
}

.trust-card strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.trust-card span { display: block; font-size: 12.5px; color: var(--ink-secondary); line-height: 1.45; }

/* 3-Day Free Promo Offer Banner (Above 4-Column Pricing Grid) */
.promo-trial-banner {
  margin-bottom: 20px;
  padding: 20px 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.22), transparent 46%),
    linear-gradient(135deg, rgba(8, 28, 24, 0.94) 0%, rgba(11, 16, 30, 0.96) 100%);
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 20px 54px -20px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.promo-trial-left {
  flex: 1 1 320px;
  min-width: 0;
}

.promo-trial-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #34d399);
  color: #02140d;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.promo-trial-left h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.025em;
}

.promo-trial-left p {
  margin: 0;
  font-size: 13.5px;
  color: #cbd5e1;
}

.promo-trial-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.promo-trial-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.promo-trial-price strong {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1;
  color: #34d399;
  letter-spacing: -0.03em;
}

.promo-trial-price span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #a7f3d0;
  font-weight: 700;
}

.promo-trial-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.price-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 22px; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.price-card.is-featured {
  background: linear-gradient(160deg, #101c3a 0%, #090e1c 100%);
  box-shadow: 0 26px 70px -18px rgba(37, 99, 235, 0.5);
}
.price-card.is-best {
  background: linear-gradient(165deg, rgba(8, 32, 26, 0.92) 0%, #090d17 100%);
  border-color: rgba(52, 211, 153, 0.36);
}
.price-badge {
  display: inline-flex; width: fit-content; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
  background: rgba(16, 185, 129, 0.16); color: #6ee7b7;
}
.price-badge.is-subtle { background: rgba(255, 255, 255, 0.07); color: #cbd5e1; }
.price-badge.is-gold { background: linear-gradient(90deg, #fbbf24, #f59e0b); color: #1c1000; font-weight: 800; }
.price-badge.is-best { background: linear-gradient(90deg, #10b981, #34d399); color: #02140d; font-weight: 800; }
.price-badge.is-empty { visibility: hidden; }
.price-name { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.price-days { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.price-orig-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin-top: 12px;
}
.price-orig {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: line-through;
  text-decoration-color: rgba(244, 63, 94, 0.72);
  text-decoration-thickness: 1.6px;
}
.price-save-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.32);
  color: #6ee7b7;
}
.price-val { margin-top: 2px; font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.price-perday { font-family: var(--font-mono); font-size: 11.5px; color: #34d399; margin-top: 5px; }
.price-list {
  list-style: none; margin: 15px 0 0; padding: 14px 0 0;
  border-top: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 9px;
}
.price-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink-secondary); }
.price-list svg { color: var(--accent-emerald); flex-shrink: 0; margin-top: 2px; }

/* Executive VietQR Auto-Activation & Payment Confidence Panel */
.pay-showcase {
  margin-top: 26px;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 14%, rgba(16, 185, 129, 0.16), transparent 44%),
    radial-gradient(circle at 12% 90%, rgba(37, 99, 235, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(14, 20, 34, 0.96), rgba(8, 11, 19, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 28px 72px -24px rgba(0, 0, 0, 0.85);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

@media (min-width: 940px) {
  .pay-showcase {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    padding: 30px;
    gap: 28px;
    align-items: center;
  }
}

.pay-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.34);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6ee7b7;
  margin-bottom: 12px;
}

.pay-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.pay-sub {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.pay-sub strong { color: var(--ink-primary); }

.pay-steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 16px;
}

.pay-step {
  padding: 12px 15px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.pay-step strong { display: block; font-size: 14px; color: var(--ink-primary); margin-bottom: 3px; }
.pay-step span { display: block; font-size: 12.5px; color: var(--ink-secondary); line-height: 1.45; }

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pay-badges span {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #a7f3d0;
}

.pay-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(6, 9, 17, 0.94);
  border: 1px solid rgba(96, 165, 250, 0.34);
  box-shadow: 0 20px 54px -18px rgba(37, 99, 235, 0.36);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pay-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pay-bank-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-sky);
  margin-bottom: 3px;
}

.pay-card-head strong {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-primary);
}

.pay-speed-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: #6ee7b7;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.pay-plan-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.pay-plan-tab {
  padding: 6px 4px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.pay-plan-tab.is-active {
  background: var(--accent-blue);
  color: #ffffff;
}

.pay-qr-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.pay-qr-box {
  flex-shrink: 0;
  padding: 8px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pay-qr-box span {
  font-size: 9.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.pay-qr-meta { min-width: 0; flex: 1; }
.pay-meta-label { display: block; font-size: 11.5px; color: var(--ink-muted); }
.pay-meta-orig-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}
.pay-meta-orig {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: line-through;
  text-decoration-color: rgba(244, 63, 94, 0.72);
  text-decoration-thickness: 1.5px;
}
.pay-meta-price {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: #34d399;
  line-height: 1.1;
  margin: 2px 0 4px;
}
.pay-meta-sub { font-family: var(--font-mono); font-size: 11px; color: #bae6fd; line-height: 1.35; }
.pay-meta-bank { font-size: 12px; color: var(--ink-secondary); margin-top: 6px; }
.pay-meta-bank strong { color: var(--ink-primary); }

.pay-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   FAQ + CLOSING CTA + FOOTER + MODALS + LEGAL
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; }
.faq-item[open] { border-color: var(--border-blue); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 16px 20px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 20px 16px; font-size: 14.5px; color: var(--ink-secondary); }

/* Lumina Horizon Arc Closing CTA + Minimal 3-Col Footer */
.closing-cta.lumina-horizon {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 24px 58px;
  border-radius: 30px;
  background: linear-gradient(180deg, #070a12 0%, #05070c 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 96px -28px rgba(0, 0, 0, 0.92);
}

@media (min-width: 768px) {
  .closing-cta.lumina-horizon { padding: 84px 40px 76px; }
}

.lumina-arc {
  position: absolute;
  left: 50%;
  bottom: -245px;
  transform: translateX(-50%);
  width: min(1160px, 155vw);
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(ellipse 68% 60% at 50% 8%, rgba(56, 189, 248, 0.34), rgba(16, 185, 129, 0.16) 44%, transparent 74%);
  border-top: 1.5px solid rgba(186, 230, 253, 0.65);
  box-shadow:
    0 -24px 90px rgba(37, 99, 235, 0.45),
    0 -8px 40px rgba(56, 189, 248, 0.35),
    inset 0 18px 46px rgba(56, 189, 248, 0.2);
  pointer-events: none;
  z-index: 1;
}

.lumina-content {
  position: relative;
  z-index: 2;
}

.closing-cta h2 {
  margin: 10px auto 12px;
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.closing-cta p { margin: 0 auto 28px; color: var(--ink-secondary); font-size: 15.5px; max-width: 560px; }

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 44px 104px;
  color: var(--ink-secondary);
  font-size: 13.5px;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0) 0%, rgba(10, 14, 24, 0.55) 100%);
}
@media (min-width: 768px) { .site-footer { padding-block: 52px 76px; } }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }
}

.footer-desc {
  margin: 12px 0 0;
  max-width: 360px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-primary);
}

.footer-col a {
  width: fit-content;
  font-size: 13.5px;
  color: var(--ink-secondary);
  transition: color 160ms ease;
}

.footer-col a:hover { color: var(--ink-primary); }

.footer-note {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border-subtle);
  font-size: 12.5px; color: var(--ink-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
}

.mobile-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(11, 14, 21, 0.96);
  border-top: 1px solid var(--border-strong);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px;
}
@media (min-width: 768px) { .mobile-sticky-bar { display: none; } }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 9, 0.82);
  backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-backdrop.is-open { display: flex; }
.modal-panel {
  width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto;
  background: var(--bg-surface); color: var(--ink-primary);
  border-radius: 22px; border: 1px solid var(--border-strong); padding: 24px;
}
.modal-panel-media { max-width: 760px; padding: 18px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-family: var(--font-display); font-size: 20px; }
.modal-close {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06); color: var(--ink-primary); display: grid; place-items: center; flex-shrink: 0;
}
.modal-steps { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 18px; }
.modal-step {
  padding: 11px 13px; border-radius: 11px; background: var(--bg-elevated);
  border: 1px solid var(--border-subtle); font-size: 13.5px; color: var(--ink-secondary);
}
.modal-step strong { color: var(--ink-primary); }
.modal-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 480px) { .modal-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox-stage {
  border-radius: 14px; overflow: hidden; background: #020306; max-height: 68vh;
  display: grid; place-items: center; margin-bottom: 12px;
}
.lightbox-stage img, .lightbox-stage video { max-height: 68vh; width: auto; max-width: 100%; object-fit: contain; }

/* Lightbox Dual-Compare Mode */
.lb-view-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lb-view-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.lb-view-btn.is-active {
  background: var(--accent-blue);
  color: #ffffff;
}
.lb-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding: 10px;
}
.lb-dual-pane {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #04060a;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lb-dual-pane.is-after { border-color: rgba(52, 211, 153, 0.45); }
.lb-dual-pane video {
  width: 100%;
  max-height: 60vh;
  display: block;
  object-fit: contain;
}
.lb-dual-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}
.lb-dual-pane.is-after .lb-dual-tag {
  border-color: rgba(52, 211, 153, 0.5);
  color: #a7f3d0;
}

/* Desktop Floating Zalo Widget (Bottom-Left) */
.zalo-float-wrap {
  display: none;
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 58;
}
@media (min-width: 768px) {
  .zalo-float-wrap { display: block; }
}
.zalo-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.42);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.72), 0 0 20px -10px rgba(37, 99, 235, 0.55);
  transition: transform 160ms ease, border-color 160ms ease;
}
.zalo-float-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.65);
}
.zalo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.zalo-popover {
  display: none;
  position: absolute;
  left: 0;
  bottom: 54px;
  width: 276px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(11, 16, 29, 0.98);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.78);
}
.zalo-popover.is-open { display: block; }
.zalo-pop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.zalo-pop-head strong { display: block; font-size: 14px; color: #f8fafc; }
.zalo-pop-head span { display: block; font-size: 12px; color: var(--ink-secondary); }
.zalo-pop-close {
  width: 26px; height: 26px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05); color: #cbd5e1;
  font-size: 12px; display: grid; place-items: center;
}
.zalo-pop-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: var(--ink-secondary);
  margin-bottom: 10px;
}
.zalo-pop-phone strong { color: #f8fafc; font-family: var(--font-mono); }
.zalo-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.14);
  color: #bae6fd;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.legal-wrap { padding-block: 44px 72px; max-width: 800px; margin-inline: auto; }
.legal-card { background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: 22px; padding: 28px 22px; }
@media (min-width: 768px) { .legal-card { padding: 40px 44px; } }
.legal-card h1 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); }
.legal-card h2 { margin: 24px 0 8px; font-family: var(--font-display); font-size: 19px; }
.legal-card p, .legal-card li { color: var(--ink-secondary); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .border-beam::before, .hotspot::after, .wave-bars span, .scanner-pulse { animation: none !important; }
  .manifesto-text.is-split .mf-word { opacity: 1 !important; }
}
