/* ============ 汽配输入法官网首页 · 科幻分屏滚动版 ============ */
:root {
  --bg: #04070f;
  --bg-2: #070d1c;
  --panel: rgba(13, 22, 44, 0.6);
  --line: rgba(88, 140, 255, 0.16);
  --line-strong: rgba(88, 140, 255, 0.35);
  --blue: #2f7bff;
  --cyan: #29d3ff;
  --text: #eaf1ff;
  --muted: #8fa3c8;
  --glow: 0 0 24px rgba(47, 123, 255, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- 分屏滚动容器 ---------- */
.snap-viewport {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 64px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .snap-viewport { scroll-snap-type: none; }
  .screen { min-height: auto; padding: 88px 20px 56px; }
  .screen.hero { min-height: 100vh; min-height: 100dvh; }
}

/* ---------- 通用背景装饰 ---------- */
.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(88, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.orb-blue { background: radial-gradient(circle, rgba(47, 123, 255, 0.55), transparent 70%); }
.orb-cyan { background: radial-gradient(circle, rgba(41, 211, 255, 0.4), transparent 70%); }

.inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ---------- 顶部导航 ---------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(4, 7, 15, 0.62);
  border-bottom: 1px solid var(--line);
}

.top-nav .nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 14px rgba(47, 123, 255, 0.5);
}

.brand .brand-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--cyan);
  border: 1px solid rgba(41, 211, 255, 0.35);
  border-radius: 999px;
  padding: 1px 8px;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), #1450c8);
  padding: 7px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--glow);
}

@media (max-width: 900px) {
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-links a { white-space: nowrap; }
  .nav-cta { padding: 6px 14px; }
  .hide-m { display: none; }
  .brand { white-space: nowrap; }
}

/* ---------- 右侧分屏指示点 ---------- */
.dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dots a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(143, 163, 200, 0.35);
  transition: all 0.3s;
}

.dots a.active {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(41, 211, 255, 0.9);
  transform: scale(1.35);
}

@media (max-width: 900px) { .dots { display: none; } }

/* ---------- 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }

/* ---------- 首屏 Hero ---------- */
.hero { text-align: center; }

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: 160%;
  height: 55%;
  transform: translateX(-50%) perspective(600px) rotateX(62deg);
  background:
    linear-gradient(rgba(47, 123, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 123, 255, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to top, transparent 2%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 55%, transparent 100%);
  animation: gridMove 9s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 64px, 0 64px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cyan);
  border: 1px solid rgba(41, 211, 255, 0.35);
  background: rgba(41, 211, 255, 0.07);
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.2em;
  margin-bottom: 26px;
}

.hero-badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.hero h1 .hl {
  background: linear-gradient(100deg, #5ea2ff 10%, var(--cyan) 55%, #7fd8ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgba(47, 123, 255, 0.45);
}

.hero .sub {
  margin: 22px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.06em;
}

.hero .sub b { color: var(--text); font-weight: 600; }

.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1450c8);
  box-shadow: 0 8px 30px rgba(47, 123, 255, 0.45);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(13, 22, 44, 0.5);
}

.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(41, 211, 255, 0.25); }

/* ---------- 创意键盘主视觉 ---------- */
.kb-stage {
  margin: 52px auto 0;
  max-width: 720px;
  perspective: 900px;
}

.kb {
  transform: rotateX(26deg);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 26px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 27, 54, 0.9), rgba(8, 14, 30, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(47, 123, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  animation: kbFloat 6s ease-in-out infinite;
}

@keyframes kbFloat {
  0%, 100% { transform: rotateX(26deg) translateY(0); }
  50% { transform: rotateX(26deg) translateY(-12px); }
}

.kb::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -34px;
  height: 34px;
  background: radial-gradient(ellipse at center, rgba(47, 123, 255, 0.4), transparent 70%);
  filter: blur(14px);
}

.kb-row { display: flex; gap: 10px; justify-content: center; }

.key {
  flex: 1;
  min-width: 0;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(180deg, #16233f, #0b1428);
  border: 1px solid rgba(88, 140, 255, 0.22);
  box-shadow: 0 4px 0 rgba(3, 6, 14, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: #b9c9ec;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  user-select: none;
}

.key.wide { flex: 2.6; }
.key.fn { font-size: 12px; color: var(--muted); }

.key.lit {
  color: #fff;
  border-color: rgba(41, 211, 255, 0.8);
  background: linear-gradient(180deg, #1c4fa8, #12326e);
  box-shadow: 0 4px 0 rgba(3, 6, 14, 0.9), 0 0 20px rgba(47, 123, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: keyGlow 3.2s ease-in-out infinite;
}

.key.lit-cyan {
  border-color: rgba(41, 211, 255, 0.9);
  background: linear-gradient(180deg, #0d7ea8, #085a7a);
  box-shadow: 0 4px 0 rgba(3, 6, 14, 0.9), 0 0 20px rgba(41, 211, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  animation: keyGlow 3.2s ease-in-out infinite;
  animation-delay: 1.6s;
}

@keyframes keyGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.45); }
}

.kb-candidate {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 6px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
}

.kb-candidate .pin { color: var(--cyan); font-weight: 600; }
.kb-candidate .c1 { color: #fff; font-weight: 700; }
.kb-candidate .tag {
  font-size: 10px;
  color: var(--cyan);
  border: 1px solid rgba(41, 211, 255, 0.4);
  border-radius: 4px;
  padding: 0 4px;
  margin-left: 4px;
}

@media (max-width: 640px) {
  .key { height: 40px; font-size: 12px; border-radius: 8px; }
  .kb { gap: 7px; padding: 14px 12px 18px; }
  .kb-row { gap: 6px; }
  .kb-candidate { font-size: 12px; gap: 10px; }
}

/* ---------- 滚动提示 ---------- */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-align: center;
}

.scroll-hint .mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--muted);
  border-radius: 12px;
  margin: 0 auto 8px;
  position: relative;
}

.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--cyan);
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; }
}

