/* ============================================================
   Yuanc 远控 · 官网 / 管理后台共用设计系统
   零构建、零外部依赖：系统字体栈 + 内联 SVG + 原生 CSS
   ============================================================ */

:root {
  /* 底色与表面 */
  --bg: #060a16;
  --bg-2: #0a1024;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --line: rgba(150, 168, 214, 0.14);
  --line-strong: rgba(150, 168, 214, 0.26);

  /* 文字 */
  --text: #eaf0ff;
  --text-2: #a9b6d6;
  --text-3: #7181a6;
  --text-4: #53618a;

  /* 强调色 */
  --cyan: #2ee6f6;
  --blue: #5aa8ff;
  --purple: #a06bff;
  --green: #40e2a0;
  --amber: #ffc861;
  --red: #ff7a8a;

  /* 渐变 */
  --grad: linear-gradient(120deg, #2ee6f6 0%, #5aa8ff 46%, #a06bff 100%);
  --grad-soft: linear-gradient(120deg, rgba(46, 230, 246, 0.13), rgba(160, 107, 255, 0.13));
  --grad-border: linear-gradient(135deg, rgba(46, 230, 246, 0.55), rgba(160, 107, 255, 0.55));

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Code", "JetBrains Mono",
    Consolas, "Liberation Mono", monospace;

  /* 形状 */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --shadow: 0 20px 60px rgba(2, 6, 20, 0.55);
  --shadow-glow: 0 16px 46px rgba(90, 168, 255, 0.2);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 背景层：细腻网格 + 顶部双色光晕 */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
body::before {
  background-image:
    linear-gradient(rgba(126, 160, 225, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 160, 225, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 15%, transparent 78%);
}
body::after {
  background:
    radial-gradient(58% 46% at 12% -4%, rgba(46, 230, 246, 0.11), transparent 70%),
    radial-gradient(56% 44% at 88% 4%, rgba(160, 107, 255, 0.15), transparent 72%),
    radial-gradient(70% 40% at 50% 108%, rgba(90, 168, 255, 0.08), transparent 72%);
}

.page { position: relative; z-index: 1; }

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(90, 168, 255, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

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

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- 通用组件 ---------- */

.glass {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: var(--grad);
  color: #06101f;
  box-shadow: 0 10px 30px rgba(90, 168, 255, 0.26);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(90, 168, 255, 0.38); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(46, 230, 246, 0.42); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; border-radius: 11px; }
.btn:disabled, .btn.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(0.4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  white-space: nowrap;
}
.badge-ok { color: var(--green); border-color: rgba(64, 226, 160, 0.3); background: rgba(64, 226, 160, 0.09); }
.badge-info { color: var(--cyan); border-color: rgba(46, 230, 246, 0.3); background: rgba(46, 230, 246, 0.08); }
.badge-warn { color: var(--amber); border-color: rgba(255, 200, 97, 0.3); background: rgba(255, 200, 97, 0.08); }
.badge-muted { color: var(--text-3); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.badge-purple { color: #c9a8ff; border-color: rgba(160, 107, 255, 0.32); background: rgba(160, 107, 255, 0.1); }

.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--text-4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}
.dot-online { background: var(--green); box-shadow: 0 0 0 3px rgba(64, 226, 160, 0.14), 0 0 12px rgba(64, 226, 160, 0.65); }
.dot-warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 200, 97, 0.14); }
.dot-off { background: var(--text-4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--grad);
}

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.22;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 1.02rem; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }

/* 加载 / 失败 / 空状态占位（优雅降级的核心） */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 160px;
  padding: 34px 22px;
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-3);
}
.state-box .state-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-3);
}
.state-box .state-icon svg { width: 21px; height: 21px; }
.state-box strong { color: var(--text); font-size: 1rem; font-weight: 650; }
.state-box span { font-size: 0.87rem; max-width: 380px; }
.state-box.is-error { border-color: rgba(255, 122, 138, 0.28); background: rgba(255, 122, 138, 0.035); }
.state-box.is-error .state-icon { color: var(--red); border-color: rgba(255, 122, 138, 0.25); background: rgba(255, 122, 138, 0.08); }
.state-box .btn { margin-top: 6px; }

.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.skeleton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.075), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
}
.skeleton-line { height: 13px; margin-bottom: 12px; }
.skeleton-line:last-child { margin-bottom: 0; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 22, 0.74);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 1.02rem; font-weight: 750; letter-spacing: 0.01em; }
.brand-text small { font-size: 0.66rem; color: var(--text-3); letter-spacing: 0.18em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-cta { flex: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}
.nav-toggle svg { width: 19px; height: 19px; }

/* 公告条 */
.announcement {
  border-bottom: 1px solid var(--line);
  background: rgba(90, 168, 255, 0.07);
}
.announcement.is-warn { background: rgba(255, 200, 97, 0.07); }
.announcement.is-error { background: rgba(255, 122, 138, 0.07); }
.announcement-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 11px 28px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.87rem; color: var(--text-2);
}
.announcement-inner b { color: var(--text); font-weight: 650; flex: none; }
.announcement-inner .ann-body { flex: 1; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.8rem; color: var(--text-2);
  margin-bottom: 26px;
}
.hero-tag .badge { padding: 3px 9px; font-size: 0.7rem; }
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.35rem);
  line-height: 1.12;
  font-weight: 780;
  letter-spacing: -0.035em;
}
.hero h1 .gradient-text { display: block; }
.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: 1.08rem;
  color: var(--text-2);
  line-height: 1.85;
}
.hero-sub b { color: var(--text); font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero-meta div { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--text-3); }
.hero-meta svg { width: 15px; height: 15px; color: var(--cyan); }

