/* ============================================================================
   JeonseGuard — POLISH LAYER
   Tinh chỉnh typography & visual cho cảm giác fintech cao cấp (Stripe/Mercury/Linear).
   Nạp SAU CSS gốc để override — KHÔNG đổi layout, KHÔNG đổi nhận diện thương hiệu.
   ============================================================================ */

/* ---- 1. MỘT họ chữ duy nhất: Inter (Latin/Việt) + Pretendard (Hàn) ---- */
:root {
  --display: "Inter", "Pretendard Variable", "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", "Pretendard Variable", "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Inter", "Pretendard Variable", "Pretendard", system-ui, sans-serif;
  /* Tông vàng giàu hơn, tài chính hơn (không "startup chói") */
  --gold: #eab308;
  --gold-soft: #fde68a;
  --r: 20px;
}

body {
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: 0;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: normal !important;
  font-feature-settings: "kern" 1, "liga" 1;
  text-wrap: balance;
  letter-spacing: -0.03em;
}
h2 { font-weight: 800; }
h3, h4 { font-weight: 700; }

/* Bỏ hoàn toàn chữ nghiêng trang trí */
em, i, .italic, .emo-copy em, .hero-sub {
  font-style: normal !important;
  font-synthesis: none;
}

/* Reset trục biến thể Fraunces trên mọi con số/heading (không còn dùng Fraunces) */
.gauge-num, .flow-amount, .stat-num, .case-score, .pc-price, .m-range, .emo-big,
.brand-txt, .know-list b, .story-who b, .why-card b, .rl-item h4, .pdf-score b {
  font-variation-settings: normal !important;
}

/* ---- 2. HEADER: nhẹ nhàng, rõ ràng kiểu Stripe/Linear ---- */
.nav-in { height: 76px; }
.nav-links { gap: 40px; }
.nav-links a {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
}
.brand img { height: 40px; }
.brand-txt { font-size: 22px; letter-spacing: -0.02em; }

/* ---- 3. HERO ---- */
.hero { padding-top: 84px; }
.hero-in { gap: 64px; padding-bottom: 84px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: initial;
  margin-top: 24px;
}
.hero h1 .em { color: var(--gold); }
.hero-sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: #d6dce8;
  margin-top: 20px;
  letter-spacing: -0.01em;
}
.hero-desc {
  font-size: 20px;
  line-height: 1.8;
  color: #d6dce8;
  max-width: 580px;
  margin-top: 22px;
}
.hero-cta { margin-top: 34px; gap: 16px; }
.hero-trust { margin-top: 34px; gap: 26px; font-size: 14px; }

