/* ============================================================
   快连 · 全球智能网络加速平台
   style.css — 全站样式
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #06080f;
  --bg-2: #0a0f1e;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);

  --text: #e9eefb;
  --text-soft: #b3bed4;
  --text-dim: #7c89a3;

  --brand: #22d3ee;
  --brand-2: #4f7cff;
  --brand-3: #a855f7;
  --brand-ink: #04121c;
  --ok: #34d399;

  --grad-brand: linear-gradient(120deg, #22d3ee, #4f7cff 55%, #a855f7);
  --grad-btn: linear-gradient(120deg, #2ee6ff, #5b8cff);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1180px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.78);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 背景光晕与网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(820px 520px at 88% 4%, rgba(168, 85, 247, 0.14), transparent 64%),
    radial-gradient(1000px 600px at 50% 108%, rgba(79, 124, 255, 0.12), transparent 68%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 76%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection { background: rgba(34, 211, 238, 0.3); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070a13; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 2px solid #070a13;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }

.section__head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7ee8ff;
}

.section__title { font-size: clamp(25px, 3vw, 38px); font-weight: 800; letter-spacing: -0.028em; }
.section__lead { margin-top: 16px; font-size: 16.5px; color: var(--text-soft); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease,
    background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--grad-btn);
  color: var(--brand-ink);
  box-shadow: 0 12px 34px -14px rgba(34, 211, 238, 0.9);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -14px rgba(34, 211, 238, 1);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.3s ease;
}
.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: transparent;
  transition: background 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(6, 8, 15, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav.is-scrolled::after { background: var(--border); }

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  flex: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: var(--brand-ink);
  box-shadow: 0 8px 22px -8px rgba(34, 211, 238, 0.95);
}
.brand__mark svg { width: 19px; height: 19px; }
.brand__name {
  background: linear-gradient(180deg, #ffffff, #c3cfe8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--text-soft);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span { top: 20px; }
.nav__toggle span::before { content: ""; top: -6px; left: 0; }
.nav__toggle span::after { content: ""; top: 6px; left: 0; }
.nav.is-open .nav__toggle span { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(-90deg); }
.nav.is-open .nav__toggle span::after { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-soft);
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.14;
}

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead { max-width: 540px; font-size: 17px; color: var(--text-soft); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* Hero 视觉面板 */
.hero__visual { position: relative; }
.hero__visual::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.38), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel { padding: 22px; }

.panel__top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}
.panel__badge {
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  background: rgba(34, 211, 238, 0.13);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: #7ee8ff;
}

.state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
  animation: pulse 2.2s ease-in-out infinite;
}

.panel__node {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
}
.panel__flag {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--grad-brand);
  color: var(--brand-ink);
}
.panel__node strong { display: block; font-size: 15.5px; }
.panel__node em { font-style: normal; font-size: 13.5px; color: var(--text-dim); }

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-bottom: 18px;
}
.bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #22d3ee, #4f7cff);
  opacity: 0.85;
  transform-origin: bottom;
  animation: wave 2.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel__stats div {
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.panel__stats span { display: block; font-size: 12.5px; color: var(--text-dim); }
.panel__stats strong { font-size: 18px; letter-spacing: -0.01em; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats__item {
  padding: 28px 20px;
  text-align: center;
  background: rgba(10, 15, 30, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stats__num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__label { margin-top: 6px; font-size: 14px; color: var(--text-dim); }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px 220px at 50% -20%, rgba(34, 211, 238, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.9);
}
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p { font-size: 15px; color: var(--text-soft); }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.24);
  color: #7ee8ff;
}
.icon svg { width: 22px; height: 22px; }
.icon--violet {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.26);
  color: #c9a2ff;
}
.icon--blue {
  background: rgba(79, 124, 255, 0.13);
  border-color: rgba(79, 124, 255, 0.28);
  color: #9db6ff;
}

