/* ============================================================
   CADViewer · CAD光速看图 官网样式
   近黑中性底 / 品牌绿光 / 工程蓝图质感
   ============================================================ */

:root {
  --bg: #0a0b0d;
  --bg-2: #121314;
  --panel: rgba(237, 239, 242, 0.045);
  --panel-solid: #121314;
  --panel-2: rgba(237, 239, 242, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f9fe;
  --text-2: #a6aab5;
  --text-3: #787d87;

  --accent: #32f08c;
  --accent-soft: #a0fde7;
  --green: #32f08c;
  --amber: #fbbf24;
  --grad: linear-gradient(90deg, #3ee1a3 0%, #32f08c 36%, #60f2bd 72%, #a0fde7 100%);
  --grad-soft: linear-gradient(120deg, rgba(50, 240, 140, 0.16), rgba(160, 253, 231, 0.06));

  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 68px;
  --max: 1180px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }

::selection { background: rgba(50, 240, 140, 0.3); }

/* ---------- 背景 ---------- */
.bg-decor {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
}
.bg-decor::before {
  content: ""; position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px;
  background: radial-gradient(closest-side, rgba(50, 240, 140, 0.16), transparent 72%);
  filter: blur(20px);
}
.bg-decor::after {
  content: ""; position: absolute; top: 30%; right: -260px;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(50, 240, 140, 0.06), transparent 70%);
  filter: blur(30px);
}
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------- 通用 ---------- */
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.2px;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: #edeff2; color: #0c0c0d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover { background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.34); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.is-pending, .btn.is-pending:hover {
  opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: none;
}

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(50, 240, 140, 0.07);
  color: #a0fde7; font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.badge-free {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(50, 240, 140, 0.12); border: 1px solid rgba(50, 240, 140, 0.35);
  color: #7ff0bc; font-size: 11.5px; font-weight: 700;
}

.section { padding: 88px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; letter-spacing: -0.5px; text-wrap: balance; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 15.5px; text-wrap: pretty; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 13, 0.8); border-bottom-color: var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  width: min(var(--max), calc(100% - 48px)); height: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16.5px; letter-spacing: .2px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: block; flex: none;
  object-fit: cover; background: #0a0b0d;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.logo small { display: block; color: var(--text-3); font-size: 10px; font-weight: 600; letter-spacing: 1.6px; line-height: 1; margin-top: 2px; }

.nav-menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-menu a { color: var(--text-2); font-size: 14px; font-weight: 500; transition: color .18s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { height: 38px; padding: 0 15px; font-size: 13.5px; }

.nav-user { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: border-color .18s, background .18s; }
.nav-user:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.nav-user .avatar {
  width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #0a0b0d; font-size: 12.5px; font-weight: 800;
}
.nav-user span { font-size: 13px; color: var(--text-2); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-toggle { display: none; font-size: 20px; padding: 6px 10px; color: var(--text-2); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 76px) 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; letter-spacing: -2px; font-weight: 800;
}
.hero h1 .line { display: block; }
.hero-sub { margin-top: 22px; max-width: 560px; color: var(--text-2); font-size: 16.5px; line-height: 1.8; text-wrap: pretty; }
.hero-sub strong { color: var(--text); font-weight: 600; white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-3); font-size: 12.5px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--green); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 42px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line);
}
.hero-stats div { background: rgba(18, 19, 20, 0.9); padding: 16px 12px; text-align: center; }
.hero-stats b { display: block; font-size: 19px; letter-spacing: -.4px; }
.hero-stats small { display: block; margin-top: 3px; color: var(--text-3); font-size: 11.5px; }