/* 模拟软件窗口 */
.mock-wrap { position: relative; }
.mock-wrap::before {
  content: "";
  position: absolute; inset: -12% -8% -14% -6%;
  background: radial-gradient(closest-side, rgba(90, 168, 255, 0.22), transparent 75%);
  filter: blur(28px);
  z-index: -1;
}
.mock-window {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(150, 168, 214, 0.1);
  animation: float 7s ease-in-out infinite;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid var(--line);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.mock-dots i:nth-child(2) { background: #ffc861; }
.mock-dots i:nth-child(3) { background: #40e2a0; }
.mock-title { font-size: 0.8rem; color: var(--text-2); font-weight: 600; }
.mock-titlebar .badge { margin-left: auto; font-size: 0.68rem; padding: 3px 9px; }
.mock-body { padding: 26px 24px 22px; }
.mock-greeting { font-size: 0.86rem; color: var(--text-3); }
.mock-greeting b { display: block; color: var(--text); font-size: 1.16rem; font-weight: 700; margin-top: 4px; }

.mock-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(46, 230, 246, 0.22);
  background: linear-gradient(150deg, rgba(46, 230, 246, 0.09), rgba(160, 107, 255, 0.06));
  position: relative;
}
.mock-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  pointer-events: none;
}
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-label { font-size: 0.74rem; color: var(--text-3); letter-spacing: 0.05em; }
.mock-hint { font-size: 0.68rem; color: var(--text-4); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }
.mock-code {
  margin: 10px 0 18px;
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  display: flex; gap: 14px;
  font-variant-numeric: tabular-nums;
}
.mock-code span {
  padding: 4px 10px;
  border-radius: 9px;
  background: rgba(6, 10, 22, 0.5);
  border: 1px solid var(--line);
}
.mock-pass {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(6, 10, 22, 0.42);
  border: 1px solid var(--line);
}
.mock-pass .pass-dots { display: flex; gap: 7px; }
.mock-pass .pass-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); opacity: 0.75; }
.mock-pass .pass-label { font-size: 0.75rem; color: var(--text-3); }
.mock-connect {
  margin-top: 16px;
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: var(--grad);
  color: #06101f;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mock-connect svg { width: 15px; height: 15px; }
.mock-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.75rem; color: var(--text-3);
}
.mock-foot span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 核心数据条 ---------- */
.stats-wrap { padding: 0 0 8px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 10px;
  border-radius: var(--r-xl);
}
.stat { padding: 8px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--mono);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.stat-label { margin-top: 8px; font-size: 0.85rem; color: var(--text-2); }
.stat-note { margin-top: 3px; font-size: 0.73rem; color: var(--text-4); }
.stats-note { margin-top: 14px; text-align: center; font-size: 0.76rem; color: var(--text-4); }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  padding: 26px 24px 24px;
  border-radius: var(--r-lg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(90, 168, 255, 0.34);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 0.8; }
