/* ==========================================================================
   皮皮助手官网门户样式表 (方案 B：全站深邃曜石暗夜旗舰风)
   Raycast / 硬件旗舰美学 · 100% 本地静态资源 · 零外链 CDN
   ========================================================================== */

:root {
  /* 深邃曜石暗夜色盘 */
  --bg: #070b14;
  --bg-elevated: #0b1120;
  --surface: #0f172a;
  --surface-2: #141e33;
  --glass: rgba(255, 255, 255, 0.036);
  --glass-hover: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* 文字色阶（保证长时间阅读清晰不费眼） */
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-sub: #94a3b8;
  --text-muted: #64748b;

  /* 品牌电光点缀与精准语义色 */
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-hover: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --purple: #a78bfa;
  --purple-soft: rgba(139, 92, 246, 0.15);
  --pink: #f472b6;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --amber: #f59e0b;
  --amber-bright: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --red: #ef4444;
  --red-bright: #f87171;
  --red-soft: rgba(239, 68, 68, 0.14);

  /* 圆角与深邃投影 */
  --radius-2xl: 26px;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 11px;
  --radius-sm: 8px;

  --shadow-card: 0 20px 50px -24px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-float: 0 36px 90px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(96, 165, 250, 0.22);

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

code, pre, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

p code, li code {
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
  padding: 1.5px 6px;
  border-radius: 6px;
  font-size: 0.88em;
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   顶部暗夜磨砂导航 + 极光阅读进度条
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 20, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 52%, #ec4899 100%);
  transition: width 0.08s linear;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.28);
  object-fit: cover;
  transition: transform 0.25s var(--ease-out-expo);
}

