/* ============================================================
   base.css — 交易所白标落地页 · 通用设计系统
   所有颜色 / 字体 / 圆角由每品牌 assets/theme.css 的 CSS 变量注入
   家族特殊风格通过 body[data-family=...] 分支实现
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body), var(--font-cn), sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head), var(--font-cn), sans-serif; font-weight: var(--head-weight, 700); line-height: 1.15; margin: 0 0 .5em; }
[lang="zh-CN"] { font-family: var(--font-cn), var(--font-body), sans-serif; }
.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(800px, 92%); }
.mono, .num { font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-head), var(--font-cn), sans-serif; font-weight: var(--head-weight, 700); font-size: 21px; letter-spacing: .2px; }
.brand-cn { font-size: 12px; color: var(--muted); border-left: 1px solid var(--border); padding-left: 10px; letter-spacing: .12em; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 500; }
.menu > a { opacity: .82; transition: opacity .15s, color .15s; }
.menu > a:hover { opacity: 1; color: var(--primary); }
.menu-cta { display: inline-flex; gap: 10px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 14.5px; font-family: var(--font-body), var(--font-cn), sans-serif;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--btn-grad, var(--primary)); color: var(--btn-text, #fff); box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 32%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 40%, transparent); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-invert { background: #fff; color: var(--primary); }
.btn-invert:hover { transform: translateY(-1px); }
.link { color: var(--primary); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- 行情跑马灯 ---------- */
.ticker { border-bottom: 1px solid var(--border); background: var(--surface); overflow: hidden; font-size: 13px; }
.ticker-track { display: inline-flex; gap: 34px; padding: 9px 0; white-space: nowrap; animation: tick 60s linear infinite; will-change: transform; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk { display: inline-flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.tk b { font-weight: 600; }
.tk .up { color: var(--up); } .tk .down { color: var(--down); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 92px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 340px at 82% 18%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(520px 300px at 8% 88%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
body[data-dark="true"] .hero::before {
  background:
    radial-gradient(620px 360px at 82% 12%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%),
    radial-gradient(560px 320px at 6% 92%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.5px; margin-bottom: 10px; }
.hero-title-cn { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); margin: 0 0 18px; letter-spacing: .06em; font-family: var(--font-cn), sans-serif; }
.hero-sub { color: var(--muted); font-size: 17px; max-width: 54ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas.center { justify-content: center; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 38px; margin-top: 42px; justify-content: start; }
.stat b { display: block; font-size: 24px; font-family: var(--font-head), var(--font-cn), sans-serif; font-weight: var(--head-weight, 700); letter-spacing: -.3px; }
.stat span { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }

/* Hero 行情面板 */
.market-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 24px 60px -18px color-mix(in srgb, var(--text) 22%, transparent);
  padding: 18px 18px 14px; position: relative; overflow: hidden;
}
.market-panel-head { display: flex; align-items: center; gap: 9px; padding: 2px 4px 12px; border-bottom: 1px solid var(--border); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.live-label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel-brand { margin-left: auto; font-size: 12.5px; color: var(--muted); font-family: var(--font-head), sans-serif; }
.mp-row { display: grid; grid-template-columns: 86px 1fr 74px 66px; gap: 10px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--border); }
.mp-row:last-of-type { border-bottom: 0; }
.mp-sym { font-weight: 600; font-size: 14px; }
.mp-sym small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.mp-price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }
.mp-chg { text-align: right; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mp-chg.up { color: var(--up); } .mp-chg.down { color: var(--down); }
.mp-spark { height: 30px; }
.mp-spark svg { width: 100%; height: 100%; }
.market-panel-foot { display: flex; gap: 6px; align-items: baseline; padding: 12px 4px 2px; font-size: 12.5px; color: var(--muted); }
.market-panel-foot strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- 信任条 ---------- */
.trust { padding: 26px 0; border-block: 1px solid var(--border); background: var(--surface2); }
.trust-title { text-align: center; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface);
  padding: 7px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
}
.badge svg { width: 14px; height: 14px; color: var(--primary); }

/* ---------- 通用 Section ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0 0 26px; }
.section-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.section-title { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.4px; margin: 10px 0 6px; }
.section-sub { color: var(--muted); margin: 0; letter-spacing: .05em; }

/* ---------- 功能卡 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .15s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--primary) 30%, transparent); }
.feat-icon {
  width: 46px; height: 46px; border-radius: calc(var(--radius) * .7);
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--hero-grad); color: #fff;
}
.feat-icon svg { width: 23px; height: 23px; }
.feat h3 { font-size: 17.5px; margin-bottom: 6px; }
.feat h3 small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .08em; margin-top: 2px; font-family: var(--font-cn), sans-serif; }
.feat p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 行情表 ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.market-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.market-table th {
  text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 600;
}
.market-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.market-table tbody tr { transition: background .12s; }
.market-table tbody tr:hover { background: color-mix(in srgb, var(--primary) 5%, transparent); }
.market-table tbody tr:last-child td { border-bottom: 0; }
.mkt-sym { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.mkt-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; background: var(--hero-grad); font-family: var(--font-head), sans-serif; }
.mkt-sym small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.chg-pill { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.chg-pill.up { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); }
.chg-pill.down { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.row-btn { font-size: 13px; font-weight: 600; color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); background: transparent; padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.row-btn:hover { background: var(--primary); color: #fff; }
.table-more { text-align: center; margin-top: 22px; }
body[data-family=darkterm] .market-table td, body[data-family=darkterm] .mp-price { font-family: 'JetBrains Mono', var(--font-body), monospace; }

/* ---------- 安全分栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.checklist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.check-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--hero-grad); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.check-icon svg { width: 13px; height: 13px; }
.checklist b { font-size: 15px; font-family: var(--font-body), var(--font-cn), sans-serif; font-weight: 600; }
.checklist p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.badges-row { display: flex; flex-wrap: wrap; gap: 10px; }
.security-visual { position: relative; height: 420px; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.ring.r1 { width: 420px; height: 420px; animation: spin 40s linear infinite; }
.ring.r2 { width: 310px; height: 310px; border-style: dashed; animation: spin 30s linear infinite reverse; }
.ring.r3 { width: 200px; height: 200px; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield-core {
  width: 110px; height: 110px; border-radius: 28px; background: var(--hero-grad); color: #fff;
  display: grid; place-items: center; box-shadow: 0 20px 50px -12px color-mix(in srgb, var(--primary) 55%, transparent);
  animation: float 5s ease-in-out infinite;
}
.shield-core svg { width: 52px; height: 52px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.float-chip {
  position: absolute; font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--text) 25%, transparent);
  animation: float 6s ease-in-out infinite;
}
.float-chip.c1 { top: 14%; right: 8%; animation-delay: .4s; }
.float-chip.c2 { bottom: 18%; left: 4%; animation-delay: 1.2s; }
.float-chip.c3 { bottom: 6%; right: 20%; animation-delay: 2s; }

/* ---------- 费率 ---------- */
.fees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.fee { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; position: relative; display: flex; flex-direction: column; }
.fee.featured { border-color: var(--primary); box-shadow: 0 22px 48px -16px color-mix(in srgb, var(--primary) 38%, transparent); transform: translateY(-6px); }
.fee-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--hero-grad); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; white-space: nowrap; }
.fee h3 { font-size: 19px; margin-bottom: 4px; }
.fee .fee-for { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; letter-spacing: .06em; }
.fee-price { font-size: 38px; font-family: var(--font-head), var(--font-cn), sans-serif; font-weight: var(--head-weight, 700); letter-spacing: -1px; }
.fee-price small { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.fee ul { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.fee li { font-size: 13.5px; color: var(--muted); display: flex; gap: 9px; align-items: baseline; }
.fee li::before { content: "✓"; color: var(--primary); font-weight: 700; }
.fee .btn { width: 100%; }

/* ---------- 评价 ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.testi-stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.testi blockquote { margin: 0; font-size: 14.5px; color: var(--text); opacity: .92; flex: 1; }
.testi-who { display: flex; gap: 12px; align-items: center; }
.testi-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--hero-grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; font-family: var(--font-head), sans-serif; }
.testi-who b { display: block; font-size: 14px; }
.testi-who span { font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq summary { cursor: pointer; padding: 17px 20px; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--primary); font-weight: 600; transition: transform .2s; flex: none; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { padding: 90px 0; background: var(--hero-grad); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% -60px, rgba(255,255,255,.25), transparent 70%); }
.cta-inner { text-align: center; color: #fff; position: relative; }
.cta-title { font-size: clamp(28px, 3.6vw, 44px); color: #fff; margin-bottom: 8px; }
.cta-sub { color: rgba(255,255,255,.88); margin: 0 0 30px; letter-spacing: .08em; }

/* ---------- 页脚 ---------- */
.footer { background: var(--surface2); border-top: 1px solid var(--border); padding: 60px 0 34px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 44px; }
.footer-about { color: var(--muted); margin: 14px 0 6px; max-width: 36ch; }
.footer-cn { color: var(--muted); margin: 0; font-size: 12.5px; letter-spacing: .04em; }
.footer h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text); opacity: .75; }
.footer ul a:hover { opacity: 1; color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: grid; gap: 8px; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 12.5px; }
.footer-risk { opacity: .8; max-width: 90ch; }

/* ============================================================
   家族特殊风格
   ============================================================ */

/* —— 极简瑞士 / 单色强力：直角、粗边、排版感 —— */
body[data-family=swiss] .section-kicker, body[data-family=mono] .section-kicker { letter-spacing: .22em; }
body[data-family=swiss] .hero-title, body[data-family=mono] .hero-title { letter-spacing: -.8px; }
body[data-family=swiss] .feat, body[data-family=mono] .feat { border-width: 2px; }
body[data-family=swiss] .eyebrow { border-radius: 0; }
body[data-family=swiss] .btn, body[data-family=mono] .btn { border-radius: 0; }
body[data-family=swiss] .badge { border-radius: 0; }

/* —— 单色强力：粗野主义硬阴影 —— */
body[data-family=mono] .feat:hover, body[data-family=mono] .table-wrap, body[data-family=mono] .testi, body[data-family=mono] .fee {
  box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent) 80%, var(--text));
}
body[data-family=mono] .btn-primary { box-shadow: 5px 5px 0 color-mix(in srgb, var(--accent) 85%, var(--text)); background: var(--text); }
body[data-family=mono] .btn-primary:hover { box-shadow: 2px 2px 0 color-mix(in srgb, var(--accent) 85%, var(--text)); }
body[data-family=mono] .feat:hover { transform: translate(-3px,-3px); }
body[data-family=mono] .section-title::after { content: ""; display: block; width: 52px; height: 6px; background: var(--accent); margin: 14px auto 0; }
body[data-family=mono] .hero-title::after { margin: 18px 0 0; }
body[data-family=mono] .eyebrow { background: var(--accent); color: #fff; border: 0; }

/* —— 暗黑终端：网格底 + 霓虹 —— */
body[data-family=darkterm] .hero { background-image: repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--primary) 6%, transparent) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--primary) 6%, transparent) 39px 40px); }
body[data-family=darkterm] .btn-primary { box-shadow: 0 0 22px color-mix(in srgb, var(--primary) 45%, transparent); }
body[data-family=darkterm] .hero-title { text-shadow: 0 0 34px color-mix(in srgb, var(--primary) 35%, transparent); }

