/* ============================================================
   智音 Zhiyin · 官网样式
   tech-blue 深色科技风 · sky blue #0EA5E9 · 深空蓝黑底
   ============================================================ */

/* ---------- 设计 token ---------- */
:root {
  /* 背景 · 深空蓝黑 */
  --bg: #0a0e1a;
  --bg-2: #0d1322;
  --bg-3: #121a2e;

  /* 面板 · 玻璃质感 */
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.045);
  --panel-hover: rgba(255, 255, 255, 0.06);

  /* 品牌 · sky blue */
  --brand: #0ea5e9;
  --brand-2: #38bdf8;
  --brand-3: #7dd3fc;
  --brand-soft: rgba(14, 165, 233, 0.12);
  --brand-glow: rgba(14, 165, 233, 0.45);

  /* logo 紫 · 点缀 */
  --purple: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.18);

  /* 文字 · 冷调蓝灰白 */
  --text: #e6edf6;
  --text-2: #94a3b8;
  --text-3: #64748b;

  /* 边框 */
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);

  /* 字体 */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, monospace;

  /* 圆角 / 阴影 */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px var(--border), 0 24px 60px -24px rgba(14, 165, 233, 0.35);

  --container: 1180px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

::selection { background: var(--brand-soft); color: var(--brand-3); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ---------- 通用 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.mono { font-family: var(--font-mono); }
.grad {
  background: linear-gradient(110deg, var(--brand-3) 0%, var(--brand-2) 38%, var(--brand) 64%, var(--purple) 116%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 背景装饰 ---------- */
.bg-grid, .bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.bg-glow--1 {
  width: 620px; height: 620px;
  top: -200px; left: -120px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
}
.bg-glow--2 {
  width: 520px; height: 520px;
  top: 200px; right: -160px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  opacity: 0.32;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn--sm { padding: 8px 14px; font-size: 0.875rem; border-radius: 10px; }
.btn--lg { padding: 14px 26px; font-size: 1.05rem; border-radius: 14px; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #04141f;
  box-shadow: 0 8px 24px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--panel);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--panel-hover); border-color: var(--text-3); }

.btn--disabled {
  background: var(--panel);
  border-color: var(--border);
  color: var(--text-3);
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}
.btn--disabled::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 28px);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.nav__logo { border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(139,92,246,0.5); }
.nav__name-en { color: var(--text-2); font-weight: 500; font-size: 0.95em; }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: var(--panel); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__github {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--panel);
  transition: color .2s, border-color .2s, background .2s;
}
.nav__github:hover { color: var(--text); border-color: var(--border-strong); background: var(--panel-2); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
}
.nav__toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 500;
}
.nav__mobile a:hover { background: var(--panel); color: var(--text); }
.nav__mobile .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 24px;
}
.pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 10px var(--brand-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__subtitle strong { color: var(--text); font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero__meta {
  font-size: 0.85rem;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.dot-sep { opacity: 0.5; }

/* ---------- Hero 视觉 ---------- */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.device {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.device::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--brand-soft), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.device__label {
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.device__screen {
  background: radial-gradient(ellipse at 50% 0%, rgba(14,165,233,0.08), transparent 60%), var(--bg);
  border-radius: var(--radius);
  padding: 22px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}
.device--phone { max-width: 240px; align-self: center; }
.device--laptop { max-width: 360px; }

/* 麦克风脉冲球 */
.mic-orb {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-2);
  background: linear-gradient(135deg, var(--brand-soft), transparent);
  border: 1px solid var(--brand-soft);
}
.mic-orb__ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  opacity: 0;
  animation: ring 2.4s ease-out infinite;
}
.mic-orb__ring--2 { animation-delay: 1.2s; }
@keyframes ring {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* 声波 bars */
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 36px; }
.wave span {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  animation: wave-bar 1.1s ease-in-out infinite;
}
@keyframes wave-bar {
  0%, 100% { height: 8px; opacity: 0.5; }
  50% { height: 30px; opacity: 1; }
}

/* 连接线 */
.link-line {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  height: 48px;
  position: relative;
}
.link-line__label {
  font-size: 0.7rem;
  color: var(--text-3);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
}
.link-line__flow {
  position: relative;
  width: 2px; height: 28px;
  background: var(--border-strong);
  overflow: hidden;
}
.link-line__flow::after {
  content: "";
  position: absolute;
  left: 0; top: -14px;
  width: 2px; height: 14px;
  background: linear-gradient(180deg, transparent, var(--brand-2));
  animation: flow 1.6s linear infinite;
}
@keyframes flow { 0% { top: -14px; } 100% { top: 28px; } }

/* 转写区 */
.transcript { width: 100%; text-align: left; }
.transcript__line {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
}
.transcript__line--cur { color: var(--text-2); }
.cursor {
  display: inline-block;
  color: var(--brand-2);
  font-weight: 600;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.device__badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 0.7rem;
  color: var(--brand-3);
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 8px var(--brand-glow);
  animation: pulse 1.8s ease-in-out infinite;
}

/* Hero 底部波形 */
.hero__waveform {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  opacity: 0.4;
  pointer-events: none;
}
.hero__waveform canvas { width: 100%; height: 100%; display: block; }

/* ---------- 信任栏 ---------- */
.trustbar { padding: 2.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trustbar__inner { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.trustbar__label { font-size: 0.8rem; color: var(--text-3); font-family: var(--font-mono); }
.trustbar__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; }
.trustbar__items span { color: var(--text-2); font-size: 0.95rem; font-weight: 500; }

/* ---------- Section 通用 ---------- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012), transparent); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--brand-2);
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(14,165,233,0.2);
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section__desc { color: var(--text-2); font-size: 1.05rem; }

/* ---------- 特性卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--panel-2);
}
.feature-card:hover::before { opacity: 1; }
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-2);
  background: var(--brand-soft);
  border: 1px solid rgba(14,165,233,0.18);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.step__num {
  position: absolute;
  top: 22px; right: 26px;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bg-3);
  -webkit-text-stroke: 1px var(--border-strong);
  line-height: 1;
}
.step__icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-2);
  background: linear-gradient(135deg, var(--brand-soft), transparent);
  border: 1px solid rgba(14,165,233,0.18);
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- 隐私 ---------- */
.privacy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.privacy__lead { font-size: 1.15rem; color: var(--text-2); margin: 14px 0 26px; }
.privacy__list { display: flex; flex-direction: column; gap: 16px; }
.privacy__list li { display: flex; gap: 14px; align-items: flex-start; }
.privacy__check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(14,165,233,0.25);
  margin-top: 2px;
}
.privacy__list strong { color: var(--text); }
.privacy__list div { color: var(--text-2); font-size: 0.98rem; }

.privacy__card {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.privacy__card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  font-size: 0.82rem;
  color: var(--text-2);
}
.privacy__code {
  padding: 22px 20px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
}
.c-dim { color: var(--text-3); }
.c-key { color: var(--purple); }
.c-brand { color: var(--brand-2); }

/* ---------- 技术栈 ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tech-card {
  padding: 26px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.tech-card:hover { border-color: var(--border-strong); background: var(--panel-2); }
.tech-card__tag {
  display: inline-block;
  font-size: 0.74rem;
  color: var(--brand-2);
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--brand-soft);
  margin-bottom: 14px;
}
.tech-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.tech-card p { color: var(--text-2); font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .25s, background .25s;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--border-strong); background: var(--panel-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  transition: color .2s;
}
.faq__item summary:hover { color: var(--brand-3); }
.faq__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--text-2);
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease;
}
.faq__icon::before { top: 50%; left: 5px; right: 5px; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 5px; bottom: 5px; width: 2px; transform: translateX(-50%); }
.faq__item[open] .faq__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq__item[open] .faq__icon::before { background: var(--brand-2); }
.faq__body { padding: 0 22px 20px; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(5rem, 9vw, 7rem); }
.cta__card {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}
.cta__title {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta__desc { position: relative; color: var(--text-2); font-size: 1.08rem; margin-bottom: 30px; }
.cta__buttons { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 20px; }
.cta__meta { position: relative; font-size: 0.85rem; color: var(--text-3); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; background: var(--bg-2); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo { border-radius: 10px; }
.footer__name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.footer__name .mono { color: var(--text-2); font-weight: 500; font-size: 0.9em; }
.footer__tagline { color: var(--text-3); font-size: 0.9rem; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__col h4 { font-size: 0.82rem; color: var(--text-3); font-family: var(--font-mono); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__col a { display: block; color: var(--text-2); font-size: 0.94rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--brand-3); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 1.8rem;
  font-size: 0.86rem;
  color: var(--text-3);
}
.footer__made span { color: var(--brand-2); }

/* ---------- 锚点跳转:避开 sticky 导航 ---------- */
section[id], [id].section { scroll-margin-top: 84px; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
  .hero__visual { order: -1; margin-bottom: 1rem; }
  .privacy__inner { grid-template-columns: 1fr; }
  .privacy__card { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__github { display: none; }
  .nav__actions .btn--sm { display: none; }
  .nav__toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__links { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .cta__buttons { flex-direction: column; }
  .cta__buttons .btn { width: 100%; }
  .hero__cta .btn { flex: 1; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .trustbar__items { gap: 10px 20px; }
}