/* ---------- 平台 ---------- */
.platform {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.platform:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.platform__icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #7ee8ff;
}
.platform__icon svg { width: 21px; height: 21px; }
.platform strong { display: block; font-size: 15.5px; }
.platform em { font-style: normal; font-size: 13.5px; color: var(--text-dim); }

/* ---------- 步骤 ---------- */
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 800;
  background: var(--grad-brand);
  color: var(--brand-ink);
}
.step h3 { margin-bottom: 10px; font-size: 18px; }
.step p { font-size: 15px; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  flex: none;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 22px 20px; font-size: 15px; color: var(--text-soft); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 56px 44px;
  border-radius: 26px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(168, 85, 247, 0.14));
  border: 1px solid var(--border);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { margin: 14px auto 30px; max-width: 560px; color: var(--text-soft); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 40px;
  padding: 56px 0 34px;
  border-top: 1px solid var(--border);
  background: rgba(8, 11, 21, 0.6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}
.footer__brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.footer h4 {
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer__links { display: grid; gap: 11px; font-size: 14.5px; color: var(--text-soft); }
.footer__links a { transition: color 0.2s ease; }
.footer__links a:hover { color: #7ee8ff; }

.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-dim);
}
.footer__disclaimer { margin-top: 16px; font-size: 13px; color: var(--text-dim); }

/* ---------- 内页 Hero ---------- */
.page-hero { padding: 64px 0 48px; text-align: center; }
.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.page-hero p { margin: 16px auto 0; max-width: 620px; font-size: 16.5px; color: var(--text-soft); }

/* ---------- 下载页 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.dl-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.9);
}
.dl-card--primary {
  border-color: rgba(34, 211, 238, 0.34);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.1), rgba(255, 255, 255, 0.02));
}

.dl-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dl-card__head .platform__icon { width: 48px; height: 48px; border-radius: 14px; }
.dl-card__head strong { display: block; font-size: 17px; }
.dl-card__head em { font-style: normal; font-size: 13px; color: var(--text-dim); }

.dl-card__meta {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.dl-card__meta div { display: flex; justify-content: space-between; gap: 12px; }
.dl-card__meta b { font-weight: 600; color: var(--text-soft); }

.dl-card .btn { margin-top: auto; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(52, 211, 153, 0.13);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}

/* 规格表 */
.spec {
  width: 100%;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec th,
.spec td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.spec th {
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.spec td { color: var(--text-soft); }
.spec td:first-child { width: 200px; color: var(--text); font-weight: 600; }
.spec tr:last-child td { border-bottom: none; }

/* 提示块 */
.note {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.22);
  font-size: 14.5px;
  color: var(--text-soft);
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: #7ee8ff; }

/* ---------- 404 ---------- */
.error {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 72px 0;
  text-align: center;
}
.error__code {
  font-size: clamp(90px, 17vw, 176px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error h1 { margin: 18px 0 14px; font-size: clamp(22px, 3vw, 30px); }
.error p { max-width: 520px; margin: 0 auto; color: var(--text-soft); }
.error__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- 入场动画 ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.reveal.is-visible { animation: fadeUp 0.65s ease both; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .hero { padding: 56px 0 76px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }
  .section__head { margin-bottom: 40px; }

  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(10, 15, 30, 0.96);
    border: 1px solid var(--border);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 13px 14px; border-radius: 10px; }
  .nav__links a:hover { background: var(--surface); }
  .nav__links a::after { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav__inner { padding: 12px 18px; gap: 14px; }
  .nav__actions .btn--ghost { display: none; }
  .grid--2,
  .grid--3,
  .grid--4,
  .dl-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 64px; }
  .hero__cta { margin: 28px 0 24px; }
  .hero__lead { font-size: 16px; }
  .cta { padding: 42px 22px; }
  .footer__bottom { flex-direction: column; }
  .spec td:first-child { width: auto; }
  .spec th,
  .spec td { padding: 13px 14px; }
}

/* ---------- 无障碍 / 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal.is-visible { animation: none; }
}
