:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --text: #0f172a;
  --muted: #5b6475;
  --line: #e3e8ee;
  --brand: #0f766e;
  --brand-2: #14b8a6;
  --accent: #ea580c;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--brand); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; display: block; }
nav { display: flex; gap: 20px; margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--brand); }
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; border: 0; }
.btn:hover { background: #0d6660; }
.btn.ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
@media (max-width: 720px) { nav { display: none; } header .btn { margin-left: auto; } }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 400px at 80% 0%, #ccfbf1 0%, transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--brand); }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* demo card (mô phỏng bảng thống kê của extension) */
.demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(15,23,42,.10); padding: 18px; max-width: 420px; justify-self: center; width: 100%; }
.demo-img { height: 150px; border-radius: 10px; background: linear-gradient(135deg, #fde68a, #fca5a5 55%, #a5b4fc); display: grid; place-items: center; font-weight: 800; font-size: 26px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.demo-title { margin: 10px 0 12px; font-weight: 600; font-size: 14px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.demo-grid div { background: var(--bg-soft); border-radius: 8px; padding: 6px; text-align: center; }
.demo-grid small { display: block; font-size: 11px; color: var(--muted); }
.demo-grid b { font-size: 15px; }
.demo-grid .hot b { color: var(--accent); }
.demo-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.demo-tags span { font-size: 12px; border: 1px solid var(--line); border-radius: 20px; padding: 2px 9px; color: var(--muted); }

/* sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico { width: 42px; height: 42px; border-radius: 10px; background: #ccfbf1; color: var(--brand); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { position: relative; padding: 24px 24px 24px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta-band { text-align: center; background: linear-gradient(135deg, var(--brand), #115e59); color: #fff; border-radius: 20px; padding: 48px 24px; }
.cta-band h2 { margin: 0 0 10px; font-size: 30px; }
.cta-band p { margin: 0 0 24px; opacity: .9; }
.cta-band .btn { background: #fff; color: var(--brand); }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 20px 72px; }
.legal h1 { font-size: 36px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: #334155; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--muted); font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
footer h4 { margin: 0 0 10px; color: var(--text); font-size: 15px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 6px 0; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--brand); }
.disclaimer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
