@charset "UTF-8";
/* ==========================================================================
   96IDC 导航 · www.96idc.cn
   纯静态 · 无依赖 · 移动优先
   设计语言：延续 96IDC 品牌蓝 #0052D9，导航页采用更大的留白与卡片化布局
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand: #0052D9;
  --brand-600: #0046BE;
  --brand-700: #003CAB;
  --brand-50: #EEF4FF;
  --brand-100: #DCE8FF;
  --brand-200: #BFD3FF;
  --brand-ring: rgba(0, 82, 217, .14);

  --purple: #7C3AED;
  --purple-50: #F4EFFF;
  --orange: #E37318;
  --orange-50: #FFF4E8;
  --teal: #0F9D8F;
  --teal-50: #E8F7F5;
  --red: #D54941;

  --ink: #0B1526;
  --ink-2: #22304A;
  --muted: #5A6880;
  --muted-2: #7E8BA1;
  --line: #E3E9F3;
  --line-soft: #EEF2F8;

  --bg: #FFFFFF;
  --bg-soft: #F5F8FD;
  --bg-dark: #0B1526;

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 21, 38, .04);
  --shadow-sm: 0 2px 6px rgba(11, 21, 38, .04), 0 8px 20px rgba(11, 21, 38, .04);
  --shadow-md: 0 10px 30px rgba(11, 21, 38, .08);
  --shadow-lg: 0 24px 64px rgba(8, 32, 78, .14);

  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;

  --container: 1180px;
  --head-h: 64px;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 600; }
em { font-style: normal; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px; left: 50%;
  z-index: 2000;
  transform: translate(-50%, -160%);
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 3. 顶部公告条 ---------- */
.util-bar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .74);
  font-size: 12.5px;
  line-height: 1.5;
}
.util-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}
.util-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, .78);
}
.util-news:hover { color: #fff; }
.util-badge {
  flex: none;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.util-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.util-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.util-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, .7);
}
.util-links a:hover { color: #fff; }
.util-links .icon { width: 14px; height: 14px; }

/* ---------- 4. 头部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-head.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(11, 21, 38, .05);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-logo { height: 26px; width: auto; }
.brand-tag {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.head-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.head-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.head-nav a:hover { color: var(--brand); background: var(--brand-50); }
.head-nav a:hover::after,
.head-nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-nav a[aria-current="page"] { color: var(--brand); }

.head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: none;
}
.search-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--muted-2);
  font-size: 13px;
  transition: border-color .18s, color .18s, background .18s;
}
.search-jump:hover { border-color: var(--brand-200); color: var(--brand); background: #fff; }
.search-jump kbd {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s, color .18s;
}
.btn .icon { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 82, 217, .22);
}
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 10px 22px rgba(0, 82, 217, .28); }

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
}
.btn-ghost:hover { border-color: var(--brand-200); color: var(--brand); background: var(--brand-50); }

.btn-soft { background: var(--brand-50); color: var(--brand); }
.btn-soft:hover { background: var(--brand-100); }

.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; border-radius: 12px; }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-2);
  background: #fff;
}
.menu-btn .icon { width: 22px; height: 22px; }

/* ---------- 5. 首屏 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 72px;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(760px 340px at 8% -12%, rgba(0, 82, 217, .13), transparent 62%),
    radial-gradient(700px 320px at 94% -6%, rgba(124, 58, 237, .12), transparent 60%),
    radial-gradient(600px 300px at 50% 108%, rgba(15, 157, 143, .09), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(11, 21, 38, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 21, 38, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 420px at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 420px at 50% 0%, #000 0%, transparent 78%);
  opacity: .9;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 7px;
  border: 1px solid var(--brand-200);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .8);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  animation: rise .5s var(--ease) both;
}
.hero-eyebrow span {
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  letter-spacing: .06em;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 52px;
  align-items: center;
}
.hero-copy { max-width: 640px; }

.hero h1 {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.22;
  letter-spacing: -.022em;
  font-weight: 700;
  animation: rise .55s .04s var(--ease) both;
}
.hero h1 em {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(0, 82, 217, .26);
  text-decoration-thickness: .07em;
  text-underline-offset: .14em;
}
.hero-sub {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
  animation: rise .55s .08s var(--ease) both;
}
.hero-sub strong { color: var(--ink-2); font-weight: 600; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  animation: rise .55s .16s var(--ease) both;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.hero-points .icon {
  width: 15px; height: 15px;
  color: var(--teal);
  stroke-width: 2.2;
}

/* 首屏：服务矩阵卡 */
.hero-visual {
  position: relative;
  animation: rise .6s .1s var(--ease) both;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -34px -28px -30px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 82, 217, .14), transparent 72%);
  filter: blur(6px);
}
.eco-card {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.eco-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}
.eco-head b {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
}
.eco-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2BA471;
  box-shadow: 0 0 0 4px rgba(43, 164, 113, .14);
}
.eco-list { margin-top: 8px; }
.eco-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 8px;
  margin: 0 -8px;
  border-radius: 11px;
  transition: background .18s;
}
.eco-list a:hover { background: var(--bg-soft); }
.eco-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 11px;
}
.eco-ico .icon { width: 20px; height: 20px; }
.eco-ico.is-blue { background: var(--brand-50); color: var(--brand); }
.eco-ico.is-purple { background: var(--purple-50); color: var(--purple); }
.eco-ico.is-orange { background: var(--orange-50); color: var(--orange); }
.eco-ico.is-teal { background: var(--teal-50); color: var(--teal); }
.eco-body { min-width: 0; flex: 1; }
.eco-body b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.eco-body em {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11.8px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eco-arrow {
  width: 15px; height: 15px;
  flex: none;
  color: var(--muted-2);
  transition: transform .2s var(--ease), color .2s;
}
.eco-list a:hover .eco-arrow { color: var(--brand); transform: translate(2px, -2px); }
.eco-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

/* 搜索 */
.search-wrap { margin-top: 30px; animation: rise .55s .12s var(--ease) both; }
.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 720px);
  margin-inline: auto;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 21, 38, .09);
  transition: border-color .2s, box-shadow .2s;
}
.searchbar:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring), 0 14px 36px rgba(11, 21, 38, .1);
}
.searchbar > .icon {
  width: 21px; height: 21px;
  color: var(--muted-2);
}
.searchbar input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15.5px;
  color: var(--ink);
}
.searchbar input::placeholder { color: var(--muted-2); }
.searchbar kbd {
  flex: none;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
}
.searchbar button {
  flex: none;
  height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .18s, transform .18s;
}
.searchbar button:hover { background: var(--brand-600); }
.searchbar button:active { transform: scale(.98); }

