/* ==========================================================================
   V2Ray 官方下载站 — 首页样式
   设计基调：浅色暖调纸感背景 + 墨绿(teal) → 琥珀(amber) 双色强调，
   区别于常见的蓝白 SaaS 站配色
   ========================================================================== */

:root {
  --c-text: #201d17;
  --c-text-2: #5c5748;
  --c-text-3: #8b8574;
  --c-primary: #0d9488;
  --c-primary-2: #f59e0b;
  --c-primary-dark: #0f766e;
  --c-primary-grad: linear-gradient(135deg, #0d9488, #f59e0b);
  --c-ink: #161310;
  --c-bg: #fbf8f2;
  --c-bg-soft: #f3ecdd;
  --c-bg-elevated: #ffffff;
  --c-border: #e6dcc4;
  --c-border-soft: #eee6d4;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(32, 29, 23, .06);
  --shadow-md: 0 8px 24px -8px rgba(32, 29, 23, .14);
  --shadow-lg: 0 18px 40px -14px rgba(15, 118, 110, .22);
  --shadow-glow: 0 0 0 1px rgba(13, 148, 136, .18), 0 16px 36px -10px rgba(245, 158, 11, .26);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }

/* 页面间跳转过渡：支持的浏览器（Chrome/Edge 126+）会以淡入淡出替代
   整页刷新的白屏硬切，缓解页面切换时 header/footer 注入造成的抖动感；
   不支持的浏览器会忽略该声明，回退为普通跳转，不影响功能。 */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) { animation-duration: .12s; }
::view-transition-new(root) { animation-duration: .18s; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { vertical-align: middle; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }

h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 700; color: var(--c-text); }
p { margin: 0; }

::selection { background: rgba(13, 148, 136, .2); color: var(--c-ink); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

.ico { flex-shrink: 0; }

/* ---------- 无障碍 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 18px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--c-primary-grad);
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(13, 148, 136, .4);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(245, 158, 11, .45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--c-bg-elevated);
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-ghost:hover {
  color: var(--c-primary-dark);
  border-color: var(--c-primary);
  background: rgba(13, 148, 136, .06);
}

.btn-white {
  background: #fff;
  color: var(--c-primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { color: var(--c-primary-dark); transform: translateY(-1px); }

.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-block { width: 100%; margin-top: 14px; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--c-border-soft);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-color: var(--c-border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.01em;
  justify-self: start;
}
.brand:hover { color: var(--c-text); }
.brand-mark { display: inline-flex; }
.brand-mark img { display: block; border-radius: 8px; }
.brand-name em {
  font-style: normal;
  font-weight: 600;
  color: var(--c-text-3);
}

.nav-pill {
  display: flex;
  gap: 2px;
  justify-self: center;
  background: rgba(32, 29, 23, .035);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 5px;
}
.nav-pill a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--c-text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav-pill a:hover { color: var(--c-text); background: rgba(32, 29, 23, .05); }
.nav-pill a[aria-current="page"] {
  color: #fff;
  background: var(--c-primary-grad);
  font-weight: 700;
  box-shadow: 0 4px 14px -3px rgba(13, 148, 136, .4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

/* 语言切换：details 实现，无 JS 也可用 */
.lang-switch { position: relative; }
.lang-switch summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--c-border);
  font-size: 14px;
  color: var(--c-text-2);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color .15s ease, color .15s ease;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--c-primary); color: var(--c-primary-dark); }