/* ---------- 蓝图视觉 ---------- */
.blueprint-wrap { position: relative; }
.blueprint {
  position: relative; border: 1px solid var(--line-strong); border-radius: 20px;
  background:
    linear-gradient(rgba(50, 240, 140, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 240, 140, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 60% 30%, rgba(50, 240, 140, 0.09), transparent 60%),
    #0d0f10;
  background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%;
  box-shadow: var(--shadow), inset 0 0 60px rgba(50, 240, 140, 0.04);
  overflow: hidden;
}
.blueprint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.045) 45%, transparent 60%);
}
.bp-svg { display: block; width: 100%; height: auto; }
.bp-line { fill: none; stroke: #8ff5c7; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.bp-line.dim { stroke: #fbbf24; stroke-width: 1.1; }
.bp-line.ghost { stroke: rgba(143, 245, 199, 0.32); stroke-dasharray: 6 5; }
.bp-fill { fill: rgba(50, 240, 140, 0.06); }
.bp-text { fill: #fbbf24; font-size: 10px; font-family: Consolas, monospace; letter-spacing: .5px; }
.bp-text.cyan { fill: #8ff5c7; }
.bp-dot { fill: #32f08c; }

.bp-cursor {
  position: absolute; left: 63%; top: 58%; width: 26px; height: 26px; pointer-events: none;
  color: #32f08c; filter: drop-shadow(0 0 8px rgba(50, 240, 140, .8));
  animation: cursorFloat 4.5s ease-in-out infinite;
}
@keyframes cursorFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 12px); }
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(18, 19, 20, 0.92); backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); font-size: 12.5px; color: var(--text-2);
  animation: floatY 5.5s ease-in-out infinite;
}
.float-card b { color: var(--text); font-size: 13px; }
.float-card .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--grad-soft); color: var(--accent); flex: none; }
.float-card .ic svg { width: 16px; height: 16px; }
.float-card.f1 { top: 9%; left: -22px; animation-delay: .4s; }
.float-card.f2 { bottom: 12%; right: -18px; animation-delay: 1.2s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 25, 27, 0.9), rgba(16, 17, 19, 0.8));
  overflow: hidden; transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(50, 240, 140, 0.09), transparent 55%);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.feature-card:hover::after { opacity: 1; }
.feature-card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--accent); margin-bottom: 18px;
}
.feature-card .icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 17px; letter-spacing: -.2px; display: flex; align-items: center; gap: 8px; }
.feature-card p { margin-top: 9px; color: var(--text-2); font-size: 13.8px; line-height: 1.75; }
.feature-card .more { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; color: var(--accent); font-size: 13px; font-weight: 600; }
.feature-card .more svg { width: 14px; height: 14px; transition: transform .18s; }
.feature-card:hover .more svg { transform: translateX(3px); }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(18, 19, 20, 0.5);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--accent); margin-bottom: 12px;
}
.step h4 { font-size: 15px; }
.step p { margin-top: 7px; color: var(--text-2); font-size: 13px; line-height: 1.7; }

/* ---------- 兼容表 ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table.compat { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.compat th, table.compat td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.compat th { background: rgba(50, 240, 140, 0.05); color: var(--text); font-weight: 600; font-size: 12.5px; letter-spacing: .5px; }
table.compat td { color: var(--text-2); }
table.compat tr:last-child td { border-bottom: none; }
table.compat td strong { color: var(--text); font-weight: 600; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative; padding: 54px 48px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px circle at 15% 20%, rgba(50, 240, 140, 0.16), transparent 60%),
    radial-gradient(600px circle at 90% 80%, rgba(251, 191, 36, 0.08), transparent 60%),
    #121314;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.6px; }
.cta-band p { margin-top: 10px; color: var(--text-2); font-size: 14.5px; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px 4px; text-align: left; font-size: 15px; font-weight: 600; color: var(--text);
}
.faq-q .plus { position: relative; width: 18px; height: 18px; flex: none; color: var(--accent); }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%);
  transition: transform .22s;
}
.faq-q .plus::before { width: 12px; height: 1.6px; }
.faq-q .plus::after { width: 1.6px; height: 12px; }
.faq-item.open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--text-2); font-size: 14px; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 260px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 52px 0 32px; margin-top: 40px; background: rgba(10, 11, 13, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--text-3); font-size: 13px; max-width: 320px; line-height: 1.8; }
.footer h5 { font-size: 12.5px; letter-spacing: 1px; color: var(--text-2); margin-bottom: 14px; font-weight: 700; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: var(--text-3); font-size: 13px; transition: color .18s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-3); font-size: 12px;
}

/* ---------- 内页 Hero ---------- */
.page-hero { padding: calc(var(--nav-h) + 64px) 0 44px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -1.4px; line-height: 1.15; text-wrap: balance; }
.page-hero p { max-width: 700px; margin: 16px auto 0; color: var(--text-2); font-size: 15.5px; text-wrap: balance; }

