:root {
  --bg: #131316; --surface: #1b1b20; --surface-2: #222229;
  --text: #f5f5f7; --text-2: #b4b8c2; --muted: #7d8190;
  --border: rgba(255,255,255,.1); --border-strong: rgba(255,255,255,.18);
  --accent: #f0bf0f; --accent-hover: #ffd23f; --accent-text: #14140f;
  --accent2: #5ecbb0;
  --font-display: 'Bricolage Grotesque', 'Noto Sans SC', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font-body); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 18px; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
p, li { color: var(--text-2); }
main { padding-top: 0; padding-bottom: 0; }
section { padding-block: 64px; }
section + section { border-top: 1px solid var(--border); }

/* header */
.site-header { border-bottom: 1px solid var(--border); background: rgba(19,19,22,.9); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 9px; }
.logo img { display: block; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; }
nav a:hover, nav a[aria-current] { color: var(--text); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); font-weight: 700; padding: 13px 24px; border-radius: 8px; text-decoration: none; }
.btn:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn.small { padding: 7px 14px; font-size: 13px; }
nav a.btn, nav a.btn:hover { color: var(--accent-text); }
.lang-switch { border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px !important; font-size: 13px !important; }
.lang-switch:hover { border-color: var(--border-strong); color: var(--text) !important; }

/* Tools nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 500; padding: 0; cursor: pointer; }
.nav-dropdown__trigger:hover { color: var(--text); }
.nav-dropdown__trigger svg { transition: transform .15s ease; }
.nav-dropdown.is-open .nav-dropdown__trigger { color: var(--text); }
.nav-dropdown.is-open .nav-dropdown__trigger svg { transform: rotate(180deg); }
.nav-dropdown__menu { position: absolute; top: calc(100% + 14px); left: 50%; min-width: 260px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 6px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.nav-dropdown.is-open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (max-width: 640px) {
  .nav-dropdown__menu { left: 0; min-width: 240px; transform: translateY(-4px); }
  .nav-dropdown.is-open .nav-dropdown__menu { transform: translateY(0); }
}
.nav-dropdown__menu a { display: block; padding: 10px 12px; border-radius: 7px; text-decoration: none; }
.nav-dropdown__menu a:hover { background: var(--surface-2); }
.nav-dropdown__title { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.nav-dropdown__desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* hero */
.hero { padding-block: 56px 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 560px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.hero .lede { font-size: 18px; max-width: 520px; margin: 0 0 26px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-note { font-size: 13px; color: var(--muted); }
.trust-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.trust-row li { padding-left: 18px; position: relative; }
.trust-row li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); }

/* hero mock report card */
.hero-visual { display: flex; justify-content: center; }
.mock-report { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 18px 18px 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px var(--border); }
.mock-report__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-report__bar span { width: 8px; height: 8px; border-radius: 50%; background: #e2e2e2; }
.mock-report__title { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #0A1628; margin-bottom: 14px; }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mock-kpi { grid-column: span 2; border: 1px solid #e5e5e5; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.mock-kpi--accent, .mock-kpi--accent2 { grid-column: span 1; }
.mock-kpi__label { font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a8f9c; }
.mock-kpi__value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #0A1628; }
.mock-kpi--accent .mock-kpi__value { color: #0A1628; }
.mock-kpi--accent2 .mock-kpi__value { color: #0A1628; }
.mock-kpi__sub { font-size: 9px; color: #5ecbb0; font-weight: 600; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mock-chart__bar { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #f0bf0f, #C9A84C); }

/* steps */
.section-lede { max-width: 560px; margin: 0 0 32px; font-size: 15px; }
.step-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.step__num { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .04em; margin-bottom: 10px; }
.steps-cta { margin: 0; }

/* tools (product card + "building next" teaser) */
.tool-card { display: grid; grid-template-columns: 2fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 8px; }
.tool-card__body { padding: 28px; }
.tool-card__body h3 { margin-top: 0; font-size: 20px; }
.tool-card__body p { margin: 8px 0 20px; max-width: 52ch; }
.tool-card__link { display: inline-block; font-size: 13px; font-weight: 600; text-decoration: none; }
.tool-card__next { padding: 28px; background: var(--surface-2); border-left: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; }
.tool-card__next p { font-size: 13px; margin: 0; }
.tool-card__badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(94, 203, 176, .15); color: var(--accent2); margin-bottom: 12px; }
.tool-card__badge--muted { background: rgba(255,255,255,.08); color: var(--muted); }
@media (max-width: 700px) {
  .tool-card { grid-template-columns: 1fr; }
  .tool-card__next { border-left: 0; border-top: 1px solid var(--border); }
}

/* why cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card h3 { margin-top: 0; }
.card p { margin: 6px 0 0; }

/* faq */
.faq-list { display: grid; gap: 10px; max-width: 720px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px 18px; }
.faq-list summary { padding: 14px 0; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list p { margin: 0 0 16px; font-size: 14px; }

/* cta band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 620px; margin-inline: auto; margin-bottom: 24px; }

/* contact page */
.contact-cards { max-width: 640px; }
.contact-cards .card p { margin: 6px 0 16px; }
.contact-cards__wechat img { display: block; border-radius: 8px; background: #fff; padding: 8px; }
.contact-legal { margin-top: 32px; font-size: 13px; color: var(--muted); max-width: 560px; }

/* facts / legal (about, contact, terms, privacy) */
.facts { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px 22px; margin: 20px 0; }
.facts dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; }
.facts dt, .facts dd { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { color: var(--text); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.legal { max-width: 720px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal ul { padding-left: 22px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 32px 0 20px; font-size: 14px; }
.site-footer p { margin: 2px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.links { display: flex; flex-direction: column; gap: 6px; }
.links a { color: var(--text-2); text-decoration: none; }
.links a:hover { color: var(--text); }
.copy { margin-top: 20px; color: var(--muted); font-size: 13px; }

/* report tool modal */
.report-modal { position: fixed; inset: 0; z-index: 100; }
.report-modal[hidden] { display: none; }
.report-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 7, 9, .72); }
.report-modal__panel { position: relative; width: min(1100px, calc(100% - 32px)); height: min(880px, calc(100% - 32px)); margin: 16px auto; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.report-modal__panel iframe { width: 100%; height: 100%; border: 0; display: block; }
.report-modal__close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(19,19,22,.85); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.report-modal__close:hover { background: #131316; }
@media (max-width: 700px) {
  .report-modal__panel { width: 100%; height: 100%; margin: 0; border-radius: 0; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 40px 48px; }
  .hero-visual { order: -1; max-width: 360px; margin-inline: auto; }
  .step-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding-block: 44px; }
  .facts dl { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