/* 资源区内的紧凑搜索框 */
.searchbar-sm {
  width: min(100%, 400px);
  margin-inline: 0;
  padding: 4px 4px 4px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
}
.searchbar-sm > .icon { width: 19px; height: 19px; }
.searchbar-sm input { height: 38px; font-size: 14px; }
.searchbar-sm button {
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13.5px;
}

.hot-keys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.hot-keys > span { color: var(--muted-2); }
.chip {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .86);
  color: var(--muted);
  font-size: 12.5px;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.chip:hover {
  border-color: var(--brand-200);
  background: #fff;
  color: var(--brand);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 30px;
  animation: rise .55s .12s var(--ease) both;
}

/* 数据条 */
.stats-band {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  background: var(--bg-dark);
  color: #fff;
}
.stats-band::after {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 520px; height: 220px;
  background: radial-gradient(closest-side, rgba(43, 127, 255, .32), transparent 70%);
  pointer-events: none;
}
.stats-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.stats-inner li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .13);
}
.stats-inner li:first-child { padding-left: 0; border-left: 0; }
.stats-inner b {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stats-inner span { color: rgba(255, 255, 255, .6); font-size: 12.5px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 6. 通用区块 ---------- */
.section { padding: 68px 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.sec-head-l { max-width: 720px; }
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sec-eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.sec-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 700;
}
.sec-head p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding-bottom: 4px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}
.sec-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.sec-link:hover .icon { transform: translateX(3px); }

/* ---------- 7. 三大入口 ---------- */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.entry {
  --c: var(--brand);
  --c-soft: var(--brand-50);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.entry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, #fff));
}
.entry::after {
  content: "";
  position: absolute;
  top: -70px; right: -60px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-soft) 0%, transparent 68%);
  opacity: .8;
  pointer-events: none;
}
.entry:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 32%, var(--line));
  box-shadow: var(--shadow-md);
}