.lang-switch .chev { transition: transform .2s ease; }
.lang-switch[open] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--c-bg-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.lang-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--c-text-2);
  font-size: 14px;
}
.lang-menu a:hover { background: var(--c-bg-soft); color: var(--c-text); }
.lang-menu a[aria-current="true"] {
  color: var(--c-primary-dark);
  background: rgba(13, 148, 136, .1);
  font-weight: 600;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(32, 29, 23, .06); }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ==========================================================================
   Hero：非对称分栏 + 斜切影像面板
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border-soft);
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  background:
    url("../../../assets/img/pattern-dots.svg") repeat,
    linear-gradient(155deg, rgba(13, 148, 136, .16), rgba(245, 158, 11, .12)),
    var(--c-bg-soft);
}
.orbit-figure {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(13, 148, 136, .32);
}
.orbit-ring.ring-1 { width: 220px; height: 220px; }
.orbit-ring.ring-2 { width: 340px; height: 340px; border-color: rgba(245, 158, 11, .26); }
.orbit-ring.ring-3 { width: 460px; height: 460px; border-color: rgba(13, 148, 136, .16); border-style: solid; }

.orbit-core {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--c-primary-grad);
  box-shadow: 0 32px 60px -16px rgba(15, 118, 110, .45);
}
.orbit-core i { font-size: 58px; color: #fff; }

/* 轨道节点：用光点代替会重叠的文字气泡 */
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-primary-grad);
  box-shadow: 0 0 0 5px rgba(13, 148, 136, .14), 0 4px 10px -2px rgba(15, 118, 110, .4);
  animation: node-pulse 3.2s ease-in-out infinite;
}
.node-1 { margin: -170px 0 0 -7px; }
.node-2 { margin: 85px 0 0 140px; animation-delay: .6s; }
.node-3 { margin: 85px 0 0 -154px; animation-delay: 1.2s; }
.node-4 { width: 10px; height: 10px; margin: -105px 0 0 223px; animation-delay: 1.8s; }
.node-5 { width: 10px; height: 10px; margin: -65px 0 0 -217px; animation-delay: 2.4s; }

@keyframes node-pulse {
  0%, 100% { opacity: .5; box-shadow: 0 0 0 5px rgba(13, 148, 136, .12), 0 4px 10px -2px rgba(15, 118, 110, .35); }
  50%      { opacity: 1; box-shadow: 0 0 0 9px rgba(13, 148, 136, .18), 0 6px 14px -2px rgba(15, 118, 110, .5); }
}
.hero-visual-stat {
  position: absolute;
  left: 9%;
  bottom: 13%;
  display: flex;
  flex-direction: column;
  background: var(--c-bg-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
}
.hero-visual-stat strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: -.01em;
}
.hero-visual-stat span { font-size: 12.5px; color: var(--c-text-3); }

.hero-vtag {
  position: absolute;
  left: 18px;
  top: 220px;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-text-3);
  white-space: nowrap;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 84px;
  padding-bottom: 100px;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-content { max-width: 600px; padding-left: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13, 148, 136, .1);
  border: 1px solid rgba(13, 148, 136, .28);
  color: var(--c-primary-dark);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 18px;
  color: var(--c-text);
}

.hero .tagline {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 600;
  color: var(--c-primary-dark);
  margin-bottom: 16px;
}

.hero .desc {
  font-size: 16.5px;
  color: var(--c-text-2);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero .desc strong { color: var(--c-text); }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-version {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--c-text-3);
}
.hero-version strong { color: var(--c-text-2); }
.hero-version .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d9488;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .18);
}

