/* ============================================
   电流官网 · Apple 极简风重设计
   设计令牌 + 布局 + 动画系统
   ============================================ */

/* —— 设计令牌（CSS 变量，复用 App Theme.swift 色阶）—— */
:root {
  --bg-gradient: linear-gradient(170deg, #F9F9FB 0%, #EEEEF2 100%);
  --glow-opacity: 0.10;
  --text-primary: #1A1A1F;
  --text-secondary: #6B6B78;
  --text-tertiary: #8C8C94;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-stroke: rgba(0, 0, 0, 0.06);
  --card-hover-stroke: rgba(0, 0, 0, 0.12);
  --highlight-bg: rgba(0, 0, 0, 0.04);
  --track-color: rgba(0, 0, 0, 0.06);
  --divider-color: rgba(0, 0, 0, 0.08);
  --green: #30d158;
  --blue: #64d2ff;
  --blue-deep: #0a84ff;
  --orange: #ff9f0a;
  --yellow: #ffd60a;
  --red: #ff453a;
  --radius-card: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --max-width: 1120px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "PingFang SC", "Helvetica Neue", system-ui, sans-serif;
  --font-rounded: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "PingFang SC", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* —— 夜间模式（跟随系统）—— */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-gradient: linear-gradient(170deg, #1A1A1D 0%, #0B0B0E 100%);
    --glow-opacity: 0.16;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.68);
    --text-tertiary: rgba(255,255,255,0.48);
    --card-bg: rgba(255,255,255,0.05);
    --card-stroke: rgba(255,255,255,0.08);
    --card-hover-stroke: rgba(255,255,255,0.16);
    --highlight-bg: rgba(255,255,255,0.08);
    --track-color: rgba(255,255,255,0.10);
    --divider-color: rgba(255,255,255,0.10);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.20), 0 4px 16px rgba(0,0,0,0.16);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.30), 0 1px 3px rgba(0,0,0,0.16);
    --shadow-lg: 0 24px 80px rgba(0,0,0,0.40), 0 4px 16px rgba(0,0,0,0.24);
  }
}

/* —— 夜间模式（手动选择）—— */
:root[data-theme="dark"] {
  --bg-gradient: linear-gradient(170deg, #1A1A1D 0%, #0B0B0E 100%);
  --glow-opacity: 0.16;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.68);
  --text-tertiary: rgba(255,255,255,0.48);
  --card-bg: rgba(255,255,255,0.05);
  --card-stroke: rgba(255,255,255,0.08);
  --card-hover-stroke: rgba(255,255,255,0.16);
  --highlight-bg: rgba(255,255,255,0.08);
  --track-color: rgba(255,255,255,0.10);
  --divider-color: rgba(255,255,255,0.10);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.20), 0 4px 16px rgba(0,0,0,0.16);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.30), 0 1px 3px rgba(0,0,0,0.16);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.40), 0 4px 16px rgba(0,0,0,0.24);
}

/* —— 重置 —— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 全局背景光晕 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 800x500 at 10% -10%, rgba(48,209,88,var(--glow-opacity)), transparent 60%),
    radial-gradient(ellipse 600x400 at 90% 110%, rgba(100,210,255,calc(var(--glow-opacity)*0.6)), transparent 60%);
  pointer-events: none;
}

a { color: var(--blue-deep); text-decoration: none; transition: opacity 0.2s var(--ease-out); }
a:hover { opacity: 0.7; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* —— 导航栏 —— */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--card-bg) 50%, transparent);
  border-bottom: 1px solid var(--divider-color);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--text-primary); }
.nav-brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-secondary); white-space: nowrap; }
.nav-links a:hover { color: var(--text-primary); opacity: 1; }
.theme-toggle {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--highlight-bg); border: 1px solid var(--card-stroke);
  cursor: pointer; font-size: 15px; transition: all 0.2s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--card-hover-stroke); }
.theme-toggle:active { transform: scale(0.90); }
.theme-toggle-icon { display: inline-block; }
:root[data-theme="dark"] .theme-toggle-icon { font-size: 0; }
:root[data-theme="dark"] .theme-toggle-icon::after { content: "☀️"; font-size: 15px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle-icon { font-size: 0; }
  :root:not([data-theme="light"]) .theme-toggle-icon::after { content: "☀️"; font-size: 15px; }
}