.feature-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  margin-bottom: 22px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-num { font-family: var(--mono); font-size: 0.72rem; color: var(--text-4); letter-spacing: 0.12em; }
.feature-card h3 { margin-top: 8px; font-size: 1.12rem; font-weight: 700; }
.feature-card p { margin-top: 12px; font-size: 0.89rem; color: var(--text-2); line-height: 1.75; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.feature-tags span {
  font-size: 0.71rem; color: var(--text-3);
  padding: 3px 9px; border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

/* ---------- 多平台下载 ---------- */
.downloads-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.update-tool {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.84rem; color: var(--text-2);
}
.update-tool .update-result { display: inline-flex; align-items: center; gap: 8px; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform-card {
  padding: 28px 26px 24px;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.platform-card:hover { transform: translateY(-4px); border-color: rgba(90, 168, 255, 0.32); box-shadow: var(--shadow-glow); }
.platform-card.is-muted { opacity: 0.66; filter: saturate(0.55); }
.platform-card.is-muted:hover { transform: none; box-shadow: none; border-color: var(--line); }
.platform-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.platform-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
}
.platform-icon svg { width: 26px; height: 26px; }
.platform-card h3 { margin-top: 22px; font-size: 1.28rem; font-weight: 720; }
.platform-sub { font-size: 0.82rem; color: var(--text-3); margin-top: 4px; }
.platform-specs {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 66px;
}
.platform-specs div { display: flex; flex-direction: column; gap: 3px; }
.platform-specs dt { font-size: 0.71rem; color: var(--text-4); letter-spacing: 0.05em; }
.platform-specs dd { margin: 0; font-size: 0.87rem; color: var(--text); font-family: var(--mono); }
.platform-note { font-size: 0.8rem; color: var(--text-3); min-height: 38px; margin-bottom: 18px; line-height: 1.6; }
.platform-card .btn { margin-top: auto; width: 100%; }
.download-foot { margin-top: 22px; font-size: 0.8rem; color: var(--text-4); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }

/* ---------- 全球加速节点 ---------- */
.nodes-section { position: relative; }
.node-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.node-card { padding: 24px; border-radius: var(--r-lg); }
.node-top { display: flex; align-items: center; gap: 9px; }
.node-top .node-status { font-size: 0.8rem; color: var(--text-2); }
.node-card h3 { margin-top: 18px; font-size: 1.1rem; font-weight: 700; }
.node-region { font-size: 0.82rem; color: var(--text-3); margin-top: 4px; }
.node-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.node-meta div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.79rem; }
.node-meta span { color: var(--text-4); flex: none; }
.node-meta b { font-family: var(--mono); font-weight: 500; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node-badges { display: flex; gap: 7px; margin-top: 16px; flex-wrap: wrap; }
.nodes-foot { margin-top: 20px; font-size: 0.8rem; color: var(--text-4); }

/* ---------- 更新日志 ---------- */
.timeline { position: relative; padding-left: 34px; max-width: 860px; }
.timeline::before {
  content: "";
  position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(160, 107, 255, 0.5), transparent);
}
.timeline-item { position: relative; padding: 0 0 34px 10px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -30px; top: 9px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 230, 246, 0.1);
}
.timeline-item:not(:first-child)::before { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(160, 107, 255, 0.1); }
.timeline-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.timeline-version { font-family: var(--mono); font-size: 1.02rem; font-weight: 700; color: var(--text); }
.timeline-date { font-size: 0.79rem; color: var(--text-4); font-family: var(--mono); }
.timeline-item h3 { margin-top: 10px; font-size: 1.12rem; font-weight: 680; }
.timeline-items { margin-top: 12px; display: grid; gap: 8px; }
.timeline-items li { position: relative; padding-left: 18px; font-size: 0.88rem; color: var(--text-2); }
.timeline-items li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); opacity: 0.8;
}

/* ---------- 安全与企业特性 ---------- */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.security-card { padding: 24px; border-radius: var(--r-lg); }
.security-card .sec-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--cyan); margin-bottom: 18px;
}
.security-card .sec-icon svg { width: 19px; height: 19px; }
.security-card h3 { font-size: 1.02rem; font-weight: 680; }
.security-card p { margin-top: 9px; font-size: 0.86rem; color: var(--text-2); line-height: 1.7; }
.security-banner {
  margin-top: 22px; padding: 26px 28px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  background: linear-gradient(110deg, rgba(46, 230, 246, 0.075), rgba(160, 107, 255, 0.075));
  border: 1px solid rgba(90, 168, 255, 0.2);
}
.security-banner h3 { font-size: 1.14rem; font-weight: 700; }
.security-banner p { margin-top: 7px; font-size: 0.87rem; color: var(--text-2); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(4, 7, 16, 0.6); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding: 62px 0 46px;
}
.footer-brand p { margin-top: 16px; font-size: 0.86rem; color: var(--text-3); max-width: 300px; line-height: 1.8; }
.footer-domain {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  font-family: var(--mono); font-size: 0.88rem; color: var(--cyan);
  padding: 7px 13px; border-radius: 9px;
  border: 1px solid rgba(46, 230, 246, 0.25); background: rgba(46, 230, 246, 0.06);
}
.footer-col h4 { font-size: 0.82rem; color: var(--text); font-weight: 700; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col a, .footer-col span { display: block; font-size: 0.85rem; color: var(--text-3); padding: 5px 0; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 0 28px; border-top: 1px solid var(--line);
  font-size: 0.79rem; color: var(--text-4);
}
.footer-bottom .footer-status { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 动效 ---------- */
@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.rise { animation: rise 0.55s ease both; }
.is-live { animation: pulse 2s ease-in-out infinite; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 8px 16px; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: rgba(8, 12, 26, 0.97);
    border-bottom: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-links .nav-cta { margin-top: 6px; }
  .nav-toggle { display: inline-flex; }
  .nav-inner .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .mock-wrap { max-width: 520px; margin: 0 auto; width: 100%; }
  .section { padding: 74px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 4px 0; padding: 18px 8px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  .container, .nav-inner, .announcement-inner { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  .hero-sub { font-size: 0.98rem; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 34px; }
  .feature-grid, .platform-grid, .security-grid, .node-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .mock-body { padding: 20px 17px 18px; }
  .mock-foot { padding: 12px 17px; }
  .mock-code { gap: 8px; font-size: 1.35rem; }
  .mock-code span { padding: 4px 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .security-banner { padding: 22px; }
  .downloads-head { flex-direction: column; align-items: flex-start; }
  .update-tool { width: 100%; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