/* ==========================================================================
   协议跑马灯
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--c-text-2);
  white-space: nowrap;
}
.marquee-track span i { color: var(--c-primary-dark); font-size: 13px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   优势 Bento Grid
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, minmax(128px, auto));
  gap: 18px;
  grid-template-areas:
    "a a b c"
    "a a d d"
    "e f g g";
}

.bento-cell {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-elevated);
  box-shadow: var(--shadow-sm);
}

.bento-a { grid-area: a; }
.bento-d { grid-area: d; }
.bento-g { grid-area: g; }
.bento-cell:nth-of-type(2) { grid-area: b; }
.bento-cell:nth-of-type(3) { grid-area: c; }
.bento-cell:nth-of-type(5) { grid-area: e; }
.bento-cell:nth-of-type(6) { grid-area: f; }

.bento-a, .bento-d, .bento-g {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
}
.bento-a {
  justify-content: flex-start;
  background: linear-gradient(155deg, rgba(13, 148, 136, .1), rgba(245, 158, 11, .06)), var(--c-bg-elevated);
}
.bento-a > i {
  font-size: 30px;
  color: var(--c-primary-dark);
}
.bento-a h2, .bento-d h2, .bento-g h2 { font-size: 19px; margin-bottom: 8px; }
.bento-a p, .bento-d p, .bento-g p { font-size: 14.5px; color: var(--c-text-2); }

.bento-d, .bento-g {
  flex-direction: row;
  align-items: center;
  padding: 26px 28px;
}
.bento-d > i, .bento-g > i {
  flex-shrink: 0;
  font-size: 26px;
  color: var(--c-primary-dark);
}

.bento-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 20px;
}
.bento-stat strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.01em;
  background: var(--c-primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bento-stat span { font-size: 12.5px; color: var(--c-text-3); }

/* ==========================================================================
   内页页头（下载 / 教程等子页面通用）
   ========================================================================== */
.page-head {
  padding: 56px 0 40px;
  text-align: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--c-text-3);
}
.breadcrumb a { color: var(--c-text-2); font-weight: 500; }
.breadcrumb a:hover { color: var(--c-primary-dark); }
.breadcrumb i { font-size: 10px; }
.breadcrumb span { color: var(--c-text-3); }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.page-head .desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--c-text-2);
  font-size: 16.5px;
}
.page-head .desc strong { color: var(--c-text); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--c-text-3);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta i { color: var(--c-primary); }

/* ==========================================================================
   区块通用
   ========================================================================== */
.section { padding: 72px 0; }
.section-alt {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.section-head.center {
  justify-content: center;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -.01em;
}

.section-sub {
  margin-top: 10px;
  color: var(--c-text-2);
  font-size: 15.5px;
  max-width: 640px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 4px;
}
.more:hover { gap: 9px; }
.more { transition: gap .15s ease; }

/* ==========================================================================
   全平台下载：自选式 Tab（纯 CSS，无需 JS）
   ========================================================================== */
.os-tabs { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }

.os-tab-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }

.os-tab-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.os-tab-rail label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--c-text-2);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.os-tab-rail label i { font-size: 19px; width: 22px; text-align: center; flex-shrink: 0; }
.os-tab-rail label:hover { background: var(--c-bg-elevated); border-color: var(--c-border); }

#ostab-win:checked ~ .os-tab-rail label[for="ostab-win"],
#ostab-mac:checked ~ .os-tab-rail label[for="ostab-mac"],
#ostab-linux:checked ~ .os-tab-rail label[for="ostab-linux"],
#ostab-android:checked ~ .os-tab-rail label[for="ostab-android"] {
  background: var(--c-bg-elevated);
  border-color: var(--c-border);
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
}
#ostab-win:checked ~ .os-tab-rail label[for="ostab-win"] i,
#ostab-mac:checked ~ .os-tab-rail label[for="ostab-mac"] i,
#ostab-linux:checked ~ .os-tab-rail label[for="ostab-linux"] i,
#ostab-android:checked ~ .os-tab-rail label[for="ostab-android"] i {
  color: var(--c-primary-dark);
}

.os-tab-panels { position: relative; }
.os-panel {
  display: none;
  gap: 26px;
  padding: 36px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-elevated);
  box-shadow: var(--shadow-sm);
}
#ostab-win:checked ~ .os-tab-panels #panel-win,
#ostab-mac:checked ~ .os-tab-panels #panel-mac,
#ostab-linux:checked ~ .os-tab-panels #panel-linux,
#ostab-android:checked ~ .os-tab-panels #panel-android {
  display: flex;
}

