/* ============================================================
   钥匙窝 官网样式
   纯手写 · 无外部依赖 · 深色科技风
   ============================================================ */

:root {
  --bg: #070d1a;
  --bg-2: #0a1120;
  --panel: rgba(148, 163, 184, 0.06);
  --panel-2: rgba(148, 163, 184, 0.1);
  --line: rgba(148, 163, 184, 0.16);
  --line-2: rgba(148, 163, 184, 0.28);
  --text: #e8eefc;
  --text-2: #a8bdd8;
  --text-3: #7e93b3;
  --cyan: #38bdf8;
  --cyan-2: #7dd3fc;
  --indigo: #6366f1;
  --indigo-2: #a5b4fc;
  --amber: #fbbf24;
  --green: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(2, 8, 23, 0.55);
  --maxw: 1200px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
code, kbd { font-family: var(--mono); }

code {
  font-size: 0.9em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--cyan-2);
  white-space: nowrap;
}

kbd {
  font-size: 0.8em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid var(--line-2);
  color: var(--text);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.grad {
  background: linear-gradient(96deg, var(--cyan-2) 0%, var(--indigo-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.btn-primary {
  color: #05101f;
  background: linear-gradient(120deg, var(--cyan) 0%, #60a5fa 55%, var(--indigo) 100%);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(56, 189, 248, 0.45); }

.btn-ghost {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--line-2);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(148, 163, 184, 0.16); transform: translateY(-2px); }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 13, 26, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 26px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--indigo));
  color: #fff; flex: none;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.32);
}
.nav-logo svg { width: 20px; height: 20px; }
.nav-name { font-size: 18px; font-weight: 800; letter-spacing: 0.4px; display: inline-flex; align-items: baseline; gap: 7px; }
.nav-sub {
  font-size: 13px; font-weight: 600; letter-spacing: 0.2px;
  color: var(--text-2); white-space: nowrap;
}
@media (max-width: 420px) { .nav-sub { display: none; } }
.nav-ver {
  font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  color: var(--cyan-2); background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3);
}
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; color: var(--text-2); transition: color 0.2s ease; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(148, 163, 184, 0.1); border: 1px solid var(--line-2);
  cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between;
}
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(148, 197, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(900px 620px at 30% 20%, #000 0%, transparent 80%);
  mask-image: radial-gradient(900px 620px at 30% 20%, #000 0%, transparent 80%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.orb-a {
  width: 620px; height: 620px; top: -280px; left: -160px;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.22), transparent 72%);
}
.orb-b {
  width: 720px; height: 620px; top: -200px; right: -240px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.26), transparent 72%);
}
.orb-c {
  width: 760px; height: 520px; bottom: -260px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.16), transparent 72%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px; align-items: center;
}
.hero-copy { max-width: 620px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--cyan-2);
  padding: 7px 15px; border-radius: 999px;
  background: rgba(56, 189, 248, 0.09); border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 26px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0.05); }
}