/* —— 新锐渐变：渐变大标题 + 光斑 —— */
body[data-family=gradient] .hero-title, body[data-family=gradient] .section-title {
  background: linear-gradient(92deg, var(--text) 30%, var(--primary) 60%, var(--primary2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
body[data-family=gradient] .hero::after {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; filter: blur(90px);
  background: color-mix(in srgb, var(--primary2) 30%, transparent); top: -140px; right: -120px; pointer-events: none;
}

/* —— 金色奢华 / 红金东方：衬线大气 + 金字 —— */
body[data-family=gold] .hero-title, body[data-family=redgold] .hero-title {
  background: linear-gradient(100deg, var(--text) 20%, var(--primary) 55%, var(--accent) 80%, var(--text));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 600; letter-spacing: .5px;
}
body[data-family=gold] .section-title, body[data-family=redgold] .section-title { letter-spacing: .5px; }
body[data-family=gold] .eyebrow, body[data-family=redgold] .eyebrow { letter-spacing: .22em; font-size: 11.5px; }
body[data-family=gold] .cta, body[data-family=redgold] .cta { border-block: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }

/* —— 玻璃拟态：磨砂卡片 —— */
body[data-family=glass] { background: linear-gradient(160deg, var(--bg) 0%, color-mix(in srgb, var(--primary2) 9%, var(--bg)) 45%, color-mix(in srgb, var(--accent) 10%, var(--bg)) 100%); }
body[data-family=glass] .feat, body[data-family=glass] .fee, body[data-family=glass] .testi,
body[data-family=glass] .table-wrap, body[data-family=glass] .market-panel, body[data-family=glass] .faq {
  background: color-mix(in srgb, #ffffff 62%, transparent);
  backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255,255,255,.85); box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--primary) 32%, transparent);
}
body[data-family=glass] .hero::before { background: radial-gradient(500px 300px at 85% 20%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%), radial-gradient(460px 280px at 10% 85%, color-mix(in srgb, var(--primary2) 20%, transparent), transparent 70%); }

/* —— 深海科技：辉光 —— */
body[data-family=navy] .feat-icon, body[data-family=navy] .shield-core { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 12%, transparent), 0 18px 44px -12px color-mix(in srgb, var(--primary) 55%, transparent); }
body[data-family=navy] .market-panel { box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--primary) 35%, transparent); }