.os-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  flex-shrink: 0;
}
.os-ico i { font-size: 38px; }
.os-win     { background: rgba(14, 165, 233, .1);   color: #0ea5e9; }
.os-mac     { background: rgba(100, 116, 139, .1);  color: #475569; }
.os-linux   { background: rgba(217, 119, 6, .12);   color: #d97706; }
.os-android { background: rgba(22, 163, 74, .12);   color: #16a34a; }

.os-panel-main h3 { font-size: 24px; margin-bottom: 8px; }
.os-panel-main > p { font-size: 15px; color: var(--c-text-2); max-width: 480px; margin-bottom: 18px; }

.os-panel-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.os-panel-specs span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(13, 148, 136, .08);
  border: 1px solid rgba(13, 148, 136, .2);
  color: var(--c-primary-dark);
  font-size: 13px;
  font-weight: 600;
}

.alt-client {
  margin-top: 14px;
  font-size: 13px;
  color: var(--c-text-3);
}

.tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .3);
  color: #78350f;
  font-size: 14.5px;
}
.tip .ico { margin-top: 3px; color: #b45309; }
.tip strong { color: #78350f; }

/* ==========================================================================
   下载页：快速跳转 + 平台卡片
   ========================================================================== */
.quick-nav {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-border-soft);
}
.quick-nav-inner {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-nav-inner::-webkit-scrollbar { display: none; }
.quick-nav-inner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--c-text-2);
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.quick-nav-inner a:hover {
  background: var(--c-bg-elevated);
  border-color: var(--c-border);
  color: var(--c-primary-dark);
}

.dl-section, #faq { scroll-margin-top: 116px; }

.dl-card {
  padding: 36px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-elevated);
  box-shadow: var(--shadow-sm);
}

.dl-card-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 28px;
}
.dl-card-head h2 { font-size: 26px; margin-bottom: 8px; }
.dl-card-head h3 { font-size: 19px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.dl-card-head p { color: var(--c-text-2); font-size: 15px; max-width: 520px; }

.dl-tag-rec {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--c-primary-grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.dl-app { padding-left: 98px; }
.dl-primary { width: auto; }

.dl-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.dl-secondary-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-3);
  margin-right: 2px;
}
.dl-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text-2);
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: var(--c-bg-elevated);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.dl-secondary a i { font-size: 12px; color: var(--c-text-3); transition: color .15s ease; }
.dl-secondary a:hover {
  color: var(--c-primary-dark);
  border-color: var(--c-primary);
  background: rgba(13, 148, 136, .07);
  transform: translateY(-1px);
}
.dl-secondary a:hover i { color: var(--c-primary-dark); }

.dl-arch-dual {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hint {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--c-text-3);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hint i { margin-top: 2px; color: var(--c-primary); flex-shrink: 0; }

.dl-software-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dl-card--app { padding: 30px; }
.dl-card--app .dl-app { padding-left: 90px; }
.dl-card--app .os-ico { width: 64px; height: 64px; border-radius: 16px; }
.dl-card--app .os-ico i { font-size: 30px; }

/* ==========================================================================
   三步上手：竖向时间线
   ========================================================================== */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 66px;
  bottom: -2px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--c-border) 0 5px, transparent 5px 10px);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:last-child::before { display: none; }

.tl-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-primary);
  padding-top: 4px;
}

.tl-body {
  position: relative;
  padding: 24px 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-elevated);
  box-shadow: var(--shadow-sm);
}
.tl-ico {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 30px;
  color: var(--c-primary);
  opacity: .14;
}
.tl-body h3 { font-size: 17.5px; margin-bottom: 8px; padding-right: 40px; }
.tl-body p { font-size: 14.5px; color: var(--c-text-2); }

.center-cta { text-align: center; margin-top: 34px; }

/* ==========================================================================
   教程卡片
   ========================================================================== */
.guide-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-elevated);
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(245, 158, 11, .35);
  color: var(--c-text);
}