/* —— 按钮 —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 14px 32px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), #28b84c);
  color: #fff; box-shadow: 0 4px 20px rgba(48,209,88,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(48,209,88,0.50); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.97); }
/* 波纹动效 */
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
}
.btn-primary:hover::after { animation: shimmer 0.8s ease-out; }
.btn-secondary {
  background: var(--card-bg); color: var(--text-primary);
  border-color: var(--card-stroke);
}
.btn-secondary:hover { border-color: var(--card-hover-stroke); transform: translateY(-1px); }
.btn-lg { font-size: 16px; padding: 16px 40px; }

/* —— Hero 区 —— */
.hero { padding: 80px 0 64px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center;
}
.hero-text h1 {
  font-family: var(--font-rounded);
  font-size: 68px; font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.05; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-slogan {
  font-size: 22px; color: var(--text-secondary); margin-bottom: 28px;
  font-weight: 500; min-height: 1.6em;
}
.hero-desc {
  font-size: 16px; color: var(--text-secondary); margin-bottom: 36px; max-width: 440px;
}
.hero-desc strong { color: var(--text-primary); font-weight: 600; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-meta { font-size: 13px; color: var(--text-tertiary); }
.hero-meta .dot { margin: 0 6px; opacity: 0.5; }
.dl-arch { font-size: 13px; color: var(--text-tertiary); margin-top: 6px; }
.dl-note {
  font-size: 12.5px; color: var(--text-tertiary);
  margin-top: 12px; max-width: 400px;
}
.dl-note a { color: var(--blue-deep); font-weight: 500; }

/* —— Hero 视觉区 —— */
.hero-visual { position: relative; }
.hero-shot {
  width: 100%; border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  display: block; transition: transform 0.4s var(--ease-out);
}
.hero-visual:hover .hero-shot { transform: scale(1.015) translateY(-4px); }

/* 日夜截图显隐 */
.hero-shot-dark, .preview-img-dark { display: none !important; }
.hero-shot-light, .preview-img-light { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-shot-light,
  :root:not([data-theme="light"]) .preview-img-light { display: none !important; }
  :root:not([data-theme="light"]) .hero-shot-dark,
  :root:not([data-theme="light"]) .preview-img-dark { display: block !important; }
}
:root[data-theme="dark"] .hero-shot-light,
:root[data-theme="dark"] .preview-img-light { display: none !important; }
:root[data-theme="dark"] .hero-shot-dark,
:root[data-theme="dark"] .preview-img-dark { display: block !important; }

/* 悬浮动态桑基图卡片 */
.sankey-float {
  position: absolute; right: -20px; bottom: -24px;
  width: 260px;
  background: var(--card-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius-card);
  padding: 14px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: floatSlow 6s ease-in-out infinite;
}
.sankey-float .sankey-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.sankey-float .sankey-card-title { font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.sankey-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--text-tertiary);
}
.sankey-live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.sankey-svg { width: 100%; height: 130px; display: block; }
.sankey-node-label { font-size: 9px; font-weight: 600; fill: var(--text-primary); }
.sankey-node-value { font-size: 8px; fill: var(--text-tertiary); }
.sankey-particle {
  fill: #fff; filter: drop-shadow(0 0 3px rgba(255,255,255,0.8));
}

/* 悬浮统计徽标 */
.hero-badge {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: var(--card-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--card-stroke);
  border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-md); z-index: 3;
  animation: floatUp 0.6s var(--ease-spring) both;
}
.hero-badge-1 { top: 16px; left: -20px; animation-delay: 0.2s; }
.hero-badge-2 { top: 84px; left: -24px; animation-delay: 0.4s; }
.badge-icon {
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.badge-icon.green { background: rgba(48,209,88,0.16); }
.badge-icon.orange { background: rgba(255,159,10,0.16); }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.badge-value {
  font-size: 17px; font-weight: 700; color: var(--text-primary);
  font-variant-numeric: tabular-nums; font-family: var(--font-rounded);
}
.badge-label { font-size: 10px; color: var(--text-tertiary); }

/* —— 区块通用 —— */
.section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-title {
  font-family: var(--font-rounded);
  font-size: 36px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 12px;
}
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* —— Bento Grid 功能区 —— */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}
.bento-card:hover {
  border-color: var(--card-hover-stroke);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* 大卡（占 2 列） */
.bento-card-large { grid-column: span 2; }
.bento-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.bento-icon.green { background: rgba(48,209,88,0.14); }
.bento-icon.blue { background: rgba(100,210,255,0.14); }
.bento-icon.orange { background: rgba(255,159,10,0.14); }
.bento-icon.red { background: rgba(255,69,58,0.14); }
.bento-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.bento-bullets { list-style: none; margin-top: 12px; }
.bento-bullets li {
  font-size: 13px; color: var(--text-tertiary);
  padding-left: 14px; position: relative; margin-top: 4px;
}
.bento-bullets li::before { content: "·"; position: absolute; left: 4px; font-weight: 700; }
/* 光泽扫过 hover */
.bento-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.bento-card:hover::after { opacity: 1; animation: shimmer 0.6s ease-out; }

/* —— 界面预览区 —— */
.preview-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch;
}
.preview-card {
  background: var(--card-bg); border: 1px solid var(--card-stroke);
  border-radius: var(--radius-card); padding: 16px;
  box-shadow: var(--shadow-sm); transition: all 0.35s var(--ease-out);
  display: flex; flex-direction: column;
}
.preview-card:hover { transform: translateY(-4px); border-color: var(--card-hover-stroke); box-shadow: var(--shadow-md); }
.preview-img-wrap {
  height: 340px; display: flex; align-items: center; justify-content: center; width: 100%;
}
.preview-card img {
  border-radius: var(--radius-sm); display: block;
  border: 1px solid var(--card-stroke);
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
}
.preview-caption {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 0 4px; flex-shrink: 0;
}
.preview-caption .icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.preview-caption .icon.green { background: rgba(48,209,88,0.14); }
.preview-caption .icon.blue { background: rgba(100,210,255,0.14); }
.preview-caption-text h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.preview-caption-text p { font-size: 12.5px; color: var(--text-tertiary); }