/* 深色家族的幽灵按钮适配 */
body[data-dark="true"] .btn-ghost { border-color: color-mix(in srgb, var(--text) 22%, transparent); }
body[data-dark="true"] .btn-ghost:hover { border-color: var(--primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 60px 0 70px; }
  .features-grid, .fees-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .security-visual { height: 360px; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 18px 34px; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 18px 4%; gap: 4px;
  }
  .menu.open { display: flex; }
  .menu > a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .menu-cta { margin: 14px 0 4px; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) {
  .features-grid, .fees-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .market-table th:nth-child(4), .market-table th:nth-child(5), .market-table td:nth-child(4), .market-table td:nth-child(5) { display: none; }
  .mp-row { grid-template-columns: 80px 1fr 64px; }
  .mp-spark { display: none; }
  .brand-cn { display: none; }
  .fee.featured { transform: none; }
  .ring.r1 { width: 300px; height: 300px; } .ring.r2 { width: 220px; height: 220px; }
}

/* 标题大写变体（部分品牌） */
body.uc-head h1, body.uc-head h2, body.uc-head .brand-name { text-transform: uppercase; }

/* ============================================================
   v2 新增：版式变体 / 文章页 / 博客卡片 / 面包屑（SEO 精品站）
   ============================================================ */

/* ---------- 版式 v2：居中 Hero ---------- */
.hero-copy.center, .hero-ctas.center { text-align: center; margin-inline: auto; }
body .hero-copy.center { max-width: 780px; }
.hero-copy.center .hero-sub { margin-inline: auto; }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px auto 34px; max-width: 900px; }
.stats-bar .stat { text-align: center; }
.market-panel.wide { max-width: 720px; margin: 0 auto; }