.entry-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.entry-ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--c-soft);
  color: var(--c);
}
.entry-ico .icon { width: 23px; height: 23px; }
.entry-kicker {
  display: block;
  color: var(--c);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.entry h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.entry-host {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11.5px;
}
.entry-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.entry-links {
  display: grid;
  gap: 2px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.entry-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  transition: background .18s, color .18s;
}
.entry-links a .icon {
  width: 15px; height: 15px;
  color: var(--muted-2);
  transition: transform .2s var(--ease), color .2s;
}
.entry-links a:hover { background: var(--c-soft); color: var(--c); }
.entry-links a:hover .icon { color: var(--c); transform: translateX(3px); }

.entry-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--c);
  font-size: 13.5px;
  font-weight: 700;
}
.entry-cta .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.entry-cta:hover .icon { transform: translateX(4px); }

/* ---------- 8. 快捷导航 ---------- */
.dir-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.dir-controls .filter-bar { margin-bottom: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  width: fit-content;
  max-width: 100%;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.tab b {
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tab:hover { background: var(--bg-soft); color: var(--brand); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab.is-active b { color: rgba(255, 255, 255, .6); }

.dir-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 20px;
  color: var(--muted-2);
  font-size: 13px;
}
.dir-status b { color: var(--ink-2); font-weight: 600; }
.dir-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}
.dir-clear[hidden] { display: none; }
.dir-clear .icon { width: 14px; height: 14px; }

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dir-card {
  --c: var(--brand);
  --c-soft: var(--brand-50);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, background .2s;
}
.dir-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--c) 38%, var(--line));
  box-shadow: var(--shadow-md);
}
.dir-card[hidden] { display: none; }

.dir-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--c-soft);
  color: var(--c);
}
.dir-ico .icon { width: 21px; height: 21px; }

.dir-body { min-width: 0; flex: 1; }
.dir-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.dir-tag {
  flex: none;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--orange-50);
  color: var(--orange);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.dir-tag.is-new { background: var(--teal-50); color: var(--teal); }
.dir-desc {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dir-host {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dir-go {
  flex: none;
  align-self: center;
  color: var(--muted-2);
  transition: color .18s, transform .18s;
}
.dir-go .icon { width: 16px; height: 16px; }
.dir-card:hover .dir-go { color: var(--c); transform: translate(2px, -2px); }

.dir-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 52px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
}
.dir-empty[hidden] { display: none; }
.dir-empty-ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--muted-2);
}
.dir-empty h3 { font-size: 16px; }
.dir-empty p { color: var(--muted); font-size: 13.5px; max-width: 460px; }
.dir-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- 9. 模板与源码 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.pcard.is-hot {
  border-color: var(--brand-200);
  box-shadow: 0 10px 30px rgba(0, 82, 217, .1);
}
.pcard.is-hot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, var(--brand), #2B7FFF 55%, var(--purple));
}

.pcard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.pcard-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pcard-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}
.pcard-ico.is-purple { background: var(--purple-50); color: var(--purple); }
.pcard-ico.is-orange { background: var(--orange-50); color: var(--orange); }
.pcard-ico.is-teal { background: var(--teal-50); color: var(--teal); }
.pcard-ico .icon { width: 22px; height: 22px; }
.pcard h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.pcard-sub {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 12px;
  font-family: var(--mono);
}
.pcard-flag {
  flex: none;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, #FF6A00, #FF4242);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pcard-desc { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin-top: -4px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.price-row b {
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.price-row b i {
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  margin-right: 2px;
}
.price-row span { color: var(--muted); font-size: 12.5px; }
.price-row .price-note {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted-2);
  font-size: 11.5px;
  white-space: nowrap;
}

.feats { display: grid; gap: 9px; }
.feats li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.7;
}
.feats .icon {
  width: 17px; height: 17px;
  margin-top: 2px;
  color: var(--teal);
  stroke-width: 2.1;
}
.feats b { color: var(--ink); }

.pcard-demos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  transition: background .18s;
}
.demo-chip:hover { background: var(--brand-100); }
.demo-chip .icon { width: 13px; height: 13px; }

.pcard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 2px;
}
.pcard-actions .btn { flex: 1 1 auto; }
.pcard-actions .btn-ghost { flex: 0 0 auto; }

.store-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}
.store-note .icon { width: 17px; height: 17px; color: var(--brand); }
.store-note a { color: var(--brand); font-weight: 600; }
.store-note a:hover { text-decoration: underline; }

