/* ════════════════════════════════════════════════════════════════════════
   Rufus 主题站 · 站点主题层 theme.css（必须在 global.css / layout_*.css 之后加载）
   ------------------------------------------------------------------------
   主题色取自站点根目录 logo.png（实测主色：石墨灰 #585868 12.2% / #585858 10.5%
   / #383838 9.8%，铬银高光 #C8C8C8 9.8%，均色 #6F7376）：主色走石墨钢灰，
   渐变另一端接铬银高光，形成「铬银 → 石墨 → 深炭」同色系渐变，避免默认蓝。
   覆盖内容：单层导航 / Hero 左文右图 / 更新署名脉冲胶囊 / 文字卡片化 /
   左侧悬挂目录 / 统一默认字体 / hover 无下划线 / 液态玻璃质感。
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. 主题变量 ───────────────────────────────────────────── */
:root {
  --brand:        #3D4451;   /* 石墨钢灰主色（logo 主体）*/
  --brand-dk:     #232833;   /* hover 加深 */
  --brand-lt:     #6E7887;   /* 铬银高光（logo 金属接口）*/
  --brand-shadow: rgba(35, 40, 51, .26);
  --brand-soft:   #F1F3F6;
  --brand-line:   #DCE1E8;
  --brand-ink:    #2A303A;
  --brand-wash:   #F7F9FB;

  /* 骨架蓝系变量整体换到主题色，避免残留默认蓝 */
  --blue:    #3D4451;
  --blue-dk: #232833;
  --blue-50: #F1F3F6;

  --hero-bg: linear-gradient(180deg, #F4F6F9 0%, #FFFFFF 100%);
  --cta-grad: linear-gradient(135deg, #6E7887 0%, #3D4451 52%, #1E2229 100%);

  --ink:   #23262B;
  --ink-2: #525761;
  --line:  rgba(61, 68, 81, .14);
  --font-default: system-ui, -apple-system, "Segoe UI", Roboto,
                  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ── 2. 统一默认字体（全站，含表单与代码元素）──────────────── */
html, body, button, input, select, textarea, code, kbd, samp, pre, time {
  font-family: var(--font-default) !important;
}
body {
  font-family: var(--font-default);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  background:
    radial-gradient(1100px 760px at 88% -8%, rgba(88, 88, 104, .13), transparent 62%),
    radial-gradient(980px 700px at -12% 26%, rgba(200, 200, 200, .18), transparent 58%),
    radial-gradient(1000px 720px at 106% 76%, rgba(61, 68, 81, .10), transparent 60%),
    linear-gradient(180deg, #F6F7F9 0%, #FBFCFD 46%, #F4F6F8 100%);
  background-attachment: fixed;
}
body::before, body::after {
  content: ""; position: fixed; border-radius: 50%;
  filter: blur(96px); z-index: -1; pointer-events: none;
}
body::before {
  width: 560px; height: 560px; top: -170px; right: -110px;
  background: radial-gradient(circle, rgba(88, 88, 104, .16), transparent 70%);
}
body::after {
  width: 660px; height: 660px; bottom: -210px; left: -170px;
  background: radial-gradient(circle, rgba(200, 200, 200, .22), transparent 70%);
}

/* ── 3. 链接：全站 hover 一律不加下划线 ─────────────────────── */
a, a:hover, a:focus, a:active, a:visited { text-decoration: none !important; }
a { color: var(--brand-dk); }
a:hover { color: var(--brand-lt); }
.text-card a, .main-content a, .hero-sub a {
  color: var(--brand-dk); font-weight: 600;
  border-bottom: 1px solid rgba(61, 68, 81, .3);
}
.text-card a:hover, .main-content a:hover { color: var(--brand-lt); border-bottom-color: var(--brand-lt); }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
section[id], h1[id], h2[id], h3[id], h4[id] { scroll-margin-top: 92px; }

/* ── 4. 顶部导航：单层毛玻璃条（logo.png + Rufus + 站内导航）── */
.ks-header {
  background: rgba(255, 255, 255, .7) !important;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 10px 34px -20px rgba(24, 28, 36, .22);
  position: sticky; top: 0; z-index: 200;
}
.ks-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 22px; height: 62px;
}
.ks-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.ks-logo img {
  height: 34px; width: auto; display: block; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(35, 40, 51, .22);
}
.ks-logo-txt {
  font-size: 20px; font-weight: 800; letter-spacing: .3px;
  background: linear-gradient(120deg, var(--brand-lt), var(--brand) 55%, var(--brand-dk));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; white-space: nowrap;
}
.ks-subnav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.ks-subnav::-webkit-scrollbar { display: none; height: 0; }
.ks-subnav-inner { display: flex; align-items: center; gap: 4px; height: 62px; white-space: nowrap; }
.ks-subnav-inner a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px;
  font-size: 14px; font-weight: 500; color: #46474E;
  border-radius: 999px; text-decoration: none;
  transition: background .16s, color .16s, box-shadow .16s;
}
.ks-subnav-inner a:hover {
  color: var(--brand-ink); background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(61, 68, 81, .12);
}
.ks-subnav-inner a.active {
  background: var(--cta-grad); color: #fff;
  box-shadow: 0 6px 16px -6px var(--brand-shadow);
}

/* ── 5. 面包屑 ─────────────────────────────────────────────── */
.breadcrumb { max-width: 1140px; margin: 0 auto; padding: 14px 20px 0; font-size: 13px; color: #8A8F98; }
.breadcrumb a { color: var(--brand-dk); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand-lt); }
.breadcrumb span { color: #C9CCD2; }

/* ── 6. 更新署名胶囊（H1 正下方，低权重 + 脉冲呼吸灯）────────── */
.update-capsule {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(241, 243, 246, .92);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
  font-size: 12.5px; font-weight: 400; line-height: 1.65;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  margin: 4px 0 14px;
}
.update-capsule time { font-weight: 500; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand);
  animation: ks-pulse 2.2s ease-in-out infinite;
}
@keyframes ks-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 68, 81, .42); }
  50%      { box-shadow: 0 0 0 6px rgba(61, 68, 81, 0); }
}