/* ---------- 功能详情 ---------- */
.anchor-nav {
  position: sticky; top: var(--nav-h); z-index: 40; margin-bottom: 10px;
  background: rgba(10, 11, 13, 0.85); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.anchor-nav .container { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; }
.anchor-nav a {
  padding: 7px 13px; border-radius: 999px; color: var(--text-2); font-size: 13px; white-space: nowrap;
  border: 1px solid transparent; transition: all .18s;
}
.anchor-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.anchor-nav a.active { color: #a0fde7; border-color: rgba(50, 240, 140, 0.35); background: rgba(50, 240, 140, 0.08); }

.module { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; align-items: start; padding: 54px 0; border-bottom: 1px solid var(--line); }
.module:last-of-type { border-bottom: none; }
.module.rev { grid-template-columns: 1.15fr 0.85fr; }
.module.rev .module-copy { order: 2; }
.module.rev .module-panel { order: 1; }
.module-num { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--accent); }
.module h2 { margin-top: 10px; font-size: 27px; letter-spacing: -.6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.module .desc { margin-top: 14px; color: var(--text-2); font-size: 14.5px; line-height: 1.85; text-wrap: balance; }
.module-list { margin-top: 22px; display: grid; gap: 11px; }
.module-list li { display: flex; gap: 10px; color: var(--text-2); font-size: 13.8px; line-height: 1.7; }
.module-list li svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }
.module-list strong { color: var(--text); font-weight: 600; }

.module-panel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: linear-gradient(180deg, rgba(24, 25, 27, 0.85), rgba(16, 17, 19, 0.75));
}
.panel-title { font-size: 12px; letter-spacing: 1.5px; color: var(--text-3); font-weight: 700; margin-bottom: 16px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025); color: var(--text-2); font-size: 12.5px;
}
.chip.on { border-color: rgba(50, 240, 140, 0.32); color: #a0fde7; background: rgba(50, 240, 140, 0.07); }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--text-2); }
.mock-row:last-child { border-bottom: none; }
.mock-row b { color: var(--text); font-weight: 600; }
.mock-row .val { color: var(--accent); font-family: Consolas, monospace; font-size: 12.5px; }
.mock-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; }

/* ---------- 下载页 ---------- */
.dl-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.version-card {
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 34px;
  background:
    radial-gradient(600px circle at 10% 0%, rgba(50, 240, 140, 0.13), transparent 55%),
    linear-gradient(180deg, rgba(24, 25, 27, 0.9), rgba(16, 17, 19, 0.8));
  box-shadow: var(--shadow);
}
.version-card .os { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 13px; }
.version-card .os svg { width: 18px; height: 18px; color: var(--accent); }
.version-card h2 { margin-top: 16px; font-size: 30px; letter-spacing: -.8px; }
.version-card .ver-line { margin-top: 6px; color: var(--text-3); font-size: 12.5px; font-family: Consolas, monospace; }
.version-card .ver-line b { color: var(--accent); font-weight: 600; }
.version-card .dl-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.version-card .dl-note { margin-top: 16px; color: var(--text-3); font-size: 12px; }
.dl-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--line-strong); background: rgba(50, 240, 140, 0.04); color: var(--text-2); font-size: 12.5px; display: none; }
.dl-status.show { display: block; }