/* ---------- 10. 为什么 / 流程 ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.why-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.why-ico {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand);
}
.why-ico .icon { width: 20px; height: 20px; }
.why-card:nth-child(2) .why-ico { background: var(--purple-50); color: var(--purple); }
.why-card:nth-child(3) .why-ico { background: var(--teal-50); color: var(--teal); }
.why-card:nth-child(4) .why-ico { background: var(--orange-50); color: var(--orange); }
.why-card h3 { font-size: 15.5px; font-weight: 600; }
.why-card p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.75; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #FBFCFF);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.step::after {
  content: "";
  position: absolute;
  top: 34px; right: -18px;
  width: 18px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 15.5px; font-weight: 600; }
.step p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.step a { color: var(--brand); font-weight: 600; }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; gap: 12px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0 20px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.faq-item[open] {
  border-color: var(--brand-200);
  background: #FCFDFF;
  box-shadow: 0 8px 24px rgba(0, 82, 217, .06);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-mark {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: background .2s, transform .25s var(--ease);
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.6px;
  border-radius: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), background .2s;
}
.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-mark { background: var(--brand); transform: rotate(180deg); }
.faq-item[open] .faq-mark::before,
.faq-item[open] .faq-mark::after { background: #fff; }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  padding: 0 34px 18px 0;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.9;
}
.faq-a a { color: var(--brand); font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }

/* ---------- 12. 关于 / 联系 ---------- */
.about-intro { max-width: 840px; }
.about-copy p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.95;
}
.about-copy p + p { margin-top: 12px; }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.about-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
}
.about-badges .icon { width: 14px; height: 14px; color: var(--teal); }