/* ── 7. 首页 / 下载页 Hero：左文右图（窄屏上文下图）──────────── */
.site-hero {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 46px; align-items: center;
  max-width: 1140px; margin: 22px auto 26px;
  padding: 42px 44px;
  border-radius: 28px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .64));
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(255, 255, 255, .2),
    0 30px 60px -34px rgba(35, 40, 51, .34),
    0 22px 46px -30px rgba(24, 28, 36, .22);
}
.site-hero-text { min-width: 0; }
.hero-logo { width: 80px; height: 80px; object-fit: contain; display: block; margin-bottom: 16px; }
.site-hero h1 {
  margin: 0 0 6px; font-size: 34px; line-height: 1.26; font-weight: 800;
  letter-spacing: -.4px;
  background: linear-gradient(120deg, #23262B 18%, var(--brand-lt) 122%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-hero .hero-sub {
  margin: 0 0 22px; font-size: 16px; line-height: 1.8; color: var(--ink-2);
  max-width: 560px;
}
.site-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin: 0 0 18px; }
.site-hero .cta-primary, .site-hero .cta-secondary { flex: 1 1 200px; justify-content: center; }
.site-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.site-hero .hero-meta span {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .8);
  border: 1px solid var(--brand-line); color: var(--brand-ink);
  font-size: 12.5px; backdrop-filter: blur(10px);
}
.site-hero-img { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.site-hero-img img {
  width: 100%; max-width: 520px; height: auto; display: block;
  border-radius: 16px;
  border: 1px solid var(--brand-line);
  box-shadow: 0 22px 46px -22px rgba(24, 28, 36, .32);
  background: #fff;
}
.hero-shot-caption {
  margin: 10px 0 0; font-size: 12.5px; line-height: 1.6; color: #7A7F88;
  max-width: 520px;
}

/* ── 8. 内容页 Hero（logo.png 居中 + H1 + 胶囊 + 描述）──────── */
.hero-v2 {
  background: linear-gradient(168deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 22px 46px -30px rgba(35, 40, 51, .26),
    0 16px 36px -28px rgba(24, 28, 36, .2);
  max-width: 1140px; margin: 20px auto 24px;
  padding: 34px 40px 30px; text-align: center;
}
.hero-v2 .container { max-width: 900px; }
.hero-v2 .hero-logo { width: 80px; height: 80px; margin: 0 auto 14px; }
.hero-v2 h1 {
  margin: 0 0 4px; font-size: 30px; line-height: 1.3; font-weight: 800; color: #1B1E23;
  padding: 0; border: none;
}
.hero-v2 .hero-sub {
  margin: 0 auto; max-width: 760px;
  font-size: 15.5px; line-height: 1.8; color: var(--ink-2);
}
.hero-v2 .update-capsule { margin: 6px 0 12px; }
.hero-v2 .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.hero-v2 .cta-meta { font-size: 12.5px; color: #7A7F88; margin: 10px 0 0; }

/* ── 9. 正文容器 + 左侧悬挂目录 ────────────────────────────── */
.content-wrap { max-width: 1140px; margin: 0 auto; padding: 6px 20px 30px; }
.l1-layout {
  display: grid; grid-template-columns: 236px minmax(0, 1fr);
  gap: 30px; align-items: start;
  max-width: 1140px; margin: 0 auto; padding: 6px 20px 30px;
}
.l1-toc {
  position: sticky; top: 84px;
  padding: 16px 14px;
  border-radius: 18px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .62));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 18px 40px -28px rgba(24, 28, 36, .26);
  max-height: calc(100vh - 110px); overflow: auto;
}
.l1-toc h3 {
  margin: 0 0 10px; padding: 0 6px 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  color: var(--brand-ink); text-transform: uppercase;
  border-bottom: 1px solid var(--brand-line);
}
.l1-toc ul { list-style: none; margin: 0; padding: 0; }
.l1-toc li { margin-bottom: 2px; }
.l1-toc a {
  display: block; padding: 7px 10px;
  font-size: 13px; line-height: 1.5; color: #55585F;
  border-radius: 9px; border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.l1-toc a:hover { color: var(--brand-ink); background: var(--brand-wash); border-left-color: var(--brand); }
.main-content { min-width: 0; }
.main-content > h1 { margin: 4px 0 14px; font-size: 30px; font-weight: 800; color: #1B1E23; }

/* ── 10. 文段卡片化（H2 分段玻璃卡）────────────────────────── */
.text-card {
  border-radius: 22px;
  padding: 26px 30px;
  margin: 0 0 20px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .66));
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 18px 42px -26px rgba(24, 28, 36, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.text-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 26px 52px -26px rgba(24, 28, 36, .32);
}
.text-card h2 {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px; padding: 0 0 12px;
  font-size: 21px; font-weight: 800; color: #1B1E23;
  border-bottom: 1px solid var(--brand-line);
}
.text-card h2::before {
  content: ""; flex-shrink: 0; width: 7px; height: 22px; border-radius: 4px;
  background: var(--cta-grad);
  box-shadow: 0 2px 10px rgba(35, 40, 51, .3);
}
.text-card h3 {
  display: inline-flex; align-items: center;
  margin: 20px 0 8px; padding: 4px 14px;
  font-size: 16px; font-weight: 700; color: var(--brand-ink);
  background: var(--brand-soft); border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(61, 68, 81, .12);
}
.text-card h4 { margin: 16px 0 8px; font-size: 15.5px; font-weight: 700; color: var(--brand-ink); }
.text-card p { margin: 10px 0; font-size: 15.5px; line-height: 1.85; color: #3C3F46; }
.text-card ul, .text-card ol { margin: 12px 0 16px; padding-left: 22px; }
.text-card li { margin: 7px 0; font-size: 15.5px; line-height: 1.85; color: #3C3F46; }
.text-card ul li::marker { color: var(--brand); }
.text-card ol li::marker { color: var(--brand-dk); font-weight: 700; }
.text-card strong { color: #1B1E23; }
.text-card code {
  padding: 2px 7px; border-radius: 6px; font-size: 13.5px;
  background: var(--brand-wash); color: var(--brand-ink);
  border: 1px solid var(--brand-line); word-break: break-all;
}
.text-card pre {
  background: #1E2229; color: #E6E9ED; padding: 16px 18px;
  border-radius: 14px; overflow-x: auto; font-size: 13px; line-height: 1.7;
  margin: 14px 0;
}
.text-card pre code { background: none; border: none; padding: 0; color: inherit; }
.text-card blockquote {
  margin: 14px 0; padding: 12px 16px; border-left: 4px solid var(--brand-lt);
  background: var(--brand-wash); border-radius: 0 12px 12px 0;
  font-size: 15px; color: #4A4D55;
}
.text-card img { max-width: 100%; height: auto; border-radius: 14px; }
.text-card figure { margin: 16px 0; }

/* 表格统一品牌化 */
.text-card table, .compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 16px 0; font-size: 14.5px;
  border: 1px solid var(--brand-line); border-radius: 14px; overflow: hidden;
  background: rgba(255, 255, 255, .74);
}
.text-card th, .compare-table th {
  padding: 11px 15px; text-align: left; font-weight: 700;
  color: var(--brand-ink); background: var(--brand-soft);
  border-bottom: 1px solid var(--brand-line);
}
.text-card td, .compare-table td {
  padding: 11px 15px; color: #3C3F46;
  border-bottom: 1px solid rgba(61, 68, 81, .1); vertical-align: top;
}
.text-card tbody tr:last-child td, .compare-table tbody tr:last-child td { border-bottom: none; }
.text-card tbody tr:hover td, .compare-table tbody tr:hover td { background: var(--brand-wash); }
.table-wrap { overflow-x: auto; }

/* 结构化要点列表 */
.text-card ul.kv-list { list-style: none; padding-left: 0; margin: 14px 0 18px; display: grid; gap: 10px; }
.text-card ul.kv-list li {
  padding: 12px 16px; margin: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--brand-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.text-card ul.kv-list li strong { display: block; margin-bottom: 3px; color: var(--brand-ink); }

/* 步骤组件（ol.steps-v2 / div.steps-v2 双形态） */
.text-card .steps-v2 { list-style: none; counter-reset: step; padding: 0; margin: 16px 0; }
.text-card .steps-v2 li {
  position: relative; padding: 14px 16px 14px 54px; margin-bottom: 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .78);
  border: 1px solid var(--brand-line); counter-increment: step;
}
.text-card .steps-v2 li::before {
  content: counter(step); position: absolute; left: 15px; top: 14px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--cta-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.steps-v2 .step-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.steps-v2 .step-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cta-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

/* 多图横排（screenshot-row）*/
.screenshot-row { display: flex; gap: 16px; margin: 16px 0; align-items: flex-start; }
.screenshot-col { flex: 1; min-width: 0; text-align: center; }
.screenshot-col img {
  width: 100%; max-width: 380px; display: block; margin: 0 auto;
  border: 1px solid var(--brand-line); border-radius: 12px;
  box-shadow: 0 10px 26px -16px rgba(24, 28, 36, .3);
}
.screenshot-col .caption { font-size: 12.5px; color: #7A7F88; margin-top: 8px; line-height: 1.6; }
.hero-screenshot {
  width: 100%; max-width: 640px; height: auto; display: block; margin: 16px auto 6px;
  border: 1px solid var(--brand-line); border-radius: 14px;
  box-shadow: 0 14px 32px -20px rgba(24, 28, 36, .3);
}
.hero-screenshot-caption { text-align: center; font-size: 12.5px; color: #7A7F88; margin: 0 0 18px; line-height: 1.5; }

/* 提示框 */
.tip-box, .notice-card {
  background: var(--brand-wash); border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 16px 0;
  font-size: 14.5px; color: #4A4D55;
}

/* ── 11. Hub／实体卡（沿用骨架类名，换肤） ─────────────────── */
.hub-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 18px 0 4px; }
.hub-card-v2 {
  display: block; padding: 20px; border-radius: 18px; color: inherit;
  background: linear-gradient(168deg, rgba(255, 255, 255, .94), rgba(247, 249, 251, .7));
  border: 1px solid var(--brand-line);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hub-card-v2:hover {
  transform: translateY(-3px); border-color: var(--brand);
  box-shadow: 0 16px 34px -20px rgba(35, 40, 51, .38); color: inherit;
}
.hub-card-v2 .card-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-dk);
}
.hub-card-v2 h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; color: #1B1E23; }
.hub-card-v2 p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: #5E6169; }
.hub-card-v2 .card-arrow { font-size: 13px; font-weight: 600; color: var(--brand-dk); }
.entity-card { border: 1px solid var(--brand-line); border-radius: 18px; padding: 22px 24px; margin: 20px 0; }
.entity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.entity-label { font-size: 12px; color: #8A8F98; margin-bottom: 4px; }
.entity-value { font-size: 14.5px; color: #1B1E23; font-weight: 600; }

/* ── 12. FAQ：单卡片、问答扁平（禁止卡片套卡片、禁止 Q 徽标缩进）── */
.faq-v2 { margin: 0 !important; background: transparent !important; border: none !important; padding: 0 !important; }
.faq-v2 h2 { margin: 0 0 14px !important; padding: 0 0 12px !important; border-bottom: 1px solid var(--brand-line) !important; }
.faq-v2 .faq-item-v2 {
  background: transparent !important; border: none !important; border-radius: 0 !important;
  padding: 15px 0 !important; margin: 0 !important;
  border-bottom: 1px solid var(--brand-line) !important;
}
.faq-v2 .faq-item-v2:first-of-type { padding-top: 4px !important; }
.faq-v2 .faq-item-v2:last-child { border-bottom: none !important; padding-bottom: 2px !important; }
.faq-v2 .faq-q {
  display: block !important; padding: 0 !important; margin: 0 0 6px !important;
  font-size: 16px !important; font-weight: 700 !important; color: #1B1E23 !important;
  line-height: 1.6 !important;
}
.faq-v2 .faq-q::before { content: none !important; display: none !important; }
.faq-v2 .faq-a {
  padding: 0 !important; margin: 0 !important;
  font-size: 15px !important; line-height: 1.85 !important; color: #4A4D55 !important;
}

/* ── 13. 按钮族：同色系渐变 ───────────────────────────────── */
.cta-primary, .trust-panel-btn, .compact-dl-btn, .btn-download, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  background: var(--cta-grad) !important;
  color: #fff !important; font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  box-shadow: 0 12px 26px -12px var(--brand-shadow), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .15s, filter .15s;
}
.cta-primary:hover, .trust-panel-btn:hover, .compact-dl-btn:hover, .btn-download:hover, .btn-primary:hover {
  color: #fff !important; filter: brightness(1.08); transform: translateY(-1px);
}
.cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  background: rgba(255, 255, 255, .82) !important;
  color: var(--brand-dk) !important;
  border: 1.5px solid var(--brand-line) !important;
  font-size: 15.5px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
.cta-secondary:hover { color: var(--brand-ink) !important; border-color: var(--brand-lt) !important; }
.compact-download-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 20px 0; }
.compact-badges, .cta-badges { font-size: 12.5px; color: #6B7078; line-height: 1.6; }

/* 信任下载面板（下载页首屏） */
.duba-trust-panel {
  background: linear-gradient(168deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .68));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  padding: 26px 30px; margin: 0 auto 24px; max-width: 720px; text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 20px 44px -28px rgba(24, 28, 36, .3);
}
.trust-panel-brand-row {
  display: flex; justify-content: center; align-items: center; gap: 24px;
  flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: #4A4D55;
}
.trust-panel-brand-row strong { color: #1B1E23; }
.trust-panel-btn { width: 100%; margin-bottom: 14px; }
.trust-panel-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.trust-panel-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: #6B7078; }
.trust-panel-badges span { display: inline-flex; align-items: center; gap: 4px; }
.trust-panel-badges svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }

/* 底部转化区 */
.cta-section-v2 {
  background: var(--cta-grad) !important;
  border-radius: 22px; padding: 38px 32px; text-align: center;
  margin: 26px 0 8px; color: #fff; border: none !important;
  box-shadow: 0 26px 54px -30px rgba(35, 40, 51, .5);
}
.cta-section-v2 h2 { margin: 0 0 8px; font-size: 23px; color: #fff; border: none; }
.cta-section-v2 h2::before { content: none; }
.cta-section-v2 p { margin: 0 0 18px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.cta-section-v2 .cta-primary {
  background: #fff !important; color: var(--brand-dk) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
.cta-section-v2 .cta-primary:hover { background: #fff !important; color: var(--brand-ink) !important; }
.cta-section-v2 .cta-badges { margin-top: 12px; color: rgba(255, 255, 255, .92); }

/* ── 14. 页脚：深色液态玻璃 + 完整站点导航 ─────────────────── */
/* 旧 .footer 骨架样式中和掉；但玻璃页脚自身的深色底必须保住（否则白字落在浅色页面上看不见） */
.footer { border-top: none; padding: 0; margin-top: 44px; }
.footer:not(.glass-footer) { background: transparent !important; }
.glass-footer {
  padding: 50px 0 26px;
  background: linear-gradient(180deg, #14161A 0%, #181B21 60%, #101216 100%) !important;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -24px 52px -34px rgba(8, 12, 26, .45);
}
.footer.glass-footer { background: linear-gradient(180deg, #14161A 0%, #181B21 60%, #101216 100%) !important; }
.glass-footer .footer-grid {
  max-width: 1140px; margin: 0 auto 30px; padding: 0 20px;
  display: grid; grid-template-columns: 1.7fr 1fr 1.5fr 1fr; gap: 34px;
  justify-content: start;
}
.glass-footer .footer-col h4 {
  color: #FFFFFF; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px;
}
.glass-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.glass-footer .footer-col li { margin: 8px 0; }
.glass-footer .footer-col a { color: rgba(255, 255, 255, .8); font-size: 14px; }
.glass-footer .footer-col a:hover { color: #fff; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #fff; margin-bottom: 12px; }
.footer-logo-dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cta-grad);
  box-shadow: 0 0 0 5px rgba(200, 200, 200, .16), 0 0 16px rgba(110, 120, 135, .5);
}
.footer-desc { margin: 0; font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .72); max-width: 320px; }
.footer-bottom {
  max-width: 1140px; margin: 0 auto; padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; text-align: center; color: rgba(255, 255, 255, .7); line-height: 2;
}
.footer-bottom a { color: rgba(255, 255, 255, .82); }
.footer-bottom a:hover { color: #fff; }
.footer-sep { margin-left: 14px; }

/* ── 15. 兜底：不支持 backdrop-filter 的环境 ───────────────── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-hero, .hero-v2, .text-card, .hub-card-v2, .l1-toc, .update-capsule, .duba-trust-panel {
    background: rgba(255, 255, 255, .98);
  }
  .ks-header { background: rgba(255, 255, 255, .99) !important; }
  .footer.glass-footer { background: #14161A !important; }
  body { background: #F7F8FA; }
  body::before, body::after { display: none; }
}

/* ── 16. 响应式 ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .site-hero { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; border-radius: 22px; }
  .site-hero-img { order: 2; }
  .site-hero-text { order: 1; }
  .site-hero-img img { max-width: 100%; }
  .l1-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 860px) {
  .l1-layout { grid-template-columns: 1fr; padding: 6px 16px 24px; }
  .l1-toc { position: static; top: auto; margin-bottom: 16px; max-height: none; }
  .l1-toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .l1-toc li { margin: 0; }
  .l1-toc a { border-left: none; border: 1px solid var(--brand-line); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; }
  .site-hero h1 { font-size: 27px; }
  .hero-v2 { padding: 26px 20px; border-radius: 20px; }
  .hero-v2 h1 { font-size: 24px; }
  .text-card { padding: 22px 20px; border-radius: 18px; }
  .glass-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .ks-header-inner { gap: 12px; height: 58px; }
  .ks-logo-txt { font-size: 17px; }
  .ks-subnav-inner { height: 58px; }
  .screenshot-row { flex-direction: column; }
}
@media (max-width: 620px) {
  .site-hero { padding: 24px 18px; }
  .site-hero h1 { font-size: 24px; }
  .site-hero .cta-primary, .site-hero .cta-secondary { flex: 1 1 100%; width: 100%; }
  .glass-footer .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