.req-card { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: rgba(18, 19, 20, 0.55); }
.req-card h3 { font-size: 16px; margin-bottom: 18px; }
.req-list li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--text-2); }
.req-list li:last-child { border-bottom: none; }
.req-list b { color: var(--text); font-weight: 600; text-align: right; }

.steps.dl-steps { grid-template-columns: repeat(3, 1fr); margin-top: 0; }

/* 多平台下载 */
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.platform-grid .version-card { display: flex; flex-direction: column; }
.dl-desc { margin-top: 16px; color: var(--text-2); font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.platform-grid .dl-actions { margin-top: 24px; }
.req-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.req-block h4 { margin-bottom: 2px; color: var(--text-3); font-size: 12px; letter-spacing: .8px; font-weight: 700; }
.soon-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.soon-actions .btn { min-width: 210px; }
.soon-actions .btn svg { width: 18px; height: 18px; }

/* 首页平台下载 */
.platform-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.platform-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 24px 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel); transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.platform-tile.is-ready:hover { border-color: rgba(50, 240, 140, .38); background: var(--panel-2); transform: translateY(-2px); }
.platform-tile .pf-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  color: var(--accent); background: rgba(50, 240, 140, .1); border: 1px solid rgba(50, 240, 140, .18);
}
.platform-tile .pf-icon svg { width: 23px; height: 23px; }
.platform-tile h3 { font-size: 16px; font-weight: 600; letter-spacing: .2px; }
.platform-tile .pf-ver { min-height: 18px; font-size: 12px; color: var(--text-3); }
.platform-tile .pf-ver b { color: var(--accent); font-weight: 600; }
.platform-tile .btn { width: 100%; height: 40px; margin-top: 8px; padding: 0 12px; font-size: 13px; }
.platform-tile .btn svg { width: 16px; height: 16px; }
.platform-tile.is-soon { opacity: .6; }
.platform-tile.is-soon .pf-icon { color: var(--text-3); background: rgba(255, 255, 255, .04); border-color: var(--line); }
.platform-tile.is-soon:hover { transform: none; }

.dl-summary {
  margin-top: 20px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--grad-soft);
}
.dl-summary .kicker { margin-bottom: 10px; }
.dl-summary p { color: var(--text-2); font-size: 14px; line-height: 1.85; text-wrap: pretty; }
.dl-summary .dl-summary-note { margin-top: 8px; color: var(--text-3); font-size: 13px; }

/* ---------- 认证页 ---------- */
.auth-page { min-height: 100vh; padding: calc(var(--nav-h) + 54px) 0 64px; display: grid; align-items: center; }
.auth-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 64px; align-items: center; max-width: 1080px; margin: 0 auto; }
.auth-side h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -1.2px; line-height: 1.2; }
.auth-side p { margin-top: 16px; color: var(--text-2); font-size: 14.5px; max-width: 420px; }
.auth-side .checks { margin-top: 28px; display: grid; gap: 13px; }
.auth-side .checks li { display: flex; gap: 10px; color: var(--text-2); font-size: 13.5px; }
.auth-side .checks svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 2px; }

.auth-card {
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 34px 32px;
  background: linear-gradient(180deg, rgba(24, 25, 27, 0.9), rgba(16, 17, 19, 0.8));
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.auth-card .logo { margin-bottom: 22px; }
.auth-card h1 { font-size: 24px; letter-spacing: -.5px; }
.auth-card .sub { margin-top: 6px; color: var(--text-3); font-size: 13px; }

.auth-tabs { display: flex; gap: 6px; margin: 22px 0 20px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, 0.2); }
.auth-tab { flex: 1; height: 36px; border-radius: 7px; color: var(--text-3); font-size: 13px; font-weight: 600; transition: all .18s; }
.auth-tab.active { color: var(--text); background: rgba(50, 240, 140, 0.12); box-shadow: inset 0 0 0 1px rgba(50, 240, 140, 0.25); }