.hero h1 { font-size: 58px; line-height: 1.16; font-weight: 800; letter-spacing: -1px; margin-bottom: 22px; }
.hero-sub { font-size: 16.5px; color: var(--text-2); max-width: 560px; }
.hero-sub strong { color: var(--text); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.hero-meta li { font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

/* ---------------- 应用界面示意 ---------------- */
.hero-visual { position: relative; }
.app-window {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #0d1729 0%, #0a1222 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow), 0 0 0 1px rgba(56, 189, 248, 0.06), 0 30px 90px rgba(56, 189, 248, 0.08);
  animation: floatY 9s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.aw-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 15px; background: rgba(148, 163, 184, 0.06);
  border-bottom: 1px solid var(--line);
}
.aw-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.aw-dot.r { background: #ff5f57; }
.aw-dot.y { background: #febc2e; }
.aw-dot.g { background: #28c840; }
.aw-title { font-size: 12px; color: var(--text-3); margin-left: 10px; }
.aw-tools { margin-left: auto; display: flex; gap: 6px; }
.aw-tools i { width: 22px; height: 4px; border-radius: 3px; background: rgba(148, 163, 184, 0.24); display: block; }

.aw-body { display: grid; grid-template-columns: 138px 200px minmax(0, 1fr); min-height: 336px; }
.aw-side { padding: 14px 12px; border-right: 1px solid var(--line); background: rgba(15, 23, 42, 0.5); }
.aw-search {
  display: flex; align-items: center; gap: 7px; padding: 7px 10px; margin-bottom: 14px;
  border-radius: 9px; background: rgba(148, 163, 184, 0.1); border: 1px solid var(--line);
  font-size: 11.5px; color: var(--text-3);
}
.aw-search svg { width: 13px; height: 13px; flex: none; color: var(--text-3); }
.aw-group {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 9px; font-size: 12px; margin-bottom: 4px; position: relative;
}
.aw-group b { font-weight: 600; color: var(--text-2); }
.aw-group em { font-style: normal; font-size: 10.5px; color: var(--text-3); }
.aw-group::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 15px; border-radius: 3px; background: currentColor; opacity: 0.85;
}
.aw-group.g1 { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.aw-group.g2 { color: #fbbf24; }
.aw-group.g3 { color: #a78bfa; }
.aw-group.g4 { color: #f472b6; }
.aw-group.g5 { color: #34d399; }

.aw-list { border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 5px; }
.aw-item { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 10px; }
.aw-item.active { background: rgba(56, 189, 248, 0.12); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.3); }
.aw-avatar {
  width: 28px; height: 28px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(145deg, var(--c1), var(--c2));
}
.aw-avatar.lg { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
.aw-text { display: flex; flex-direction: column; min-width: 0; }
.aw-text b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-text i { font-style: normal; font-size: 10.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.aw-detail { padding: 16px 16px 14px; }
.aw-detail-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.aw-detail-head b { font-size: 14.5px; display: block; }
.aw-detail-head i { font-style: normal; font-size: 11px; color: var(--text-3); }
.aw-field { margin-bottom: 10px; }
.aw-field label { display: block; font-size: 10.5px; color: var(--text-3); margin-bottom: 4px; letter-spacing: 0.4px; }
.aw-field span {
  display: block; font-size: 12px; color: var(--text-2);
  padding: 7px 10px; border-radius: 8px;
  background: rgba(148, 163, 184, 0.08); border: 1px solid var(--line);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative;
}
.aw-field .dots { letter-spacing: 2px; color: var(--text); }
.aw-field .muted { color: var(--text-3); font-size: 11.5px; }
.aw-field .totp { color: var(--cyan-2); font-family: var(--mono); letter-spacing: 1.5px; font-size: 13px; }
.aw-field .totp i { font-style: normal; font-size: 10px; color: var(--text-3); letter-spacing: 0; float: right; }
.aw-history {
  margin-top: 14px; padding: 10px 12px; border-radius: 10px;
  background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.26);
  display: flex; flex-direction: column; gap: 3px;
}
.aw-history b { font-size: 11.5px; color: var(--indigo-2); }
.aw-history span { font-size: 10.5px; color: var(--text-3); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 13px;
  background: rgba(13, 23, 41, 0.92); border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.6); backdrop-filter: blur(8px);
}
.float-card b { display: block; font-size: 12.5px; }
.float-card i { font-style: normal; font-size: 10.5px; color: var(--text-3); }
.fc-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fc-ico svg { width: 17px; height: 17px; }
.fc-ico.green { background: rgba(52, 211, 153, 0.16); color: var(--green); }
.fc-ico.cyan { background: rgba(56, 189, 248, 0.16); color: var(--cyan-2); }
.fc-1 { left: -26px; bottom: 46px; animation: floatY 7s ease-in-out infinite 0.4s; }
.fc-2 { right: -20px; top: 58px; animation: floatY 8s ease-in-out infinite 1.1s; }

/* ---------------- 数据条 ---------------- */
.stats {
  list-style: none; margin-top: 76px; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--line);
}
.stats li { background: rgba(10, 17, 32, 0.86); padding: 24px 20px; text-align: center; backdrop-filter: blur(6px); }
.stats b {
  display: block; font-size: 25px; font-weight: 800; letter-spacing: -0.3px;
  background: linear-gradient(100deg, var(--cyan-2), var(--indigo-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { font-size: 13px; color: var(--text-3); }

/* ---------------- 通用 section ---------------- */
.section { padding: 104px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(10, 17, 32, 0.9) 0%, rgba(7, 13, 26, 0.35) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.kicker {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; color: var(--cyan-2); margin-bottom: 16px;
  padding: 5px 12px; border-radius: 7px; background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.22);
}
.section-head h2 { font-size: 40px; line-height: 1.25; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 16px; }
.section-head p { font-size: 16px; color: var(--text-2); }

/* ---------------- 功能卡片 ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; padding: 28px 26px; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(148, 163, 184, 0.075), rgba(148, 163, 184, 0.03));
  border: 1px solid var(--line); 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 200px at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, 0.14), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.38); box-shadow: 0 22px 50px rgba(2, 8, 23, 0.5); }
.card:hover::after { opacity: 1; }
.card-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 18px; color: var(--cyan-2);
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.24);
}
.card-ico svg { width: 23px; height: 23px; }
.card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--text-2); }

/* ---------------- 安全链路 ---------------- */
.security { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.chain { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.chain li {
  display: flex; gap: 20px; padding: 22px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: background 0.25s ease, border-color 0.25s ease;
}
.chain li:hover { background: rgba(148, 163, 184, 0.06); border-color: var(--line); }
.chain-no {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--cyan);
  padding-top: 3px; letter-spacing: 1px; flex: none;
}
.chain h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.chain p { font-size: 14.5px; color: var(--text-2); }

.sec-card {
  padding: 30px 28px; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.14), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.28);
}
.sec-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.nolist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.nolist li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-2); }
.nolist li::before {
  content: ""; position: absolute; left: 4px; top: 10px; width: 11px; height: 2px;
  border-radius: 2px; background: var(--amber);
}
.sec-note {
  margin-top: 24px; padding: 16px; border-radius: 12px; display: flex; gap: 12px;
  background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.26);
}
.sec-note svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 2px; }
.sec-note span { font-size: 13.5px; color: var(--text-2); }
.sec-note b { color: var(--amber); }

/* ---------------- 扩展 ---------------- */
.ext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.ext-steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: flex; gap: 18px; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.05); border: 1px solid var(--line);
}
.step-no {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #05101f;
  background: linear-gradient(140deg, var(--cyan), var(--indigo));
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--text-2); }
.ext-note {
  font-size: 13px; line-height: 1.8; color: var(--text-2);
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px dashed var(--line); background: rgba(148, 163, 184, 0.03);
}

.browser {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #0d1729; border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: rgba(148, 163, 184, 0.07); border-bottom: 1px solid var(--line);
}
.b-url {
  flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3);
  padding: 6px 12px; border-radius: 8px; background: rgba(7, 13, 26, 0.7); border: 1px solid var(--line);
}
.b-url .lock { width: 8px; height: 8px; border-radius: 2px; background: var(--green); flex: none; }
.b-ext {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--indigo)); color: #fff;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}
.b-ext svg { width: 15px; height: 15px; }
.browser-body { padding: 26px 24px 30px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: 12px; color: var(--text-3); }
.input {
  position: relative; display: block; font-size: 13px; color: var(--text-2);
  padding: 12px 88px 12px 14px; border-radius: 10px;
  background: rgba(148, 163, 184, 0.08); border: 1px solid var(--line);
}
.input.filled { border-color: rgba(52, 211, 153, 0.42); background: rgba(52, 211, 153, 0.06); }
.fill-tag {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  color: var(--green); background: rgba(52, 211, 153, 0.14); border: 1px solid rgba(52, 211, 153, 0.34);
}
.form-btn {
  margin-top: 6px; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: 4px;
  padding: 12px; border-radius: 10px; color: #05101f;
  background: linear-gradient(120deg, var(--cyan), var(--indigo));
}
.ext-pop {
  position: absolute; right: 18px; bottom: 18px; left: 18px;
  display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 13px;
  background: rgba(13, 23, 41, 0.97); border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 18px 44px rgba(2, 8, 23, 0.7);
  animation: floatY 6s ease-in-out infinite 0.6s;
}
.ext-pop-ico {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--indigo)); color: #fff;
}
.ext-pop-ico svg { width: 18px; height: 18px; }
.ext-pop b { display: block; font-size: 13px; }
.ext-pop i { font-style: normal; font-size: 11.5px; color: var(--text-3); }
.ext-pop-btn {
  margin-left: auto; font-size: 12.5px; font-weight: 700; padding: 7px 16px; border-radius: 9px;
  color: #05101f; background: linear-gradient(120deg, var(--cyan), var(--indigo));
}