.g-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  margin-bottom: 18px;
}
.g-blue   { background: rgba(13, 148, 136, .1);   color: var(--c-primary-dark); }
.g-violet { background: rgba(124, 58, 237, .1);   color: #7c3aed; }
.g-amber  { background: rgba(245, 158, 11, .12);  color: #d97706; }

.guide-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.guide-card p { font-size: 14.5px; color: var(--c-text-2); margin-bottom: 18px; }

.g-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary-dark);
  transition: gap .15s ease;
}
.guide-card:hover .g-more { gap: 9px; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.guide-grid .guide-card { height: 100%; }

/* ==========================================================================
   FAQ：分类图标标题
   ========================================================================== */
.faq-cat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.faq-cat-head > i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(13, 148, 136, .1);
  color: var(--c-primary-dark);
  font-size: 17px;
}
.faq-cat-head h2 { font-size: 20px; margin: 0; }
.faq-cat-head .faq-count {
  flex-shrink: 0;
  margin-left: auto;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  color: var(--c-text-3);
  font-size: 12.5px;
  font-weight: 600;
}

/* ==========================================================================
   FAQ：双栏网格
   ========================================================================== */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-bg-elevated);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: rgba(13, 148, 136, .35); box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-bg-soft); }

.faq-item summary h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 0;
}

.faq-item .chev {
  color: var(--c-text-3);
  transition: transform .2s ease;
}
.faq-item[open] .chev { transform: rotate(180deg); }

.faq-item > p {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--c-text-2);
}