.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 7px; color: var(--text-2); font-size: 12.5px; font-weight: 500; }
.field input {
  width: 100%; height: 44px; padding: 0 13px; border-radius: 9px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text);
  font-size: 14px; outline: none; transition: border-color .18s, box-shadow .18s;
}
.field input::placeholder { color: #6f747e; }
.field input:focus { border-color: rgba(50, 240, 140, 0.55); box-shadow: 0 0 0 3px rgba(50, 240, 140, 0.1); }
.field.error input { border-color: rgba(248, 113, 113, 0.65); }
.err-msg { min-height: 15px; margin-top: 4px; color: #fca5a5; font-size: 11.5px; }

.code-row { display: flex; gap: 9px; }
.code-row input { flex: 1; }
.code-row .btn { height: 44px; padding: 0 14px; font-size: 12.5px; flex: none; }

.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.form-row a { color: var(--accent); font-size: 12.5px; }
.checkbox { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 12.5px; cursor: pointer; }
.checkbox input { width: 15px; height: 15px; accent-color: var(--accent); }
.checkbox a { color: var(--accent); }

.auth-msg { display: none; margin-bottom: 14px; padding: 10px 13px; border-radius: 9px; font-size: 12.5px; }
.auth-msg.show { display: block; }
.auth-msg.ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: #6ee7b7; }
.auth-msg.bad { background: rgba(248, 113, 113, 0.09); border: 1px solid rgba(248, 113, 113, 0.3); color: #fca5a5; }

.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-3); font-size: 11.5px; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.auth-foot { margin-top: 18px; text-align: center; color: var(--text-3); font-size: 12px; line-height: 1.8; }
.auth-foot a { color: var(--accent); }

.hidden { display: none !important; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  z-index: 300; padding: 12px 20px; border-radius: 11px;
  background: rgba(18, 19, 20, 0.96); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 13px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  opacity: 0; pointer-events: none; transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .bp-cursor { animation: none; }
}

/* ---------- 协议页 ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 64px) 0 90px; }
.legal h1 { font-size: 34px; letter-spacing: -.8px; margin-bottom: 8px; }
.legal .updated { color: var(--text-3); font-size: 12.5px; margin-bottom: 34px; }
.legal h2 { font-size: 19px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--text-2); font-size: 14px; line-height: 1.9; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 720px; }
  .blueprint-wrap { max-width: 720px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .dl-grid, .platform-grid { grid-template-columns: 1fr; }
  .platform-row { grid-template-columns: repeat(3, 1fr); }
  .auth-grid { grid-template-columns: 1fr; gap: 40px; }
  .auth-side { display: none; }
  .module, .module.rev { grid-template-columns: 1fr; gap: 30px; padding: 42px 0; }
  .module.rev .module-copy, .module.rev .module-panel { order: 0; }
}

@media (max-width: 960px) {
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 11, 13, 0.97); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .22s ease; backdrop-filter: blur(14px);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a { padding: 13px 6px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 720px) {
  .container, .nav-inner { width: calc(100% - 32px); }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero h1 { letter-spacing: -1.2px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .steps, .steps.dl-steps { grid-template-columns: 1fr; }
  .float-card.f1 { left: 8px; top: 6%; }
  .float-card.f2 { right: 8px; bottom: 6%; }
  .float-card { padding: 8px 11px; font-size: 11.5px; }
  .section { padding: 62px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .auth-card { padding: 26px 20px; }
  .version-card, .req-card { padding: 24px 20px; }
  .soon-actions .btn { width: 100%; min-width: 0; }
  .platform-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .platform-tile { padding: 20px 12px 16px; }
  .dl-summary { padding: 20px; }
  .table-wrap { overflow-x: auto; }
  table.compat { min-width: 560px; }
}
