/* 开水工具箱 · 官网样式 */
:root {
  --bg: #06060b;
  --bg-2: #0a0a13;
  --panel: #10101c;
  --panel-2: #141424;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(167, 139, 250, .22);
  --text: #f3f1ff;
  --muted: #a19cb8;
  --muted-2: #6f6b86;
  --purple: #8b7bff;
  --purple-2: #a78bfa;
  --purple-3: #c4b5fd;
  --green: #34d399;
  --yellow: #fbbf24;
  --grad: linear-gradient(135deg, #6d5dfc 0%, #a78bfa 55%, #c4b5fd 100%);
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 620px at 76% -12%, rgba(109, 93, 252, .20), transparent 62%),
    radial-gradient(820px 520px at -8% 34%, rgba(167, 139, 250, .09), transparent 62%),
    radial-gradient(700px 500px at 50% 105%, rgba(109, 93, 252, .06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, #000 0%, transparent 78%);
  opacity: .55;
}
::selection { background: rgba(139, 123, 255, .35); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a99cff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b7bff);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: rgba(6, 6, 11, .55);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(6, 6, 11, .86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  box-shadow: 0 8px 24px rgba(109, 93, 252, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15px; font-weight: 750; letter-spacing: .4px; }
.brand-sub { font-size: 9.5px; letter-spacing: 2.2px; color: var(--muted-2); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #aaa5c0;
  font-size: 13.5px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav a.active { color: #fff; background: rgba(124,108,240,.14); border-color: var(--line-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 18px;
}
.nav.open {
  display: flex;
  position: absolute;
  top: 66px;
  left: 18px;
  right: 18px;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 12, 22, .97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.nav.open a { padding: 11px 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 36px rgba(109, 93, 252, .34), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { box-shadow: 0 18px 44px rgba(109, 93, 252, .45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost {
  color: #ded9f2;
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(167, 139, 250, .45); background: rgba(255,255,255,.06); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.is-disabled, a[disabled] { pointer-events: none; opacity: .5; }

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 36px;
  border: 1px solid rgba(167, 139, 250, .28);
  border-radius: 24px;
  background:
    radial-gradient(600px 220px at 80% 0%, rgba(109, 93, 252, .18), transparent 65%),
    linear-gradient(135deg, rgba(20, 20, 36, .96), rgba(9, 9, 16, .96));
  box-shadow: var(--shadow);
}
.download-band h2 { margin: 8px 0 8px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -1px; }
.download-band p { color: var(--muted); font-size: 13px; max-width: 520px; }
.download-mini { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.download-mini a {
  min-width: 160px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s ease, background .2s ease;
}
.download-mini a:hover { border-color: rgba(167, 139, 250, .45); background: rgba(124, 108, 240, .08); }
.download-mini span { display: block; color: var(--muted-2); font-size: 10.5px; }
.download-mini b { display: block; color: #f1eeff; font-size: 14px; margin-top: 2px; }
.download-mini em { display: block; color: #8b7bff; font-size: 10.5px; font-style: normal; margin-top: 4px; }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(167, 139, 250, .25);
  border-radius: 22px;
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(109, 93, 252, .16), transparent 65%),
    linear-gradient(135deg, rgba(20, 20, 36, .95), rgba(9, 9, 16, .96));
}
.contact-card h3 { font-size: 20px; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: 13px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(124, 108, 240, .08);
  color: #cfc7ff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .5px;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .12);
}

/* ---------- Hero ---------- */
.hero { padding: 78px 0 26px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.hero-grid > *,
.community-grid > *,
.section-row > *,
.header-inner > * { min-width: 0; }
.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 1.1;
  letter-spacing: -2.2px;
  font-weight: 800;
}
.hero h1 .grad-text {
  display: inline-block;
  font-size: .84em;
  letter-spacing: -1.6px;
  line-height: 1.12;
}
.hero .lead {
  max-width: 560px;
  color: #aaa5c0;
  font-size: 16.5px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted-2); font-size: 12.5px; }
.hero-meta b { color: #d8d3ee; font-weight: 600; }
.hero-meta .sep { opacity: .45; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -12% -14% -8%;
  background: radial-gradient(ellipse at 60% 40%, rgba(109, 93, 252, .30), transparent 62%);
  filter: blur(28px);
  z-index: 0;
}
.browser {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(167, 139, 250, .22);
  border-radius: 20px;
  background: #0b0b14;
  overflow: hidden;
  box-shadow: 0 40px 110px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255,255,255,.03) inset;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.browser:hover { transform: translateY(-3px); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3c; }
.browser-dots i:first-child { background: #4b3d72; }
.browser-dots i:nth-child(2) { background: #3b3b54; }
.browser-url {
  flex: 1;
  height: 22px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(0,0,0,.22);
  color: #6f6b86;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.browser img { width: 100%; height: auto; }
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(167, 139, 250, .26);
  border-radius: 12px;
  background: rgba(14, 14, 26, .9);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  color: #d9d4ef;
}
.float-card .mini-icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(139, 123, 255, .16);
  color: #c4b5fd;
  font-size: 12px;
}
.float-a { top: 12%; right: -6%; }
.float-b { bottom: 18%; left: -8%; }
.float-c { bottom: -3%; right: 8%; }
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #0b0b14;
}
.trust-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(139, 123, 255, .1);
  color: #b7a9ff;
  flex-shrink: 0;
}
.trust-item b { display: block; font-size: 12.5px; color: #e8e4f8; font-weight: 650; }
.trust-item span { display: block; font-size: 11px; color: var(--muted-2); margin-top: 1px; }

/* ---------- 区块 ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.22;
  letter-spacing: -1.2px;
  font-weight: 780;
}
.section-head p { color: var(--muted); font-size: 15px; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- 功能 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 20, 34, .92), rgba(11, 11, 20, .92));
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -100px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 123, 255, .16), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(167,139,250,.3); box-shadow: 0 20px 50px rgba(0,0,0,.32); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(167,139,250,.2);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(139, 119, 255, .22), rgba(89, 71, 177, .08));
  color: #cfc2ff;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; letter-spacing: .2px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.feature-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8f8aa8;
  font-size: 10.5px;
  letter-spacing: .5px;
}

/* ---------- 界面预览 ---------- */
.preview-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(18,18,30,.92), rgba(9,9,16,.96));
  box-shadow: var(--shadow);
}
.preview-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.preview-tab {
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #928da9;
  font-size: 12px;
  transition: all .2s ease;
}
.preview-tab:hover { color: #fff; background: rgba(255,255,255,.04); }
.preview-tab.active { color: #fff; border-color: var(--line-2); background: rgba(124,108,240,.14); }
.preview-stage {
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  overflow: hidden;
  background: #05050a;
}
.preview-stage img { width: 100%; height: auto; display: block; }
.preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 2px;
  color: var(--muted-2);
  font-size: 12px;
}
.preview-caption b { color: #d9d4ef; font-weight: 600; }

/* ---------- 工具卡片 ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 18, 30, .92), rgba(10, 10, 18, .94));
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tool-card:hover { transform: translateY(-3px); border-color: rgba(167,139,250,.32); box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.tool-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tool-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(167,139,250,.2);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(139, 119, 255, .22), rgba(89, 71, 177, .08));
  color: #d6ccff;
  flex-shrink: 0;
}
.tool-icon svg { width: 21px; height: 21px; }
.tool-badges { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #928da9;
  font-size: 10px;
  white-space: nowrap;
}
.badge.builtin { color: #c4b5fd; border-color: rgba(167,139,250,.28); background: rgba(124,108,240,.08); }
.badge.community { color: #7dd3fc; border-color: rgba(56,189,248,.24); background: rgba(56,189,248,.06); }
.badge.green { color: var(--green); border-color: rgba(52,211,153,.25); background: rgba(52,211,153,.06); }
.tool-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tool-desc {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}
.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11px;
}
.tool-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tool-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tool-actions .btn { flex: 1; min-height: 36px; padding: 0 10px; font-size: 12px; }
.tool-note {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px dashed rgba(167,139,250,.24);
  border-radius: 14px;
  color: var(--muted-2);
  font-size: 12px;
  background: rgba(124,108,240,.04);
}
.tool-note b { color: #d9d4ef; }

/* ---------- 社区 ---------- */
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.community-steps { display: grid; gap: 14px; margin-top: 24px; }
.community-step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(139,123,255,.12);
  border: 1px solid rgba(167,139,250,.22);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.community-step b { display: block; font-size: 13.5px; }
.community-step p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.community-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18,18,30,.94), rgba(9,9,16,.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.community-panel::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,93,252,.2), transparent 65%);
}
.community-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.community-item:last-child { border-bottom: 0; }
.community-avatar {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(139,123,255,.14);
  color: #c4b5fd;
  font-size: 12px;
  flex-shrink: 0;
}
.community-item b { display: block; font-size: 12.5px; }
.community-item span { display: block; color: var(--muted-2); font-size: 10.5px; }
.community-item .mini-btn {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b7a9ff;
  font-size: 10.5px;
  background: transparent;
}

/* ---------- 下载 ---------- */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(167, 139, 250, .3);
  border-radius: 18px;
  background:
    radial-gradient(520px 180px at 82% 0%, rgba(109, 93, 252, .18), transparent 65%),
    linear-gradient(135deg, rgba(24, 22, 42, .96), rgba(10, 10, 18, .96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.ds-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(167, 139, 250, .25);
  border-radius: 13px;
  background: rgba(124, 108, 240, .14);
  color: #c4b5fd;
  font-size: 18px;
}
.ds-copy { flex: 1; min-width: 0; }
.ds-copy b { display: block; font-size: 14px; margin-bottom: 2px; }
.ds-copy p { color: var(--muted); font-size: 12px; }
.ds-copy code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, .22);
  color: #c4b5fd;
  font-family: Consolas, monospace;
}
.ds-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.dl-share-hint { margin-top: 10px; color: var(--muted-2); font-size: 10.5px; text-align: center; }
.dl-share-hint b { color: #c4b5fd; font-weight: 600; }
.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20,20,34,.94), rgba(10,10,18,.96));
  overflow: hidden;
}
.dl-card.recommended { border-color: rgba(167,139,250,.4); box-shadow: 0 0 0 1px rgba(167,139,250,.08), 0 24px 60px rgba(0,0,0,.35); }
.dl-card.recommended::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(109,93,252,.18), transparent 65%);
}
.dl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; }
.dl-title { font-size: 20px; font-weight: 750; letter-spacing: -.3px; }
.dl-sub { color: var(--muted-2); font-size: 12px; margin-top: 4px; }
.dl-size { margin: 22px 0 4px; font-size: 34px; font-weight: 800; letter-spacing: -1.2px; }
.dl-size span { font-size: 12px; color: var(--muted-2); font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.dl-size .dl-size-value { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; color: var(--text); margin-left: 0; }
.dl-size .dl-size-hint { font-size: 12px; color: var(--muted-2); font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.dl-list { display: grid; gap: 9px; margin: 18px 0 24px; color: var(--muted); font-size: 12.5px; }
.dl-list li { display: flex; align-items: flex-start; gap: 8px; }
.dl-list li::before {
  content: "";
  width: 5px; height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: #8b7bff;
  flex-shrink: 0;
}
.dl-card .btn { margin-top: auto; }
.hash-box {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  color: #8d88a5;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  line-height: 1.6;
  word-break: break-all;
}
.hash-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.hash-row code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a9a3c4;
  font-family: Consolas, monospace;
  font-size: 10.5px;
}
.copy-btn {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: #9d97b6;
  font-size: 10px;
  flex-shrink: 0;
}

/* ---------- 步骤 / 表格 / 代码 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,15,26,.7);
}
.step-card .step-k {
  color: #8b7bff;
  font-family: Consolas, monospace;
  font-size: 11px;
  letter-spacing: 2px;
}
.step-card h3 { font-size: 15px; margin: 8px 0 6px; }
.step-card p { color: var(--muted); font-size: 12.5px; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 13px;
}
.info-table th, .info-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.info-table th { color: #8f8aa8; font-weight: 600; background: rgba(255,255,255,.025); width: 34%; }
.info-table td { color: #cfcbe0; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.code-block {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #08080f;
  color: #b9b2e6;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  line-height: 1.8;
  overflow-x: auto;
}
.code-block .c { color: #5f5b78; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 2px;
  color: #e5e1f4;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: #8b7bff;
  font-size: 20px;
  font-weight: 300;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 18px; color: var(--muted); font-size: 13px; max-width: 820px; }

/* ---------- 工具库页面 ---------- */
.page-hero { padding: 116px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -1.8px; margin: 16px 0 12px; line-height: 1.15; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 15px; }
.tools-toolbar {
  position: sticky;
  top: 70px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin: 30px 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9,9,16,.88);
  backdrop-filter: blur(16px);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.chip {
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #958fa9;
  font-size: 12px;
  transition: all .2s ease;
}
.chip:hover { color: #fff; background: rgba(255,255,255,.04); }
.chip.active { color: #fff; border-color: var(--line-2); background: rgba(124,108,240,.14); }
.search-wrap { position: relative; width: 260px; flex-shrink: 0; }
.search-wrap svg {
  position: absolute;
  left: 12px; top: 50%;
  width: 15px; height: 15px;
  transform: translateY(-50%);
  color: #6f6b86;
}
.search-input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  color: #eeeaff;
  font-size: 12.5px;
  outline: none;
  transition: border-color .2s ease;
}
.search-input:focus { border-color: rgba(167,139,250,.5); }
.search-input::placeholder { color: #5f5b78; }
.tools-count { color: var(--muted-2); font-size: 12px; margin: 0 0 16px; }
.empty-state {
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed rgba(167,139,250,.25);
  border-radius: 18px;
  color: var(--muted-2);
  background: rgba(124,108,240,.03);
}
.empty-state b { display: block; color: #d9d4ef; font-size: 15px; margin-bottom: 6px; }

/* ---------- 详情弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 8, .72);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 22px;
  background: linear-gradient(180deg, #151526, #0b0b14);
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.03);
  color: #aaa5c0;
  font-size: 15px;
}
.modal-head { display: flex; gap: 14px; align-items: flex-start; padding-right: 34px; }
.modal-head h3 { font-size: 20px; letter-spacing: -.3px; }
.modal-head p { color: var(--muted-2); font-size: 11.5px; margin-top: 3px; }
.modal-body { margin-top: 20px; }
.modal-desc { color: #b9b4cd; font-size: 13px; line-height: 1.8; }
.modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.modal-meta div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.modal-meta span { display: block; color: var(--muted-2); font-size: 10.5px; }
.modal-meta b { display: block; color: #d9d4ef; font-size: 12px; margin-top: 2px; word-break: break-all; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.modal-tags span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #928da9;
  font-size: 10.5px;
}
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 40px;
  padding: 52px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 10, .72);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand p { color: var(--muted-2); font-size: 12px; max-width: 300px; margin-top: 12px; }
.footer h4 { color: #d9d4ef; font-size: 12px; letter-spacing: 1.5px; margin-bottom: 12px; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; }
.footer-links a, .footer-links span { color: #8b86a1; font-size: 12px; }
.footer-links a:hover { color: #c4b5fd; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #5f5b78;
  font-size: 11px;
}
.footer-bottom a { color: #8b86a1; }

/* ---------- 动效 ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in { opacity: 1; transform: none; }
html.no-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-a { animation: floaty 6s ease-in-out infinite; }
.float-b { animation: floaty 7s ease-in-out 1s infinite; }
.float-c { animation: floaty 8s ease-in-out .5s infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { max-width: 760px; }
  .browser { transform: none; }
  .feature-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .float-b { left: 2%; }
  .float-a { right: 2%; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; place-items: center; flex-shrink: 0; }
  .header-actions .btn { display: none; }
  .header-actions { flex-shrink: 0; }
  .brand { min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-name { white-space: nowrap; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .page-hero { padding-top: 88px; }
  .tools-toolbar { position: static; }
  .chips { flex: 1 1 100%; min-width: 0; }
  .search-wrap { flex: 1 1 100%; width: 100%; }
  .download-band { flex-direction: column; align-items: flex-start; }
  .download-share { flex-wrap: wrap; }
  .ds-actions { width: 100%; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .hero { padding-top: 46px; }
  .hero h1 { letter-spacing: -1.4px; }
  .hero .lead { font-size: 15px; max-width: 100%; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 13px; }
  .feature-grid, .tool-grid, .help-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-row { flex-direction: column; align-items: flex-start; }
  .float-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal-meta { grid-template-columns: 1fr; }
  .community-panel { padding: 16px; }
  .brand-sub { display: none; }
  .download-band { padding: 24px; }
  .download-mini { width: 100%; }
  .download-mini a { flex: 1; min-width: 140px; }
  .download-share { flex-direction: column; align-items: flex-start; }
  .ds-actions { width: 100%; }
  .ds-actions .btn { flex: 1; }
}