/* ==========================================================================
   资讯卡片
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-elevated);
  color: var(--c-text);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(13, 148, 136, .35);
  color: var(--c-text);
}

.blog-card .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}
.t-blue   { background: linear-gradient(135deg, rgba(13,148,136,.14), rgba(13,148,136,.04));  color: var(--c-primary-dark); }
.t-violet { background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(124,58,237,.04));  color: #7c3aed; }
.t-green  { background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(245,158,11,.04));  color: #d97706; }

.blog-card .body { padding: 20px 22px 24px; }

.blog-card .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--c-text-3);
  margin-bottom: 10px;
}
.blog-card .tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(13, 148, 136, .1);
  color: var(--c-primary-dark);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  transition: color .15s ease;
}
.blog-card:hover h3 { color: var(--c-primary-dark); }
.blog-card .body > p:last-child { font-size: 14px; color: var(--c-text-2); }

/* ==========================================================================
   底部 CTA
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 5.5%, 100% 0, 100% 94.5%, 0 100%);
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 45%, #d97706 100%);
  color: #fff;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 400px;
  height: 320px;
  background: url("../../../assets/img/network.svg") center / contain no-repeat;
  opacity: .16;
  pointer-events: none;
}
.cta-band::before { left: -110px; transform: translateY(-50%) rotate(-12deg); }
.cta-band::after  { right: -110px; transform: translateY(-50%) rotate(12deg); }

.cta-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .07);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 68px;
  padding-bottom: 68px;
}

.cta-band h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 8px; color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 15.5px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: var(--c-ink);
  color: #a29b87;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-brand .brand { color: #fbf8f2; margin-bottom: 14px; }
.footer-brand .brand-name em { color: #6b6355; }
.footer-brand p { max-width: 240px; font-size: 13.5px; line-height: 1.7; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #d8d0bd;
  margin-bottom: 6px;
}
.footer-col a { color: #a29b87; font-size: 13.5px; }
.footer-col a:hover { color: #fbf8f2; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px;
  color: #6b6355;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a a"
      "b c"
      "d d"
      "e f"
      "g g";
  }
  .bento-a, .bento-d, .bento-g { padding: 26px; }

  .os-tabs { grid-template-columns: 200px 1fr; }

  .hero-visual { width: 40%; }
  .hero-content { max-width: 480px; padding-left: 20px; }
  .hero-vtag { top: 180px; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto auto; }

  .hero-vtag { display: none; }
  .hero-visual {
    position: relative;
    width: 100%;
    height: 300px;
    clip-path: none;
    margin-bottom: 8px;
  }
  .orbit-ring.ring-1 { width: 160px; height: 160px; }
  .orbit-ring.ring-2 { width: 244px; height: 244px; }
  .orbit-ring.ring-3 { width: 320px; height: 320px; }
  .orbit-core { width: 104px; height: 104px; }
  .orbit-core i { font-size: 40px; }
  .node-1 { margin: -118px 0 0 -7px; }
  .node-2 { margin: 58px 0 0 96px; }
  .node-3 { margin: 58px 0 0 -106px; }
  .node-4 { margin: -72px 0 0 154px; }
  .node-5 { margin: -44px 0 0 -148px; }
  .hero-visual-stat { left: 6%; bottom: 6%; }
  .hero-inner {
    padding-top: 40px;
    padding-bottom: 52px;
    text-align: center;
    min-height: auto;
  }
  .hero-content { max-width: none; padding-left: 0; }
  .hero .desc { margin-left: auto; margin-right: auto; }
  .hero-buttons, .hero-version { justify-content: center; }

  /* 统计类卡片信息量小，手机端仍保持两两并排，避免一张卡占满一屏 */
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a a"
      "b c"
      "d d"
      "e f"
      "g g";
    gap: 12px;
  }
  .bento-a, .bento-d, .bento-g { padding: 22px; }
  .bento-stat { padding: 16px 12px; }
  .bento-stat strong { font-size: 22px; }

  .os-tabs { grid-template-columns: 1fr; }
  .os-tab-rail { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .os-tab-rail label { flex-shrink: 0; }
  .os-panel { flex-direction: column; padding: 28px; }

  .dl-card-head { flex-direction: column; }
  .dl-app, .dl-card--app .dl-app { padding-left: 0; }
  .dl-software-grid { grid-template-columns: 1fr; }

  .mod-grid, .mod-grid--2 { grid-template-columns: 1fr; }

  .guide-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .faq-list { grid-template-columns: 1fr; }

  .timeline-item { grid-template-columns: 56px 1fr; gap: 16px; }
  .timeline-item::before { left: 27px; }
  .tl-num { font-size: 30px; -webkit-text-stroke: 1.5px var(--c-primary); }

  .section { padding: 56px 0; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 28px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .cta-ghost { font-size: 90px; }

  /* 移动端导航：折叠为下拉面板 */
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .nav-pill {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    justify-self: stretch;
    width: auto;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px 16px;
    margin: 0;
    background: var(--c-bg-elevated);
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-pill.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-pill a { padding: 11px 14px; font-size: 15.5px; border-radius: var(--radius-sm); }
  .nav-pill a[aria-current="page"] {
    color: var(--c-primary-dark);
    background: rgba(13, 148, 136, .1);
    font-weight: 700;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .brand-name { font-size: 17px; }
  .lang-switch summary .lang-text { display: none; }
  .lang-switch summary { padding: 8px 10px; }

  /* 手机端隐藏装饰性插画，确保首屏能直接看到标题和下载按钮，无需先滚动 */
  .hero-visual { display: none; }
  .hero-inner { padding-top: 24px; padding-bottom: 36px; }
  .eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 12px; }
  .hero .tagline { margin-bottom: 12px; }
  .hero .desc { margin-bottom: 20px; }
  .hero-buttons { margin-bottom: 18px; }

  .bento-d, .bento-g { flex-direction: column; align-items: flex-start; }

  .os-panel { padding: 22px; }
  .os-ico { width: 60px; height: 60px; }
  .os-ico i { font-size: 28px; }
  .os-panel-main h3 { font-size: 20px; }
  .dl-card--app .dl-app { padding-left: 0; }
  .dl-card--app .os-ico { width: 52px; height: 52px; }
  .dl-card--app .os-ico i { font-size: 24px; }

  .dl-card { padding: 24px; }
  .dl-card-head { gap: 14px; }
  .dl-card-head h2 { font-size: 22px; }
  .dl-app, .dl-card--app .dl-app { padding-left: 0; margin-top: 8px; }
  .dl-arch-dual { flex-direction: column; }
  .dl-arch-dual .btn { width: 100%; }

  .guide-card, .blog-card .body, .mod-card { padding: 20px; }
  .article-hero-thumb { height: 150px; }
  .article-hero-thumb i { font-size: 44px; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; }
}

/* ==========================================================================
   长文教程页：侧边目录 + 正文两栏布局
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 216px 1fr;
  gap: 52px;
  align-items: start;
  padding: 56px 0 80px;
}

.article-toc {
  position: sticky;
  top: 92px;
}
.article-toc-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 14px;
}
.article-toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--c-border-soft);
}
.article-toc a {
  padding: 7px 0 7px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-2);
  transition: color .15s ease, border-color .15s ease;
}
.article-toc a:hover { color: var(--c-primary-dark); }
.article-toc a.active {
  color: var(--c-primary-dark);
  font-weight: 700;
  border-left-color: var(--c-primary);
}
.article-toc-cta {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-bg-elevated);
}
.article-toc-cta p {
  font-size: 13.5px;
  color: var(--c-text-2);
  margin-bottom: 12px;
  line-height: 1.5;
}

.article-body { min-width: 0; }
.article-body > section {
  scroll-margin-top: 92px;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--c-border-soft);
}
.article-body > section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}
.article-body h2 {
  font-size: clamp(20px, 2.6vw, 24px);
  margin-bottom: 14px;
}
.article-body > section > p {
  color: var(--c-text-2);
  font-size: 15.5px;
  margin-bottom: 22px;
}
.article-body .timeline,
.article-body .spec-list { margin-top: 4px; }
.article-body .tip,
.article-body .hint { margin-top: 22px; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 0 56px; }
  .article-toc {
    position: sticky;
    top: 60px;
    z-index: 40;
    min-width: 0;
    margin: 0 -24px 32px;
    padding: 12px 24px;
    background: rgba(251, 248, 242, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--c-border-soft);
  }
  .article-toc-label { display: none; }
  .article-toc nav {
    flex-direction: row;
    gap: 8px;
    border-left: none;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .article-toc nav::-webkit-scrollbar { display: none; }
  .article-toc a {
    flex-shrink: 0;
    padding: 7px 14px;
    margin-left: 0;
    border-left: none;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    white-space: nowrap;
  }
  .article-toc a.active {
    border-color: var(--c-primary);
    background: rgba(13, 148, 136, .08);
  }
  .article-toc-cta { display: none; }
}

@media (max-width: 560px) {
  .article-toc { margin: 0 -18px 32px; padding: 12px 18px; }
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.mod-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* 紧凑列表：图标 + 加粗小标题 + 说明文字同行排布，信息密度更高，占用空间更小 */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}
.spec-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--c-border);
}
.spec-item:last-child { border-bottom: none; padding-bottom: 0; }
.spec-item > i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(13, 148, 136, .1);
  color: var(--c-primary-dark);
  font-size: 14.5px;
  margin-top: 1px;
}
.spec-item .spec-body { flex: 1; min-width: 0; }
.spec-item .spec-body p {
  margin: 2px 0 0;
  color: var(--c-text-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.spec-item .spec-body strong { color: var(--c-text); font-size: 15.5px; }

.spec-list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}
.spec-list--grid .spec-item { border-bottom: none; padding-bottom: 0; }
@media (max-width: 1024px) {
  .spec-list--grid { grid-template-columns: 1fr; gap: 16px; }
}

.spec-item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.spec-item--link .spec-arrow {
  align-self: center;
  flex-shrink: 0;
  color: var(--c-text-3);
  font-size: 13px;
  transition: transform .15s ease, color .15s ease;
}
.spec-item--link:hover .spec-body strong { color: var(--c-primary-dark); }
.spec-item--link:hover .spec-arrow { color: var(--c-primary-dark); transform: translateX(3px); }

.mod-card {
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg-elevated);
  box-shadow: var(--shadow-sm);
}
.mod-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(13, 148, 136, .1);
  color: var(--c-primary-dark);
  font-size: 17px;
}
.mod-card h3 { font-size: 16px; margin-bottom: 8px; }
.mod-card p { font-size: 14px; color: var(--c-text-2); }

