/* ============================================================
   AutoCapCut by Duc Duc — Landing Page Styles
   Theme: Dark OLED + CapCut neon teal→blue gradient
   Font: Be Vietnam Pro (hỗ trợ tiếng Việt đầy đủ)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg-0: #07090f;
  --bg-1: #0b101a;
  --card: #101724;
  --card-2: #131c2c;
  --line: rgba(148, 163, 184, 0.14);
  --text: #eef3f9;
  --muted: #9aa8bc;
  --teal: #00e5c0;
  --blue: #4d8dff;
  --grad: linear-gradient(100deg, var(--teal), var(--blue));
  --on-accent: #052019;
  --green: #34d399;
  --red-soft: #94a3b8;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 68px;
  --shadow-glow: 0 10px 40px -12px rgba(0, 229, 192, 0.35);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
::selection { background: rgba(0, 229, 192, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}
.container-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--teal); color: var(--on-accent);
  padding: 10px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* ---------- Typography helpers ---------- */
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.section-sub {
  color: var(--muted); max-width: 620px; margin-top: 14px;
  font-size: clamp(15px, 1vw + 11px, 17px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em;
  border-radius: 999px; cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease,
              background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  touch-action: manipulation;
}
.btn-primary {
  background: var(--grad); color: var(--on-accent);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 44px -10px rgba(0, 229, 192, 0.45); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); color: var(--text);
}
.btn-ghost:hover { border-color: rgba(0, 229, 192, 0.55); background: rgba(0, 229, 192, 0.07); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 16px 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-disabled { opacity: 0.55; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 9, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 22px; height: 100%;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: var(--grad); color: var(--on-accent);
  box-shadow: 0 4px 18px -4px rgba(0, 229, 192, 0.5);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }

.site-nav { display: none; margin-left: auto; gap: 4px; }
.site-nav a {
  padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--muted); transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.header-cta { margin-left: auto; white-space: nowrap; }

.nav-toggle {
  display: grid; place-items: center; gap: 5px;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  order: 3;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    display: flex; flex-direction: column; gap: 6px;
    background: rgba(7, 9, 15, 0.97);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 18px 20px 26px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.28s var(--ease-out), opacity 0.25s ease, visibility 0.28s;
  }
  body.nav-open .site-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .header-cta { display: none; }
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .header-cta { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 9vh, 84px)) 0 clamp(56px, 8vh, 88px);
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-teal { width: 480px; height: 480px; background: #0d9d86; top: -140px; left: -120px; }
.orb-blue { width: 520px; height: 520px; background: #2b4bd8; top: 10%; right: -180px; animation-delay: -7s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(30px, 40px, 0) scale(1.08); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
}
.hero-inner {
  display: grid; gap: clamp(44px, 6vw, 64px);
  align-items: center;
}
/* Cho phép con của grid co lại dưới min-width nội dung (chống tràn ngang mobile) */
.hero-inner > * { min-width: 0; }
.hero-badge { max-width: 100%; }
.hero-badge svg { width: 15px; height: 15px; }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(0, 229, 192, 0.35);
  background: rgba(0, 229, 192, 0.08);
  color: var(--teal); font-size: 13.5px; font-weight: 700;
  margin-bottom: 22px;
}
.hero-badge svg { width: 15px; height: 15px; }

.hero h1 {
  font-size: clamp(2rem, 4.6vw + 0.6rem, 3.55rem);
  margin-bottom: 18px;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1vw + 12px, 18.5px);
  max-width: 540px; margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.platform-row { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-row li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.platform-row svg { width: 15px; height: 15px; color: var(--teal); }

.value-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-top: clamp(44px, 7vh, 72px);
  padding: 18px 22px;
  border-block: 1px solid var(--line);
}
.value-strip li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.value-strip svg { width: 16px; height: 16px; color: var(--teal); }

/* Proof-shot: ảnh chụp màn hình thật + chân đinh chú thích */
.hero-visual { position: relative; }
.proof-shot { margin: 0; }
.shot-stage {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #0a0f18;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -30px rgba(0, 229, 192, 0.35);
  overflow: hidden;
}
/* Chỉ giãn khung khi CHƯA có ảnh (placeholder) — có ảnh thì khung cao
   đúng bằng ảnh để chân đinh % luôn bám chuẩn trên mọi kích thước màn hình */
.shot-stage.is-empty { min-height: 250px; }
.shot-stage img { width: 100%; height: auto; display: block; }
.shot-stage.is-empty img,
.shot-stage.is-empty .shot-pin { display: none; }

