/* ============================================================
   地震哨兵 Dianguard — 站点样式
   深色 / 玻璃拟态 / 极光渐变 / 预警四色
   ============================================================ */

:root {
  --bg: #050508;
  --bg-elev: #0b0b11;
  --bg-elev-2: #101018;
  --card: rgba(255,255,255,0.038);
  --card-solid: #14141c;
  --card-hover: rgba(255,255,255,0.062);
  --border: rgba(255,255,255,0.085);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f4f4f7;
  --text-soft: #c9c9d2;
  --text-muted: #8b8b96;
  --blue: #007AFF;
  --blue-dark: #0A84FF;
  --level-blue: #0A84FF;
  --level-yellow: #FFCC00;
  --level-orange: #FF9500;
  --level-red: #FF3B30;
  --green: #34C759;
  --purple: #AF52DE;
  --cyan: #32ADE6;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(10,132,255,0.32); color: #fff; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---------- 背景层：波纹画布 / 极光 / 噪点 ---------- */
#wave-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.5;
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(10,132,255,0.55), transparent 68%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.aurora span:nth-child(2) {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  right: -8vw; top: 12vh;
  background: radial-gradient(circle, rgba(255,59,48,0.35), transparent 68%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
.aurora span:nth-child(3) {
  width: 44vw; height: 44vw; min-width: 340px; min-height: 340px;
  left: 28vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(175,82,222,0.3), transparent 68%);
  animation: drift-c 38s var(--ease) infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(9vw, 7vh, 0) scale(1.14); } }
@keyframes drift-b { to { transform: translate3d(-11vw, 12vh, 0) scale(1.2); } }
@keyframes drift-c { to { transform: translate3d(6vw, -10vh, 0) scale(1.1); } }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ---------- 顶部滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--level-blue), var(--purple), var(--level-red));
  box-shadow: 0 0 12px rgba(10,132,255,0.6);
  transition: width 0.08s linear;
}

