/* =========================================================
   ECOX – Design system v3 (theo mẫu thiết kế)
   ========================================================= */
:root {
  --ink: #0b1a3c;
  --ink-2: #3b4a6b;
  --muted: #66748f;
  --line: #e3e9f3;
  --line-2: #eef2f8;
  --bg: #ffffff;
  --soft: #f4f7fd;
  --brand: #1557f0;
  --brand-2: #0d3fc0;
  --brand-50: #eaf1ff;
  --navy: #061a44;
  --navy-2: #0a2a6b;
  --gold: #ffc21a;
  --gold-2: #ffab00;
  --gold-50: #fff6dc;
  --green: #0f9d66;
  --amber: #d98a00;
  --red: #e5484d;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --sh-sm: 0 1px 2px rgba(11, 26, 60, .06);
  --sh: 0 12px 30px -12px rgba(11, 26, 60, .2), 0 2px 6px rgba(11, 26, 60, .05);
  --sh-lg: 0 40px 80px -30px rgba(11, 26, 60, .4), 0 10px 24px -10px rgba(11, 26, 60, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.ic { width: 22px; height: 22px; flex: none; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 14px; height: 14px; }
.ic.lg { width: 34px; height: 34px; }
.gold { color: var(--gold) !important; }
.blue { color: var(--brand) !important; }
.ic.red { color: var(--red); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-yellow { background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 10px 24px -8px rgba(255, 171, 0, .6); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(21, 87, 240, .7); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline { background: #fff; color: var(--brand); border-color: #c9d6f2; }
.btn-outline:hover { border-color: var(--brand); }
.play { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; padding-left: 2px; }

/* Header (nổi trên hero tối) */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .page-blog .site-header { background: rgba(6, 26, 68, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.nav { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand img { width: 110px; }
.menu { display: flex; gap: 30px; margin-left: auto; }
.menu a { position: relative; font-size: 14.5px; font-weight: 500; color: #cfdbf6; padding: 8px 0; transition: color .2s; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .2s; }
.menu a:hover, .menu a.active { color: #fff; }
.menu a.active::after, .menu a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; background: transparent; cursor: pointer; padding: 0 11px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Typography */
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); padding-left: 12px; border-left: 3px solid currentColor; line-height: 1.2; margin-bottom: 14px; }
.kicker.light { color: var(--gold); }
.h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin-bottom: 30px; }
.h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; margin-bottom: 22px; }
.lead { color: #b8c7ea; font-size: 16.5px; line-height: 1.7; }
.lead.dark { color: var(--muted); }
.lead a { color: var(--brand); }
.section { padding: 96px 0; position: relative; }

/* ================= HERO ================= */
.hero { position: relative; background: radial-gradient(900px 500px at 15% 30%, #0e3a96 0%, transparent 60%), linear-gradient(120deg, #041237 0%, #072061 55%, #0b2f86 100%); color: #fff; padding: 132px 0 150px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(255, 255, 255, .025) 140px 142px); pointer-events: none; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 20%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #06195a 0%, rgba(6, 25, 90, .75) 22%, rgba(6, 25, 90, 0) 55%), linear-gradient(0deg, rgba(4, 18, 55, .55), transparent 30%); }
.hero-inner { position: relative; min-height: 430px; }
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.hero h1 { display: flex; flex-direction: column; gap: 10px; font-weight: 800; }
.hero-logo { width: min(290px, 70vw); }
.hero h1 span { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.hero-sub { color: #c9d6f5; font-size: 17px; margin: 18px 0 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13.5px; color: #b8c7ea; }
.dot-ring { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); flex: none; }
.script { position: absolute; z-index: 2; right: 31%; top: -44px; margin: 0; font-family: 'Dancing Script', cursive; font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; color: #fff; transform: rotate(-8deg); text-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.script span { display: block; padding-left: 22px; }

/* ================= STATS ================= */
.stats-wrap { position: relative; z-index: 5; margin-top: -88px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 60px -24px rgba(6, 26, 68, .35); border: 1px solid var(--line); }
.stat { text-align: center; padding: 30px 18px 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .ic.blue { color: var(--brand); }
.stat b { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* ================= PAIN / SOLUTION ================= */
.pain { padding-top: 80px; }
.pain-photo { position: absolute; left: 0; top: 80px; bottom: 96px; width: calc((100vw - 1200px) / 2 + 230px); min-width: 250px; border-radius: 0 var(--r-lg) var(--r-lg) 0; overflow: hidden; }
.pain-photo img { width: 100%; height: 100%; object-fit: cover; }
.pain-inner { padding-left: 270px; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ps-card { border-radius: var(--r-lg); padding: 28px; }
.ps-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.ps-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ps-card li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.ps-card li b { color: var(--ink); }
.pain-card { background: #fff5f5; border: 1px solid #fbdede; }
.pain-card h3 { color: #d23a40; }
.pi { width: 36px; height: 36px; border-radius: 50%; background: #fde3e3; color: var(--red); display: grid; place-items: center; flex: none; }
.sol-card { background: var(--brand-50); border: 1px solid #d6e3ff; }
.sol-card h3 { color: var(--brand-2); }
.sol-card li .ic { color: var(--brand); margin-top: 1px; }

/* ================= ECOSYSTEM ================= */
.eco { background: radial-gradient(700px 500px at 75% 50%, rgba(47, 123, 255, .35), transparent 65%), linear-gradient(120deg, #041237, #072061 60%, #0a2a7a); color: #fff; overflow: hidden; }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.eco .h2 { color: #fff; }
.eco-tools { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.eco-tools li { position: relative; padding-left: 26px; color: #b8c7ea; font-size: 15px; }
.eco-tools li::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--gold); }
.eco-tools b { color: #fff; }
.orbit { position: relative; width: min(480px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.core { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #1d4fc9, #071d55 70%); border: 2px solid rgba(120, 170, 255, .6); box-shadow: 0 0 0 12px rgba(47, 123, 255, .12), 0 0 60px 10px rgba(47, 123, 255, .45), inset 0 0 30px rgba(120, 170, 255, .3); }
.core img { width: 66%; }
.node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 120px; margin: -36px 0 0 -60px; text-align: center; font-size: 13.5px; font-weight: 600; color: #fff; transition: transform .2s; }
.node:hover { transform: translateY(-4px); }
.node span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .35); }
.node .ic { width: 26px; height: 26px; }
.n1 { left: 50%; top: 15%; }
.n2 { left: 85%; top: 40%; }
.n3 { left: 72%; top: 82%; }
.n4 { left: 28%; top: 82%; }
.n5 { left: 15%; top: 40%; }
.c1 { background: linear-gradient(135deg, #3a86ff, #1550d6); }
.c2 { background: linear-gradient(135deg, #ffd23d, #f3a400); }
.c3 { background: linear-gradient(135deg, #2fa8ff, #1468d6); }
.c4 { background: linear-gradient(135deg, #ffc93d, #f39a00); }
.c5 { background: linear-gradient(135deg, #3fd18a, #149a63); }

/* ================= MODULE CARDS ================= */
.modules { background: linear-gradient(180deg, #fff, var(--soft)); }
.mod-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mcard { font: inherit; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.mcard.active { border-color: var(--brand); box-shadow: 0 20px 40px -20px rgba(21, 87, 240, .45); }
.mcard .mi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 10px; }
.mcard em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--muted); }
.mcard b { font-size: 16px; }
.mcard p { color: var(--muted); font-size: 13.5px; flex: 1; }
.mcard .more { color: var(--brand); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.mod-panels { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--sh); }

/* ================= BENEFITS + PRICING ================= */
.bp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; }
.benefit-card { display: grid; grid-template-columns: .8fr 1.2fr; background: linear-gradient(135deg, #072061, #0b2f86); color: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.bc-photo { position: relative; }
.bc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.bc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #072061); }
.bc-body { padding: 34px 30px; }
.bc-body h2 { font-size: 24px; font-weight: 800; margin-bottom: 26px; color: #fff; }
.bc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.bc-list li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #d3def8; line-height: 1.45; }
.bc-list span { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; color: #fff; }
.bc-save { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; color: #b8c7ea; }
.bc-save b { color: var(--gold); }
.pricing .h3 { margin-bottom: 18px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; display: flex; flex-direction: column; box-shadow: var(--sh-sm); }
.plan h3 { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.pdesc { color: var(--muted); font-size: 13.5px; margin: 8px 0 14px; min-height: 64px; }
.price b { display: block; font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.price span { color: var(--muted); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.plan li .ic { color: var(--brand); margin-top: 4px; }
.plan.featured { border: 2px solid var(--gold); box-shadow: 0 24px 50px -24px rgba(255, 171, 0, .55); }
.badge { position: absolute; top: -12px; right: 18px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.plan-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.fee { display: flex; gap: 14px; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.fee.promo { background: var(--brand-50); border-color: #d6e3ff; }
.fi { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--brand); display: grid; place-items: center; flex: none; }
.fee small { display: block; font-size: 12.5px; color: var(--muted); }
.fee b { display: block; font-size: 15px; }
.fee em { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ================= CUSTOMERS ================= */
.cust { background: radial-gradient(600px 400px at 85% 20%, rgba(47, 123, 255, .3), transparent 65%), linear-gradient(120deg, #041237, #072061 60%, #0a2a7a); color: #fff; }
.cust-grid { display: grid; grid-template-columns: 1fr 1.15fr .6fr; gap: 30px; align-items: center; }
.cust .h2 { color: #fff; margin-bottom: 20px; }
.cust blockquote { margin: 0 0 22px; font-style: italic; color: #d3def8; font-size: 15.5px; line-height: 1.7; }
.cite { display: flex; gap: 12px; align-items: center; }
.cite img { border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); }
.cite b { display: block; font-size: 14.5px; }
.cite span { font-size: 12.5px; color: #9fb2de; }
.carousel { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: #0b2a66; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.cbtn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.cbtn.prev { left: 12px; } .cbtn.next { right: 12px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: .2s; }
.dots button.on { background: var(--gold); width: 22px; border-radius: 6px; }
.cust-stats { display: grid; gap: 12px; }
.cust-stats div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.cust-stats b { font-size: 24px; font-weight: 800; white-space: nowrap; }
.cust-stats span { font-size: 12.5px; color: #b8c7ea; line-height: 1.4; }

/* ================= FAQ + BLOG ================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; margin-bottom: 80px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); margin-bottom: 22px; }

/* ================= CTA ================= */
.cta { position: relative; color: #fff; padding: 96px 0; overflow: hidden; background: #061a44; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 18, 55, .96) 0%, rgba(6, 26, 80, .88) 45%, rgba(6, 26, 80, .55) 100%), linear-gradient(0deg, rgba(4, 18, 55, .6), transparent 50%); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.cta h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: #fff; }
.cta-copy > p { color: #c9d6f5; margin-top: 16px; font-size: 16.5px; max-width: 560px; }
.cta-feats { list-style: none; padding: 0; margin: 34px 0 28px; display: flex; gap: 28px; flex-wrap: wrap; }
.cta-feats li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; }
.cta-feats span { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; }
.cta-contact { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 700; }
.cta-contact a { display: inline-flex; align-items: center; gap: 8px; }
.cta-contact .ic { color: var(--gold); }
.lead-form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 30px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); display: grid; gap: 12px; }
.lead-form h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form label { display: block; }
.lead-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead-form input, .lead-form select { width: 100%; font: inherit; font-size: 14.5px; color: var(--ink); padding: 12px 14px; border-radius: 10px; border: 1px solid #d6deeb; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lead-form select { color: var(--ink-2); }
.lead-form input::placeholder { color: #9aa6bd; }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21, 87, 240, .12); }
.lead-form .invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.lead-form .btn { margin-top: 6px; padding: 14px; font-size: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14px; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: var(--red); }

/* ================= FOOTER ================= */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 34px 0 24px; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-brand img { width: 104px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { color: var(--brand); font-weight: 500; }
.foot-links a:hover { color: var(--brand-2); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; }

/* ================= MODULE PANELS (UI mockup) ================= */
.mod { display: none; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.mod.active { display: grid; animation: modin .45s ease; }
@keyframes modin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mod-num { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.mod-copy h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; margin: 10px 0 14px; }
.mod-lead { color: var(--muted); font-size: 17px; }
.mod-steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.mod-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.mod-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.mod-steps b { font-size: 15.5px; }
.mod-steps span { color: var(--muted); font-size: 14.5px; }
.mod-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-tags span { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.mod-tags span::before { content: '✓'; color: var(--green); margin-right: 6px; }
.mod-ui { position: relative; }
.mod-ui::before { content: ''; position: absolute; inset: 8% -6% -8% 10%; background: radial-gradient(closest-side, rgba(21, 87, 240, .18), transparent); z-index: -1; }
.ui-window { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg); overflow: hidden; }
.ui-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.ui-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe5ef; }
.ui-bar span { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ui-body { padding: 20px; display: grid; gap: 16px; font-size: 14px; }
.ui-kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ui-kv small, .ui-sum small, .mt-l small { display: block; color: var(--muted); font-size: 12px; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ui-table th { text-align: left; font-weight: 600; font-size: 12px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--soft); }
.ui-table td { padding: 10px; border-bottom: 1px solid var(--line-2); }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: var(--soft); border-radius: 12px; padding: 14px; }
.ui-sum.two { grid-template-columns: 1fr auto; align-items: center; }
.ui-sum b { font-size: 15px; }
.ui-sum b.blue { color: var(--brand); }
.ui-btns { display: flex; gap: 8px; }
.mbtn { padding: 8px 14px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; font-size: 13px; }
.mbtn.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.ui-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ui-checks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.ui-checks li.ok .ic { color: var(--green); }
.ui-checks li.warn { background: #fff8e6; border-color: #f6dfa4; color: #8a5a00; font-weight: 500; }
.ui-checks li.warn span { width: 16px; height: 16px; border-radius: 50%; background: var(--amber); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.ui-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mt-l { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 6px; flex-wrap: wrap; }
.mt-l b { font-size: 13.5px; }
.ui-stops { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ui-stops li { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.ui-stops li + li::before { content: ''; position: absolute; left: 13px; top: -10px; height: 20px; width: 2px; background: var(--line); }
.ui-stops li > span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; background: #fff; }
.ui-stops li.done > span { background: var(--green); border-color: var(--green); color: #fff; }
.ui-stops li.now > span { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.ui-stops small { display: block; color: var(--muted); font-size: 12.5px; }
.ui-feed { display: grid; gap: 8px; }
.ui-feed div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; flex-wrap: wrap; }
.ui-feed b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.ui-feed em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--green); font-size: 12.5px; }
.ui-feed em.g { color: var(--amber); }
.fd { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.fd.ok { background: var(--green); }
.ui-sum.three b { font-variant-numeric: tabular-nums; }
.ui-match { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 10px; border-radius: 10px; background: #e3f6ee; color: var(--green); font-weight: 600; font-size: 13.5px; }
.ui-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.ui-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.ui-legend .g { background: var(--green); } .ui-legend .a { background: #f2a900; } .ui-legend .r { background: var(--red); }

/* chip & meter (dùng trong mockup phân hệ) */
.meter { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #5b93ff); }
.meter.amber span { background: linear-gradient(90deg, #f2a900, #ffc94d); }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.blue { background: var(--brand-50); color: var(--brand); }
.chip.green { background: #e3f6ee; color: var(--green); }
.chip.amber { background: #fff3d6; color: #a96a00; }
.chip.red { background: #fde8ea; color: var(--red); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.chips a { padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; }
.chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
/* ================= TABLES ================= */
.feat-compare { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat-compare summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.feat-compare summary::-webkit-details-marker { display: none; }
.feat-compare summary::after { content: '+'; font-size: 22px; color: var(--brand); transition: transform .2s; }
.feat-compare[open] summary::after { transform: rotate(45deg); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 680px; }
.tbl th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 22px; background: var(--soft); border-top: 1px solid var(--line); }
.tbl td { padding: 14px 22px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.tbl td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tbl td:nth-child(2), .tbl td:nth-child(3), .tbl th:nth-child(2), .tbl th:nth-child(3) { text-align: center; width: 70px; }
.tbl .y { color: var(--brand); font-weight: 800; } .tbl .n { color: #b5bfd1; }
/* ================= FAQ ================= */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sh); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; font-size: 15.5px; }
.sec-lead a { color: var(--brand); }

/* ================= POSTS ================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.post-thumb { display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-cat { font-size: 12.5px; font-weight: 700; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.post-body h2, .post-body h3 { font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.post-body p { color: var(--muted); font-size: 14.5px; }
.post-meta { color: var(--muted); font-size: 13px; margin-top: auto; }
.empty { color: var(--muted); }

.float-call { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(21, 87, 240, .7); transition: transform .2s; }
.float-call:hover { transform: scale(1.06); }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 38, .85); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1000px, 100%); }
.modal-box video { width: 100%; border-radius: 16px; background: #000; }
.modal-x { position: absolute; top: -46px; right: 0; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ================= BLOG PAGES ================= */
.page-blog .site-header { border-bottom-color: var(--line); }
.blog-hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--brand-50), #fff); }
.blog-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 14px; max-width: 900px; }
.blog-hero p { color: var(--muted); font-size: 18px; max-width: 640px; }
.crumbs { font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--brand); font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.chips a { padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; }
.chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-blog .post-grid { padding: 20px 0 100px; }
.article .blog-hero { padding-bottom: 30px; }
.article .post-meta { margin-top: 6px; font-size: 14px; }
.article-cover { width: 100%; border-radius: var(--r-lg); margin: 10px 0 40px; border: 1px solid var(--line); background: var(--soft); }
.prose { font-size: 18px; line-height: 1.8; color: #263452; }
.prose p { margin: 0 0 22px; }
.prose h2 { font-size: 28px; font-weight: 700; margin: 48px 0 16px; }
.prose h3 { font-size: 22px; font-weight: 700; margin: 34px 0 12px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 22px; }
.prose li { margin: 8px 0; }
.prose img { border-radius: var(--r); margin: 28px auto; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); color: var(--ink-2); font-size: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--soft); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0; }
.tags span { padding: 5px 12px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px 36px; margin: 20px 0 80px; }
.article-cta h3 { font-size: 22px; color: #fff; }
.article-cta p { color: #a5b4d6; margin-top: 6px; }
.related { padding-bottom: 100px; }
.related-title { font-size: 26px; font-weight: 700; margin-bottom: 26px; }


/* ================= OVERRIDES cho phần dùng lại ================= */
.mod-ui::before { inset: 4% -4% -6% 8%; }
.faq-sec { background: #fff; }
.faq details { box-shadow: var(--sh-sm); }
.page-blog main { padding-top: 72px; }
.post-card .post-thumb { aspect-ratio: 16 / 10; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1240px) {
  .pain-photo { width: 230px; }
  .pain-inner { padding-left: 250px; }
}
@media (max-width: 1100px) {
  .menu { gap: 20px; }
  .mod-cards { grid-template-columns: repeat(3, 1fr); }
  .bp-grid { grid-template-columns: 1fr; }
  .cust-grid { grid-template-columns: 1fr 1fr; }
  .cust-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .pain-photo { position: relative; top: 0; bottom: auto; width: auto; min-width: 0; height: 280px; margin: 0 20px 36px; border-radius: var(--r-lg); }
  .pain-photo img { object-position: 60% 40%; }
  .pain-inner { padding-left: 0; }
  .mod-panels { padding: 32px; }
}
@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .burger { display: block; }
  .menu { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: rgba(6, 26, 68, .98); padding: 6px 20px 18px; box-shadow: 0 20px 30px rgba(0, 0, 0, .3); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .2s; }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
  .menu a::after { display: none; }
  .nav-right { margin-left: auto; }
  .hero { padding: 110px 0 130px; }
  .hero-photo { width: 100%; opacity: .45; }
  .hero-photo::after { background: linear-gradient(90deg, rgba(4, 18, 55, .95), rgba(6, 25, 90, .6)); }
  .script { display: none; }
  .hero-inner { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ps-grid, .eco-grid, .cta-grid, .faq-grid { grid-template-columns: 1fr; }
  .eco-grid { gap: 30px; }
  .faq-grid { gap: 30px; margin-bottom: 60px; }
  .benefit-card { grid-template-columns: 1fr; }
  .bc-photo { height: 280px; }
  .bc-photo::after { background: linear-gradient(0deg, #072061, transparent 50%); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .mod { grid-template-columns: 1fr; gap: 36px; }
  .cta-grid { gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .nav-cta { display: none; }
  .hero { padding: 100px 0 120px; }
  .hero h1 span { font-size: 28px; }
  .hero-sub { font-size: 15.5px; }
  .hero-sub br { display: none; }
  .hero-actions .btn { width: 100%; }
  .stats-wrap { margin-top: -80px; }
  .stat { padding: 22px 10px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 12.5px; }
  .h2 br { display: none; }
  .pain-photo { height: 220px; margin: 0 16px 28px; }
  .ps-card { padding: 22px; }
  .node { width: 90px; margin: -30px 0 0 -45px; font-size: 12px; }
  .node span { width: 48px; height: 48px; }
  .node .ic { width: 22px; height: 22px; }
  .mod-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mod-cards .mcard:last-child { grid-column: 1 / -1; }
  .mcard { padding: 18px 16px; }
  .mod-panels { padding: 22px 18px; margin-top: 24px; }
  .ui-sum, .ui-meters, .ui-sum.two { grid-template-columns: 1fr; }
  .ui-table { font-size: 12.5px; }
  .ui-table td, .ui-table th { padding: 8px 6px; }
  .bc-body { padding: 26px 22px; }
  .bc-list { grid-template-columns: 1fr; }
  .plans, .fees { grid-template-columns: 1fr; }
  .pdesc { min-height: 0; }
  .cust-grid { grid-template-columns: 1fr; }
  .cust-stats { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .cta { padding: 64px 0; }
  .cta-feats { gap: 14px 20px; }
  .lead-form { padding: 22px; }
  .frow { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-links { gap: 16px; }
  .article-cta { padding: 26px; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   v4 – hiệu ứng động & các phần mới
   ========================================================= */

/* ---------- Hiện dần khi cuộn (stagger qua --d) ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.rv.rv-left { transform: translateX(-40px); }
.rv.rv-right { transform: translateX(40px); }
.rv.rv-zoom { transform: scale(.92); }
.rv.in { opacity: 1; transform: none; }

/* ---------- HERO động ---------- */
.ha { opacity: 0; animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-photo img { animation: kenburns 18s ease-in-out infinite alternate; transform-origin: 60% 30%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-photo { animation: photoIn 1.4s ease .1s both; }
@keyframes photoIn { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.hero-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.o1 { width: 340px; height: 340px; background: #1f6bff; left: -80px; top: 10%; }
.o2 { width: 220px; height: 220px; background: #ffb400; left: 38%; bottom: -60px; opacity: .25; animation-duration: 18s; }
.o3 { width: 180px; height: 180px; background: #5aa2ff; left: 30%; top: -40px; opacity: .35; animation-duration: 11s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
.beam { position: absolute; top: -20%; width: 2px; height: 140%; background: linear-gradient(transparent, rgba(255, 255, 255, .35), transparent); transform: rotate(25deg); animation: beam 7s linear infinite; }
.b1 { left: 15%; } .b2 { left: 45%; animation-delay: -3.5s; }
@keyframes beam { from { transform: translateX(-200px) rotate(25deg); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(600px) rotate(25deg); opacity: 0; } }
.logo-shine { position: relative; display: inline-block; overflow: hidden; width: fit-content; }
.logo-shine::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out 1.2s infinite; }
@keyframes shine { 0% { left: -60%; } 35%, 100% { left: 130%; } }
.typed { background: linear-gradient(90deg, #fff, #ffd76a, #fff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 5s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.script .w1, .script .w2 { display: block; clip-path: inset(0 100% 0 0); animation: write 1.4s ease forwards; }
.script .w1 { animation-delay: .9s; }
.script .w2 { animation-delay: 1.8s; padding-left: 22px; }
@keyframes write { to { clip-path: inset(0 0 0 0); } }
.btn-pulse { position: relative; }
.btn-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--gold); opacity: 0; animation: ring 2.4s ease-out 1.5s infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.18); } }
.hero-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); font-size: 12.5px; opacity: 0; animation: floatIn .8s ease forwards, bob 6s ease-in-out infinite; }
.hero-float b { display: block; font-size: 13px; }
.hero-float small { color: var(--muted); }
.hf1 { right: 2%; bottom: 8%; animation-delay: 1.4s, 2.2s; }
.hf2 { right: 34%; bottom: -6%; animation-delay: 1.8s, 2.6s; }
.hf-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.hf-ic.ok { background: #e3f6ee; color: var(--green); }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -8px; } }
.stats .stat { transition: transform .3s, background .3s; }
.stats .stat:hover { transform: translateY(-4px); background: var(--soft); }
.stats .stat .ic { animation: iconPop .6s ease both; }
.stat b { font-variant-numeric: tabular-nums; }

/* ---------- THỰC TRẠNG ---------- */
.painx { background: linear-gradient(180deg, #fff 0%, #f1f6ff 60%, #fff 100%); overflow: hidden; padding-top: 70px; }
.px-head { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: end; margin-bottom: 40px; }
.px-title h2 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; color: var(--navy-2); line-height: 1.25; }
.hl { position: relative; display: inline-block; color: var(--gold-2); font-size: 1.12em; background: linear-gradient(90deg, #ffb400, #ffcf3d); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 8px; }
.swoosh { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 18px; overflow: visible; }
.swoosh path { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 560; stroke-dashoffset: 560; transition: stroke-dashoffset 1.4s ease .5s; }
.px-title h2.in .swoosh path { stroke-dashoffset: 0; }
.zz { display: inline-block; color: var(--gold); margin-left: 10px; transform: rotate(-20deg); animation: wiggle 1.6s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: rotate(-5deg) scale(1.15); } }
.px-photo { position: relative; width: 300px; border-radius: 22px; overflow: visible; }
.px-photo img { border-radius: 22px; box-shadow: var(--sh-lg); }
.alert { position: absolute; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); animation: bounce 2s ease-in-out infinite; }
.a1 { background: var(--red); top: -14px; left: -14px; }
.a2 { background: var(--gold-2); bottom: 24px; left: -20px; animation-delay: -1s; }
@keyframes bounce { 50% { transform: translateY(-10px) rotate(-8deg); } }
.px-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.px-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; padding: 24px 22px 0; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.px-card.blue { background: linear-gradient(180deg, #fff 0%, #eef4ff 100%); }
.px-card.yellow { background: linear-gradient(180deg, #fff 0%, #fff6dd 100%); }
.px-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(11, 26, 60, .35); }
.px-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; }
.px-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 17px; }
.blue .px-num { background: var(--brand); }
.yellow .px-num { background: var(--gold-2); }
.px-blob { width: 72px; height: 66px; display: grid; place-items: center; color: #fff; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; animation: blob 7s ease-in-out infinite; }
.blue .px-blob { background: linear-gradient(135deg, #3a86ff, #1557f0); }
.yellow .px-blob { background: linear-gradient(135deg, #ffd23d, #f5a300); }
.px-blob .ic { width: 30px; height: 30px; }
@keyframes blob { 50% { border-radius: 58% 42% 45% 55% / 45% 55% 45% 55%; transform: rotate(6deg); } }
.spark { position: relative; width: 18px; height: 18px; }
.spark::before, .spark::after { content: ''; position: absolute; left: 0; height: 3px; border-radius: 3px; background: var(--gold); animation: spark 1.8s ease-in-out infinite; }
.spark::before { top: 2px; width: 14px; transform: rotate(-30deg); }
.spark::after { top: 12px; width: 12px; transform: rotate(20deg); animation-delay: .3s; }
@keyframes spark { 50% { opacity: .2; } }
.px-card h3 { font-size: 19px; font-weight: 800; color: var(--navy-2); line-height: 1.3; margin-bottom: 10px; }
.px-card > p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.px-img { margin: 0 -22px; overflow: hidden; border-radius: 22px 22px 0 0; }
.px-img img { width: 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.px-card:hover .px-img img { transform: scale(1.06); }
.px-banner { position: relative; margin-top: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 30px 40px; border-radius: 28px; color: #fff; overflow: hidden; background: radial-gradient(500px 200px at 100% 100%, rgba(255, 180, 0, .35), transparent 70%), linear-gradient(110deg, #061a54, #0b2f86); box-shadow: var(--sh-lg); }
.px-banner::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 160px; border-radius: 50%; border: 18px solid var(--gold); opacity: .9; transform: rotate(-12deg); }
.px-arrow { width: 70px; height: 62px; }
.px-arrow path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.2s ease .4s; }
.px-banner.in .px-arrow path { stroke-dashoffset: 0; }
.px-msg { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.45; }
.px-msg b { font-weight: 800; font-size: 1.15em; }
.px-msg .big { font-size: 1.45em; }
.px-pillars { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; padding-left: 30px; border-left: 1px solid rgba(255, 255, 255, .2); }
.px-pillars div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.px-pillars span { width: 52px; height: 52px; display: grid; place-items: center; color: var(--gold); animation: pillar 3s ease-in-out infinite; }
.px-pillars div:nth-child(3) span { animation-delay: .5s; }
.px-pillars div:nth-child(5) span { animation-delay: 1s; }
.px-pillars .ic { width: 40px; height: 40px; }
.px-pillars em { font-style: normal; color: #6f9bff; font-size: 22px; }
@keyframes pillar { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-6px) scale(1.08); } }
@keyframes iconPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- CÂU HỎI DẪN DẮT ---------- */
.whatif { background: linear-gradient(180deg, #fff, #f3f7ff); }
.wf-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.wf-title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; text-transform: uppercase; color: var(--navy-2); line-height: 1.2; margin-bottom: 28px; }
.wf-title span { color: var(--brand); }
.wf-art { border-radius: 22px; overflow: hidden; margin-bottom: 22px; max-width: 420px; animation: bob 6s ease-in-out infinite; }
.wf-art img { width: 100%; }
.wf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wf-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid #dbe5f7; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.wf-list li:hover { transform: translateX(8px); border-color: var(--brand); box-shadow: var(--sh); }
.wf-list li > span { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--navy-2); background: var(--gold); box-shadow: 0 0 0 4px var(--gold-50); }
.wf-list p { flex: 1; color: var(--navy-2); font-size: 15.5px; }
.wf-list b { color: var(--navy-2); }
.wf-ok { color: var(--green); opacity: 0; transform: scale(.4); transition: .35s; }
.wf-list li:hover .wf-ok, .wf-list li.in .wf-ok { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) + .6s); }

/* ---------- LỢI ÍCH LƯỢNG HÓA ---------- */
.benefitx { background: linear-gradient(180deg, #f3f7ff, #fff); overflow: hidden; }
.bx-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(21, 87, 240, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 70%); pointer-events: none; }
.benefitx .container { position: relative; }
.bx-head .h2 { color: var(--navy-2); }
.gold-grad { background: linear-gradient(90deg, #ffab00, #ffcf3d); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.bx-grid { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: stretch; }
.bx-table { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: var(--sh); }
.bx-row { position: relative; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.05fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; overflow: hidden; }
.bx-row + .bx-row { border-top: 1px solid var(--line-2); }
.bx-th { background: linear-gradient(90deg, var(--brand), #2f7bff); color: #fff; font-weight: 700; font-size: 13.5px; border-radius: 12px; }
.bx-row b { display: flex; align-items: center; gap: 10px; color: var(--navy-2); font-weight: 700; }
.bx-row b .ic { color: var(--brand); flex: none; }
.bx-row .now { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(229, 72, 77, .5); }
.bx-row .ecx { color: var(--brand); font-weight: 800; }
.bx-row .gain { justify-self: start; font-size: 13px; font-weight: 700; color: var(--green); background: #e3f6ee; padding: 4px 10px; border-radius: 99px; }
.bx-row .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--gold)); border-radius: 3px; transition: width 1.2s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0s) + .4s); }
.bx-table.in .bar { width: var(--w); }
.bx-row:not(.bx-th) { opacity: 0; transform: translateX(-20px); transition: opacity .6s ease calc(var(--d, 0s) + .2s), transform .6s ease calc(var(--d, 0s) + .2s), background .25s; }
.bx-table.in .bx-row { opacity: 1; transform: none; }
.bx-row:not(.bx-th):hover { background: var(--soft); }
.bx-card { position: relative; overflow: hidden; border-radius: 26px; padding: 22px 26px 28px; color: #fff; background: radial-gradient(300px 200px at 100% 0%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(160deg, #1557f0, #0a2a7a); box-shadow: 0 30px 60px -24px rgba(21, 87, 240, .7); display: flex; flex-direction: column; }
.bx-art { background: #fff; border-radius: 18px; overflow: hidden; margin-bottom: 18px; animation: bob 5s ease-in-out infinite; }
.bx-label { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13.5px; }
.bx-big { font-size: 64px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 6px 30px rgba(255, 180, 0, .35); }
.bx-unit { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.bx-note { color: #d3def8; font-size: 14px; line-height: 1.6; }
.bx-note b { color: #fff; }
.bx-ring { position: absolute; right: -50px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25); animation: spin 30s linear infinite; }

/* ---------- BẢNG GIÁ ---------- */
.pricingx { background: radial-gradient(800px 400px at 50% 0%, rgba(21, 87, 240, .08), transparent 70%), #fff; }
.pv-intro { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.pv-intro .kicker { display: inline-block; }
.pv-lead { color: var(--muted); font-size: 17px; margin-top: -14px; }
.period { display: inline-flex; gap: 4px; padding: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; margin-top: 26px; }
.period button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-2); transition: .25s; }
.period button em { font-style: normal; font-size: 12px; color: var(--green); margin-left: 4px; }
.period button.on { background: var(--navy); color: #fff; box-shadow: var(--sh); }
.period button.on em { color: var(--gold); }
.pv-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pv-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.pv-plan:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.pv-top h3 { font-size: 21px; font-weight: 800; color: var(--navy-2); }
.pv-top p { color: var(--muted); font-size: 14.5px; margin-top: 8px; min-height: 46px; }
.pv-price { margin: 24px 0 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pv-price b { font-size: 42px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); font-variant-numeric: tabular-nums; transition: transform .3s; }
.pv-price b.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: translateY(-6px) scale(1.04); color: var(--brand); } }
.pv-price span { color: var(--muted); }
.pv-price i { font-style: normal; }
.pv-bonus { min-height: 22px; font-size: 13.5px; font-weight: 700; color: var(--green); margin-bottom: 20px; }
.pv-bonus s { color: var(--muted); font-weight: 500; }
.pv-feat { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.pv-feat li { display: flex; gap: 10px; align-items: flex-start; }
.pv-feat .ic { color: var(--brand); margin-top: 5px; }
.pv-feat li.em { font-weight: 700; color: var(--navy-2); }
.pv-plan.featured { color: #fff; border: 0; background: radial-gradient(400px 260px at 100% 0%, rgba(255, 194, 26, .25), transparent 70%), linear-gradient(160deg, #0b2f86, #061a44); box-shadow: 0 40px 70px -30px rgba(6, 26, 68, .7); transform: scale(1.03); }
.pv-plan.featured:hover { transform: scale(1.03) translateY(-8px); }
.pv-plan.featured::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pv-plan.featured .pv-top h3, .pv-plan.featured .pv-price b, .pv-plan.featured .pv-feat li.em { color: #fff; }
.pv-plan.featured .pv-top p, .pv-plan.featured .pv-price span { color: #b8c7ea; }
.pv-plan.featured .pv-feat { border-color: rgba(255, 255, 255, .15); color: #d3def8; }
.pv-plan.featured .pv-feat .ic { color: var(--gold); }
.pv-plan.featured .pv-bonus { color: var(--gold); }
.pv-badge { position: absolute; top: -14px; left: 30px; background: var(--gold); color: var(--navy); font-size: 12.5px; font-weight: 800; padding: 6px 14px; border-radius: 99px; box-shadow: 0 10px 20px -6px rgba(255, 171, 0, .6); animation: bob 3s ease-in-out infinite; }
.pv-plan.side { background: linear-gradient(180deg, #fff, var(--soft)); overflow: hidden; }
.pv-ribbon { position: absolute; top: 18px; right: -34px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 40px; transform: rotate(40deg); }
.pv-fee { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; border-top: 1px dashed #cfd7e6; }
.pv-fee span { color: var(--muted); }
.pv-addons { margin-top: 56px; }
.pv-addons h3 { font-size: 19px; font-weight: 800; margin-bottom: 18px; color: var(--navy-2); }
.pv-addon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pv-addon-grid div { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; background: #fff; transition: transform .3s, border-color .3s; }
.pv-addon-grid div:hover { transform: translateY(-4px); border-color: var(--brand); }
.pv-addon-grid span { color: var(--muted); font-size: 14px; }
.pv-addon-grid em { font-style: normal; font-weight: 800; margin-top: 10px; color: var(--brand); }
.pricingx .feat-compare { margin-top: 26px; }

/* ---------- FAQ 2 nhóm ---------- */
.faq-intro { position: sticky; top: 100px; }
.faq-tabs { display: grid; gap: 10px; margin-top: 28px; }
.ftab { font: inherit; text-align: left; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; color: var(--ink-2); transition: .25s; }
.ftab b { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--gold-50); color: #a96a00; }
.ftab:hover { border-color: var(--brand); }
.ftab.on { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--sh); }
.ftab.on b { background: var(--gold); color: var(--navy); }
.faq { display: none; }
.faq.on { display: grid; animation: modin .5s ease; }
.faq summary { display: flex; align-items: center; gap: 14px; }
.qn { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 13.5px; display: grid; place-items: center; }
.faq details { transition: box-shadow .25s, border-color .25s; }
.faq details[open] { border-color: #c9d8fb; }
.faq details p { padding-left: 44px; }
.faq details p a { color: var(--brand); font-weight: 600; }
.faq details[open] p { animation: modin .4s ease; }

/* ---------- Mô-đun & thẻ khác thêm chuyển động ---------- */
.mcard .mi { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.mcard:hover .mi { transform: rotate(-8deg) scale(1.12); }
.node span { animation: pulseNode 3s ease-in-out infinite; }
.n2 span { animation-delay: .6s; } .n3 span { animation-delay: 1.2s; } .n4 span { animation-delay: 1.8s; } .n5 span { animation-delay: 2.4s; }
@keyframes pulseNode { 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, .06), 0 0 30px rgba(120, 170, 255, .6); } }
.core { animation: corePulse 4s ease-in-out infinite; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 18px rgba(47, 123, 255, .1), 0 0 90px 20px rgba(47, 123, 255, .55), inset 0 0 30px rgba(120, 170, 255, .3); } }

/* ---------- Responsive v4 ---------- */
@media (max-width: 1100px) {
  .px-cards { grid-template-columns: 1fr 1fr; }
  .bx-grid { grid-template-columns: 1fr; }
  .bx-card { flex-direction: row; flex-wrap: wrap; gap: 0 24px; align-items: center; }
  .bx-art { width: 260px; margin: 0; }
  .pv-plans { grid-template-columns: 1fr 1fr; }
  .pv-plan.side { grid-column: span 2; }
  .pv-plan.featured { transform: none; }
  .pv-plan.featured:hover { transform: translateY(-8px); }
  .pv-addon-grid { grid-template-columns: 1fr 1fr; }
  .hf2 { right: 4%; bottom: 30%; }
}
@media (max-width: 960px) {
  .px-head { grid-template-columns: 1fr; }
  .px-photo { width: min(340px, 100%); }
  .px-banner { grid-template-columns: 1fr; text-align: left; padding: 28px; }
  .px-arrow { display: none; }
  .px-pillars { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; }
  .wf-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }
  .hero-float { display: none; }
}
@media (max-width: 640px) {
  .px-cards { grid-template-columns: 1fr; }
  .px-title h2 br { display: none; }
  .bx-row { grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 12px; }
  .bx-row b { grid-column: 1 / -1; }
  .bx-th { display: none; }
  .bx-row .now::before { content: 'Hiện tại: '; text-decoration: none; display: none; }
  .bx-card { display: block; }
  .bx-art { width: auto; margin-bottom: 16px; }
  .bx-big { font-size: 52px; }
  .pv-plans, .pv-addon-grid { grid-template-columns: 1fr; }
  .pv-plan.side { grid-column: auto; }
  .pv-plan { padding: 28px 22px; }
  .period { width: 100%; justify-content: space-between; }
  .period button { padding: 9px 8px; font-size: 13px; }
  .period button em { display: block; margin: 0; }
  .faq details p { padding-left: 0; }
  .px-pillars { justify-content: space-between; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .ha, .bx-row:not(.bx-th) { opacity: 1 !important; transform: none !important; }
  .script .w1, .script .w2 { clip-path: none; }
  .hero-float { opacity: 1; }
  .swoosh path, .px-arrow path { stroke-dashoffset: 0; }
  .bx-table .bar { width: var(--w); }
}

/* Chặn tràn ngang khi các khối đang trượt vào */
main { overflow-x: clip; }

/* =========================================================
   v5 – tinh chỉnh theo góp ý
   ========================================================= */

/* Hiệu ứng ánh sáng lướt dùng chung */
@keyframes sweep { 0% { background-position: 150% 0; } 60%, 100% { background-position: -150% 0; } }
.shine { position: relative; isolation: isolate; }
.shine::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; animation: sweep 5s ease-in-out infinite; }

/* 1. Phần đầu trang: bỏ đường kẻ dọc ở mép ảnh */
.hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.hero-photo::after { background: linear-gradient(0deg, rgba(4, 18, 55, .55), transparent 30%); }
.hero::before { display: none; }

/* 2. Số liệu đầu trang to & ấn tượng */
.stats { border: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(6, 26, 68, .45); }
.stat { padding: 34px 20px 30px; gap: 10px; position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; background: radial-gradient(260px 160px at 50% 0%, rgba(21, 87, 240, .1), transparent 70%); }
.stat:hover::before { opacity: 1; }
.stats .stat:hover { background: #fff; transform: translateY(-4px); }
.st-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 24px -10px rgba(21, 87, 240, .6); animation: iconPop .6s ease both, bob 4s ease-in-out infinite; }
.st-ic .ic { width: 28px; height: 28px; }
.s1 .st-ic, .s3 .st-ic { background: linear-gradient(135deg, #ffd23d, #f5a300); box-shadow: 0 12px 24px -10px rgba(245, 163, 0, .7); }
.s2 .st-ic, .s4 .st-ic { background: linear-gradient(135deg, #3a86ff, #1557f0); }
.s2 .st-ic { animation-delay: 0s, -1s; } .s3 .st-ic { animation-delay: 0s, -2s; } .s4 .st-ic { animation-delay: 0s, -3s; }
.stat b.st-num { display: flex; align-items: baseline; justify-content: center; gap: 4px; font-size: clamp(38px, 4vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(135deg, #0a2a7a 20%, #1557f0); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.s1 b.st-num, .s3 b.st-num { background-image: linear-gradient(135deg, #ff9f00, #ffc21a 70%); }
.stat .st-num span { font-size: inherit; color: inherit; }
.stat .st-num small { font-size: .42em; font-weight: 800; letter-spacing: -.01em; margin-left: 4px; }
.stat .st-num small:first-child { margin: 0 4px 0 0; }
.stat .st-lbl { font-size: 14.5px; font-weight: 500; color: var(--ink-2); max-width: 220px; }

/* 3. Câu hỏi dẫn dắt trong shape nổi bật */
.wf-list { gap: 16px; counter-reset: none; }
.wf-list li { position: relative; overflow: hidden; padding: 20px 26px 20px 22px; border: 0; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #0a2a7a, #1557f0); box-shadow: 0 18px 36px -18px rgba(21, 87, 240, .7); isolation: isolate; }
.wf-list li:nth-child(even) { background: linear-gradient(120deg, #ffb400, #ffd23d); box-shadow: 0 18px 36px -18px rgba(245, 163, 0, .7); }
.wf-list li:nth-child(even) p, .wf-list li:nth-child(even) b { color: var(--navy); }
.wf-list li:nth-child(2) { margin-left: 34px; } .wf-list li:nth-child(4) { margin-left: 34px; }
.wf-list li::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; animation: sweep 6s ease-in-out infinite; }
.wf-list li:nth-child(2)::after { animation-delay: .6s; } .wf-list li:nth-child(3)::after { animation-delay: 1.2s; } .wf-list li:nth-child(4)::after { animation-delay: 1.8s; } .wf-list li:nth-child(5)::after { animation-delay: 2.4s; }
.wf-list li::before { content: '?'; position: absolute; right: 14px; top: -18px; font-size: 96px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .1); z-index: -1; }
.wf-list li:hover { transform: translateX(10px) scale(1.01); border: 0; }
.wf-list li > span { width: 52px; height: 52px; font-size: 22px; background: #fff; color: var(--brand); box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); }
.wf-list li:nth-child(even) > span { color: #d98a00; box-shadow: 0 0 0 6px rgba(255, 255, 255, .45); }
.wf-list p { color: #e6eeff; font-size: 17px; line-height: 1.5; }
.wf-list b { color: #fff; font-weight: 800; }
.wf-ok { color: var(--gold); width: 26px; height: 26px; }
.wf-list li:nth-child(even) .wf-ok { color: #fff; }

/* 4. 5 phân hệ: chữ to, shape vàng/xanh xen kẽ */
.mod-cards { gap: 20px; }
.mcard { position: relative; overflow: hidden; border: 0; border-radius: 26px; padding: 28px 24px 26px; gap: 8px; color: #fff; background: linear-gradient(150deg, #1d63f5, #0a2a7a); box-shadow: 0 22px 40px -22px rgba(21, 87, 240, .8); isolation: isolate; }
.mcard:nth-child(even) { color: var(--navy); background: linear-gradient(150deg, #ffd23d, #f5a300); box-shadow: 0 22px 40px -22px rgba(245, 163, 0, .8); }
.mcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; animation: sweep 6s ease-in-out infinite; }
.mcard:nth-child(2)::after { animation-delay: .7s; } .mcard:nth-child(3)::after { animation-delay: 1.4s; } .mcard:nth-child(4)::after { animation-delay: 2.1s; } .mcard:nth-child(5)::after { animation-delay: 2.8s; }
.mcard::before { content: attr(data-n); position: absolute; right: 10px; bottom: -14px; font-size: 110px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: rgba(255, 255, 255, .12); z-index: -1; }
.mcard .mi { width: 58px; height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .18) !important; border: 1px solid rgba(255, 255, 255, .35); }
.mcard .mi .ic { width: 28px; height: 28px; }
.mcard:nth-child(even) .mi { background: rgba(255, 255, 255, .45) !important; color: var(--navy); }
.mcard em { font-size: 15px; color: rgba(255, 255, 255, .75); }
.mcard:nth-child(even) em { color: rgba(6, 26, 68, .6); }
.mcard b { font-size: 21px; line-height: 1.25; }
.mcard p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.mcard:nth-child(even) p { color: rgba(6, 26, 68, .8); }
.mcard .more { color: var(--gold); font-size: 15px; }
.mcard:nth-child(even) .more { color: var(--navy); }
.mcard:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -22px rgba(6, 26, 68, .6); }
.mcard.active { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--brand), 0 30px 50px -22px rgba(21, 87, 240, .8); transform: translateY(-6px); }
.mcard.active:nth-child(even) { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--gold-2), 0 30px 50px -22px rgba(245, 163, 0, .8); }

/* 5. Lợi ích: bỏ đường kẻ giữa dòng, mỗi dòng là một thẻ mềm */
.bx-table { background: transparent; border: 0; box-shadow: none; padding: 0; display: grid; gap: 10px; }
.bx-row + .bx-row { border-top: 0; }
.bx-row .bar { display: none; }
.bx-th { padding: 14px 20px; }
.bx-row:not(.bx-th) { padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px -10px rgba(11, 26, 60, .25); transition: opacity .6s ease calc(var(--d, 0s) + .2s), transform .6s ease calc(var(--d, 0s) + .2s), box-shadow .3s, background .3s; }
.bx-row:not(.bx-th):nth-child(odd) { background: #f3f7ff; }
.bx-row:not(.bx-th):hover { background: #fff; transform: translateX(6px); box-shadow: 0 14px 28px -14px rgba(21, 87, 240, .45); }
.bx-row b { font-size: 15.5px; }
.bx-row b .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--brand-50); }
.bx-row .ecx { justify-self: start; padding: 5px 12px; border-radius: 99px; background: linear-gradient(90deg, #1557f0, #3a86ff); color: #fff; font-size: 14px; box-shadow: 0 6px 14px -6px rgba(21, 87, 240, .7); }
.bx-row .now { font-size: 14px; }

/* 6. Bảng giá: chữ to hơn, 2 thẻ sáng chuyển vàng, hiệu ứng sáng */
.pv-plan { padding: 38px 32px; isolation: isolate; }
.pv-plan::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; animation: sweep 5s ease-in-out infinite; }
.pv-plan.featured::after { animation-delay: 1.2s; background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); }
.pv-plan.side::after { animation-delay: 2.4s; }
.pv-top h3 { font-size: 26px; }
.pv-top p { font-size: 16px; }
.pv-price b { font-size: 52px; }
.pv-price span { font-size: 17px; }
.pv-bonus { font-size: 15px; }
.pv-feat { font-size: 16px; gap: 14px; }
.pv-feat .ic { width: 16px; height: 16px; margin-top: 4px; }
.pv-plan:not(.featured) { border: 0; background: radial-gradient(300px 200px at 100% 0%, rgba(255, 255, 255, .55), transparent 70%), linear-gradient(160deg, #ffd84d, #ffb400); box-shadow: 0 30px 60px -28px rgba(245, 163, 0, .8); }
.pv-plan:not(.featured) .pv-top h3, .pv-plan:not(.featured) .pv-price b, .pv-plan:not(.featured) .pv-feat li { color: var(--navy); }
.pv-plan:not(.featured) .pv-top p, .pv-plan:not(.featured) .pv-price span { color: rgba(6, 26, 68, .75); }
.pv-plan:not(.featured) .pv-feat { border-color: rgba(6, 26, 68, .15); }
.pv-plan:not(.featured) .pv-feat .ic { color: var(--navy); }
.pv-plan:not(.featured) .pv-bonus { color: #0b5f3c; }
.pv-plan:not(.featured) .pv-bonus s { color: rgba(6, 26, 68, .6); }
.pv-plan:not(.featured) .btn-outline { background: var(--navy); color: #fff; border-color: var(--navy); }
.pv-plan:not(.featured) .btn-outline:hover { background: #0a2a7a; }
.pv-plan.side .pv-fee { border-color: rgba(6, 26, 68, .25); }
.pv-plan.side .pv-fee span { color: rgba(6, 26, 68, .7); }
.pv-plan.featured { box-shadow: 0 40px 80px -30px rgba(6, 26, 68, .8), 0 0 0 1px rgba(255, 194, 26, .4); }
.pv-plan.featured .btn-yellow { box-shadow: 0 0 24px rgba(255, 194, 26, .55); }

/* Responsive v5 */
@media (max-width: 1100px) {
  .wf-list li:nth-child(2), .wf-list li:nth-child(4) { margin-left: 0; }
}
@media (max-width: 640px) {
  .stat b.st-num { font-size: 34px; }
  .st-ic { width: 46px; height: 46px; border-radius: 14px; }
  .stat .st-lbl { font-size: 12.5px; }
  .wf-list li { padding: 16px 18px; }
  .wf-list p { font-size: 15.5px; }
  .wf-list li > span { width: 42px; height: 42px; font-size: 18px; }
  .mcard b { font-size: 18px; }
  .mcard p { font-size: 14px; }
  .pv-price b { font-size: 42px; }
  .pv-top h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .shine::after, .wf-list li::after, .mcard::after, .pv-plan::after { animation: none; display: none; }
}

/* Thẻ khó khăn: tiêu đề in hoa + gạch đầu dòng */
.px-card h3 { font-size: 21px; text-transform: uppercase; letter-spacing: -.01em; }
.px-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; flex: 1; }
.px-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.px-list li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(21, 87, 240, .12); }
.px-card.yellow .px-list li::before { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(245, 163, 0, .15); }
.px-card.rv.in .px-list li { animation: liIn .5s ease both; }
.px-card.rv.in .px-list li:nth-child(2) { animation-delay: .15s; }
.px-card.rv.in .px-list li:nth-child(3) { animation-delay: .3s; }
@keyframes liIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