/* Trạng thái chưa có ảnh: khung placeholder lịch sự */
.shot-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; text-align: center; padding: 30px 26px;
  color: var(--muted); font-size: 13.5px; line-height: 1.55;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.022) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 50% 28%, rgba(0, 229, 192, 0.09), transparent 62%),
    #0a0f18;
}
.shot-fallback svg { width: 34px; height: 34px; color: var(--teal); opacity: 0.85; }
.shot-fallback strong { color: var(--text); font-size: 15px; }
.shot-fallback code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: var(--teal);
  background: rgba(0, 229, 192, 0.08); border: 1px solid rgba(0, 229, 192, 0.25);
  padding: 1px 7px; border-radius: 6px;
}
.shot-stage:not(.is-empty) .shot-fallback { display: none; }

/* Chân đinh chú thích đặt theo % khung ảnh (--x / --y) */
.shot-pin {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13.5px;
  color: #04241d; background: var(--grad);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.65);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.shot-pin::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(0, 229, 192, 0.55);
  animation: pin-pulse 2.4s ease-out infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(0.65); opacity: 1; }
  70%, 100% { transform: scale(1.4); opacity: 0; }
}
.shot-pin:hover, .shot-pin.active {
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 6px 22px -4px rgba(0, 229, 192, 0.7);
}
@media (max-width: 640px) {
  .shot-pin { width: 24px; height: 24px; font-size: 11.5px; border-width: 1.5px; }
  .shot-pin::after { inset: -5px; }
}

/* Chú giải dưới ảnh */
.shot-legend {
  margin-top: 14px;
  padding: clamp(16px, 2vw, 22px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.shot-legend h3 { font-size: 15.5px; margin-bottom: 12px; }
.shot-legend ul { display: grid; gap: 6px; }
.shot-legend li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 7px 10px; margin: 0 -10px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; color: var(--muted); line-height: 1.55;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.shot-legend li strong { color: var(--text); }
.shot-legend li.active {
  color: var(--text);
  background: rgba(0, 229, 192, 0.08);
  border-color: rgba(0, 229, 192, 0.35);
}
.pin-num {
  display: grid; place-items: center; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--grad); color: #04241d;
  font-weight: 800; font-size: 11.5px;
}
.shot-caption { margin-top: 13px; font-size: 12.5px; color: #6b7a90; }

@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vh, 104px) 0; }
.section-alt {
  background:
    radial-gradient(ellipse 60% 40% at 85% 0%, rgba(77, 141, 255, 0.07), transparent 60%),
    var(--bg-1);
  border-block: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(1.65rem, 2.6vw + 0.8rem, 2.6rem); }

/* Versus comparison */
.versus {
  display: grid; gap: 22px; margin-top: clamp(34px, 5vh, 52px);
  align-items: stretch;
}
@media (min-width: 900px) {
  .versus { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
}
.vs-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
}
.vs-old { border-color: rgba(148,163,184,.2); }
.vs-new {
  border-color: rgba(0, 229, 192, 0.4);
  background: linear-gradient(165deg, rgba(0,229,192,.07), var(--card) 45%);
  box-shadow: 0 24px 70px -34px rgba(0, 229, 192, 0.4);
}
.vs-card h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(17px, 1.4vw + 10px, 20px); margin-bottom: 20px;
}
.vs-icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; flex-shrink: 0;
}
.vs-icon.warn { background: rgba(148,163,184,.12); color: var(--red-soft); }
.vs-icon.good { background: rgba(0,229,192,.14); color: var(--teal); }
.check-list { display: grid; gap: 13px; }
.check-list li {
  display: flex; gap: 11px; align-items: flex-start;
  color: var(--muted); font-size: 15px; line-height: 1.55;
  min-width: 0;
}
.check-list li > span { min-width: 0; } /* nội dung text co giãn tốt trong flex */
.check-list li strong { color: var(--text); }
.check-list svg { width: 19px; height: 19px; margin-top: 3px; border-radius: 50%; padding: 3px; flex-shrink: 0; }
.check-list .yes svg { background: rgba(52,211,153,.16); color: var(--green); }
.check-list .no  svg { background: rgba(148,163,184,.14); color: #cbd5e1; }
.vs-divider {
  display: grid; place-items: center; min-height: 44px;
}
.vs-divider b {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad); color: var(--on-accent);
  font-weight: 800; font-size: 15px; letter-spacing: 0.04em;
  box-shadow: var(--shadow-glow);
}
.callout {
  margin-top: 26px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px dashed rgba(0, 229, 192, 0.4);
  background: rgba(0, 229, 192, 0.05);
  font-size: 15px; color: var(--muted);
}
.callout strong { color: var(--teal); font-size: 15.5px; }
@media (min-width: 720px) {
  .callout { flex-direction: row; gap: 14px; align-items: baseline; }
  .callout strong { white-space: nowrap; }
}