/* ---------- 章节标头 ---------- */
.sec-head { text-align: center; margin-bottom: 52px; }

.sec-head .kicker {
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--cyan);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.sec-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sec-head h2 .hl {
  background: linear-gradient(100deg, #5ea2ff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-head .desc {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.rev .split-media { order: 2; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
}

.split-media { position: relative; display: flex; justify-content: center; }

.split-media .frame {
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(47, 123, 255, 0.35), rgba(41, 211, 255, 0.08) 45%, rgba(47, 123, 255, 0.25));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(47, 123, 255, 0.2);
  animation: mediaFloat 7s ease-in-out infinite;
  max-width: 340px;
}

@keyframes mediaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.split-media img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.split-media .frame::before,
.split-media .frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--cyan);
  opacity: 0.85;
}

.split-media .frame::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.split-media .frame::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

.split-copy .kicker {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.split-copy h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.split-copy h2 .hl {
  background: linear-gradient(100deg, #5ea2ff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split-copy .lead { margin-top: 16px; color: var(--muted); font-size: 15px; }

.feat-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }

.feat-item {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feat-item:hover {
  border-color: rgba(41, 211, 255, 0.55);
  transform: translateX(6px);
  box-shadow: 0 0 26px rgba(47, 123, 255, 0.18);
}

.feat-item .ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: linear-gradient(150deg, rgba(47, 123, 255, 0.3), rgba(41, 211, 255, 0.12));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 16px rgba(47, 123, 255, 0.25);
}

.feat-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 3px; }
.feat-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- 数据统计条 ---------- */
.stat-row {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.stat {
  text-align: center;
  padding: 26px 12px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.stat .num {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(180deg, #fff, #7fb0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .num small { font-size: 0.55em; }
.stat .lbl { margin-top: 6px; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }

/* ---------- 适用人群 ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }

.aud-card {
  padding: 30px 22px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.aud-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(47, 123, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.aud-card:hover {
  transform: translateY(-8px);
  border-color: rgba(41, 211, 255, 0.55);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45), 0 0 30px rgba(47, 123, 255, 0.2);
}

.aud-card:hover::before { opacity: 1; }

.aud-card .ico {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(150deg, rgba(47, 123, 255, 0.32), rgba(41, 211, 255, 0.1));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 22px rgba(47, 123, 255, 0.3);
}

.aud-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.aud-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 定制输入法展示卡 ---------- */
.custom-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
  width: 100%;
}

.custom-card {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.custom-card:hover {
  border-color: rgba(41, 211, 255, 0.55);
  transform: translateX(-6px);
  box-shadow: 0 0 26px rgba(47, 123, 255, 0.18);
}

.custom-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.custom-card .badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  border: 1px solid rgba(47, 123, 255, 0.45);
  background: rgba(47, 123, 255, 0.12);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.custom-card .badge.cyan {
  color: var(--cyan);
  border-color: rgba(41, 211, 255, 0.45);
  background: rgba(41, 211, 255, 0.1);
}

.custom-card h3 { font-size: 16px; font-weight: 700; }
.custom-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 下载 CTA ---------- */
.dl-panel {
  text-align: center;
  padding: 64px 32px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(47, 123, 255, 0.28), transparent 60%),
    var(--panel);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.dl-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.dl-panel h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: 0.04em; }
.dl-panel .desc { margin: 16px auto 0; max-width: 520px; color: var(--muted); font-size: 15px; }
.dl-panel .hero-cta { margin-top: 30px; }
.dl-panel .note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.dl-panel .note a { color: var(--cyan); }

/* ---------- 下载页（/download） ---------- */
.download-page { min-height: 100vh; min-height: 100dvh; }

.download-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 48px;
  position: relative;
}

.download-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(88, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.back-link {
  align-self: flex-start;
  max-width: 520px;
  width: 100%;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.back-link img { width: 32px; height: 32px; border-radius: 8px; }

.download-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 36px 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  backdrop-filter: blur(12px);
  text-align: center;
}

.download-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: var(--glow);
}

.download-card h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.download-card .ver {
  margin-top: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
}

.download-card .desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.download-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
}

.install-steps {
  margin-top: 28px;
  text-align: left;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 7, 15, 0.45);
}

.install-steps h2 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}

.install-steps ol {
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}

.install-steps li { margin-bottom: 6px; }

.download-card .note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}

.download-card .note a { color: var(--cyan); }

/* 微信 / QQ 内置浏览器遮罩 */
.wx-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 15, 0.92);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px;
}

.wx-mask[hidden] { display: none; }

.wx-mask-inner {
  width: 100%;
  max-width: 360px;
  margin-top: 12px;
  text-align: center;
}

.wx-arrow {
  width: 72px;
  height: 72px;
  margin: 0 0 8px auto;
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--cyan);
  transform: rotate(-45deg) translate(-8px, 8px);
  border-radius: 4px;
}

.wx-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.wx-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.wx-desc strong { color: var(--cyan); }

.wx-close { width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 15, 0.9);
  padding: 44px 24px 30px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
}

.footer-grid h4 { color: var(--text); font-size: 14.5px; margin-bottom: 12px; letter-spacing: 0.06em; }
.footer-grid p { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(143, 163, 200, 0.6);
}
