/* =====================================================================
   多姿态官网(站点3)· 全站样式 —— 浅色文档风
   基调：白底 + 暖橙(#d9480f) + 中性墨灰；列表用横线分隔而非卡片瀑布，
   与站点1(蓝白企业风)、站点2(深靛蓝渐变)完全区分。
   ====================================================================== */

:root {
  --ink: #20262e;
  --ink-2: #5b6470;
  --ink-3: #8a939f;
  --line: #e3e7ec;
  --bg: #ffffff;
  --soft: #f7f8fa;
  --brand: #d9480f;
  --brand-deep: #b53a0a;
  --brand-soft: #fff1e9;
  --code: #f0f2f5;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(32, 38, 46, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 15px/1.75 "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand img { height: 30px; display: block; }
.nav { display: flex; gap: 4px; list-style: none; }
.nav a {
  display: block; padding: 7px 14px; border-radius: 6px;
  color: var(--ink-2); font-weight: 500;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.on { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 5px 11px; font-size: 17px; cursor: pointer; }

/* ---------- 首屏 ---------- */
.hero { padding: 66px 0 54px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 34px; line-height: 1.35; font-weight: 700; max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .sub { margin: 14px 0 28px; font-size: 16.5px; color: var(--ink-2); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 11px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 区块 ---------- */
.sec { padding: 58px 0; }
.sec-alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 34px; }
.sec-head .tag { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 2px; }
.sec-head h2 { font-size: 26px; margin-top: 6px; }
.sec-head p { color: var(--ink-2); margin-top: 8px; max-width: 620px; }

/* ---------- 产品六宫格 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 20px; transition: box-shadow .18s, transform .18s; display: block;
  color: var(--ink);
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.prod-ico {
  width: 42px; height: 42px; border-radius: 9px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: var(--brand); margin-bottom: 14px;
  font-family: Consolas, Menlo, monospace;
}
.prod-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.prod-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.prod-card .go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--brand); }

/* ---------- 价值条 ---------- */
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-item { border-left: 3px solid var(--brand); padding-left: 16px; }
.value-item h3 { font-size: 16px; margin-bottom: 5px; }
.value-item p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 编号步骤 ---------- */
.num-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: st; }
.num-step { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.num-step::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  display: block; font: 700 22px Consolas, Menlo, monospace; color: var(--brand); margin-bottom: 10px;
}
.num-step h3 { font-size: 15.5px; margin-bottom: 6px; }
.num-step p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 文章横列清单 ---------- */
.post-list { list-style: none; }
.post-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: baseline; }
.post-list li:last-child { border-bottom: 0; }
.post-date { flex: 0 0 96px; font: 13px Consolas, Menlo, monospace; color: var(--ink-3); }
.post-main h3 { font-size: 16px; font-weight: 600; }
.post-main h3 a { color: var(--ink); }
.post-main h3 a:hover { color: var(--brand); }
.post-main p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.post-cat { display: inline-block; font-size: 12px; color: var(--brand); background: var(--brand-soft); border-radius: 4px; padding: 1px 8px; margin-top: 7px; }

/* ---------- 折叠 FAQ ---------- */
.qa { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.qa summary {
  cursor: pointer; padding: 15px 18px; font-weight: 600; font-size: 15px;
  list-style: none; position: relative; padding-right: 40px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 19px; color: var(--brand); font-weight: 400; }
.qa[open] summary::after { content: "−"; }
.qa[open] summary { border-bottom: 1px dashed var(--line); }
.qa .qa-body { padding: 14px 18px 16px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- CTA 横幅 ---------- */
.band { background: var(--ink); border-radius: 14px; padding: 40px 36px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band h2 { font-size: 22px; }
.band p { color: #b9c1cb; margin-top: 6px; font-size: 14px; }
.band .btn-primary { background: var(--brand); }

/* ---------- 内页头部 ---------- */
.doc-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.crumb a { color: var(--ink-2); }
.doc-head h1 { font-size: 28px; }
.doc-head .lead { color: var(--ink-2); margin-top: 10px; max-width: 680px; font-size: 15.5px; }
.doc-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 产品页：规格清单 / 场景 / 三问 ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; }
.spec-item { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; }
.spec-item::before { content: "✓"; position: absolute; left: 2px; top: 13px; color: var(--brand); font-weight: 700; }
.spec-item h3 { font-size: 15px; }
.spec-item p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.case-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-item { background: var(--brand-soft); border-radius: 10px; padding: 18px; }
.case-item h3 { font-size: 15px; margin-bottom: 5px; color: var(--brand-deep); }
.case-item p { font-size: 13.5px; color: #7a4526; }

/* ---------- 分类筛选条 ---------- */
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.chips a {
  padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13.5px; background: #fff;
}
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.chips a.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.empty { color: var(--ink-3); font-size: 14px; padding: 26px 0; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }

/* ---------- 文章页 ---------- */
.art { max-width: 780px; margin: 0 auto; padding: 44px 20px 60px; }
.art-head h1 { font-size: 27px; line-height: 1.45; }
.art-head .sub { color: var(--ink-2); margin: 12px 0 6px; font-size: 15.5px; }
.art-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin: 10px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.art-meta a { color: var(--ink-2); }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 24px; font-size: 13.5px; }
.toc b { display: block; margin-bottom: 6px; color: var(--ink); }
.toc a { display: block; color: var(--ink-2); padding: 2.5px 0; }
.toc a:hover { color: var(--brand); }
.callout { background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; padding: 13px 16px; margin-bottom: 24px; font-size: 14.5px; color: #7a3413; }
.callout b { color: var(--brand-deep); margin-right: 8px; }
.art-body h2 { font-size: 20px; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid var(--brand); }
.art-body h3 { font-size: 16.5px; margin: 22px 0 8px; }
.art-body p { margin: 12px 0; }
.art-body ul, .art-body ol { margin: 12px 0 12px 22px; }
.art-body li { margin: 5px 0; }
.art-body code { background: var(--code); border-radius: 4px; padding: 2px 7px; font: 13.5px Consolas, Menlo, monospace; color: #b53a0a; }
.art-body pre { background: #242931; color: #e6edf3; border-radius: 8px; padding: 16px; overflow-x: auto; font: 13.5px Consolas, Menlo, monospace; margin: 14px 0; }
.art-body blockquote { border-left: 3px solid var(--line); color: var(--ink-2); padding: 4px 0 4px 16px; margin: 14px 0; }
.art-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.art-body th, .art-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.art-body th { background: var(--soft); }
.art-body .faq-sec { margin-top: 36px; }
.art-body .faq-sec h2 { border-left: 0; padding-left: 0; }
.art-body .faq-sec h3 { font-size: 15px; background: var(--soft); border-radius: 8px; padding: 10px 14px; margin: 10px 0 0; }
.art-body .faq-sec p { margin: 8px 2px 14px; color: var(--ink-2); font-size: 14.5px; }
.plinks { margin-top: 36px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; font-size: 14px; }
.plinks b { display: block; margin-bottom: 8px; }
.plinks a { margin-right: 14px; white-space: nowrap; line-height: 2; }

/* ---------- 联系页 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: #fff; }
.info-card h3 { font-size: 15px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--ink-2); }
.doc-block { max-width: 780px; }
.doc-block h2 { font-size: 20px; margin: 30px 0 10px; padding-left: 12px; border-left: 4px solid var(--brand); }
.doc-block p, .doc-block li { font-size: 14.5px; color: var(--ink-2); margin: 8px 0; }
.doc-block ul, .doc-block ol { margin: 8px 0 8px 22px; }

/* ---------- 页脚 ---------- */
.foot { background: var(--ink); color: #aeb6c0; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding: 46px 0 34px; }
.foot h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin: 8px 0; font-size: 13.5px; }
.foot a { color: #aeb6c0; }
.foot a:hover { color: #fff; }
.foot .slogan { font-size: 13.5px; line-height: 1.9; margin-top: 10px; }
.foot-bottom { border-top: 1px solid #333c47; padding: 16px 0 20px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-bottom a { color: #aeb6c0; }
.foot-bottom .notes { color: #727c88; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .prod-grid, .num-steps, .case-row, .value-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 20px; }
  .nav.show { display: flex; }
  .nav-btn { display: block; }
  .hero h1 { font-size: 26px; }
  .prod-grid, .num-steps, .case-row, .value-row, .spec-grid, .info-grid { grid-template-columns: 1fr; }
  .post-list li { flex-direction: column; gap: 4px; }
  .band { padding: 28px 22px; }
}
