/* ============================================================
   OpenScope 技术站 — 「深夜实验室 · 示波器工作台」主题
   深墨仪器面板 + 荧光绿轨迹 + 等宽数据读数
   ============================================================ */

:root {
  --bg: #060a12;
  --bg-alt: #0a111f;
  --panel: #0c1526;
  --panel-2: #101b30;
  --line: rgba(130, 170, 215, .14);
  --line-strong: rgba(130, 170, 215, .28);

  --txt: #dce7f2;
  --txt-dim: #93a7bd;
  --txt-faint: #5d7087;

  --green: #46f2a0;      /* 荧光绿 · CH1 */
  --green-dim: rgba(70, 242, 160, .13);
  --cyan: #56c8f0;       /* 通道青 · CH2 */
  --amber: #f2b84b;      /* 光标琥珀 · CH3 */
  --red: #ff5d5d;

  --font-display: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;

  --radius: 14px;
  --topbar-h: 62px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: none; }

::selection { background: rgba(70, 242, 160, .28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #052015;
  padding: 10px 18px; font-weight: 700; z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

code, kbd {
  font-family: var(--font-mono);
  font-size: .86em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 7px;
  color: var(--cyan);
  white-space: nowrap;
}
kbd {
  border-bottom-width: 2px;
  color: var(--txt);
  font-size: .8em;
  padding: 1px 6px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease,
              color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--green);
  color: #052015;
  box-shadow: 0 0 24px rgba(70, 242, 160, .28), 0 4px 14px rgba(0, 0, 0, .4);
}
.btn-primary:hover {
  background: #6cf7b4;
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(70, 242, 160, .4), 0 8px 20px rgba(0, 0, 0, .45);
}

.btn-ghost {
  background: transparent;
  color: var(--txt);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(70, 242, 160, .14);
}

.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-sm { padding: 7px 16px; font-size: .88rem; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: rgba(6, 10, 18, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--txt);
  flex-shrink: 0;
}
.brand-mark { color: var(--green); filter: drop-shadow(0 0 6px rgba(70,242,160,.5)); }
.brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .02em;
}
.brand-sub {
  font-size: .74rem;
  color: var(--txt-faint);
  border-left: 1px solid var(--line-strong);
  padding-left: 10px;
  margin-top: 2px;
}
.topnav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  color: var(--txt-dim);
  font-size: .9rem;
  padding: 7px 12px;
  border-radius: 7px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.topnav a:hover { color: var(--txt); background: rgba(130,170,215,.08); }
.topnav a.active { color: var(--green); background: var(--green-dim); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ver-chip {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--green);
  border: 1px solid rgba(70, 242, 160, .4);
  background: var(--green-dim);
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* 背景栅格（示波器标度线） */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 20%, #000 30%, transparent 75%);
}
/* CRT 扫描线 + 暗角 */
.hero-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 120% 100% at 50% 0%, transparent 55%, rgba(3,5,10,.55) 100%);
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .22em;
  color: var(--green);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: '▍';
  margin-right: 8px;
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.3;
  letter-spacing: .005em;
  margin-bottom: 22px;
}
.hero-title .accent {
  color: var(--green);
  text-shadow: 0 0 26px rgba(70, 242, 160, .45);
}
.hero-lead {
  color: var(--txt-dim);
  font-size: 1.04rem;
  max-width: 34em;
  margin-bottom: 30px;
}
.hero-lead .hl { color: var(--txt); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  width: fit-content;
  background: rgba(10, 17, 31, .6);
}
.hero-specs li {
  padding: 12px 20px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-specs li:first-child { border-left: none; }
.hero-specs b {
  font-family: var(--font-mono);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}
.hero-specs span { font-size: .76rem; color: var(--txt-faint); white-space: nowrap; }

/* ---------- 示波器面板 ---------- */
.hero-scope { perspective: 1200px; }
.scope-panel {
  background: linear-gradient(180deg, #0a1120 0%, #070c17 100%);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .55),
    0 0 0 6px rgba(130, 170, 215, .03),
    0 0 46px rgba(70, 242, 160, .07);
  position: relative;
  transform: rotateY(-4deg) rotateX(1.5deg);
  transition: transform .5s ease;
}
.hero-scope:hover .scope-panel { transform: rotateY(0deg) rotateX(0deg); }
/* 四角螺丝 */
.scope-panel::before,
.scope-panel::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3d4c66, #141c2e 70%);
  box-shadow: inset 0 0 2px #000, 0 1px 2px rgba(0,0,0,.6);
}
.scope-panel::before { top: 8px; left: 8px; }
.scope-panel::after { top: 8px; right: 8px; }

.scope-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--txt-dim);
}
.scope-led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: led-pulse 2.4s ease-in-out infinite;
}
@keyframes led-pulse { 50% { opacity: .55; } }
.scope-name { font-weight: 700; color: var(--txt); }
.scope-name em { font-style: normal; color: var(--txt-faint); margin-left: 6px; }
.scope-state { margin-left: auto; color: var(--green); }