/* ---------------- 对比 ---------------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.cmp-col { padding: 30px 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.cmp-col h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.cmp-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.cmp-col li { position: relative; padding-left: 30px; font-size: 14.5px; }
.cmp-a { background: rgba(148, 163, 184, 0.04); }
.cmp-a h3 { color: var(--text-3); }
.cmp-a li { color: var(--text-3); }
.cmp-a li::before {
  content: "×"; position: absolute; left: 6px; top: 0; font-size: 15px; font-weight: 700; color: #f87171;
}
.cmp-b {
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.11), rgba(99, 102, 241, 0.06));
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.1);
}
.cmp-b li { color: var(--text); }
.cmp-b li::before {
  content: "✓"; position: absolute; left: 5px; top: 0; font-size: 14px; font-weight: 700; color: var(--green);
}
.cmp-flag {
  position: absolute; top: -13px; right: 24px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 5px 13px; border-radius: 999px;
  color: #05101f; background: linear-gradient(120deg, var(--cyan), var(--indigo));
}

/* ---------------- 更新日志 ---------------- */
.log { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.log-item {
  display: flex; gap: 20px; padding: 26px 26px; border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.05); border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.log-item:hover { border-color: rgba(56, 189, 248, 0.34); transform: translateY(-3px); }
.log-tag {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--indigo-2);
  flex: none; padding-top: 2px;
}
.log-item h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.log-item p { font-size: 14.5px; color: var(--text-2); }