/* ============================================================
   导航（全站统一）
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 28px;
  background: rgba(5,5,8,0.42);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.scrolled {
  height: 58px;
  background: rgba(5,5,8,0.82);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 34px rgba(0,0,0,0.42);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img {
  width: 30px; height: 30px;
  border-radius: 9px;
  transition: transform 0.4s var(--ease);
}
.nav-logo:hover img { transform: rotate(-8deg) scale(1.06); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.nav-links > a {
  position: relative;
  color: var(--text-muted);
  padding: 8px 13px;
  border-radius: 10px;
  transition: color 0.22s, background 0.22s;
  white-space: nowrap;
}
.nav-links > a:hover { color: var(--text); text-decoration: none; background: rgba(255,255,255,0.05); }
.nav-links > a.active { color: var(--text); }
.nav-links > a.active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--level-blue), var(--purple));
}
.nav-sep {
  width: 1px; height: 20px;
  background: var(--border);
  margin: 0 8px;
  flex: 0 0 auto;
}
.nav-cta {
  padding: 8px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,122,255,0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,122,255,0.42); background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important; }
.nav-github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-soft) !important;
  transition: 0.22s;
  padding: 0 !important;
}
.nav-github:hover { background: rgba(255,255,255,0.08); color: #fff !important; border-color: var(--border-strong); }
.nav-github svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle i {
  position: absolute;
  left: 11px;
  width: 16px; height: 1.8px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle i:nth-child(1) { top: 14px; }
.nav-toggle i:nth-child(2) { top: 19px; }
.nav-toggle i:nth-child(3) { top: 24px; }
.nav-toggle.open i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open i:nth-child(2) { opacity: 0; }
.nav-toggle.open i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s;
  text-decoration: none !important;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
}
.btn:hover::before { left: 140%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,122,255,0.28);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(0,122,255,0.42); }
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.09); border-color: var(--border-strong); }
.btn-large { padding: 17px 36px; font-size: 16px; }
.btn-small { padding: 9px 18px; font-size: 13px; }
.btn svg { flex: 0 0 auto; }

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-dark);
}
.link-arrow:hover { text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   通用卡片效果：光标高光 + 渐变描边
   ============================================================ */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.spot { position: relative; overflow: hidden; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(10,132,255,0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot.warm::before { background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgba(255,149,0,0.16), transparent 62%); }

/* ============================================================
   Hero（首页）
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 140px 40px 90px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-content { flex: 1; max-width: 620px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(10,132,255,0.1);
  border: 1px solid rgba(10,132,255,0.25);
  color: #8ec4ff;
  font-size: 13px;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot { animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.gradient-text {
  background: linear-gradient(120deg, #0A84FF 0%, #AF52DE 45%, #FF3B30 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hue-slide 9s ease-in-out infinite;
}
@keyframes hue-slide {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-subtitle {
  font-size: 17.5px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--text-muted); }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-stat span { font-size: 13px; color: var(--text-muted); }

/* ---------- 手机 mockup ---------- */
.hero-device { flex: 0 0 auto; perspective: 1400px; }
.phone {
  width: 318px;
  height: 650px;
  border-radius: 46px;
  background: #14141b;
  border: 10px solid #24242e;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.12),
    0 44px 100px rgba(0,0,0,0.62),
    0 0 90px rgba(255,59,48,0.13);
  position: relative;
  overflow: hidden;
  transition: transform 0.7s var(--ease);
}
.hero-device .phone { animation: float-y 6.5s ease-in-out infinite; }
@keyframes float-y {
  0%,100% { transform: translateY(0) rotateY(-5deg) rotateX(2deg); }
  50% { transform: translateY(-14px) rotateY(-2deg) rotateX(0deg); }
}
.phone.small { width: 250px; height: 520px; border-width: 8px; border-radius: 38px; }
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 116px; height: 24px;
  background: #14141b;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  padding: 42px 18px 22px;
  background: linear-gradient(180deg, #0a0a10, #16161e);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.phone-screen.dark { background: #000; }

.alert-card {
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(140deg, #ff3b30, #ff6b52);
  box-shadow: 0 14px 44px rgba(255,59,48,0.36);
  animation: pulse-red 2.4s ease-in-out infinite;
}
.alert-card.red { background: linear-gradient(140deg, #ff3b30, #ff6b52); }
@keyframes pulse-red {
  0%,100% { box-shadow: 0 14px 40px rgba(255,59,48,0.32); }
  50% { box-shadow: 0 16px 58px rgba(255,59,48,0.62); }
}
.alert-icon { margin-bottom: 4px; color: #fff; line-height: 0; }
.alert-icon svg { width: 34px; height: 34px; }
.alert-level { font-size: 12px; opacity: 0.92; letter-spacing: 0.16em; }
.alert-mag { font-size: 31px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -0.02em; }
.alert-tip { margin-top: 8px; font-size: 12.5px; opacity: 0.92; }

.alert-eta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
  min-height: 102px;
}
.alert-eta .eta-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 94px; height: 94px;
  transform: translate(-50%, -58%);
}
.alert-eta .eta-ring-bg { fill: none; stroke: rgba(255,255,255,0.26); stroke-width: 7; }
.alert-eta .eta-ring-fg {
  fill: none;
  stroke: #fff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-origin: 50px 50px;
  transition: stroke-dashoffset 1s linear;
}
.alert-eta .count { font-size: 40px; font-weight: 800; line-height: 1; position: relative; z-index: 1; }
.alert-eta .eta-label { font-size: 11.5px; opacity: 0.92; margin-top: 3px; z-index: 1; }

.home-preview {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
}
.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 11px;
}
.status-value { color: var(--text); }
.source-dots { display: flex; gap: 8px; margin-bottom: 16px; }
.source-dots .dot { animation: blink 2.4s ease-in-out infinite; }
.source-dots .dot:nth-child(2) { animation-delay: 0.3s; }
.source-dots .dot:nth-child(3) { animation-delay: 0.6s; }
.source-dots .dot:nth-child(4) { animation-delay: 0.9s; }
.mock-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
}

/* ============================================================
   区块通用
   ============================================================ */
.section { padding: 108px 0; position: relative; z-index: 2; }
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.section-eyebrow.left { text-align: left; }
.section-title {
  font-size: clamp(27px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.22;
  margin: 0 0 44px;
  text-align: center;
}
.section-title.left { text-align: left; }
.section-lead {
  text-align: center;
  color: var(--text-soft);
  font-size: 16.5px;
  max-width: 700px;
  margin: -28px auto 52px;
}
.section-lead.left { text-align: left; margin-left: 0; }
.text-muted { color: var(--text-muted); }

/* ============================================================
   首页：数据源
   ============================================================ */
.sources { background: linear-gradient(180deg, transparent, rgba(10,132,255,0.035)); }
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.source-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.source-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.source-name { font-weight: 700; font-size: 16.5px; margin-bottom: 5px; }
.source-url { font-size: 12px; color: var(--text-muted); margin-bottom: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.badge.free { background: rgba(52,199,89,0.14); color: var(--green); }
.badge.token { background: rgba(255,204,0,0.14); color: var(--level-yellow); }
.badge.key { background: rgba(175,82,222,0.14); color: var(--purple); }

/* ============================================================
   首页：工作原理三步
   ============================================================ */
.how { background: var(--bg-elev); }
.how-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.how-step {
  flex: 1;
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.how-step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.how-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  margin: 0 auto 14px;
  box-shadow: 0 6px 18px rgba(0,122,255,0.35);
}
.how-icon { margin-bottom: 10px; color: var(--blue-dark); line-height: 0; }
.how-icon.red { color: var(--level-red); }
.how-icon svg { width: 30px; height: 30px; }
.how-step h3 { margin: 0 0 8px; font-size: 17.5px; }
.how-step p { margin: 0; color: var(--text-muted); font-size: 14px; }
.how-arrow {
  align-self: center;
  color: var(--text-muted);
  flex: 0 0 auto;
  line-height: 0;
  opacity: 0.6;
}
.how-arrow svg { width: 22px; height: 22px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.section-more { text-align: center; margin-top: 44px; }

/* ============================================================
   首页：功能卡
   ============================================================ */
.features { background: var(--bg-elev-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.feature-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.016));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.32s var(--ease), border-color 0.3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-5deg); }
.feature-icon.red { background: rgba(255,59,48,0.13); color: var(--level-red); }
.feature-icon.blue { background: rgba(10,132,255,0.13); color: var(--level-blue); }
.feature-icon.yellow { background: rgba(255,204,0,0.13); color: var(--level-yellow); }
.feature-icon.orange { background: rgba(255,149,0,0.13); color: var(--level-orange); }
.feature-icon.purple { background: rgba(175,82,222,0.13); color: var(--purple); }
.feature-icon.green { background: rgba(52,199,89,0.13); color: var(--green); }
.feature-icon.cyan { background: rgba(50,173,230,0.13); color: var(--cyan); }
.feature-icon svg { width: 25px; height: 25px; }
.feature-card h3 { margin: 0 0 10px; font-size: 18.5px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ============================================================
   首页：可靠性
   ============================================================ */
.reliability { background: linear-gradient(180deg, transparent, rgba(10,132,255,0.035)); }
.reliability-inner { display: flex; align-items: center; gap: 56px; }
.reliability-text { flex: 1; }
.reliability-text p { color: var(--text-muted); max-width: 560px; }
.reliability-list {
  list-style: none; padding: 0; margin-top: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.reliability-list li { display: flex; align-items: center; gap: 10px; color: var(--text-soft); }
.reliability-graph {
  flex: 0 0 250px;
  height: 250px;
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  overflow: hidden;
}
.rg-lines { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rg-line {
  stroke: var(--blue-dark);
  stroke-width: 1.4;
  stroke-dasharray: 5 6;
  opacity: 0.6;
  animation: dash-flow 1.4s linear infinite;
}
.rg-node circle { fill: var(--blue-dark); }
.rg-node text { fill: var(--text-soft); font-size: 12.5px; font-weight: 600; }
.rg-hub-svg rect {
  fill: url(#rgHubGrad);
  filter: drop-shadow(0 8px 24px rgba(0,122,255,0.4));
}
.rg-hub-svg text { fill: #fff; font-size: 12.5px; font-weight: 700; }
@keyframes dash-flow { to { stroke-dashoffset: -22; } }

/* ============================================================
   首页：界面一览
   ============================================================ */
.screen-showcase { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.screen-showcase .phone { transition: transform 0.45s var(--ease); }
.screen-showcase .phone:hover { transform: translateY(-10px) scale(1.02); }
.screen-header { text-align: center; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.status-card {
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.24);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
.status-title { font-weight: 700; font-size: 17px; color: var(--green); }
.status-desc { font-size: 12.5px; color: var(--text-muted); }
.mock-list { display: flex; flex-direction: column; gap: 9px; }
.mock-list.compact { gap: 7px; }
.mock-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13.5px;
}
.history-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border-left: 4px solid;
}
.history-item.level-orange { border-left-color: var(--level-orange); }
.history-item.level-blue { border-left-color: var(--level-blue); }
.history-item.level-yellow { border-left-color: var(--level-yellow); }
.history-mag {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14.5px;
  background: rgba(255,255,255,0.08);
}
.history-info { flex: 1; font-size: 13.5px; }
.history-meta { font-size: 11.5px; color: var(--text-muted); }

/* ============================================================
   首页：语音
   ============================================================ */
.voice { background: linear-gradient(180deg, var(--bg-elev), transparent); }
.voice-inner { display: flex; align-items: center; gap: 64px; }
.voice-text { flex: 1; }
.voice-text p { color: var(--text-muted); max-width: 520px; }
.voice-list {
  list-style: none; padding: 0; margin-top: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.voice-list li { position: relative; padding-left: 22px; color: var(--text-muted); }
.voice-list li strong { color: var(--text); margin-right: 6px; }
.voice-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(10,132,255,0.7);
}
.voice-visual {
  flex: 0 0 300px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.vs-speaker {
  position: relative;
  flex: none;
  width: 24px; height: 34px;
  border-radius: 6px 2px 2px 6px;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}
.vs-speaker::after {
  content: "";
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 11px 0 11px 13px;
  border-color: transparent transparent transparent var(--blue-dark);
}
.vs-wave {
  position: absolute;
  left: 50px; top: 50%;
  width: 20px; height: 20px;
  border: 3px solid var(--blue-dark);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0;
  animation: vs-pulse 1.8s ease-out infinite;
}
.vs-wave-1 { animation-delay: 0s; }
.vs-wave-2 { animation-delay: 0.6s; }
.vs-wave-3 { animation-delay: 1.2s; }
@keyframes vs-pulse {
  0%   { width: 16px; height: 16px; opacity: 0.7; }
  100% { width: 130px; height: 130px; opacity: 0; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-elev); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 15px;
  max-width: 980px;
  margin: 0 auto;
}
.faq-item {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 22px;
  transition: border-color 0.25s, background 0.25s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { background: rgba(255,255,255,0.055); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 1.8px solid var(--text-muted);
  border-bottom: 1.8px solid var(--text-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item p { margin: 0 0 18px; color: var(--text-muted); font-size: 14.5px; animation: fade-in 0.35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   下载
   ============================================================ */
.download { text-align: center; }
.download-version { text-align: center; color: var(--text-muted); font-size: 15.5px; margin: -28px 0 40px; }
.download-version strong { color: var(--text); }
.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 20px;
  text-align: left;
  margin-bottom: 46px;
}
.step {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0,122,255,0.32);
}
.step h3 { margin: 0 0 8px; font-size: 16.5px; }
.step p { margin: 0; color: var(--text-muted); font-size: 13.5px; }
.download-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 34px;
  background: var(--bg-elev);
  position: relative;
  z-index: 2;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  text-align: left;
}
.footer-brand img { width: 42px; height: 42px; border-radius: 11px; }
.footer-brand strong { display: block; font-size: 16.5px; }
.footer-brand p { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 12.5px; margin: 0; }

/* ---------- 等级色点 ---------- */
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.level-blue { background: var(--level-blue); }
.level-yellow { background: var(--level-yellow); }
.level-orange { background: var(--level-orange); }
.level-red { background: var(--level-red); }
.level-green { background: var(--green); }

/* ============================================================
   子页面通用头部
   ============================================================ */
.page-hero {
  padding: 158px 0 66px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.page-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(10,132,255,0.1);
  border: 1px solid rgba(10,132,255,0.25);
  color: #8ec4ff;
  font-size: 12.5px;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 20px;
}
.page-hero .lead {
  color: var(--text-soft);
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto;
}
.page-hero .page-actions { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* 页内锚点导航 */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: rgba(5,5,8,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  color: var(--text-muted);
  font-size: 13.5px;
  padding: 7px 15px;
  border-radius: 999px;
  white-space: nowrap;
  transition: 0.22s;
}
.subnav a:hover { color: var(--text); background: rgba(255,255,255,0.06); text-decoration: none; }
.subnav a.active { color: #fff; background: rgba(10,132,255,0.18); }

/* ============================================================
   功能页组件
   ============================================================ */
.fx-block { padding: 74px 0; position: relative; z-index: 2; }
.fx-block:nth-child(even) { background: var(--bg-elev); }
.fx-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.fx-eyebrow {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-dark);
  padding: 5px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(10,132,255,0.1);
  border: 1px solid rgba(10,132,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fx-head h2 {
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.028em;
  margin: 0 0 14px;
}
.fx-head p { color: var(--text-soft); font-size: 16px; margin: 0; line-height: 1.62; }

.fx-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 74px;
}
.fx-row:last-child { margin-bottom: 0; }
.fx-row.reverse { direction: rtl; }
.fx-row.reverse > * { direction: ltr; }
.fx-copy h3 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.fx-copy > p { color: var(--text-soft); font-size: 15.5px; margin: 0 0 18px; }
.fx-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.fx-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fx-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 14.5px;
}
.fx-points li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.fx-points li b { color: var(--text); font-weight: 600; }

.fx-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012));
  padding: 30px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.fx-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(10,132,255,0.14), transparent 70%);
  pointer-events: none;
}

/* 四级预警等级表 */
.level-table { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.level-row {
  display: grid;
  grid-template-columns: 108px 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  border-left: 4px solid;
  transition: transform 0.28s var(--ease), background 0.28s;
}
.level-row:hover { transform: translateX(6px); background: rgba(255,255,255,0.062); }
.level-row.blue { border-left-color: var(--level-blue); }
.level-row.yellow { border-left-color: var(--level-yellow); }
.level-row.orange { border-left-color: var(--level-orange); }
.level-row.red { border-left-color: var(--level-red); }
.level-name { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 9px; }
.level-row.blue .level-name { color: var(--level-blue); }
.level-row.yellow .level-name { color: var(--level-yellow); }
.level-row.orange .level-name { color: var(--level-orange); }
.level-row.red .level-name { color: var(--level-red); }
.level-mag { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--text-soft); }
.level-desc { color: var(--text-muted); font-size: 14.5px; }

/* 权限表 */
.perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.perm-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.perm-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.perm-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.perm-top svg { width: 18px; height: 18px; color: var(--blue-dark); flex: 0 0 auto; }
.perm-top b { font-size: 15.5px; }
.perm-req {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,59,48,0.14);
  color: var(--level-red);
}
.perm-req.opt { background: rgba(139,139,150,0.16); color: var(--text-muted); }
.perm-card p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* 对比表 */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14.5px;
  background: rgba(255,255,255,0.022);
}
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp-table thead th {
  background: rgba(255,255,255,0.05);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.cmp-table thead th:nth-child(2) { color: var(--blue-dark); }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.cmp-table td:first-child { color: var(--text); font-weight: 600; width: 30%; }
.cmp-table td { color: var(--text-muted); }
.cmp-yes { color: var(--green); font-weight: 700; }
.cmp-no { color: var(--text-muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 语音时序条 */
.voice-seq { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.vs-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
}
.vs-idx {
  width: 26px; height: 26px; flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(10,132,255,0.18);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800;
}
.vs-body b { display: block; font-size: 14.5px; }
.vs-body span { font-size: 13px; color: var(--text-muted); }
.vs-bars { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.vs-bars i {
  width: 3px; border-radius: 2px; background: var(--blue-dark);
  animation: wave 1.1s ease-in-out infinite;
}
.vs-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.vs-bars i:nth-child(2) { height: 75%; animation-delay: 0.1s; }
.vs-bars i:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.vs-bars i:nth-child(4) { height: 60%; animation-delay: 0.3s; }

/* ============================================================
   原理页组件
   ============================================================ */
/* P/S 波传播演示 */
.wave-demo {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 100% at 12% 50%, rgba(10,132,255,0.08), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  overflow: hidden;
}
.wd-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent);
}
.wd-epi {
  position: absolute;
  left: 13%; top: 50%;
  transform: translate(-50%, -50%);
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 22px rgba(255,255,255,0.85);
  z-index: 4;
}
.wd-epi::after {
  content: "震源";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-soft);
  white-space: nowrap;
}
.wd-ring {
  position: absolute;
  left: 13%; top: 50%;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 2px solid;
  opacity: 0;
  z-index: 2;
}
.wd-ring.p { border-color: rgba(10,132,255,0.85); animation: ring-p 3.4s linear infinite; }
.wd-ring.s { border-color: rgba(255,59,48,0.85); border-width: 3px; animation: ring-s 3.4s linear infinite; }
.wd-ring.p2 { animation-delay: 1.7s; }
.wd-ring.s2 { animation-delay: 1.7s; }
@keyframes ring-p {
  0% { transform: scale(0.2); opacity: 0.95; }
  70% { opacity: 0.5; }
  100% { transform: scale(11); opacity: 0; }
}
@keyframes ring-s {
  0% { transform: scale(0.2); opacity: 0; }
  12% { opacity: 0.95; }
  70% { opacity: 0.45; }
  100% { transform: scale(6.4); opacity: 0; }
}
.wd-you {
  position: absolute;
  right: 12%; top: 50%;
  transform: translate(50%, -50%);
  z-index: 4;
  text-align: center;
}
.wd-you .pin {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 26px rgba(0,122,255,0.5);
  margin: 0 auto;
}
.wd-you .pin svg { width: 20px; height: 20px; }
.wd-you span { display: block; margin-top: 8px; font-size: 12px; color: var(--text-soft); }
.wd-legend {
  position: absolute;
  left: 18px; bottom: 16px;
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--text-soft);
  z-index: 5;
}
.wd-legend i {
  display: inline-block;
  width: 16px; height: 2.5px;
  border-radius: 2px;
  margin-right: 7px;
  vertical-align: middle;
}
.wd-legend .p i { background: var(--level-blue); }
.wd-legend .s i { background: var(--level-red); }

/* 时间轴 */
.timeline { position: relative; max-width: 940px; margin: 0 auto; padding: 26px 0 10px; }
.tl-track {
  position: relative;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  margin: 0 6% 44px;
}
.tl-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--level-blue), var(--purple), var(--level-red));
  box-shadow: 0 0 16px rgba(10,132,255,0.55);
  animation: tl-run 4.2s var(--ease) infinite;
}
@keyframes tl-run {
  0% { width: 0; }
  85% { width: 100%; }
  100% { width: 100%; opacity: 0.35; }
}
.tl-dot {
  position: absolute;
  top: 50%;
  width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--blue-dark);
  z-index: 2;
}
.tl-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tl-step {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.tl-step:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.tl-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.tl-step b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.tl-step p { margin: 0; font-size: 13.5px; color: var(--text-muted); }

/* 公式卡 */
.formula-card {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  padding: 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.formula-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 0%, rgba(175,82,222,0.14), transparent 70%);
  pointer-events: none;
}
.formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(17px, 2.6vw, 25px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 12px 0 20px;
  color: #fff;
  position: relative;
}
.formula em { color: var(--level-yellow); font-style: normal; }
.formula-legend {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
  position: relative;
}
.formula-legend b { color: var(--level-yellow); font-family: ui-monospace, monospace; margin-right: 5px; }
.formula-note { color: var(--text-muted); font-size: 13.5px; margin: 20px 0 0; position: relative; }

/* 架构数据流 */
.arch {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  padding: 34px 28px;
}
.arch-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.arch-node {
  flex: 1 1 190px;
  max-width: 230px;
  text-align: center;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.045);
  font-size: 13.5px;
}
.arch-node b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.arch-node span { color: var(--text-muted); font-size: 12px; font-family: ui-monospace, monospace; }
.arch-node.hub {
  background: linear-gradient(135deg, rgba(0,122,255,0.9), rgba(10,132,255,0.75));
  border-color: rgba(10,132,255,0.5);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0,122,255,0.32);
  max-width: 300px;
}
.arch-node.hub span { color: rgba(255,255,255,0.85); }
.arch-flow {
  height: 58px;
  position: relative;
  margin: 6px 0;
}
.arch-flow svg { width: 100%; height: 100%; }
.arch-flow path {
  fill: none;
  stroke: rgba(10,132,255,0.45);
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
  animation: dash-flow 1.3s linear infinite;
}
.arch-caption { text-align: center; color: var(--text-muted); font-size: 13.5px; margin: 20px 0 0; }