.scope-screen {
  width: 100%;
  height: auto;
  display: block;
  background:
    radial-gradient(ellipse 100% 90% at 50% 45%, rgba(70, 242, 160, .05), transparent 70%),
    #04070d;
}
/* 标度线 */
.graticule path {
  stroke: rgba(110, 150, 200, .13);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  fill: none;
}
.graticule .graticule-center { stroke: rgba(110, 150, 200, .2); stroke-dasharray: none; }

/* 轨迹 */
.trace {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pathLength: 1000;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.trace-ch1 { stroke: var(--green); filter: drop-shadow(0 0 5px rgba(70,242,160,.8)); }
.trace-ch2 { stroke: var(--cyan); filter: drop-shadow(0 0 5px rgba(86,200,240,.7)); }
.trace-ch3 { stroke: var(--amber); filter: drop-shadow(0 0 5px rgba(242,184,75,.6)); }

.traces.animated .trace { animation: trace-draw 2.6s cubic-bezier(.3,.6,.3,1) forwards; }
.traces.animated .trace-ch2 { animation-delay: .35s; }
.traces.animated .trace-ch3 { animation-delay: .7s; }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }

.sample-dots circle { opacity: .85; }

/* 测量光标 */
.cursor { animation: cursor-sweep 9s cubic-bezier(.45,0,.35,1) infinite; }
@keyframes cursor-sweep {
  0%   { transform: translateX(0); }
  88%  { transform: translateX(640px); }
  100% { transform: translateX(640px); opacity: 0; }
}
.cursor-v {
  stroke: var(--amber);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}
.cursor-h {
  stroke: rgba(242, 184, 75, .5);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}
.cursor-tag {
  fill: rgba(242, 184, 75, .16);
  stroke: var(--amber);
  stroke-width: 1;
}
.cursor-tag-text {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--amber);
}

.ch-legend line {
  stroke-width: 2;
  stroke-linecap: round;
}
.legend-ch1 { stroke: var(--green); }
.legend-ch2 { stroke: var(--cyan); }
.legend-ch3 { stroke: var(--amber); }
.legend-text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--txt-dim);
}

.scope-footer {
  display: flex;
  gap: 26px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--txt-faint);
  flex-wrap: wrap;
}
.scope-footer b { color: var(--green); font-weight: 500; }
.scope-stat-right { margin-left: auto; color: var(--green); }