/* ---------------- FAQ ---------------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.faq details {
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.045); overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq details[open] { border-color: rgba(56, 189, 248, 0.34); background: rgba(56, 189, 248, 0.045); }
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 24px;
  font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan-2); }
.chev {
  margin-left: auto; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg); transition: transform 0.25s ease;
}
details[open] .chev { transform: rotate(-135deg); border-color: var(--cyan); }
.faq-body { padding: 0 24px 20px; }
.faq-body p { font-size: 14.5px; color: var(--text-2); }

/* ---------------- 下载 ---------------- */
.download { position: relative; overflow: hidden; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 2; }
.dl-card {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.03));
  border: 1px solid var(--line);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.dl-card:hover { transform: translateY(-5px); border-color: rgba(56, 189, 248, 0.42); box-shadow: 0 24px 60px rgba(2, 8, 23, 0.55); }
.dl-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--cyan-2); background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.24);
}
.dl-ico svg { width: 24px; height: 24px; }
.dl-card h3 { font-size: 19px; font-weight: 700; }
.dl-card p { font-size: 14.5px; color: var(--text-2); flex: 1; }
.dl-meta { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.dl-btn {
  margin-top: 6px; text-align: center; font-size: 14.5px; font-weight: 700; padding: 12px;
  border-radius: 11px; color: #05101f;
  background: linear-gradient(120deg, var(--cyan), var(--indigo));
}
.dl-note { margin-top: 30px; text-align: center; font-size: 13.5px; color: var(--text-3); }
/* 校验命令很长，窄屏必须允许换行，否则会把页面撑出横向滚动条（390px 实测） */
.dl-note code { white-space: normal; overflow-wrap: anywhere; }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--line); padding: 46px 0; background: rgba(7, 13, 26, 0.85); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { display: block; font-size: 16px; }
.footer-brand i { font-style: normal; font-size: 12.5px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.footer-links a { font-size: 14px; color: var(--text-3); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--cyan-2); }
/* 合规展示：备案号居中放在页脚，链接到 beian.miit.gov.cn；有多条（ICP / 公安）时自动并排换行 */
.footer-legal {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.footer-copy { font-size: 12.5px; color: var(--text-3); text-align: center; }
.footer-icp { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-icp a {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(148, 163, 184, 0.06);
  font-size: 12.5px; color: var(--text-3); text-decoration: none; letter-spacing: 0.2px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-icp a:hover { color: var(--cyan-2); border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.09); }
.icp-mark { width: 13px; height: 13px; flex: none; opacity: 0.85; }
.footer-psb a { border-style: dashed; }

/* ---------------- 滚动出现动画 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1120px) {
  .hero h1 { font-size: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 660px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security { grid-template-columns: 1fr; }
  .ext { grid-template-columns: 1fr; gap: 40px; }
  .compare { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 100%; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; margin-left: 0;
    padding: 14px; border-radius: 16px;
    background: rgba(9, 15, 29, 0.97); border: 1px solid var(--line-2);
    box-shadow: var(--shadow); backdrop-filter: blur(14px);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(148, 163, 184, 0.1); }
  .nav-links a::after { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 78px 0; }
  .section-head h2 { font-size: 32px; }
  .hero { padding: 124px 0 56px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15.5px; }
  .log { grid-template-columns: 1fr; }
  .fc-1 { left: -10px; bottom: -18px; }
  .fc-2 { right: -6px; top: -18px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .nav-links { left: 12px; right: 12px; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 27px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-grid { grid-template-columns: 1fr; }
  .aw-body { grid-template-columns: 110px minmax(0, 1fr); }
  .aw-detail { display: none; }
  .btn-lg { padding: 13px 20px; font-size: 15px; }
  .hero-cta { gap: 10px; }
  .float-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .app-window, .float-card, .ext-pop, .badge-dot { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