.brand-link:hover .brand-logo {
  transform: scale(1.05) rotate(-2deg);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.18);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.32);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--glass);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   按钮、微光扫过 & 极简标签
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.22s ease, background 0.2s ease, border-color 0.2s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-sm {
  padding: 7.5px 15px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px -8px rgba(59, 130, 246, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.55s var(--ease-out-expo);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 18px 36px -8px rgba(59, 130, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-soft,
.btn-outline,
.btn-ghost-obs {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-soft:hover,
.btn-outline:hover,
.btn-ghost-obs:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(96, 165, 250, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #93c5fd;
  text-transform: uppercase;
}

.eyebrow-num {
  font-family: var(--font-mono);
  color: #60a5fa;
  font-weight: 800;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.04); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  line-height: 1.4;
}

.pill-brand {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill-blue {
  background: var(--accent-soft);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.pill-emerald {
  background: var(--emerald-soft);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pill-purple {
  background: var(--purple-soft);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.32);
}

.pill-amber {
  background: var(--amber-soft);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pill-red {
  background: var(--red-soft);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pill-obs {
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Spotlight 光标追踪柔光 & 滚动渐入
   ========================================================================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(96, 165, 250, 0.14), transparent 58%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--ease-out-expo), transform 0.62s var(--ease-out-expo);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Hero 首屏：深邃曜石星点网格 + 霓虹微光 + 点亮式客户端交互沙盒
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 64% 56% at 14% 8%, rgba(37, 99, 235, 0.24), transparent 64%),
    radial-gradient(ellipse 52% 48% at 88% 12%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 34% at 62% 90%, rgba(236, 72, 153, 0.12), transparent 62%),
    radial-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, #070b14 0%, #090e1a 100%);
  background-size: auto, auto, auto, 28px 28px, auto;
  padding: 62px 0 76px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12% -8% -18% -8%;
  background:
    radial-gradient(ellipse 42% 38% at 22% 28%, rgba(59, 130, 246, 0.16), transparent 65%),
    radial-gradient(ellipse 38% 36% at 78% 24%, rgba(167, 139, 250, 0.16), transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: auroraDrift 16s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0% { opacity: 0.65; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 1; transform: translate3d(2%, -1.5%, 0) scale(1.04); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.35vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-line {
    white-space: normal;
  }
}

.hero-title .grad-text {
  background: linear-gradient(96deg, #60a5fa 0%, #c084fc 54%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.74;
  color: var(--text-body);
  max-width: 495px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-sub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.hero-sub-links a {
  color: var(--accent-bright);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.18s ease;
}

.hero-sub-links a:hover {
  gap: 6px;
}

.hero-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stat-lbl {
  font-size: 12px;
  color: var(--text-sub);
}

/* 右侧：暗夜中点亮的高保真客户端交互沙盒（保留真机高对比明晰内部 UI） */
.hero-stage {
  position: relative;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 30px;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.12) 48%, transparent 74%);
  pointer-events: none;
  z-index: 0;
}

.app-preview-window {
  position: relative;
  z-index: 1;
  background: #f4f6fb;
  color: #0f172a;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-float), 0 0 70px -14px rgba(59, 130, 246, 0.34);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #86efac;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
}

.preview-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.85);
}

.preview-titlebar {
  background: #0d1322;
  color: #cbd5e1;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #f87171; }
.preview-dots span:nth-child(2) { background: #fbbf24; }
.preview-dots span:nth-child(3) { background: #34d399; }

.preview-shell {
  display: grid;
  grid-template-columns: 146px 1fr;
  min-height: 418px;
  position: relative;
}

.preview-sidebar {
  background: #0e1424;
  color: #e2e8f0;
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 6px 10px;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.preview-brand-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.preview-brand-sub {
  font-size: 10px;
  color: #94a3b8;
}

.preview-tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 7.5px 9px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.preview-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.preview-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.42);
}

.preview-tab-btn svg {
  width: 13.5px;
  height: 13.5px;
  flex-shrink: 0;
}

.preview-tab-tag {
  margin-left: auto;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.24);
  color: #6ee7b7;
}

.preview-sidebar-ver {
  margin-top: auto;
  font-size: 11px;
  color: #cbd5e1;
  text-align: center;
  padding: 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
}

.preview-main {
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
}

.preview-main.scanning::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.14), transparent);
  animation: scanSweep 0.6s ease;
  pointer-events: none;
  z-index: 5;
}

@keyframes scanSweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* 客户端预览内部保持真实亮色高对比控件 */
.preview-main .pill-emerald { background: #ecfdf5; color: #059669; border-color: rgba(5, 150, 105, 0.22); }
.preview-main .pill-blue { background: #eff6ff; color: #2563eb; border-color: rgba(37, 99, 235, 0.2); }
.preview-main .pill-purple { background: #f5f3ff; color: #7c3aed; border-color: rgba(124, 58, 237, 0.2); }
.preview-main .pill-amber { background: #fffbeb; color: #d97706; border-color: rgba(217, 119, 6, 0.24); }

.preview-topbar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-machine {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.preview-fp {
  font-size: 11px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.preview-fp code {
  background: #eff6ff;
  color: #1d4ed8;
  border: none;
  padding: 1px 6px;
  border-radius: 5px;
  font-weight: 700;
}

.preview-top-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 4.5px 9px;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mini-btn:hover { border-color: #2563eb; }
.mini-btn-blue { background: #2563eb; border-color: #2563eb; color: #ffffff; }
.mini-btn-blue:hover { background: #1d4ed8; }
.mini-btn-off { background: #f8fafc; color: #475569; }
.mini-btn-on { background: #ecfdf5; border-color: rgba(5, 150, 105, 0.4); color: #059669; }

.preview-pane {
  display: none;
  flex: 1;
  animation: paneFade 0.24s var(--ease-out-expo);
}

.preview-pane.active { display: block; }

@keyframes paneFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pv-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 10px;
}

.pv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 10px 11px;
  color: #0f172a;
}

.pv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.pv-spec-list {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  font-size: 11px;
}

.pv-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed #eef2f6;
}

.pv-spec-row:last-child { border-bottom: none; }
.pv-spec-k { color: #64748b; flex-shrink: 0; }
.pv-spec-v {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pv-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.pv-gauge-box {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 9px;
  padding: 6px;
  text-align: center;
}

.pv-gauge-box svg { width: 64px; height: 64px; margin: 0 auto; }
.pv-gauge-box circle.arc-live { transition: stroke-dashoffset 0.7s var(--ease-out-expo); }
.pv-gauge-label { font-size: 10.5px; color: #475569; margin-top: 2px; }

.pv-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.pv-kpi-tile {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  padding: 7px 9px;
}

.pv-kpi-tile span { display: block; font-size: 10.5px; color: #64748b; }
.pv-kpi-tile strong { font-size: 12.8px; color: #0f172a; font-variant-numeric: tabular-nums; }

.pv-chip-copy {
  font-family: var(--font-sans);
  font-size: 10.5px;
  padding: 2.5px 8px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pv-chip-copy:hover { background: #eff6ff; border-color: rgba(37, 99, 235, 0.4); }

.pv-chip-copy.copied,
.copy-btn.copied {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(52, 211, 153, 0.5) !important;
  color: #10b981 !important;
}

.pv-preset-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.pv-preset-btn {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3.5px 9px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pv-preset-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.pv-remote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pv-remote-block {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  padding: 7px 9px;
  margin-bottom: 6px;
}

.pv-remote-lbl { font-size: 10px; color: #64748b; margin-bottom: 2px; }
.pv-remote-code-lg { font-family: var(--font-mono); font-size: 16px; font-weight: 800; letter-spacing: 1px; color: #2563eb; }
.pv-remote-pass { font-family: var(--font-mono); font-size: 13.5px; font-weight: 700; color: #0f172a; }
.pv-remote-shield { font-size: 10px; color: #059669; background: #ecfdf5; border-radius: 6px; padding: 4px 7px; font-weight: 600; }
.pv-remote-input { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 7px; padding: 5.5px 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: #0f172a; margin-bottom: 7px; }

.pv-remote-cta {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.pv-remote-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

.pv-remote-foot-bar {
  margin-top: 8px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 10.5px;
}

.demo-remote-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #dc2626;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
}

.demo-remote-bar.show { display: flex; }

.demo-remote-bar button {
  background: #ffffff;
  color: #dc2626;
  border: none;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.demo-consent-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(5px);
  z-index: 12;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.demo-consent-overlay.show { display: flex; }

.demo-consent-dialog {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid #e2e8f0;
  text-align: left;
  color: #0f172a;
}

.demo-consent-dialog h4 { margin: 0 0 6px; font-size: 14px; color: #0f172a; }
.demo-consent-dialog p { margin: 0 0 12px; font-size: 12px; color: #475569; line-height: 1.55; }
.demo-consent-dialog .btn-outline { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }
.demo-consent-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ==========================================================================
   通用深邃曜石 Section 节奏
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-tight {
  padding: 50px 0;
}

.section-alt {
  background: linear-gradient(180deg, #090e1c 0%, #070b14 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-head-left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 28px;
}

.section-title {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-wrap: balance;
}

.section-desc {
  margin: 0;
  color: var(--text-sub);
  font-size: 15.5px;
}

/* ==========================================================================
   重磅板块：三段数字设备码 · 简洁并不简单（怎么方便 + 怎么安全）
   ========================================================================== */
.code-showcase {
  background:
    radial-gradient(ellipse 65% 70% at 50% 0%, rgba(59, 130, 246, 0.18), transparent 65%),
    var(--glass);
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: var(--radius-2xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.code-showcase::after,
.feature-row::after,
.bento-card::after,
.cta-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(147, 197, 253, 0.5) 35%, rgba(196, 181, 253, 0.45) 65%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.code-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.code-digits-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.code-digits-group {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
}

.code-shuffle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.code-shuffle-btn:hover {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(59, 130, 246, 0.16);
  color: #ffffff;
}

.code-lock-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.code-lock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text-body);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out-expo);
}

.code-lock-btn:hover {
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}

.code-lock-btn.active-warn {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
  box-shadow: 0 0 20px -6px rgba(245, 158, 11, 0.45);
}

.code-lock-btn.active-pending {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.65);
  color: #dbeafe;
  box-shadow: 0 0 20px -6px rgba(59, 130, 246, 0.55);
}

.code-lock-btn.active-safe {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.65);
  color: #a7f3d0;
  box-shadow: 0 0 20px -6px rgba(16, 185, 129, 0.5);
}

.code-live-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 18px;
  margin-bottom: 24px;
  border-radius: 14px;
  font-size: 13.8px;
  font-weight: 600;
  border: 1px solid rgba(251, 191, 36, 0.34);
  background: rgba(245, 158, 11, 0.09);
  color: #fde68a;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.code-live-verdict.is-pending {
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(59, 130, 246, 0.12);
  color: #dbeafe;
}

.code-live-verdict.is-safe {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.code-verdict-act {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.code-verdict-act:hover {
  background: rgba(255, 255, 255, 0.2);
}

.code-live-verdict.is-safe .code-verdict-act {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(248, 113, 113, 0.7);
}

.code-live-verdict.is-safe .code-verdict-act:hover {
  background: #dc2626;
}

.code-seg {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 3px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.24) 0%, rgba(15, 23, 42, 0.84) 100%);
  border: 1px solid rgba(96, 165, 250, 0.44);
  border-radius: 14px;
  padding: 10px 18px;
  box-shadow: 0 10px 26px -10px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.22s var(--ease-out-expo), border-color 0.2s ease, box-shadow 0.2s ease;
}

.code-digits-group:hover .code-seg {
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 12px 30px -10px rgba(59, 130, 246, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.code-sep {
  color: #64748b;
  font-size: 20px;
  font-weight: 700;
}

.code-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
}

.code-chain-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 13px;
  font-weight: 600;
}

.code-chain-badge.safe {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.code-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.code-pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 26px;
}

.code-pillar h3 {
  margin: 10px 0 10px;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.code-pillar p {
  margin: 0 0 14px;
  font-size: 14.2px;
  color: var(--text-body);
}

/* 4 栏精雕指标条 */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.24s var(--ease-out-expo), background 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  background: var(--glass-hover);
  border-color: rgba(96, 165, 250, 0.42);
}

.value-card-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-bright);
  opacity: 0.78;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.value-card:hover .value-card-hint {
  opacity: 1;
  transform: translateX(3px);
}

.value-metric {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.value-metric svg {
  width: 20px;
  height: 20px;
  color: var(--accent-bright);
}

.value-card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
}

.value-card p {
  margin: 0;
  font-size: 13.6px;
  color: var(--text-sub);
}

/* ==========================================================================
   核心功能展示：暗夜玻璃框 + 内嵌柔光 Studio Gallery 皮皮插画展台
   ========================================================================== */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 42px;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.feature-row.reverse .feature-copy { order: 2; }

.feature-copy h3 {
  margin: 12px 0 12px;
  font-size: clamp(21px, 2.15vw, 25px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}

.feature-copy p {
  margin: 0 0 20px;
  color: var(--text-body);
  font-size: 15px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.2px;
  color: #e2e8f0;
}

.check-list li svg {
  width: 17px;
  height: 17px;
  color: var(--accent-bright);
  flex-shrink: 0;
  margin-top: 3px;
}

/* 暗夜页面里的 Studio Gallery 纯白展板（零 mix-blend-mode，彻底杜绝 Edge/Chromium GPU 瓦片撕裂） */
.feature-visual,
.bento-illus-stage,
.doc-illus-stage {
  position: relative;
  isolation: isolate;
  contain: paint;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  padding: 20px 18px 0;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.72), 0 0 32px -12px rgba(96, 165, 250, 0.22), inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.feature-illus {
  width: 100%;
  max-width: 410px;
  height: auto;
  margin: 0 auto;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.38s var(--ease-out-expo);
}

.feature-row:hover .feature-illus,
.bento-card:hover .feature-illus,
.doc-card:hover .feature-illus {
  transform: translate3d(0, -4px, 0) scale(1.02);
}

.feature-visual-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 14px -18px 0;
  padding: 11px 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.feature-visual-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
}

/* ==========================================================================
   2x2 图文并茂暗夜 Bento Grid（游戏实测 / AI 大模型 / 装机模拟 / 日志排查）
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.bento-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.24s var(--ease-out-expo), background 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  background: var(--glass-hover);
  border-color: rgba(96, 165, 250, 0.34);
}

.bento-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-wrap: balance;
}

.bento-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
}

.bento-illus-stage {
  margin-top: auto;
  padding: 16px 14px 0;
  border-radius: 16px;
}

.bento-illus-stage .feature-visual-meta {
  margin: 12px -14px 0;
  padding: 10px 14px;
}

.bento-illus-stage .feature-illus {
  max-width: 340px;
}

/* ==========================================================================
   协同与安全透明展厅
   ========================================================================== */
.section-obsidian {
  position: relative;
  background:
    radial-gradient(ellipse 65% 48% at 50% 0%, rgba(59, 130, 246, 0.16), transparent 64%),
    radial-gradient(ellipse 42% 40% at 88% 84%, rgba(139, 92, 246, 0.14), transparent 60%),
    #060911;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.obs-strip {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.obs-node {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 220px;
}

.obs-num {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.36);
  color: #93c5fd;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.obs-node strong { display: block; font-size: 15px; color: #ffffff; }
.obs-node span { display: block; font-size: 12.5px; color: var(--text-sub); }
.obs-arrow { color: rgba(148, 163, 184, 0.55); font-size: 18px; font-weight: 700; }

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.eco-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  transition: transform 0.24s var(--ease-out-expo), background 0.22s ease, border-color 0.22s ease;
}

.eco-card:hover {
  transform: translateY(-3px);
  background: var(--glass-hover);
  border-color: rgba(96, 165, 250, 0.34);
}

.eco-card h3 { margin: 14px 0 8px; font-size: 18px; font-weight: 700; color: #ffffff; }
.eco-card p { margin: 0; font-size: 14px; color: var(--text-body); }

/* 底部旗舰 CTA 横幅 */
.cta-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 80% at 86% 20%, rgba(59, 130, 246, 0.26), transparent 62%),
    radial-gradient(ellipse 45% 70% at 14% 90%, rgba(139, 92, 246, 0.22), transparent 60%),
    #0d1426;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: var(--radius-2xl);
  padding: 40px 46px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 176px;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.cta-mascot {
  width: 162px;
  height: auto;
  border-radius: 20px;
  background: #f4f8ff;
  padding: 8px;
  margin: 0 auto;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease-out-expo);
}

.cta-banner:hover .cta-mascot { transform: translateY(-4px) rotate(-1.2deg); }
.cta-banner h2 { margin: 0 0 12px; font-size: clamp(23px, 2.7vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: #ffffff; text-wrap: balance; }
.cta-banner p { margin: 0 0 24px; color: var(--text-body); max-width: 600px; font-size: 15.5px; }

/* ==========================================================================
   子页面头部、下载中心与暗夜拖放 SHA-256 验真框
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(ellipse 55% 60% at 84% 15%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #090e1c 0%, #070b14 100%);
  background-size: auto, 26px 26px, auto;
  color: #ffffff;
  padding: 48px 0 46px;
  border-bottom: 1px solid var(--border);
}

.page-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.page-hero p {
  margin: 0;
  color: var(--text-body);
  max-width: 680px;
}

.page-hero-mascot {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.25);
  flex-shrink: 0;
}

.download-hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.dl-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.dl-card-featured {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 24px 56px -22px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dl-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.dl-meta-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
}

.dl-meta-box span { display: block; font-size: 12px; color: var(--text-sub); }
.dl-meta-box strong { font-size: 15px; color: #ffffff; font-variant-numeric: tabular-nums; }

.hash-box {
  background: rgba(0, 0, 0, 0.32);
  color: #e2e8f0;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  font-size: 12.5px;
}

.hash-box code {
  word-break: break-all;
  color: #93c5fd;
  font-weight: 600;
}

.copy-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5.5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  border-color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.2);
}

.sha-dropzone {
  margin-top: 14px;
  border: 1.5px dashed rgba(96, 165, 250, 0.42);
  background: rgba(59, 130, 246, 0.06);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.sha-dropzone:hover,
.sha-dropzone.dragover {
  border-color: #60a5fa;
  background: rgba(59, 130, 246, 0.14);
  transform: translateY(-1px);
}

.sha-dropzone.verified-ok {
  border-style: solid;
  border-color: rgba(52, 211, 153, 0.65);
  background: rgba(16, 185, 129, 0.12);
}

.sha-dropzone.verified-fail {
  border-style: solid;
  border-color: rgba(248, 113, 113, 0.65);
  background: rgba(239, 68, 68, 0.12);
}

.sha-drop-title { font-size: 13.5px; font-weight: 700; color: #ffffff; margin-bottom: 4px; }
.sha-drop-sub { font-size: 12px; color: var(--text-sub); }
.sha-drop-result { margin-top: 10px; font-size: 12.5px; font-weight: 600; word-break: break-all; }

.pkg-tree {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: #e2e8f0;
  margin-top: 14px;
}

.pkg-tree pre {
  margin: 8px 0 0;
  font-size: 12.3px;
  line-height: 1.58;
  color: #cbd5e1;
  overflow-x: auto;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, #3b82f6 0%, rgba(148, 163, 184, 0.25) 100%);
}

.timeline-item {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f172a;
  border: 2.5px solid #64748b;
}

.timeline-item:first-child::before {
  border-color: #60a5fa;
  background: #3b82f6;
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.25);
}

.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.timeline-ver { display: inline-flex; align-items: center; gap: 10px; font-size: 17.5px; font-weight: 800; color: #ffffff; }
.timeline-date { font-size: 13px; color: var(--text-sub); font-family: var(--font-mono); }
.timeline-list { margin: 0; padding-left: 18px; color: var(--text-body); font-size: 14px; }
.timeline-list li + li { margin-top: 6px; }

/* ==========================================================================
   文档中心：实时检索 + 图文并茂 (.doc-media-row) + 暗夜隐私矩阵
   ========================================================================== */
.docs-search-wrap { margin-top: 20px; max-width: 580px; }

.docs-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.docs-search-bar:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.docs-search-bar svg { width: 17px; height: 17px; color: var(--text-sub); flex-shrink: 0; }
.docs-search-bar input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #ffffff;
  background: transparent;
}
.docs-search-bar input::placeholder { color: var(--text-muted); }

.docs-hot-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.hot-tag-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hot-tag-btn:hover,
.hot-tag-btn.active {
  border-color: rgba(96, 165, 250, 0.6);
  color: #ffffff;
  background: rgba(59, 130, 246, 0.24);
}

.docs-search-status { margin-top: 8px; font-size: 12.5px; color: #93c5fd; font-weight: 600; min-height: 18px; }

.docs-layout {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 28px;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 86px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.docs-toc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }

.toc-link {
  display: block;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-sub);
  font-weight: 500;
  transition: background 0.14s ease, color 0.14s ease;
}

.toc-link:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.toc-link.active { background: rgba(59, 130, 246, 0.2); color: #93c5fd; font-weight: 700; }

.docs-content { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.doc-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
}

.doc-card.search-hidden,
.faq-item.search-hidden { display: none; }

.doc-card h2 { margin: 8px 0 12px; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; color: #ffffff; }
.doc-card h3 { margin: 18px 0 8px; font-size: 16.5px; font-weight: 700; color: #f1f5f9; }
.doc-card p { color: var(--text-body); }

/* 文档图文混排 */
.doc-media-row {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin-top: 10px;
}

.doc-illus-stage {
  padding: 14px 12px 0;
  border-radius: 16px;
}

.doc-illus-stage .feature-visual-meta {
  margin: 10px -12px 0;
  padding: 9px 12px;
}

.doc-illus-stage .feature-illus {
  max-width: 280px;
}

.doc-illus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.step-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-box h4 { margin: 0 0 6px; font-size: 15px; color: #ffffff; }
.step-box p { margin: 0; font-size: 13.5px; color: var(--text-sub); }

.callout {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 14px;
  border: 1px solid transparent;
}

.callout-info { background: rgba(59, 130, 246, 0.12); border-color: rgba(96, 165, 250, 0.28); color: #dbeafe; }
.callout-safe { background: rgba(16, 185, 129, 0.12); border-color: rgba(52, 211, 153, 0.28); color: #d1fae5; }

.privacy-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.pm-col { border-radius: 12px; padding: 18px; border: 1px solid var(--border); }
.pm-allow { background: rgba(16, 185, 129, 0.08); border-color: rgba(52, 211, 153, 0.25); }
.pm-deny { background: rgba(239, 68, 68, 0.08); border-color: rgba(248, 113, 113, 0.25); }
.pm-col h4 { margin: 0 0 10px; font-size: 15px; color: #ffffff; }
.pm-col ul { margin: 0; padding-left: 18px; font-size: 13.8px; color: var(--text-body); }
.pm-col li + li { margin-top: 6px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(96, 165, 250, 0.36);
}

.faq-q {
  width: 100%;
  border: none;
  background: transparent;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-sub); transition: transform 0.2s var(--ease-out-expo); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: #60a5fa; }
.faq-a { display: none; padding: 12px 18px 16px; font-size: 14px; color: var(--text-body); border-top: 1px solid var(--border); }
.faq-item.open .faq-a { display: block; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: #05080f;
  color: var(--text-sub);
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-brand strong { color: #ffffff; font-size: 17px; }
.footer-note { font-size: 13.5px; color: var(--text-sub); margin: 0; max-width: 320px; }
.footer-col h4 { margin: 0 0 12px; font-size: 13.5px; font-weight: 700; color: #ffffff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer-col a { color: var(--text-sub); transition: color 0.15s ease; }
.footer-col a:hover { color: #ffffff; }

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom a:hover { color: #93c5fd; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  background: #111827;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(96, 165, 250, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out-expo);
  z-index: 200;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   响应式适配
   ========================================================================== */
@media (max-width: 1060px) {
  .hero-grid,
  .download-hero-grid,
  .feature-row,
  .doc-media-row,
  .code-pillars {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-copy { order: 0; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-grid,
  .eco-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-toc { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links,
  .nav-actions { display: none; }
  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: #0b1120;
    padding: 14px 20px 18px;
    border-bottom: 1px solid var(--border);
  }
  .site-header.nav-open .nav-actions {
    display: flex;
    padding: 0 20px 16px;
    position: absolute;
    left: 0;
    right: 0;
    top: 266px;
    background: #0b1120;
    border-bottom: 1px solid var(--border);
  }
  .preview-shell { grid-template-columns: 1fr; }
  .preview-sidebar { flex-direction: row; overflow-x: auto; align-items: center; }
  .preview-brand,
  .preview-sidebar-ver { display: none; }
  .preview-tab-btn { width: auto; white-space: nowrap; }
  .pv-split,
  .pv-remote-grid,
  .step-grid,
  .privacy-matrix,
  .doc-illus-grid,
  .dl-meta-grid,
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner { text-align: center; padding: 28px 22px; }
  .cta-banner .hero-cta-row { justify-content: center; }
  .hero-meta-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-mascot { display: none; }
}

@media (max-width: 560px) {
  .value-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .feature-row,
  .code-showcase { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