/* —— 隐私信任区 —— */
.trust {
  background: var(--card-bg); border: 1px solid var(--card-stroke);
  border-radius: var(--radius-card); padding: 44px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--green);
  background: rgba(48,209,88,0.10);
  padding: 6px 16px; border-radius: var(--radius-pill); margin-bottom: 20px;
}
.trust h2 { font-family: var(--font-rounded); font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.trust-desc { font-size: 15px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 32px; }
.data-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 720px; margin: 0 auto 32px; }
.data-item {
  padding: 16px 8px; border-radius: var(--radius-sm);
  background: var(--highlight-bg);
  text-align: center;
}
.data-item .data-label { font-size: 12px; color: var(--text-tertiary); margin-bottom: 4px; }
.data-item .data-source { font-size: 11px; color: var(--blue-deep); font-family: "SF Mono", monospace; }

/* —— Footer —— */
.footer { border-top: 1px solid var(--divider-color); padding: 40px 0; margin-top: 48px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-tertiary); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-secondary); }
/* 回到顶部 */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 99;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-bg); border: 1px solid var(--card-stroke);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease-out);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); color: var(--text-primary); }

/* —— 滚动渐显动画 —— */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— 更新日志页 —— */
.changelog-page { padding: 64px 0; }
.page-header { margin-bottom: 44px; }
.page-header h1 { font-family: var(--font-rounded); font-size: 40px; font-weight: 700; letter-spacing: -0.8px; }
.page-header p { font-size: 16px; color: var(--text-secondary); margin-top: 8px; }