/* Features */
.features-grid {
  display: grid; gap: 18px; margin-top: clamp(34px, 5vh, 52px);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 192, 0.45);
  box-shadow: 0 24px 54px -26px rgba(0, 229, 192, 0.35);
}
.feature-star {
  grid-column: 1 / -1;
  background: linear-gradient(150deg, rgba(0,229,192,.1), var(--card) 55%);
  border-color: rgba(0, 229, 192, 0.4);
}
@media (min-width: 640px) and (max-width: 1023.9px) { .feature-star { grid-column: 1 / -1; } }
.star-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-accent); background: var(--grad);
  padding: 5px 12px; border-radius: 999px;
}
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; margin-bottom: 16px;
  background: rgba(0, 229, 192, 0.1); border: 1px solid rgba(0, 229, 192, 0.3);
  color: var(--teal);
  transition: transform 0.3s var(--ease-out);
}
.feature-card:hover .feature-icon { transform: scale(1.08); }
.feature-card h3 { font-size: 18px; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 14.8px; }
.feature-card p strong { color: var(--text); }
.feature-cta-card {
  display: block; color: inherit;
  border-style: dashed;
  background: transparent;
}
.feature-cta-card:hover { border-style: solid; }
.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; color: var(--teal); font-weight: 700; font-size: 14.5px;
}
.link-more svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease-out); }
.feature-cta-card:hover .link-more svg { transform: translate(3px, -3px); }

/* Cách dùng — 3 bước */
.steps-grid { display: grid; gap: 18px; margin-top: clamp(34px, 5vh, 52px); }
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
}
.step-num {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 13px;
  margin-bottom: 15px;
  background: var(--grad); color: var(--on-accent);
  font-weight: 800; font-size: 17px;
  box-shadow: var(--shadow-glow);
}
.step-card h3 { font-size: 18px; margin-bottom: 9px; }
.step-card p { color: var(--muted); font-size: 14.8px; }
.step-card p strong { color: var(--text); }

.speed-callout {
  margin-top: 22px;
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 229, 192, 0.4);
  background:
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(0,229,192,.12), transparent 60%),
    radial-gradient(ellipse 70% 120% at 100% 100%, rgba(77,141,255,.1), transparent 60%),
    var(--card);
}
.speed-callout .big {
  font-size: clamp(21px, 2.4vw + 8px, 31px);
  font-weight: 800; line-height: 1.25; letter-spacing: -0.02em;
}
.speed-callout .big em { font-style: normal; }
.speed-callout p { color: var(--muted); font-size: 15px; max-width: 720px; }
.speed-callout p strong { color: var(--text); }

/* Social proof của bài post gốc */
.post-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.post-stats li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.post-stats svg { width: 15px; height: 15px; color: var(--teal); }