/* 盲区示意 */
.blindzone {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 46px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.bz-graph {
  position: relative;
  width: 300px; height: 300px;
  margin: 0 auto;
}
.bz-graph i {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: block;
}
.bz-graph .z1 { width: 96px; height: 96px; background: rgba(255,59,48,0.18); border: 1.5px dashed rgba(255,59,48,0.6); }
.bz-graph .z2 { width: 196px; height: 196px; background: rgba(255,149,0,0.09); border: 1.5px dashed rgba(255,149,0,0.45); }
.bz-graph .z3 { width: 292px; height: 292px; background: rgba(10,132,255,0.05); border: 1.5px dashed rgba(10,132,255,0.4); }
.bz-graph .core {
  width: 12px; height: 12px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,0.8);
  z-index: 3;
}
.bz-pulse {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  animation: bz-ping 2.8s ease-out infinite;
}
@keyframes bz-ping {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(14); opacity: 0; }
}
.bz-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.bz-legend li { display: flex; gap: 14px; align-items: flex-start; }
.bz-legend .swatch {
  width: 14px; height: 14px; border-radius: 4px; flex: 0 0 auto; margin-top: 5px;
}
.bz-legend .swatch.r { background: rgba(255,59,48,0.55); }
.bz-legend .swatch.o { background: rgba(255,149,0,0.45); }
.bz-legend .swatch.b { background: rgba(10,132,255,0.42); }
.bz-legend b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.bz-legend p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* 决策流程 */
.flow { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0; }
.flow-node {
  width: 100%;
  max-width: 560px;
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.flow-node:hover { transform: scale(1.02); border-color: var(--border-strong); }
.flow-node b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.flow-node span { font-size: 13.5px; color: var(--text-muted); }
.flow-node.decide { border-color: rgba(255,204,0,0.4); background: linear-gradient(160deg, rgba(255,204,0,0.09), rgba(255,255,255,0.014)); }
.flow-node.alert { border-color: rgba(255,59,48,0.45); background: linear-gradient(160deg, rgba(255,59,48,0.12), rgba(255,255,255,0.014)); }
.flow-node.quiet { border-color: rgba(139,139,150,0.3); }
.flow-arrow-v { width: 2px; height: 30px; background: linear-gradient(180deg, rgba(10,132,255,0.7), rgba(10,132,255,0.15)); position: relative; }
.flow-arrow-v::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 7px; height: 7px;
  border-right: 2px solid rgba(10,132,255,0.7);
  border-bottom: 2px solid rgba(10,132,255,0.7);
}
.flow-split { display: flex; gap: 20px; width: 100%; justify-content: center; flex-wrap: wrap; }
.flow-split .flow-node { max-width: 270px; }
.flow-label { font-size: 12.5px; color: var(--text-muted); margin: 4px 0; }

