/* 官网与渠道站共用（内容相同，只有 Logo 和站名不同）。配色变量在 theme-a.css。
   风格：大量留白、温和的纸色底、近黑文字、陶土色点缀，卡片细边框、轻阴影。 */
* { box-sizing: border-box; min-width: 0; }
html, body { margin: 0; }
body {
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
main { flex: 1; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.18; font-weight: 600; margin: 0 0 18px; }
h2 { font-size: 30px; line-height: 1.3; font-weight: 600; margin: 0 0 14px; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 600; margin: 0 0 6px; }
.lead { font-size: 17px; color: var(--mute); margin: 0 0 26px; max-width: 58ch; }
.hint { font-size: 14px; color: var(--mute); margin: 18px 0 0; }
.hidden { display: none !important; }
.center { text-align: center; }

/* 顶部导航 */
.nav { position: sticky; top: 0; z-index: 10; background: var(--bg-glass); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav nav { display: flex; gap: 26px; align-items: center; }
.nav nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--accent); }
.brand, .foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; font-size: 15px; }
.logo-fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); font-weight: 600; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; color: var(--on-accent) !important; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 首页三步 */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 5px 14px 5px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.eyebrow-logo { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; font-size: 12px; }
.hero { padding: 88px 0 56px; }
.hero .lead { margin: 0 auto 32px; font-size: 19px; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); }
.hero .hero-actions { justify-content: center; }
.nos { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 14px; padding: 0; margin: 6px auto 34px; }
.nos li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid var(--line); background: var(--card); border-radius: 99px; font-size: 16px; color: var(--ink); }
.nos svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.btn-big { min-height: 54px; padding: 0 32px; font-size: 17px; border-radius: 14px; }
.steps-band { padding: 24px 0 96px; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps3 li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px 28px; box-shadow: var(--shadow); }
.steps3 .num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 600; margin: 22px 0 12px; }
.steps3 h3 { font-size: 22px; margin-bottom: 8px; }
.steps3 p { margin: 0; color: var(--mute); font-size: 16px; }
.steps3 a { display: inline-block; margin-top: 14px; font-weight: 500; text-decoration: none; }
.pic { height: 200px; border-radius: 14px; background: var(--bg-alt); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.mini-input { width: 78%; height: 36px; border-radius: 9px; background: var(--card); border: 1px solid var(--line-strong); color: var(--mute); font-size: 13px; display: flex; align-items: center; padding: 0 12px; }
.mini-row { display: flex; gap: 10px; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.mini-btn svg { width: 14px; height: 14px; fill: var(--ink); }
.mini-win { width: 82%; background: var(--card); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; box-shadow: var(--shadow-lg); }
.mini-bar { display: flex; gap: 5px; padding: 8px 10px; background: var(--chrome); border-bottom: 1px solid var(--line); }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.mini-check { position: relative; font-size: 13px; padding: 6px 12px 0 34px; }
.nw { white-space: nowrap; }
.mini-check::before { content: ""; position: absolute; left: 12px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.mini-check::after { content: ""; position: absolute; left: 17px; top: 11px; width: 3px; height: 7px; border: solid var(--on-accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.mini-go { margin: 10px 12px 12px; height: 28px; border-radius: 7px; background: var(--accent); color: var(--on-accent); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.pic-3 { gap: 4px; }
.pic-3 small { color: var(--mute); font-size: 13px; }
.pic-3 strong { font-size: 34px; font-weight: 600; letter-spacing: -.01em; }
.mini-ok { margin-top: 8px; font-size: 12px; padding: 3px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.band { padding: 72px 0; border-top: 1px solid var(--line); }
.service { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.service h2 { margin-bottom: 10px; }
.service .lead { margin: 0; color: var(--ink); }
.qr { width: 150px; height: 150px; object-fit: contain; border-radius: 12px; background: #fff; padding: 8px; border: 1px solid var(--line); }

/* 表单页、下载页 */
.form-page { padding: 64px 0 88px; }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.form-card { padding: 30px; }
.form-card h2 { margin-bottom: 10px; }
.form-card h1 { font-size: 28px; margin-bottom: 6px; text-align: center; }
.form-card > .lead { text-align: center; margin: 0 auto 26px; font-size: 16px; }
.who { font-size: 14px; color: var(--mute); margin: 0 0 30px; }
.who a { margin-left: 10px; }
label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
input { display: block; width: 100%; margin-top: 7px; height: 46px; padding: 0 14px; font: inherit; font-size: 16px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--input); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.row { display: flex; gap: 10px; }
.row input { flex: 1; }
.row .btn { margin-top: 7px; min-height: 46px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.msg { min-height: 22px; font-size: 14px; color: var(--danger); margin: 0 0 12px; }
.msg.ok { color: var(--ok); }
.fine { font-size: 14px; color: var(--mute); text-align: center; margin: 16px 0 0; }
.dl-head { max-width: 760px; margin-bottom: 8px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.dl { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.dl:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.dl svg { margin-bottom: 14px; width: 34px; height: 34px; fill: var(--ink); stroke: none; }
.dl b { font-size: 20px; font-weight: 600; }
.dl span { color: var(--mute); font-size: 14px; margin: 4px 0 22px; }
.dl em { font-style: normal; }
.tips-card { padding: 24px 30px; }
.tips { color: var(--mute); font-size: 15px; padding-left: 20px; margin: 8px 0 0; }
.tips li { margin: 6px 0; }
.narrow { max-width: 480px; }

/* 手机提示页 */
.mobile-only { text-align: center; padding: 34px 24px; }
.mobile-only .hero-logo { width: 64px; height: 64px; border-radius: 16px; font-size: 28px; display: inline-flex; object-fit: cover; margin-bottom: 18px; }
.mobile-only h1 { font-size: 28px; margin-bottom: 12px; }
.mobile-only p { margin: 10px 0; color: var(--mute); }
.copy-url { text-align: center; font-size: 15px; margin: 18px 0 12px; background: var(--bg-alt); }

/* 页脚 */
.foot { border-top: 1px solid var(--line); padding: 28px 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-brand { font-size: 15px; }
.foot-brand .brand-logo { width: 24px; height: 24px; font-size: 12px; border-radius: 6px; }
.foot-meta { display: flex; gap: 22px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }

@media (max-width: 960px) {
  .steps3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0; }
  .dl-grid { grid-template-columns: 1fr; }
  .service { flex-direction: column; align-items: flex-start; }
  .band { padding: 56px 0; }
}
.ln { display: inline-block; }
.band-title { text-align: center; font-size: 24px; margin: 0 0 28px; font-weight: 600; }

/* 模型价格 */
.prices-band { padding: 56px 0; }
.price-note { max-width: 760px; margin: -12px auto 24px; font-size: 14px; }
.page-pricing .price-note { margin: 0 0 18px; }
.page-title { font-size: 30px; margin: 0 0 8px; }
.price-search { display: block; width: 100%; max-width: 360px; padding: 10px 14px; font: inherit; border: 1px solid var(--line-strong); border-radius: 10px; margin-bottom: 18px; background: #fff; }
.price-card { margin-bottom: 16px; padding: 18px 22px; }
.price-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.price-head h3 { margin: 0; font-size: 17px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table th { color: var(--mute); font-weight: 500; font-size: 13px; }
.price-table tr:last-child td { border-bottom: 0; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
.muted { color: var(--mute); }
.price-table .tier { display: inline-block; margin-left: 8px; font-family: inherit; font-size: 11.5px; color: var(--mute); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; }

/* ---------- 用户数 ---------- */
.counter { display: inline-flex; align-items: center; gap: 8px; margin: 26px auto 0; padding: 8px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 15.5px; }
.counter b { color: var(--accent); font-size: 20px; font-variant-numeric: tabular-nums; }
.counter .spark { color: var(--accent); }
.page-pricing .counter { margin: 0 0 18px; }
.ink { color: var(--ink); }

/* ---------- 不注水 · 价格低 · 稳定 ---------- */
.value-sub { margin: -14px auto 26px; max-width: 70ch; }
.value-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.value-grid > .card { padding: 22px 24px; }
.cmp .legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--mute); margin-bottom: 14px; }
.cmp .legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw-off, .bar-off { background: #b9b6ab; }
.sw-our, .bar-our { background: var(--ok); }
.cmp-row { display: grid; grid-template-columns: 150px 1fr 96px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cmp-row:first-of-type { border-top: 0; }
.cmp-name { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-bars { display: grid; gap: 4px; }
.bar-line { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.bar-line b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { display: block; height: 10px; border-radius: 0 4px 4px 0; min-width: 3px; }
.cmp-save { text-align: right; font-size: 13px; color: var(--mute); white-space: nowrap; }
.cmp-save b { color: var(--ink); font-size: 17px; }
.proof { display: grid; gap: 12px; }
.proof-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.proof-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.proof-item b::before { content: "✓"; color: var(--ok); margin-right: 6px; }
.proof-item p { margin: 0; font-size: 14px; color: var(--mute); }
.sub-title { text-align: center; font-size: 19px; margin: 44px 0 18px; font-weight: 600; }
.risk-wrap { overflow-x: auto; }
.risk { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.risk th, .risk td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.risk tr:last-child th, .risk tr:last-child td { border-bottom: 0; }
.risk thead th { color: var(--mute); font-weight: 500; font-size: 13px; }
.risk tbody th { color: var(--ink); font-weight: 500; white-space: nowrap; }
.risk td { color: var(--mute); }
.risk .us { background: var(--accent-soft); color: var(--ink); font-weight: 500; }
.risk thead .us { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ---------- 稳登榜 ---------- */
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.board-grid > .card { padding: 20px 22px; }
.board { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.board th, .board td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.board th:nth-child(-n+2), .board td:nth-child(-n+2) { text-align: left; }
.board th { color: var(--mute); font-weight: 500; font-size: 12.5px; }
.board tr:last-child td { border-bottom: 0; }
.rk { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; font-size: 12.5px; color: var(--mute); }
.top .rk { color: #fff; font-weight: 600; }
.top1 .rk { background: #d4a017; } .top2 .rk { background: #9a9a9a; } .top3 .rk { background: #b87333; }
.board tr.me td { background: var(--accent-soft); }
.prize-note { margin: 6px 0 2px; font-size: 13px; color: var(--ink); background: var(--bg-alt); border-radius: 10px; padding: 7px 10px; }
.board-empty { padding: 20px 0; text-align: center; }

/* ---------- 用户趋势 ---------- */
.trend-card { position: relative; padding: 18px 18px 10px; }
.trend { width: 100%; height: auto; display: block; }
.trend .grid { stroke: var(--line); stroke-width: 1; }
.trend .ax { fill: var(--mute); font-size: 12px; }
.trend .area { fill: var(--accent-soft); }
.trend .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.trend .cross { stroke: var(--line-strong); stroke-width: 1; }
.trend .dot { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.trend-card .tip { position: absolute; pointer-events: none; background: var(--card); border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 10px; font-size: 13px; color: var(--ink); box-shadow: var(--shadow-lg); white-space: nowrap; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { display: flex; flex-direction: column; overflow: hidden; }
.case-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--bg-alt); }
.case-cover.ph { aspect-ratio: auto; height: 110px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--accent); }
.case-cover.ph-video { background: linear-gradient(135deg, #f6e3da, #f3f1ea); }
.case-cover.ph-research { background: linear-gradient(135deg, #e2efe4, #f3f1ea); color: #3c7d4a; font-size: 34px; }
.case-cover.ph-dev { background: linear-gradient(135deg, #e3e9f3, #f3f1ea); color: #3a5a8c; font-family: ui-monospace, Menlo, monospace; }
.case-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { margin: 8px 0 6px; font-size: 16.5px; }
.case-body p { margin: 0 0 8px; font-size: 14px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.tag.soft { background: var(--bg-alt); color: var(--mute); }
.case-result { color: var(--ink); }
.case-prompt { margin: 4px 0 12px; padding: 10px 12px; background: var(--bg-alt); border-radius: 10px; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; max-height: 7.2em; overflow: hidden; color: var(--mute); position: relative; flex: 1; }
.case-actions { display: flex; gap: 8px; margin-top: auto; }
.case-actions .btn-ghost { color: var(--ink) !important; }
.case-tabs { display: flex; gap: 8px; margin: 18px 0 20px; }
.case-tabs button { border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 16px; font-size: 14px; cursor: pointer; }
.case-tabs button.on { background: var(--ink); color: var(--card); border-color: var(--ink); }

@media (max-width: 960px) {
  .value-grid, .board-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .case-grid { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr 64px; }
  .cmp-name { grid-column: 1 / -1; }
}
.risk thead th:last-child { border-top-right-radius: 15px; }
.risk tbody tr:last-child td:last-child { border-bottom-right-radius: 15px; }

/* 今日趣味数据 */
.fun-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0 0 20px; }
.fun { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fun span { font-size: 12.5px; color: var(--mute); }
.fun b { font-size: 18px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fun b.mono { font-size: 14px; line-height: 27px; }
.fun em { font-style: normal; font-size: 12px; color: var(--mute); }
.board td.fav { font-size: 12px; color: var(--mute); max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .fun-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .fun-grid { grid-template-columns: repeat(2, 1fr); } }
.research-tip { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--bg-alt); color: var(--ink); font-size: 14px; }

/* 本站价统一绿色 */
.price-table td.ours, .price-table td.ours b, .cheap { color: var(--ok); }
.cheap { font-weight: 600; }
.board-card { max-width: 860px; margin: 0 auto; }
.bar-line b.cheap, .cmp-save b.cheap, .value-sub b.cheap { color: var(--ok); }
.risk-note { font-size: 13px; margin-top: 10px; }