/* ---- 4. NÚT: kiểu Mercury/Stripe, bóng mềm, không glow ---- */
.btn {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 14px;
}
.hero-cta .btn, .final .btn, .checkbar .btn, .pc-btn {
  min-height: 60px;
  font-size: 18px;
  padding: 0 32px;
}
.btn-gold {
  background: var(--gold);
  color: #081c45;
  box-shadow: 0 1px 2px rgba(8, 28, 69, 0.12), 0 10px 24px -12px rgba(8, 28, 69, 0.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(8, 28, 69, 0.12), 0 18px 36px -14px rgba(8, 28, 69, 0.34);
}
.btn-navy {
  box-shadow: 0 1px 2px rgba(8, 28, 69, 0.18), 0 10px 24px -12px rgba(8, 28, 69, 0.3);
}
.btn-navy:hover { transform: translateY(-2px); }
.nav-cta { min-height: 0; font-size: 15px; padding: 11px 20px; }

/* ---- 5. CARD: bo tròn 20px, bóng mềm cao cấp ---- */
.pcard, .story, .why-card, .price-card, .step, .mcard, .emo-node,
.flow-card, .gauge-card, .case, .checkbar-card, .compare, .stats, .pdf {
  border-radius: 20px;
}
.pcard, .story, .why-card, .step, .mcard, .emo-node {
  box-shadow: 0 1px 3px rgba(8, 28, 69, 0.05), 0 22px 55px -30px rgba(8, 28, 69, 0.28);
}
.pcard:hover, .story:hover, .why-card:hover, .step:hover {
  box-shadow: 0 2px 6px rgba(8, 28, 69, 0.06), 0 30px 60px -28px rgba(8, 28, 69, 0.34);
}
.flow-card, .gauge-card {
  box-shadow: 0 2px 8px rgba(8, 28, 69, 0.06), 0 40px 80px -36px rgba(8, 28, 69, 0.4);
}

/* ---- 6. RISK SCORE CARD: phân cấp rõ hơn ---- */
.gauge { width: 158px; height: 158px; }
.gauge-num { font-size: 64px; font-weight: 800; }
.gauge-num small { font-size: 24px; font-weight: 600; }
.verdict-pill { font-size: 16px; font-weight: 700; padding: 9px 16px; border-radius: 11px; }
.warn { font-size: 14px; border-radius: 12px; }
.warn b { font-weight: 700; }
.flow-amount { font-weight: 800; }

/* ---- 7. SECTION HEADINGS ---- */
.sec-head h2, .final h2 { font-weight: 800; letter-spacing: -0.03em; }
.sec-head p { font-size: 19px; line-height: 1.7; }
.m-range, .col-h, .case-score, .stat-num, .pc-price, .emo-big { font-weight: 800; }

/* ---- 8. NHỊP THỞ: tăng khoảng trắng ~18% ---- */
.sec { padding: 110px 0; }
.sec-head { margin-bottom: 58px; }
.grid4, .stories, .steps, .why-grid, .matrix, .pricing, .cases { gap: 26px; }
.final { padding: 120px 0; }
.stat { padding: 34px 30px; }

@media (max-width: 960px) {
  .sec { padding: 80px 0; }
  .hero-in { gap: 40px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(36px, 8vw, 50px); }
  .final { padding: 92px 0; }
}
@media (max-width: 560px) {
  .sec { padding: 64px 0; }
  .hero-desc, .hero-sub { font-size: 18px; }
  .gauge-num { font-size: 54px; }
}

/* ---- 9. Anchor không bị thanh menu dính che ---- */
:target { scroll-margin-top: 96px; }

/* ---- 10. Hero: trust warn line ---- */
.hero-warn { margin-top: 16px; display: flex; gap: 8px; font-weight: 600; font-size: 15px; color: #fcd34d; }

/* ---- 11. Hero mockup = kết quả thật ---- */
.rr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.rr-k { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #94a3b8; }
.rr-addr { font-size: 17px; font-weight: 700; color: #0c2657; margin-top: 2px; }
.rr-ex { flex: none; font-size: 11px; font-weight: 700; color: #a16207; background: #fffaeb; border: 1px solid #fde68a; border-radius: 20px; padding: 4px 10px; }
.rr-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; margin-top: 12px; border-top: 1px solid #e4e8ef; border-bottom: 1px solid #e4e8ef; }
.rr-row span { color: #5b6577; font-size: 14px; }
.rr-row b { font-size: 18px; color: #0c2657; }
.rr-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 10px; }
.rr-reasons { display: flex; flex-direction: column; gap: 8px; }
.flow-card .warn { opacity: 1 !important; transform: none !important; }

/* ---- 12. Why pay? — coffee/lunch comparison ---- */
.whypay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wp { border: 1px solid #e4e8ef; border-radius: 16px; background: #fff; padding: 26px 18px; text-align: center; }
.wp-amt { font-family: var(--display); font-weight: 800; font-size: 24px; color: #0c2657; letter-spacing: -0.02em; }
.wp-lbl { font-size: 13.5px; color: #5b6577; margin-top: 8px; }
.wp-hl { border-color: #eab308; background: #fffaeb; box-shadow: 0 14px 40px -18px rgba(234, 179, 8, 0.5); }
.wp-hl .wp-amt { color: #a16207; }
.wp-protect { background: #081c45; border-color: #081c45; }
.wp-protect .wp-amt { color: #f5c138; font-size: 22px; }
.wp-protect .wp-lbl { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 960px) { .whypay { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .whypay { grid-template-columns: 1fr; } }