.mod-card--link {
  display: block;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mod-card--link:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.mod-card--link h3 { color: var(--c-primary-dark); }

code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--c-bg-soft);
  font-size: .92em;
  color: var(--c-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ==========================================================================
   博客文章：正文排版（prose）
   ========================================================================== */
.article-hero-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.article-hero-thumb i { font-size: 56px; }

.prose { font-size: 16px; color: var(--c-text-2); }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  margin-top: 44px;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; font-weight: 700; color: var(--c-text); margin-top: 30px; }
.prose p { line-height: 1.85; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { line-height: 1.75; }
.prose strong { color: var(--c-text); }
.prose a { text-decoration: underline; text-decoration-color: var(--c-border); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--c-primary); }
.prose blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 6px 20px;
  background: var(--c-bg-soft);
  border-radius: 0 8px 8px 0;
  color: var(--c-text-2);
  font-size: 15px;
}
.prose pre {
  background: var(--c-ink);
  color: #e8e6df;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.65;
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: none; border-top: 1px solid var(--c-border); }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border-soft);
}
.article-tags a {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  color: var(--c-text-2);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s ease, color .15s ease;
}
.article-tags a:hover { border-color: var(--c-primary); color: var(--c-primary-dark); }

/* 文章结尾引导下载卡片 */
.article-dl-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--c-primary-grad);
  color: #fff;
}
.article-dl-card > i {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
  font-size: 22px;
}
.article-dl-card .body { flex: 1; min-width: 0; }
.article-dl-card h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.article-dl-card p { color: rgba(255, 255, 255, .88); font-size: 14px; }
.article-dl-card .btn { flex-shrink: 0; }

