/**
 * @file landing.css
 * @description Stylesheet trang giới thiệu tĩnh LeadHunter chuẩn Vibrant Daylight Studio trên Cloudflare Pages Static CDN 0đ
 * (Rule #0 <= 200 dòng, Rule #28 cỡ chữ nguyên >= 11px, lưới 4px).
 */

:root {
  --bg: #F1F5F9; --card: #FFFFFF; --sub: #F8FAFC; --line: #E2E8F0;
  --ink: #0F172A; --label: #475569; --muted: #64748B;
  --em: #10B981; --em-bg: #ECFDF5; --em-dk: #047857;
  --sk: #0284C7; --sk-bg: #F0F9FF; --vi: #7C3AED; --vi-bg: #F5F3FF;
  --am: #F59E0B; --am-bg: #FFFBEB; --in: #4F46E5;
  --grad-hero: linear-gradient(135deg, #059669 0%, #0284C7 60%, #4F46E5 100%);
  --grad-cta: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; font-size: 14px; }
h1, h2, h3, .brand-name { font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; letter-spacing: -0.02em; }
.mono { font-family: "JetBrains Mono", monospace; }
.tabular { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--grad-cta); color: #FFFFFF; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--label); font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: var(--in); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-primary { background: var(--grad-cta); color: #FFFFFF; box-shadow: 0 8px 20px rgba(79, 70, 229, 0.24); }
.btn-white { background: #FFFFFF; color: #1E1B4B; }

.hero-sec { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--em-bg); border: 1px solid #A7F3D0; color: var(--em-dk); font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--em); }
.hero-title { font-size: 40px; line-height: 1.15; font-weight: 700; margin-bottom: 16px; }
.grad-txt { background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 16px; color: var(--label); margin-bottom: 24px; max-width: 500px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-note { font-size: 13px; color: var(--muted); font-weight: 500; }

.mockup-shell { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08); display: flex; flex-direction: column; gap: 12px; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.mock-dots { display: inline-flex; gap: 4px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; display: block; }
.mock-shield { padding: 4px 8px; border-radius: 999px; background: var(--em-bg); color: var(--em-dk); font-weight: 700; font-size: 11px; }
.mock-hero { border-radius: 16px; padding: 16px; background: var(--grad-hero); color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-pill { display: inline-block; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.20); font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.mock-h { font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.mock-sub { font-size: 12px; opacity: 0.92; }
.mock-stop { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mock-ticker { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--sub); border: 1px solid var(--line); font-size: 12px; }
.mock-live { padding: 4px 8px; border-radius: 999px; background: var(--em-bg); color: var(--em-dk); font-weight: 700; font-size: 11px; }
.mock-time { color: var(--muted); font-size: 11px; }
.mock-log { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mk { padding: 12px; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.mk span { font-size: 11px; color: var(--label); font-weight: 600; }
.mk strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; }
.mk-em { background: var(--em-bg); border-color: #A7F3D0; }
.mk-sk { background: var(--sk-bg); border-color: #BAE6FD; }
.mk-vi { background: var(--vi-bg); border-color: #DDD6FE; }
.mk-am { background: var(--am-bg); border-color: #FDE68A; }

.trust-sec { padding: 16px 0 32px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; }
.trust-item strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 24px; color: var(--in); }
.trust-item span { font-size: 14px; font-weight: 600; color: var(--label); }

.sec { padding: 56px 0; }
.sec-tint { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 32px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card-ic { width: 40px; height: 40px; border-radius: 12px; color: #FFFFFF; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.ic-em { background: var(--em); } .ic-vi { background: var(--vi); } .ic-sk { background: var(--sk); }
.card h3 { font-size: 16px; font-weight: 700; }
.card p { font-size: 14px; color: var(--label); }

.plan { background: var(--sub); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.plan-hot { background: linear-gradient(180deg, #EEF2FF 0%, #FAF5FF 100%); border: 2px solid #8B5CF6; box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.plan-name { font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; font-weight: 700; }
.hot-tag { padding: 4px 8px; border-radius: 999px; background: #F97316; color: #FFFFFF; font-size: 11px; font-weight: 700; }
.save-tag { padding: 4px 8px; border-radius: 999px; background: var(--em-bg); color: var(--em-dk); font-size: 11px; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 24px; }
.plan-price span { font-size: 12px; color: var(--muted); }
.plan-sub { font-size: 13px; color: var(--label); line-height: 1.5; }
.pricing-foot { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }

.faq-wrap { max-width: 740px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq-item summary { font-weight: 700; font-size: 15px; cursor: pointer; }
.faq-item p { margin-top: 8px; font-size: 14px; color: var(--label); }

.cta-sec { padding: 24px 0 56px; }
.cta-box { border-radius: 20px; padding: 40px 24px; text-align: center; background: var(--grad-hero); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-box h2 { font-size: 28px; }
.cta-box p { font-size: 15px; opacity: 0.92; }

.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 20px 0; font-size: 13px; color: var(--muted); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--label); text-decoration: none; font-weight: 600; }

.hidden { display: none !important; }
.modal-bg { position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, 0.56); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { width: 100%; max-width: 520px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24); display: flex; flex-direction: column; gap: 16px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-head h3 { font-size: 18px; font-weight: 700; }
.modal-close { border: 1px solid var(--line); background: var(--sub); color: var(--label); border-radius: 8px; padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.install-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--label); font-size: 14px; }
.install-steps code { background: var(--sub); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.legal-wrap { max-width: 820px; }
.legal-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.legal-card h1 { font-size: 28px; font-weight: 700; }
.legal-card h2 { font-size: 18px; font-weight: 700; margin-top: 8px; color: var(--ink); }
.legal-card p, .legal-card li { font-size: 14px; color: var(--label); line-height: 1.65; }
.legal-card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-meta { font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid, .cards-3, .pricing-4, .trust-strip { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
}