/* Videos */
.video-wrap {
  margin-top: clamp(30px, 5vh, 46px);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(16px, 2.5vw, 26px);
}
.video-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.video-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; min-height: 44px;
  border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: all 0.22s ease;
}
.video-tab svg { width: 14px; height: 14px; }
.video-tab:hover { color: var(--text); border-color: rgba(0,229,192,.4); }
.video-tab[aria-selected="true"] {
  background: var(--grad); color: var(--on-accent); border-color: transparent;
  font-weight: 700;
}
.video-frame {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid var(--line);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade {
  position: absolute; inset: 0; width: 100%;
  display: block; cursor: pointer; padding: 0;
}
.video-facade img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
  opacity: 0.92;
}
.video-facade:hover img { transform: scale(1.03); opacity: 1; }
.play-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.play-overlay::before {
  content: ""; position: absolute;
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(7, 9, 15, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}
.video-facade:hover .play-overlay::before {
  transform: scale(1.1);
  background: rgba(0, 229, 192, 0.85);
}
.play-overlay svg {
  position: relative; width: 30px; height: 30px; color: #fff;
  margin-left: 4px; z-index: 1;
  transition: color 0.3s ease;
}
.video-facade:hover .play-overlay svg { color: var(--on-accent); }
.video-note {
  margin-top: 14px; font-size: 14px; color: var(--muted);
}
.yt-fallback {
  margin-top: 12px; font-size: 13.5px; color: var(--muted);
}
.yt-fallback a {
  color: var(--teal); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.yt-fallback a:hover { color: #5ffbe0; }

/* Bản gốc vs nhái */
.story-quote {
  margin: clamp(30px, 5vh, 44px) 0;
  padding: clamp(24px, 3.5vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(77, 141, 255, 0.35);
  background:
    radial-gradient(ellipse 70% 100% at 0% 0%, rgba(77,141,255,.09), transparent 60%),
    var(--card);
}
.story-quote p {
  font-size: clamp(17px, 1.2vw + 12px, 21px);
  font-weight: 500; line-height: 1.6; margin-bottom: 14px;
}
.story-quote footer {
  font-size: 14px; font-weight: 700; color: var(--teal);
}
.orig-grid {
  display: grid; gap: 18px;
}
@media (min-width: 860px) { .orig-grid { grid-template-columns: 1fr 1fr; } }
.orig-card {
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line); background: var(--card);
}
.orig-real {
  border-color: rgba(0, 229, 192, 0.4);
  background: linear-gradient(165deg, rgba(0,229,192,.07), var(--card) 45%);
}
.orig-real h3 { color: var(--teal); }
.orig-fake { border-style: dashed; }
.orig-card h3 {
  display: flex; align-items: center; gap: 11px;
  font-size: clamp(16.5px, 1.2vw + 10px, 19px); margin-bottom: 18px;
}
.orig-card h3 svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Community */
.community {
  background:
    radial-gradient(ellipse 55% 45% at 15% 100%, rgba(0, 229, 192, 0.08), transparent 65%),
    var(--bg-1);
  border-block: 1px solid var(--line);
}
.community-grid { display: grid; gap: clamp(36px, 5vw, 56px); }
@media (min-width: 1024px) { .community-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.author-quote {
  display: flex; gap: 16px; align-items: flex-start;
  margin: 26px 0 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: var(--on-accent);
  font-weight: 800; font-size: 15px;
}
.author-quote p {
  font-size: 15.5px; font-style: italic; color: var(--text); line-height: 1.6;
}
.author-quote footer { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.fb-note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: var(--muted);
}
.fb-note svg { color: var(--teal); margin-top: 3px; }
.fb-btn { margin-top: 16px; }
.fb-btn svg { width: 17px; height: 17px; }
.group-list { display: grid; gap: 16px; }
.group-card {
  border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--line); background: var(--card);
}
.group-open {
  border: 1.5px solid rgba(0, 229, 192, 0.55);
  background: linear-gradient(160deg, rgba(0,229,192,.1), var(--card) 50%);
  box-shadow: 0 26px 70px -30px rgba(0, 229, 192, 0.4);
}
.group-full { opacity: 0.78; }
.group-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 8px;
}
.group-card h3 { font-size: 19px; }
.group-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700;
  padding: 6px 13px; border-radius: 999px;
}
.status-badge.open {
  color: var(--green);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.status-badge.open i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.status-badge.full {
  color: var(--red-soft);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.status-badge.full svg { width: 13px; height: 13px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: clamp(28px, 4vh, 40px); }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgba(0, 229, 192, 0.4); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left;
  padding: 19px 22px;
  font-size: 16px; font-weight: 600; line-height: 1.45;
  min-height: 44px;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--teal); }
.faq-q[aria-expanded="true"] { color: var(--teal); }
.faq-q svg { width: 19px; height: 19px; color: var(--muted); transition: transform 0.3s var(--ease-out); }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--teal); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p, .faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 22px 20px;
  color: var(--muted); font-size: 15px;
}
.faq-a strong { color: var(--text); }

/* Final CTA */
.final-cta {
  position: relative; overflow: hidden;
  padding: clamp(70px, 11vh, 110px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 115%, rgba(0, 229, 192, 0.16), transparent 70%),
    radial-gradient(ellipse 45% 55% at 85% -10%, rgba(77, 141, 255, 0.12), transparent 65%);
}
.final-cta h2 { font-size: clamp(1.8rem, 3vw + 0.9rem, 2.8rem); }
.final-cta p { color: var(--muted); margin: 16px auto 30px; max-width: 480px; }
.price-line {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 18px auto 26px;
  font-size: 15.5px; font-weight: 600; color: var(--muted);
}
.price-tag {
  display: inline-grid; place-items: center;
  padding: 6px 18px; border-radius: 999px;
  background: var(--grad); color: var(--on-accent);
  font-size: 19px; font-weight: 800; letter-spacing: 0.01em;
  box-shadow: var(--shadow-glow);
}
.final-cta small {
  display: block; margin-top: 18px;
  font-size: 13px; color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  background: var(--bg-0);
}
.footer-inner {
  display: grid; gap: 14px; justify-items: center; text-align: center;
}
.footer-thanks { font-size: 14.5px; color: var(--muted); max-width: 520px; }
.footer-fb { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-fb:hover { color: #5ffbe0; }
.footer-disclaimer { font-size: 12.5px; color: #6b7a90; max-width: 560px; }
.footer-copy { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Scroll reveal (chỉ ẩn khi JS đang bật — progressive enhancement) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  html.js .reveal { opacity: 1; transform: none; }
  .orb, .status-badge.open i, .shot-pin::after { animation: none; }
}