@media (max-width: 560px) {
  .article-dl-card { flex-direction: column; text-align: center; }
}

/* 右下角悬浮下载引导 */
.float-dl {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 16px;
  border-radius: 999px;
  background: var(--c-bg-elevated);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  animation: float-dl-in .4s ease .6s backwards;
}
.float-dl.is-hidden { display: none; }
.float-dl a.float-dl-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
}
.float-dl-link i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary-grad);
  color: #fff;
  font-size: 14px;
}
.float-dl-link strong { display: block; font-size: 13.5px; }
.float-dl-link small { display: block; color: var(--c-text-3); font-size: 11.5px; }
.float-dl-close {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--c-bg-soft);
  color: var(--c-text-3);
  font-size: 11px;
  cursor: pointer;
}
.float-dl-close:hover { background: var(--c-border); color: var(--c-text); }

@keyframes float-dl-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .float-dl { left: 16px; right: 16px; bottom: 16px; }
  .float-dl-link small { display: none; }
}

/* ==========================================================================
   视觉增强：Font Awesome 图标 + 装饰图片
   ========================================================================== */

/* ---------- 图标基准与各处尺寸 ---------- */
.fa-solid, .fa-brands { line-height: 1; }

.eyebrow .fa-solid { font-size: 12px; }
.btn .fa-solid { font-size: .95em; }
.lang-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--c-primary-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.lang-switch summary .chev { font-size: 11px; }
.nav-toggle i { font-size: 20px; }
.g-ico i { font-size: 20px; }
.thumb i { font-size: 36px; }
.more i, .g-more i { font-size: 12px; }
.faq-item summary .chev { font-size: 14px; }
.tip i { font-size: 16px; margin-top: 4px; color: #b45309; flex-shrink: 0; }

/* ---------- 页脚链接图标 ---------- */
.footer-col a i {
  width: 20px;
  margin-right: 6px;
  font-size: 13px;
  color: #6b6355;
  text-align: center;
  transition: color .15s ease;
}
.footer-col a:hover i { color: #fbbf24; }

/* ---------- 视觉增强的响应式 ---------- */
@media (max-width: 860px) {
  .cta-band::before, .cta-band::after { display: none; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