/* ---------- 版式 v4：反向 Hero ---------- */
.hero-grid.rev { grid-template-columns: .92fr 1.08fr; }
.hero-grid.rev .hero-visual { order: -1; }

/* ---------- 博客/文章卡片 ---------- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insights-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: transform .15s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--primary) 28%, transparent); }
.post-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--surface2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .post-cover img { transform: scale(1.045); }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-date { font-size: 12px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.post-body h3 { font-size: 17.5px; line-height: 1.35; margin: 0; }
.post-body p { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 页头 / 面包屑 ---------- */
.page-head { padding: 54px 0 10px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.5px; margin-bottom: 10px; }
.page-sub { color: var(--muted); font-size: 16.5px; max-width: 68ch; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb em { color: var(--text); font-style: normal; }
.breadcrumb span { opacity: .55; }

/* ---------- 文章页 ---------- */
.article-hero { padding-top: 46px; }
.article-meta { color: var(--muted); font-size: 14px; margin: 0; }
.article-meta strong { color: var(--text); }
.article-body { padding: 26px 0 70px; }
.article-cover { width: 100%; border-radius: var(--radius); margin: 6px 0 26px; border: 1px solid var(--border); }
.prose { font-size: 16.5px; line-height: 1.78; }
.prose > p { margin: 0 0 20px; }
.prose h2 { font-size: 24.5px; margin: 40px 0 14px; letter-spacing: -.3px; scroll-margin-top: 90px; }
.prose-list { margin: 6px 0 22px; padding-left: 22px; display: grid; gap: 9px; color: var(--text); }
.prose-list li::marker { color: var(--primary); font-weight: 700; }
.article-inline { margin: 30px 0; }
.article-inline img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.article-inline figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.takeaways { background: color-mix(in srgb, var(--primary) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--border)); border-radius: var(--radius); padding: 22px 24px; margin: 38px 0; }
.takeaways h2 { font-size: 19px; margin: 0 0 12px; }
.takeaways ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; font-size: 14.5px; }
.takeaways li::marker { color: var(--primary); }
.faq-mini { margin: 34px 0; }
.faq-mini h2 { font-size: 19px; margin-bottom: 12px; }
.cta-inline { background: var(--hero-grad); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin: 40px 0; }
.cta-inline h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.cta-inline p { margin: 0 0 16px; color: rgba(255,255,255,.9); font-size: 14.5px; }
.cta-inline .btn { background: #fff; color: var(--primary); }
.author-box { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--border); padding-top: 22px; margin-top: 40px; }
.author-ava { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--hero-grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; font-family: var(--font-head), sans-serif; }
.author-box b { font-size: 15.5px; }
.author-box span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.author-box p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- 响应式补充 ---------- */
@media (max-width: 980px) {
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .insights-grid, .insights-grid.two { grid-template-columns: 1fr; }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 21px; }
}

