/* 询盘云中文站 — 主样式。克制、专业，无渐变无玻璃态。 */
:root {
  --ink: #1a2332;
  --ink-soft: #46586e;
  --ink-faint: #7b8ba0;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --brand: #14324f;
  --brand-deep: #0d2236;
  --accent: #e4572e;
  --accent-deep: #c7431f;
  --ok: #1e7d4f;
  --radius: 10px;
  --wrap: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  font-size: 16px; line-height: 1.75; background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.4; letter-spacing: 0.01em; }
h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 0 0 16px; color: var(--brand-deep); }
h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 12px; color: var(--brand-deep); }
h3 { font-size: 19px; margin: 0 0 8px; }

/* 按钮 */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .16s cubic-bezier(.2,.7,.3,1.2), background .16s, box-shadow .16s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 40px; font-size: 18px; }
@media (hover:hover) {
  .btn-primary:hover { background: var(--accent-deep); box-shadow: 0 6px 18px rgba(228,87,46,.28); }
  .btn-ghost:hover { background: var(--brand); color: #fff; }
}

/* 页眉 */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-deep); }
.brand-mark { width: 30px; height: 30px; color: var(--accent); }
.brand-name { font-size: 22px; font-weight: 700; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink-soft); font-size: 15px; border-radius: 8px; }
.site-nav li.active > a { color: var(--brand-deep); font-weight: 700; }
.has-sub { position: relative; }
.subnav {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(20,50,79,.12); padding: 8px; list-style: none; margin: 0;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { display: block; }
.subnav a { padding: 9px 12px; font-size: 14px; }
.header-cta { margin-left: auto; }
/* .nav-toggle 全部样式只在 @media (max-width) 里；桌面端靠 hidden 属性隐藏 */

/* Hero */
.hero { background: var(--brand-deep); color: #fff; padding: 88px 0 76px; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 19px; color: #c9d6e3; max-width: 640px; }
.hero-cta { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: #8fa6bd; color: #fff; }
.hero-note { margin-top: 18px; font-size: 14px; color: #8fa6bd; }

/* 通用区块 */
section { padding: 72px 0; }
section:nth-of-type(even) { background: var(--bg-soft); }
.hero + section { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-lede { color: var(--ink-soft); font-size: 18px; margin: 0; }

/* 卡片 */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card h3 { color: var(--brand-deep); }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0 0 12px; }
.card-link { font-weight: 600; color: var(--accent); text-decoration: none; font-size: 15px; }
@media (hover:hover) { .card-link:hover { text-decoration: underline; } }

/* 步骤 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.step-n {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--brand);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* 证据带 */
.evidence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.evidence li { text-align: center; padding: 24px 12px; border-left: 1px solid var(--line); }
.evidence li:first-child { border-left: none; }
.evidence strong { display: block; font-size: 26px; color: var(--brand-deep); }
.evidence span { font-size: 14px; color: var(--ink-faint); }

/* CTA 带 */
.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6e3; max-width: 560px; margin: 0 auto 28px; font-size: 17px; }

/* 表单 */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; max-width: 760px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--ink-faint); margin: 12px 0 0; }

/* 页脚 */
.site-footer { background: var(--brand-deep); color: #aebdcf; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #aebdcf; text-decoration: none; }
.site-footer .brand-name { color: #fff; }
.f-brand p { margin: 12px 0 0; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px; }
.footer-base p { margin: 0; font-size: 13px; }

/* 工具矩阵 */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.tool-card h3 { font-size: 18px; color: var(--brand-deep); margin: 0; }
.tool-card p { font-size: 14px; color: var(--ink-soft); margin: 0; flex: 1; }
.tool-card .btn { align-self: flex-start; margin-top: 8px; }

/* 内容页 */
.prose { max-width: 780px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.fact-box { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; }
.fact-box p { margin: 0; }

/* 痛点列表 / 对勾列表 */
.pain-list, .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 780px; }
.pain-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; }
.pain-list li strong { color: var(--brand-deep); }
.check-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px 14px 48px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 20px; top: 22px; width: 10px; height: 18px;
  border: solid var(--ok); border-width: 0 3px 3px 0; transform: rotate(45deg) translateY(-6px);
}

/* 感谢页 */
.thanks { text-align: left; }

/* 图文分栏 */
.media-split { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; margin-bottom: 36px; }
.media-split figure { margin: 0; }
.media-split img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.media-split .media-text p { color: var(--ink-soft); font-size: 17px; }
.product-figure { margin: 0 0 8px; }
.product-figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; max-width: 720px; }

/* 网格子项防溢出（impeccable grid-minwidth 规则） */
.card-grid > *, .tool-grid > *, .steps > *, .evidence > *,
.footer-grid > *, .lead-form > * { min-width: 0; }

/* 移动端：汉堡菜单只在这里出现 */
@media (max-width: 900px) {
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .subnav { position: static; display: block; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none;
    padding: 10px; margin-left: auto; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--brand-deep); display: block; }
  .header-cta { display: none; }
  .card-grid, .card-grid.cols-4, .tool-grid { grid-template-columns: 1fr; }
  .evidence { grid-template-columns: repeat(2, 1fr); }
  .evidence li:nth-child(3) { border-left: none; }
  .lead-form { grid-template-columns: 1fr; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .media-split { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 52px 0; }
  .hero { padding: 64px 0 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