/* 数据速览条 */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.stat-cell {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
}
.stat-cell b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, #9fc7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-cell span { font-size: 13px; color: var(--text-muted); }

/* 提示条 */
.callout {
  max-width: 900px;
  margin: 46px auto 0;
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,149,0,0.32);
  background: linear-gradient(160deg, rgba(255,149,0,0.09), rgba(255,255,255,0.012));
}
.callout svg { width: 22px; height: 22px; color: var(--level-orange); flex: 0 0 auto; margin-top: 2px; }
.callout b { display: block; margin-bottom: 5px; font-size: 15.5px; }
.callout p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* CTA 收尾 */
.cta-band { padding: 96px 0; position: relative; z-index: 2; }
.cta-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(10,132,255,0.18), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  padding: 54px 34px;
}
.cta-inner h2 { font-size: clamp(25px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.028em; margin: 0 0 14px; }
.cta-inner p { color: var(--text-soft); margin: 0 0 28px; font-size: 16px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   免责声明页
   ============================================================ */
.page-disclaimer #wave-canvas { opacity: 0.25; }
.disclaimer-section { padding: 150px 0 80px; position: relative; z-index: 2; }
.disclaimer-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.disclaimer-header h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 16px; letter-spacing: -0.03em; }
.lead { color: var(--text-soft); font-size: 16.5px; }
.disclaimer-body { display: flex; flex-direction: column; gap: 22px; max-width: 780px; margin: 0 auto; }
.disclaimer-block {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.3s;
}
.disclaimer-block:hover { border-color: var(--border-strong); }
.disclaimer-block.warning {
  border-color: rgba(255,59,48,0.32);
  background: linear-gradient(150deg, rgba(255,59,48,0.09), rgba(255,255,255,0.014));
}
.disclaimer-block h2 { font-size: 19px; margin: 0 0 14px; }
.disclaimer-block p { color: var(--text-muted); margin: 0 0 12px; font-size: 14.8px; }
.disclaimer-block p:last-child { margin-bottom: 0; }
.disclaimer-block ol { margin: 0; padding-left: 20px; color: var(--text-muted); font-size: 14.8px; }
.disclaimer-block li { margin-bottom: 10px; }
.disclaimer-block li:last-child { margin-bottom: 0; }
.disclaimer-actions { display: flex; justify-content: center; gap: 15px; margin-top: 48px; flex-wrap: wrap; }

/* ============================================================
   版本更新页
   ============================================================ */
.page-changelog #wave-canvas { opacity: 0.22; }
.changelog-section { padding: 40px 0 90px; position: relative; z-index: 2; }
.changelog-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.changelog-header h1 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 14px; letter-spacing: -0.03em; }
.changelog-header .lead { color: var(--text-soft); font-size: 16.5px; }
.release-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.release-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.release-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.release-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-dark), var(--level-red));
}
.release-card.latest { border-color: rgba(10,132,255,0.4); }
.release-head { display: flex; align-items: baseline; gap: 13px; flex-wrap: wrap; margin-bottom: 16px; }
.release-version { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.release-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(10,132,255,0.15);
  color: var(--blue-dark);
}
.release-date { color: var(--text-muted); font-size: 13.5px; margin-left: auto; font-family: ui-monospace, monospace; }
.release-notes { color: var(--text-muted); font-size: 14.8px; }
.release-notes h2, .release-notes h3, .release-notes h4 { color: var(--text); margin: 18px 0 8px; }
.release-notes h2 { font-size: 18px; }
.release-notes h3 { font-size: 16.5px; }
.release-notes h4 { font-size: 15px; }
.release-notes p { margin: 0 0 10px; }
.release-notes ul, .release-notes ol { margin: 0 0 12px; padding-left: 22px; }
.release-notes li { margin-bottom: 6px; }
.release-notes code {
  background: rgba(255,255,255,0.08);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: ui-monospace, monospace;
}
.release-notes a { color: var(--blue-dark); }
.release-notes hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.release-dl { margin: 18px 0 0 !important; }
.release-loading { text-align: center; color: var(--text-muted); padding: 40px; }
.release-loading::after {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--blue-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.release-error {
  text-align: center;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.changelog-actions { display: flex; justify-content: center; gap: 15px; margin-top: 40px; flex-wrap: wrap; }

/* ============================================================
   滚动入场动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.from-left { transform: translateX(-34px); }
.reveal.from-right { transform: translateX(34px); }
.reveal.zoom { transform: scale(0.95); }
.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links { gap: 2px; }
  .nav-links > a { padding: 8px 10px; font-size: 13.5px; }
}

@media (max-width: 960px) {
  .hero {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    padding: 116px 22px 64px;
    gap: 36px;
  }
  .hero-content { max-width: 640px; order: 1; }
  .hero-device { order: 2; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; max-width: 560px; }
  .voice-inner { flex-direction: column; text-align: center; }
  .voice-text p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .voice-visual { flex: 0 0 auto; width: 100%; max-width: 300px; margin: 4px auto 0; }
  .fx-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .fx-row.reverse { direction: ltr; }
  .blindzone { grid-template-columns: 1fr; gap: 34px; }
  .tl-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 18px 26px;
    background: rgba(8,8,12,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links > a { padding: 13px 14px; font-size: 15px; border-radius: 12px; }
  .nav-links > a.active { background: rgba(10,132,255,0.14); }
  .nav-links > a.active::after { display: none; }
  .nav-sep { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-github { width: auto !important; height: auto !important; border-radius: 12px !important; padding: 12px 14px !important; justify-content: flex-start; gap: 10px; }
  .nav-github::after { content: "GitHub 仓库"; font-size: 15px; }
}

@media (max-width: 860px) {
  .how-grid { flex-wrap: wrap; }
  .how-arrow { display: none; }
  .how-step { flex: 1 1 100%; }
  .reliability-inner { flex-direction: column; }
  .reliability-text { text-align: left; }
  .reliability-graph { flex: 0 0 auto; width: 100%; max-width: 320px; }
  .release-head { gap: 10px; }
  .release-date { margin-left: 0; width: 100%; }
  .level-row { grid-template-columns: 1fr; gap: 8px; }
  .level-mag { font-size: 13px; }
}

@media (max-width: 640px) {
  .nav { padding: 0 16px; }
  .section { padding: 68px 0; }
  .fx-block { padding: 60px 0; }
  .page-hero { padding: 130px 0 48px; }
  .phone { width: 268px; height: 552px; }
  .hero-title { font-size: clamp(28px, 8vw, 44px); line-height: 1.14; }
  .hero-subtitle { font-size: 15.5px; }
  .hero-badge { font-size: 12px; padding: 6px 13px; }
  .install-steps, .feature-grid, .source-grid, .perm-grid { grid-template-columns: 1fr; }
  .disclaimer-block { padding: 22px; }
  .release-card { padding: 22px; }
  .tl-steps { grid-template-columns: 1fr; }
  .tl-track { display: none; }
  .hero-stats { gap: 22px; }
  .hero-stat b { font-size: 22px; }
  .wave-demo { height: 240px; }
  .bz-graph { width: 260px; height: 260px; }
  .bz-graph .z3 { width: 252px; height: 252px; }
  .bz-graph .z2 { width: 170px; height: 170px; }
  .bz-graph .z1 { width: 84px; height: 84px; }
  .cta-inner { padding: 40px 22px; }
  .formula-card { padding: 26px 20px; }
  .arch { padding: 24px 16px; }
}

/* 超小屏（≤420px）：按钮堆叠、手机再缩小，避免横向挤压 */
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .phone { width: 240px; height: 496px; }
  .hero-device .phone { width: 240px; height: 496px; }
  .section { padding: 60px 0; }
}

/* ============================================================
   技术原理页 · Apple 风格增强 + 动效填充
   ============================================================ */

/* 导航 kicker 玻璃质感 */
.page-hero .kicker { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* 双栏布局：文字 + 可视化，填补横向空白 */
.hp-dual {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.hp-dual.reverse { direction: rtl; }
.hp-dual.reverse > * { direction: ltr; }
.hp-copy { min-width: 0; }
.hp-copy p { color: var(--text-soft); font-size: 16px; line-height: 1.66; margin: 0 0 26px; }
.hp-copy p strong { color: var(--text); font-weight: 700; }
.hp-visual { min-width: 0; }
.hp-copy .stat-strip { margin-top: 0; }

/* 波纹 demo 画布 + HUD */
.wave-demo .wd-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.wd-hud {
  position: absolute; top: 16px; left: 18px; right: 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; color: var(--text-soft);
  z-index: 5; pointer-events: none;
}
.wd-hud .wd-time b { color: #fff; font-weight: 700; }
.wd-arrive {
  position: absolute; left: 50%; bottom: 56px;
  transform: translateX(-50%) translateY(8px);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,59,48,0.18);
  border: 1px solid rgba(255,59,48,0.5);
  color: #ff8a80; font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 6; pointer-events: none;
}
.wave-demo.hit .wd-arrive { opacity: 1; transform: translateX(-50%) translateY(0); }
.wd-you.hit .pin {
  animation: wd-hit .7s var(--ease);
}
@keyframes wd-hit {
  0%   { box-shadow: 0 0 0 0 rgba(255,59,48,0.78), 0 8px 26px rgba(255,59,48,0.6); }
  100% { box-shadow: 0 0 0 26px rgba(255,59,48,0), 0 8px 26px rgba(0,122,255,0.5); }
}

/* 烈度曲线可视化 */
.intensity-vis {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  padding: 26px 26px 18px;
}
.iv-readout { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.iv-label { font-size: 13px; color: var(--text-muted); }
.iv-value {
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #9fc7ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.iv-sub { font-size: 12.5px; color: var(--text-muted); }
.iv-svg { width: 100%; height: auto; aspect-ratio: 360 / 240; display: block; }
.iv-curve { transition: stroke-dashoffset 1.6s var(--ease); }
.iv-axis { font-size: 12px; color: var(--text-muted); margin-top: 10px; text-align: center; }

/* 架构数据流：光点包 */
.arch-pkt { fill: #0A84FF; filter: drop-shadow(0 0 5px rgba(10,132,255,0.95)); }

/* 盲区：雷达扫描 */
.bz-graph { overflow: hidden; border-radius: 50%; }
.bz-sweep {
  position: absolute; left: 50%; top: 50%;
  width: 150%; height: 150%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, rgba(10,132,255,0.36), rgba(10,132,255,0) 30%);
  border-radius: 50%;
  animation: bz-sweep 4.4s linear infinite;
  pointer-events: none;
}
@keyframes bz-sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* 决策流程：行进光点 + 当前步高亮 */
.flow { position: relative; }
.flow-pkt {
  position: absolute; left: 50%; top: 0;
  width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(10,132,255,0.25), 0 0 16px rgba(10,132,255,0.95);
  opacity: 0; transition: opacity .4s;
  z-index: 3;
}
.flow.running .flow-pkt { opacity: 1; }
.flow-node.active {
  border-color: var(--blue);
  background: linear-gradient(160deg, rgba(10,132,255,0.16), rgba(255,255,255,0.014));
  box-shadow: 0 0 0 1px rgba(10,132,255,0.4), 0 14px 36px rgba(0,122,255,0.18);
  transform: scale(1.02);
}
.flow-node.decide.active {
  border-color: rgba(255,204,0,0.7);
  background: linear-gradient(160deg, rgba(255,204,0,0.16), rgba(255,255,255,0.014));
  box-shadow: 0 0 0 1px rgba(255,204,0,0.5);
}
.flow-node.alert.active {
  border-color: rgba(255,59,48,0.7);
  background: linear-gradient(160deg, rgba(255,59,48,0.2), rgba(255,255,255,0.014));
}

/* 时间轴：行进光点 + 滚动联动填充 */
.tl-fill { animation: none; transition: width 0.12s linear; }
.tl-runner {
  position: absolute; top: 50%; left: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(10,132,255,0.22), 0 0 14px rgba(10,132,255,0.95);
  opacity: 0; transition: opacity .4s;
  z-index: 3;
}
.timeline.running .tl-runner { opacity: 1; }

/* ---------- 响应式：技术原理页 ---------- */
@media (max-width: 960px) {
  .hp-dual { grid-template-columns: 1fr; gap: 30px; }
  .hp-dual .hp-copy { order: 1; }
  .hp-dual .hp-visual { order: 2; }
  .intensity-vis { padding: 22px 18px 14px; }
  .iv-svg { height: auto; }
  .tl-runner { display: none; }
}
@media (max-width: 640px) {
  .wave-demo { height: 260px; }
  .wd-hud { font-size: 11.5px; top: 12px; left: 14px; right: 14px; }
  .wd-arrive { bottom: 50px; font-size: 12px; padding: 6px 12px; }
  .iv-value { font-size: 28px; }
  .iv-svg { height: auto; }
  .bz-graph { width: 240px; height: 240px; }
  .bz-graph .z3 { width: 232px; height: 232px; }
  .bz-graph .z2 { width: 158px; height: 158px; }
  .bz-graph .z1 { width: 78px; height: 78px; }
}