/* 玻璃拟态家族的卡片磨砂适配 */
body[data-family=glass] .post-card, body[data-family=glass] .takeaways, body[data-family=glass] .cta-inline,
body[data-family=glass] .article-cover, body[data-family=glass] .article-inline img {
  background: color-mix(in srgb, #ffffff 62%, transparent);
  backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255,255,255,.85);
}
body[data-family=glass] .cta-inline { background: var(--hero-grad); backdrop-filter: none; }
body[data-family=mono] .post-card:hover { box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent) 80%, var(--text)); }
body[data-family=gold] .takeaways, body[data-family=redgold] .takeaways { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }

/* ---------- v3 新增：扩展页面组件（品种页/产品页/联系/法务） ---------- */
.mkt-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 26px 0 6px; }
.mstat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.mstat span { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.mstat b { font-size: 19px; font-variant-numeric: tabular-nums; font-family: var(--font-head), var(--font-cn), sans-serif; font-weight: var(--head-weight, 700); }
.mstat b.up-c { color: var(--up); } .mstat b.down-c { color: var(--down); }
.chart-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.big-chart { width: 100%; height: 300px; display: block; }
.feature-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.mini-feat { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.mini-feat .check-icon { width: 26px; height: 26px; }
.value-card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; align-items: flex-start; }
.value-card .feat-icon { margin-bottom: 0; flex: none; }
.value-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.value-card p { margin: 0; color: var(--muted); font-size: 13px; }
.link-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.link-cols h3 { font-size: 16px; margin-bottom: 10px; }
.link-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.link-cols a { color: var(--muted); font-size: 14px; }
.link-cols a:hover { color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 34px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-card h3 { font-size: 14.5px; margin-bottom: 8px; }
.contact-card p { margin: 0 0 6px; font-size: 14px; font-weight: 600; word-break: break-all; }
.contact-card span { font-size: 12px; color: var(--muted); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; max-width: 760px; }
.contact-form h3 { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--border); border-radius: calc(var(--radius) * .7); background: var(--bg); color: var(--text); font: inherit; font-size: 14px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.legal-body p { font-size: 14.5px; color: var(--muted); }
.legal-body strong { color: var(--text); }
.prod-card .feat-icon { margin-bottom: 10px; width: 42px; height: 42px; }
.prod-card .feat-icon svg { width: 21px; height: 21px; }
@media (max-width: 980px) { .mkt-stats { grid-template-columns: repeat(2, 1fr); } .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mkt-stats { grid-template-columns: repeat(2, 1fr); } .contact-grid { grid-template-columns: 1fr; } .feature-grid-2, .link-cols, .form-row { grid-template-columns: 1fr; } .big-chart { height: 200px; } }