.version-card {
  background: var(--card-bg); border: 1px solid var(--card-stroke);
  border-radius: var(--radius-card); padding: 28px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.version-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.version-num {
  font-family: var(--font-rounded); font-size: 22px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.version-badge {
  font-size: 12px; font-weight: 600; color: var(--green);
  background: rgba(48,209,88,0.14); padding: 2px 10px; border-radius: var(--radius-pill);
}
.version-date { font-size: 14px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.version-summary { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; }

.change-group { margin-top: 18px; }
.change-group-head {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.change-group-head.added { color: var(--green); background: rgba(48,209,88,0.12); }
.change-group-head.changed { color: var(--blue-deep); background: rgba(10,132,255,0.12); }
.change-group-head.fixed { color: var(--orange); background: rgba(255,159,10,0.14); }
.change-group-head.other { color: var(--text-tertiary); background: var(--highlight-bg); }

.change-items { list-style: none; }
.change-items li {
  padding: 8px 0 8px 16px; position: relative; font-size: 14px; color: var(--text-secondary); line-height: 1.55;
}
.change-items li::before { content: "·"; position: absolute; left: 4px; color: var(--text-tertiary); font-weight: 700; }
.change-items li strong { color: var(--text-primary); font-weight: 600; }

.loading, .error-msg { text-align: center; padding: 40px; color: var(--text-tertiary); font-size: 15px; }
.error-msg { color: var(--orange); }

/* 历史版本折叠 */
.version-card-collapsed { padding: 0; cursor: pointer; transition: border-color 0.15s; }
.version-card-collapsed[open] { padding: 28px; }
.version-card-collapsed:hover { border-color: var(--card-hover-stroke); }
.version-toggle {
  list-style: none; cursor: pointer; padding: 20px 28px; display: block; position: relative;
}
.version-toggle::-webkit-details-marker { display: none; }
.version-card-collapsed[open] > .version-toggle { padding: 0 0 0 0; margin-bottom: 20px; }
.version-toggle .version-head { margin-bottom: 6px; }
.version-toggle .version-summary { margin-bottom: 0; }
.version-chevron {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%);
  font-size: 12px; color: var(--text-tertiary);
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--highlight-bg); transition: all 0.15s;
}
.version-card-collapsed[open] > .version-toggle .version-chevron { display: none; }
.version-toggle:hover .version-chevron { color: var(--text-primary); }

/* —— 隐私页 —— */
.privacy-page { padding: 64px 0; }
.privacy-content { max-width: 740px; margin: 0 auto; }
.privacy-content h2 { font-family: var(--font-rounded); font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; color: var(--text-primary); }
.privacy-content p, .privacy-content li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.privacy-content ul { padding-left: 20px; margin: 10px 0; }
.privacy-content ol.steps { list-style: none; counter-reset: step; padding-left: 0; margin: 14px 0; }
.privacy-content ol.steps > li { counter-increment: step; position: relative; padding-left: 32px; margin-bottom: 10px; }
.privacy-content ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 12px; font-weight: 700; text-align: center; line-height: 22px;
}
.privacy-content strong { color: var(--text-primary); }
.privacy-content code {
  font-family: "SF Mono", monospace; font-size: 13px;
  background: var(--highlight-bg); padding: 2px 6px; border-radius: 4px; color: var(--text-primary);
  overflow-wrap: break-word; word-break: break-all;
}
.privacy-pledge {
  background: rgba(48,209,88,0.08); border: 1px solid rgba(48,209,88,0.20);
  border-radius: var(--radius-card); padding: 24px; margin-bottom: 32px;
}
.privacy-pledge h2 { margin-top: 0 !important; color: var(--green); }
.privacy-pledge p { color: var(--text-primary); }

/* —— 动画 keyframes —— */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes floatUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* —— 响应式 —— */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text h1 { font-size: 48px; }
  .hero-slogan { font-size: 19px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-large { grid-column: span 1; }
  .preview-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(3, 1fr); }
  .section-title { font-size: 28px; }
  .trust { padding: 32px 20px; }
  .nav-links { gap: 18px; }
  .sankey-float { width: 200px; right: 0; bottom: -12px; }
  .hero-badge-1 { left: 0; }
  .hero-badge-2 { display: none; }
  .preview-img-wrap { height: 280px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero { padding: 52px 0 36px; }
  .hero-text h1 { font-size: 40px; letter-spacing: -1px; }
  .hero-slogan { font-size: 17px; }
  .hero-desc { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .sankey-float, .hero-badge { display: none !important; }
  .nav-inner { height: 50px; }
  .nav-brand { font-size: 14px; }
  .nav-brand img { width: 24px; height: 24px; }
  .nav-links { gap: 14px; }
  .preview-img-wrap { height: 220px; }
  .preview-card { padding: 12px; }
  .bento-card { padding: 20px; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { padding: 24px 16px; }
  .trust h2 { font-size: 22px; }
  .version-card { padding: 18px; }
  .version-toggle { padding: 16px; }
  .version-chevron { right: 16px; }
  .back-to-top { width: 40px; height: 40px; bottom: 20px; right: 20px; }
  .page-header h1 { font-size: 30px; }
  .privacy-content h2 { font-size: 19px; }
  .privacy-content p, .privacy-content li { font-size: 14px; }
}

/* —— 动画偏好 —— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