/* 联系方式横条：3 个信息格 + 2 个二维码格，同一行等高 */
.contact-band {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(560px 280px at 88% -30%, rgba(43, 127, 255, .42), transparent 62%),
    var(--bg-dark);
  box-shadow: var(--shadow-md);
}
.contact-cell {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  transition: background .18s, border-color .18s;
}
.contact-cell:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); }
.contact-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(43, 127, 255, .18);
  color: #8FB3FF;
}
.contact-ico .icon { width: 18px; height: 18px; }
.contact-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.contact-text b { color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.contact-text em {
  color: rgba(255, 255, 255, .55);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qr-cell {
  flex: 0 0 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}
.qr-cell img { width: 84px; height: 84px; border-radius: 4px; }
.qr-cell figcaption { color: var(--muted); font-size: 11px; line-height: 1.4; }

/* ---------- 12.5 CTA 横幅 ---------- */
.cta-band { padding: 0 0 72px; }
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
  padding: 42px 44px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(560px 260px at 88% -20%, rgba(43, 127, 255, .5), transparent 62%),
    radial-gradient(420px 220px at -6% 120%, rgba(124, 58, 237, .28), transparent 66%),
    linear-gradient(135deg, #0B1526 0%, #10336E 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
}
.cta-inner p {
  max-width: 540px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: 13.8px;
  line-height: 1.8;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-primary { background: #fff; color: var(--ink); }
.cta-primary:hover { background: #EDF2FF; }
.cta-ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.cta-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }

/* ---------- 13. 页脚 ---------- */
.foot {
  background: var(--bg-dark);
  color: #9FACC2;
  padding-top: 54px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
}
.foot-brand .brand-logo {
  height: 26px;
  opacity: .95;
}
.foot-brand p {
  margin-top: 14px;
  max-width: 300px;
  color: #93A1B8;
  font-size: 13px;
  line-height: 1.85;
}
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.foot-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  color: #A9B6CB;
  font-size: 12px;
  font-family: var(--mono);
}
.foot-meta a:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }

.foot h4 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.foot ul { display: grid; gap: 1px; }
.foot li a {
  display: inline-block;
  padding: 5px 0;
  color: #97A5BC;
  font-size: 13px;
  transition: color .18s, transform .18s;
}
.foot li a:hover { color: #fff; transform: translateX(2px); }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #7C8AA0;
  font-size: 12.5px;
  line-height: 1.7;
}
.foot-bottom a { color: #9FACC2; }
.foot-bottom a:hover { color: #fff; }
.foot-bottom .sep { margin: 0 8px; color: #4A5772; }

/* ---------- 14. 悬浮按钮 ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 24px;
  z-index: 800;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 82, 217, .32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s, visibility .22s, transform .22s var(--ease), background .18s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-600); }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- 15. 移动端抽屉 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.drawer[data-open="true"] { display: block; }
.drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 30, .5);
  backdrop-filter: blur(2px);
  animation: fade .2s ease both;
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  display: flex;
  flex-direction: column;
  width: min(86vw, 340px);
  height: 100%;
  padding: 18px 18px 24px;
  background: #fff;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
  animation: slidein .26s var(--ease) both;
  overflow-y: auto;
}
@keyframes fade { from { opacity: 0; } }
@keyframes slidein { from { transform: translateX(100%); } }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer-close {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-2);
}
.drawer-nav { display: grid; gap: 2px; margin-top: 14px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}
.drawer-nav a:hover { background: var(--brand-50); color: var(--brand); }
.drawer-nav a .icon { width: 16px; height: 16px; color: var(--muted-2); }
.drawer-cta { display: grid; gap: 10px; margin-top: 18px; }
.drawer-foot {
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}
.drawer-foot a { color: var(--brand); }
body.is-locked { overflow: hidden; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1120px) {
  .head-nav { gap: 0; }
  .head-nav a { padding-inline: 9px; font-size: 14px; }
  .search-jump span { display: none; }
  .entry-grid { gap: 16px; }
  .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-split { gap: 36px; }
}

@media (max-width: 960px) {
  .head-nav, .search-jump { display: none; }
  .menu-btn { display: inline-flex; }
  .head-tools { gap: 8px; }
  .head-tools .btn-ghost { display: none; }

  .hero { padding: 48px 0 54px; }
  .hero-split { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: 640px; }
  .hero-sub { max-width: 640px; }
  .hero-visual { max-width: 560px; width: 100%; }

  .entry-grid { grid-template-columns: 1fr; }
  .entry { padding: 22px 20px 18px; }
  .entry-desc { font-size: 13.5px; }
  .entry-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-links a { margin: 0; }

  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step::after {
    top: auto; bottom: -12px; left: 22px; right: auto;
    width: 1px; height: 12px;
    background: repeating-linear-gradient(180deg, var(--line) 0 4px, transparent 4px 8px);
  }
  .contact-band { padding: 14px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .util-links a:not(:first-child) { display: none; }
  .section { padding: 52px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .hero h1 { letter-spacing: -.01em; }
  .hero-sub { font-size: 14.5px; }
  .searchbar { padding-left: 14px; border-radius: 16px; }
  .searchbar input { height: 44px; font-size: 15px; }
  .searchbar kbd { display: none; }
  .searchbar button { height: 44px; padding: 0 18px; }
  .hero-actions .btn { flex: 1 1 40%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
  .stats-inner li { padding-left: 16px; }
  .stats-inner li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats-inner b { font-size: 23px; }

  .dir-controls { flex-direction: column; align-items: stretch; gap: 10px; }
  .searchbar-sm { width: 100%; }
  .cta-band { padding: 0 0 52px; }
  .cta-inner { padding: 28px 24px; border-radius: 20px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .tab { flex: none; }

  .dir-grid { grid-template-columns: 1fr; gap: 10px; }
  .dir-card { padding: 14px; }
  .dir-desc { -webkit-line-clamp: 2; }

  .pcard { padding: 22px 20px 20px; }
  .price-row b { font-size: 27px; }
  .pcard-actions .btn { flex: 1 1 100%; }
  .pcard-actions .btn-ghost { flex: 1 1 100%; }

  .faq-item { padding: 0 16px; }
  .faq-item summary { font-size: 14.5px; }
  .faq-a { padding-right: 0; font-size: 13.5px; }

  .contact-band { padding: 12px; gap: 10px; }
  .contact-cell { flex: 1 1 100%; }
  .foot { padding-top: 44px; }
  .foot-grid { gap: 26px 20px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .to-top { right: 14px; bottom: 16px; }
}

@media (max-width: 420px) {
  .hero-eyebrow { font-size: 11.5px; }
  .hot-keys { justify-content: flex-start; }
  .hot-keys > span { width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .entry-links { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}

/* ---------- 17. 可访问性与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-head, .util-bar, .to-top, .drawer, .hero-actions, .search-wrap, .filter-bar { display: none !important; }
  body { color: #000; }
  .section { padding: 16px 0; }
}