/* ---------- 章节通用 ---------- */
.section {
  padding: 92px 0;
  scroll-margin-top: calc(var(--topbar-h) + 8px);
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-head { margin-bottom: 52px; }
.section-index {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .24em;
  color: var(--green);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.section-lead {
  color: var(--txt-dim);
  max-width: 40em;
  font-size: 1rem;
}
.section-note {
  margin-top: 26px;
  color: var(--txt-faint);
  font-size: .92rem;
  border-left: 3px solid var(--green);
  padding-left: 14px;
}

/* ---------- 01 设计理念卡片 ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.module-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, #0a1222 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(70, 242, 160, .5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 26px rgba(70, 242, 160, .09);
}
.module-card:nth-child(2):hover { border-color: rgba(86, 200, 240, .5); }
.module-card:nth-child(3):hover { border-color: rgba(242, 184, 75, .5); }
.module-ch {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--txt-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
}
.module-icon {
  width: 38px; height: 38px;
  color: var(--green);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(70, 242, 160, .35));
}
.module-card:nth-child(2) .module-icon { color: var(--cyan); filter: drop-shadow(0 0 8px rgba(86,200,240,.35)); }
.module-card:nth-child(3) .module-icon { color: var(--amber); filter: drop-shadow(0 0 8px rgba(242,184,75,.35)); }
.module-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.module-card p { color: var(--txt-dim); font-size: .94rem; }

/* ---------- 02 步骤 ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 18px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  background: rgba(12, 21, 38, .5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  transition: border-color .2s ease, background .2s ease;
}
.step:hover { border-color: rgba(70, 242, 160, .4); background: rgba(12, 21, 38, .8); }
.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--green);
  line-height: 1;
  padding-top: 4px;
  opacity: .85;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  margin-bottom: 10px;
  color: var(--green);
}
.step ul {
  list-style: none;
  display: grid;
  gap: 7px;
  color: var(--txt-dim);
  font-size: .95rem;
}
.step li { position: relative; padding-left: 20px; }
.step li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--txt-faint);
  font-size: .8em;
}
.step b { color: var(--txt); font-weight: 600; }

/* ---------- 03 功能网格 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.feature-card {
  background: linear-gradient(180deg, var(--panel) 0%, #0a1222 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 242, 160, .45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .38), 0 0 22px rgba(70, 242, 160, .07);
}
.feature-wide { grid-column: 1 / -1; }
.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.feature-icon {
  width: 30px; height: 30px;
  color: var(--green);
  filter: drop-shadow(0 0 7px rgba(70, 242, 160, .3));
  flex-shrink: 0;
}
.feature-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: .015em;
}
.feature-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--amber);
  border: 1px solid rgba(242, 184, 75, .4);
  border-radius: 999px;
  padding: 2px 10px;
}
.feature-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
  color: var(--txt-dim);
  font-size: .92rem;
}
.feature-card li { position: relative; padding-left: 18px; }
.feature-card li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: .55;
}
.feature-card b { color: var(--txt); font-weight: 600; }
.feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
}

/* ---------- 04 性能 ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 34px;
  background: rgba(10, 17, 31, .55);
}
.stat-cell {
  padding: 26px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-cell:first-child { border-left: none; }
.stat-value {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 20px rgba(70, 242, 160, .35);
}
.stat-label { font-size: .8rem; color: var(--txt-faint); line-height: 1.5; }

.optim-list {
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: optim;
}
.optim-list li {
  position: relative;
  padding: 16px 20px 16px 64px;
  background: rgba(12, 21, 38, .5);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--txt-dim);
  font-size: .95rem;
  transition: border-color .2s ease;
}
.optim-list li:hover { border-color: rgba(70, 242, 160, .4); }
.optim-list li::before {
  counter-increment: optim;
  content: counter(optim, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green);
  opacity: .8;
}
.optim-list b { color: var(--txt); }

/* ---------- 05 修复日志 + FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  align-items: start;
}
.panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.fixlog-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: rgba(10, 17, 31, .55);
}
.fixlog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 560px;
}
.fixlog-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--txt-faint);
  text-transform: uppercase;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(130, 170, 215, .05);
}
.fixlog-table td {
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--txt-dim);
  vertical-align: top;
}
.fixlog-table tr:last-child td { border-bottom: none; }
.fixlog-table tbody tr { transition: background .15s ease; }
.fixlog-table tbody tr:hover { background: rgba(70, 242, 160, .045); }
.fixlog-table .fix-ok {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--green);
  white-space: nowrap;
}

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(12, 21, 38, .5);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item.open { border-color: rgba(70, 242, 160, .45); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  background: none;
  border: none;
  color: var(--txt);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  padding: 16px 18px;
  cursor: pointer;
}
.faq-q:hover { color: var(--green); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--txt-faint);
  transition: transform .25s ease, color .25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-a p {
  padding: 0 18px 16px;
  color: var(--txt-dim);
  font-size: .9rem;
}
.faq-a b { color: var(--txt); }

/* ---------- 06 下载面板 ---------- */
.dl-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 34px;
  background: linear-gradient(180deg, var(--panel) 0%, #0a1222 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 42px;
}
.dl-version {
  font-family: var(--font-mono);
  color: var(--txt-dim);
  font-size: .95rem;
  margin-bottom: 12px;
}
.dl-version b { color: var(--green); font-size: 1.35rem; }
.dl-date { color: var(--txt-faint); margin-left: 10px; font-size: .8rem; }
.dl-desc { color: var(--txt-dim); margin-bottom: 24px; max-width: 36em; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.dl-note { color: var(--txt-faint); font-size: .82rem; }

.dl-side {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: rgba(4, 7, 13, .5);
}
.dl-file-icon {
  color: var(--green);
  width: 54px; height: 54px;
  border: 1px solid rgba(70, 242, 160, .35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dim);
}
.dl-file-name {
  font-family: var(--font-mono);
  font-size: .84rem;
  color: var(--txt);
  word-break: break-all;
}
.dl-sha {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--txt-faint);
  word-break: break-all;
  background: none;
  border: none;
  padding: 0;
  white-space: normal;
  line-height: 1.7;
  user-select: all;
}
.btn-copy {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--green);
  background: none;
  border: 1px solid rgba(70, 242, 160, .4);
  border-radius: 7px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn-copy:hover { background: var(--green-dim); }
.btn-copy.copied { background: var(--green); color: #052015; }

/* ---------- 07 技术交流 ---------- */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 26px;
  margin-bottom: 34px;
}
.community-card {
  background: linear-gradient(180deg, var(--panel) 0%, #0a1222 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: transform .22s ease, border-color .22s ease;
}
.community-card:hover { transform: translateY(-4px); border-color: rgba(70, 242, 160, .45); }
.community-card img {
  width: 200px;
  height: 200px;
  margin: 0 auto 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.community-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.community-card p { color: var(--txt-dim); font-size: .9rem; }

.community-card:last-child { text-align: left; }
.community-links { display: grid; gap: 4px; align-content: center; height: 100%; }
.community-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 14px;
  border-radius: 10px;
  color: var(--txt-dim);
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.community-links a:hover {
  background: rgba(70, 242, 160, .06);
  border-color: var(--line);
  color: var(--txt);
}
.community-links svg { color: var(--green); flex-shrink: 0; }
.community-links b { display: block; color: var(--txt); font-size: .98rem; }
.community-links em { font-style: normal; font-family: var(--font-mono); font-size: .76rem; color: var(--txt-faint); }

.disclaimer {
  color: var(--txt-faint);
  font-size: .82rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 14px 20px;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #04070d;
  padding: 42px 24px 46px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--txt-dim);
  font-size: .92rem;
  margin-bottom: 16px;
}
.footer-brand .brand-mark { width: 20px; height: 20px; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-bottom: 20px;
}
.footer-nav a { color: var(--txt-dim); font-size: .88rem; transition: color .15s ease; }
.footer-nav a:hover { color: var(--green); }
.footer-line {
  color: var(--txt-faint);
  font-size: .8rem;
  margin-bottom: 10px;
}
.footer-icp { font-size: .82rem; }
.footer-icp a {
  color: var(--txt-dim);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color .15s ease;
}
.footer-icp a:hover { color: var(--green); }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- 无障碍：减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .traces.animated .trace { stroke-dashoffset: 0; animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 72px; }
  .scope-panel { transform: none; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3) { border-left: none; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq-layout { grid-template-columns: 1fr; }
  .dl-panel { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --topbar-h: 56px; }
  .topbar-inner { gap: 14px; padding: 0 16px; }
  .brand-sub { display: none; }
  .topnav { display: none; }
  .topbar-right { margin-left: auto; }
  .hero { padding: 48px 0 60px; }
  .hero-specs { grid-template-columns: 1fr 1fr; }
  .hero-specs li:nth-child(3) { border-left: none; }
  .hero-specs li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; }
  .step-num { font-size: 1.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dl-panel { padding: 28px 22px; }
  .scope-footer { gap: 14px; }
  .scope-stat-right { margin-left: 0; width: 100%; }
}

@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; justify-content: center; }
  .ver-chip { display: none; }
}
