/* ============ AIBoom — Premium Design System v2 ============ */
:root {
  --bg: #08080f;
  --bg-soft: #0d0d18;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.16);
  --text: #eef0f6;
  --text-2: #a9afbf;
  --text-3: #6b7182;
  --indigo: #6366f1;
  --violet: #a855f7;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #6366f1 0%, #a855f7 50%, #22d3ee 100%);
  --radius: 18px;
  --nav-h: 64px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
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; }
button { font-family: inherit; }

::selection { background: rgba(99, 102, 241, 0.4); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); }

/* ============ 背景层 ============ */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% -10%, #12122a 0%, var(--bg) 60%); }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.35; }
.b1 { width: 560px; height: 560px; background: #3b2f8f; top: -180px; left: -120px; animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 480px; height: 480px; background: #0f4d5c; top: -100px; right: -140px; animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 640px; height: 640px; background: #1c1440; top: 40%; left: 35%; opacity: 0.22; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(90px, 60px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-70px, 80px) scale(1.08); } }
@keyframes drift3 { to { transform: translate(-100px, -70px) scale(0.92); } }
/* 细网格纹理，提升质感 */
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 80%);
}

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 8, 15, 0.65);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(8, 8, 15, 0.85); }
.nav-inner { max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: 0.5px; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 18px; font-weight: 800;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
}
.logo-mark.small { width: 26px; height: 26px; font-size: 15px; border-radius: 7px; }
.logo-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 7px 14px; border-radius: 9px; font-size: 14px; color: var(--text-2); transition: 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-search {
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border); transition: 0.2s;
}
.nav-search:focus-within { border-color: rgba(99, 102, 241, 0.65); background: rgba(255, 255, 255, 0.08); }
.nav-search svg { color: var(--text-3); flex-shrink: 0; }
.nav-search input {
  width: 150px; height: 34px; background: none; border: none; outline: none;
  color: var(--text); font-size: 13px; font-family: inherit;
}
.nav-search input::placeholder { color: var(--text-3); }
.nav-search kbd {
  font-family: var(--font); font-size: 11px; padding: 0 6px; border-radius: 5px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border); color: var(--text-3);
}

/* ============ Hero ============ */
.hero { max-width: 1200px; margin: 0 auto; padding: calc(var(--nav-h) + 76px) 24px 64px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: 13px; color: var(--text-2);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  margin-bottom: 28px;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin: 22px auto 0; max-width: 620px; font-size: 17px; color: var(--text-2); }
.hero-search {
  max-width: 640px; margin: 36px auto 0;
  display: flex; align-items: center; gap: 12px;
  padding: 4px 18px; border-radius: 16px;
  background: rgba(13, 13, 24, 0.8);
  border: 1px solid var(--border-hi);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hero-search:focus-within { border-color: rgba(99, 102, 241, 0.65); box-shadow: 0 8px 48px rgba(99, 102, 241, 0.22); }
.hero-search svg { color: var(--text-3); flex-shrink: 0; }
.hero-search input {
  flex: 1; height: 52px; background: none; border: none; outline: none;
  color: var(--text); font-size: 15.5px; font-family: inherit;
}
.hero-search input::placeholder { color: var(--text-3); }
.clear-btn { display: none; width: 26px; height: 26px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,0.1); color: var(--text-2); font-size: 15px; line-height: 1; }
.clear-btn.show { display: block; }
.hero-tags { margin-top: 16px; font-size: 13px; color: var(--text-3); display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-tags a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); cursor: pointer; transition: 0.2s; }
.hero-tags a:hover { border-color: rgba(99, 102, 241, 0.6); color: var(--text); background: rgba(99, 102, 241, 0.1); }
.engine-label { font-size: 12.5px; color: var(--text-3); margin-right: 4px; }
.engine-tag {
  flex-shrink: 0; padding: 5px 14px; border-radius: 999px; border: none; cursor: default;
  background: linear-gradient(135deg, #6366f1, #a855f7); color: #fff;
  font-size: 12.5px; font-weight: 700;
}
.search-go {
  flex-shrink: 0; height: 40px; padding: 0 22px; border-radius: 11px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #6366f1, #a855f7); color: #fff;
  font-size: 14px; font-weight: 700; font-family: inherit;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4); transition: 0.2s;
}
.search-go:hover { box-shadow: 0 6px 22px rgba(99, 102, 241, 0.6); transform: translateY(-1px); }
.search-go:active { transform: translateY(0); }
.engine-btn {
  padding: 6px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03); color: var(--text-2);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.engine-btn:hover { border-color: rgba(99, 102, 241, 0.6); color: var(--text); background: rgba(99, 102, 241, 0.1); }
.engine-btn.active {
  border-color: transparent;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff; box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
}
.hero-stats {
  margin: 56px auto 0; display: flex; align-items: center; justify-content: center; gap: 36px;
  padding: 20px 40px; border-radius: var(--radius); width: fit-content;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; min-width: 76px; }
.stat b { display: block; font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.stat b.stat-word { font-size: 22px; }
.stat span { font-size: 12.5px; color: var(--text-3); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ============ Section 通用 ============ */
.section { max-width: 1200px; margin: 0 auto; padding: 72px 24px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 3px; color: var(--text-3); margin-bottom: 8px; }
.section h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; position: relative; padding-left: 16px; }
.section h2::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: var(--grad); }
.section-desc { margin-top: 8px; font-size: 14.5px; color: var(--text-3); }
.more-link { font-size: 14px; color: var(--indigo); transition: 0.2s; white-space: nowrap; }
.more-link:hover { color: var(--cyan); }
.filter-meta { font-size: 13px; color: var(--text-3); white-space: nowrap; }

/* ============ 分类导航 ============ */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  position: relative; overflow: hidden; cursor: pointer;
  padding: 20px 18px 18px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(280px 130px at 50% 0%, rgba(var(--c-rgb), 0.16), transparent 72%);
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(var(--c-rgb), 0.42); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34); }
.cat-card:hover::after { opacity: 1; }
.cat-icon {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px;
  display: grid; place-items: center; font-size: 21px; line-height: 1;
  background: rgba(var(--c-rgb), 0.13);
  border: 1px solid rgba(var(--c-rgb), 0.3);
  transition: transform 0.3s;
}
.cat-card:hover .cat-icon { transform: scale(1.07) rotate(-3deg); }
.cat-name { font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cat-name .cat-num {
  font-size: 11.5px; font-weight: 600; color: rgba(var(--c-rgb), 1);
  padding: 1px 8px; border-radius: 999px; background: rgba(var(--c-rgb), 0.12);
}
.cat-desc { margin-top: 6px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

/* ============ 精选推荐 ============ */
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.f-card {
  display: flex; align-items: center; gap: 18px; padding: 22px;
  border-radius: var(--radius); cursor: pointer;
  background: var(--card); border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.f-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px 140px at 20% 0%, rgba(var(--c-rgb, 99, 102, 241), 0.14), transparent 70%);
  pointer-events: none;
}
.f-card:hover { transform: translateY(-3px); border-color: var(--border-hi); background: var(--card-hover); box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34); }
.f-card:hover::after { opacity: 1; }
.f-rank {
  font-size: 34px; font-weight: 800; font-style: italic; width: 44px; flex-shrink: 0; text-align: center;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9;
  font-variant-numeric: tabular-nums;
}
.f-card.top3 { border-color: rgba(99, 102, 241, 0.28); }
.f-card.top3 .f-rank { opacity: 1; filter: drop-shadow(0 2px 12px rgba(99, 102, 241, 0.5)); }
.f-info { flex: 1; min-width: 0; }
.f-info h3 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f-info p { margin-top: 5px; font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-visit { color: var(--text-3); font-size: 18px; transition: 0.2s; flex-shrink: 0; }
.f-card:hover .f-visit { color: var(--cyan); transform: translateX(3px); }

/* ============ 最新收录（横向轨道） ============ */
.track-nav { display: flex; gap: 8px; }
.track-btn {
  width: 34px; height: 34px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
  color: var(--text-2); font-size: 17px; line-height: 1;
  display: grid; place-items: center; transition: 0.2s;
}
.track-btn:hover { border-color: var(--border-hi); color: var(--text); background: rgba(255, 255, 255, 0.09); }
.latest-wrap { position: relative; }
.latest-track {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}
.latest-track::-webkit-scrollbar { height: 8px; }
.latest-track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 6px; border: none; }
.latest-track::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.03); border-radius: 6px; }
.l-card {
  flex: 0 0 236px; scroll-snap-align: start; cursor: pointer;
  padding: 18px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.l-card:hover { transform: translateY(-4px); border-color: rgba(var(--c-rgb), 0.45); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34); }
.l-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.l-top .avatar { width: 38px; height: 38px; border-radius: 11px; font-size: 16px; }
.l-top .a-img { border-radius: 8px; padding: 4px; }
.l-name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.l-cat { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.l-desc {
  font-size: 12.5px; color: var(--text-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 40px;
}
.l-date {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(var(--c-rgb), 1);
  padding: 2px 10px; border-radius: 999px;
  background: rgba(var(--c-rgb), 0.11); border: 1px solid rgba(var(--c-rgb), 0.26);
}
.l-date i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ============ 分类 Pills ============ */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill {
  padding: 8px 18px; border-radius: 999px; font-size: 14px; cursor: pointer;
  color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  transition: 0.2s; display: flex; align-items: center; gap: 7px; user-select: none;
}
.pill:hover { border-color: var(--border-hi); color: var(--text); }
.pill.active {
  background: rgba(var(--c-rgb, 99, 102, 241), 0.16);
  border-color: rgba(var(--c-rgb, 99, 102, 241), 0.55);
  color: #fff; font-weight: 600;
  box-shadow: 0 4px 18px rgba(var(--c-rgb, 99, 102, 241), 0.22);
}
.pill .count { font-size: 11.5px; opacity: 0.7; }

/* ============ 工具卡片 ============ */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.t-card {
  padding: 22px; border-radius: var(--radius); cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.016));
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}
.t-card::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 2px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, rgba(var(--c-rgb), 0.9), rgba(var(--c-rgb), 0));
  opacity: 0; transition: opacity 0.3s;
}
.t-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(300px 120px at 50% 0%, rgba(var(--c-rgb), 0.13), transparent 72%);
}
.t-card:hover { transform: translateY(-4px); border-color: rgba(var(--c-rgb), 0.4); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }
.t-card:hover::before, .t-card:hover::after { opacity: 1; }
.t-top { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; position: relative;
  display: grid; place-items: center; font-size: 19px; font-weight: 800; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.a-letter { display: grid; place-items: center; width: 100%; height: 100%; }
.a-img {
  position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px);
  object-fit: contain; background: #fff; border-radius: 9px; padding: 5px; box-sizing: border-box;
}
.t-name { font-size: 16.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.t-cat { font-size: 11.5px; color: var(--text-3); font-weight: 400; margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.t-cat .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--c-rgb), 1); box-shadow: 0 0 8px rgba(var(--c-rgb), 0.7); flex-shrink: 0; }
.t-desc { font-size: 13.5px; color: var(--text-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-3); white-space: nowrap;
}
.badge.free { color: #34d399; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.badge.cn { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.08); }
.badge.oss { color: #22d3ee; border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.08); }
.badge.pro { color: var(--text-2); }
.badge.hot { color: #f87171; border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.1); }
.t-arrow { position: absolute; top: 20px; right: 20px; color: var(--text-3); font-size: 15px; opacity: 0; transition: 0.25s; transform: translateX(-6px); }
.t-card:hover .t-arrow { opacity: 1; transform: translateX(0); color: var(--cyan); }

/* 空状态 */
.empty-state { text-align: center; padding: 70px 20px; color: var(--text-3); }
.empty-icon { color: var(--text-3); opacity: 0.5; display: flex; justify-content: center; margin-bottom: 14px; }
.empty-sub { font-size: 13px; margin-top: 4px; }

/* ============ 新手怎么用 ============ */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card {
  position: relative; overflow: hidden;
  padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s;
}
.guide-card:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.guide-step {
  position: absolute; top: 18px; right: 20px;
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.7;
}
.guide-icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.guide-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.guide-card p { font-size: 13.5px; color: var(--text-2); }

/* ============ 洞察 ============ */
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.insight-card {
  padding: 30px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  transition: border-color 0.25s, background 0.25s;
  position: relative; overflow: hidden;
}
.insight-card:hover { border-color: var(--border-hi); background: var(--card-hover); }
.insight-num {
  position: absolute; top: 14px; right: 20px; font-size: 60px; font-weight: 800; font-style: italic;
  color: rgba(255, 255, 255, 0.045); user-select: none;
}
.insight-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 12px; position: relative; }
.insight-card p { font-size: 14px; color: var(--text-2); }
.insight-tags { margin-top: 16px; display: flex; gap: 8px; }
.insight-tags span { font-size: 11.5px; padding: 3px 12px; border-radius: 999px; background: rgba(99, 102, 241, 0.12); color: #a5b4fc; }

/* ============ 关于 ============ */
.about-card {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center;
  padding: 44px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.09), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--border);
}
.about-left h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; padding-left: 0; }
.about-left h2::before { display: none; }
.about-left p { font-size: 14.5px; color: var(--text-2); }
.about-left b { color: var(--text); }
.about-note { margin-top: 14px; font-size: 13.5px !important; }
.about-note a { color: var(--cyan); }
.about-right { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-stat {
  text-align: center; padding: 20px 10px; border-radius: 14px;
  background: rgba(8, 8, 15, 0.5); border: 1px solid var(--border);
}
.about-stat b { display: block; font-size: 24px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-stat span { font-size: 12px; color: var(--text-3); }

/* ============ Footer ============ */
.footer { margin-top: 96px; border-top: 1px solid var(--border); padding: 52px 24px 32px; background: rgba(255, 255, 255, 0.012); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); font-weight: 600; }
.footer-desc { margin-top: 14px; font-size: 13px; color: var(--text-3); line-height: 1.75; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--text); margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: var(--text-3); transition: 0.2s; width: fit-content; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-icp { font-size: 12.5px; color: var(--text-3); }
.footer-icp a { color: var(--text-3); transition: 0.2s; }
.footer-icp a:hover { color: var(--text-2); }

/* ============ 回到顶部 ============ */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 44px; height: 44px; border-radius: 13px; cursor: pointer;
  display: grid; place-items: center; color: var(--text-2);
  background: rgba(16, 16, 32, 0.86); border: 1px solid var(--border-hi);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.28s, transform 0.28s, visibility 0.28s, color 0.2s, border-color 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: #fff; border-color: rgba(99, 102, 241, 0.6); }

/* ============ 详情弹窗 ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 4, 10, 0.7); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(680px, 100%); max-height: min(82vh, 800px);
  border-radius: 22px; overflow: hidden;
  background: #101020; border: 1px solid var(--border-hi);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform: translateY(18px) scale(0.97); transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  display: flex; flex-direction: column;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06); color: var(--text-2); font-size: 18px; cursor: pointer; transition: 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.modal-body { overflow-y: auto; padding: 34px 34px 30px; }
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 4px; }
.m-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.m-head .avatar { width: 56px; height: 56px; border-radius: 15px; font-size: 24px; }
.m-title h3 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.m-title .m-cat { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.m-badges { display: flex; gap: 6px; margin: 14px 0 18px; flex-wrap: wrap; }
.m-desc { font-size: 15px; color: var(--text-2); padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.m-sec { margin-top: 24px; }
/* 公告 / 安全提示卡片（停运、风险提示等） */
.m-notice {
  margin-top: 20px; padding: 16px 18px; border-radius: 14px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.45);
}
.m-notice .n-title { font-size: 15.5px; font-weight: 800; color: #fcd34d; margin-bottom: 10px; }
.m-notice .n-lines { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.m-notice .n-lines li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.m-notice .n-lines li::before { content: "·"; position: absolute; left: 4px; color: #fcd34d; font-weight: 900; }
.m-notice .n-tip { margin-top: 12px; font-size: 13px; color: var(--text-2); padding: 9px 12px; border-radius: 9px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.3); }
/* 国内安装指南卡片（显著高亮） */
.m-guide {
  margin-top: 24px; padding: 18px 20px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.12);
}
.m-guide .g-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.m-guide .g-note { font-size: 13.5px; color: var(--text-2); margin-bottom: 14px; }
.m-guide .g-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.m-guide .g-steps li { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); }
.m-guide .g-steps li b { font-size: 14px; color: #a5b4fc; }
.m-guide .g-steps li span { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.m-guide .g-tip { margin-top: 14px; font-size: 13px; color: var(--text-2); padding: 10px 14px; border-radius: 10px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.3); }
.m-sec h4 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-3); margin-bottom: 12px; }
.m-sec p { font-size: 14.5px; color: var(--text-2); text-align: justify; }
.m-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.m-features li { list-style: none; font-size: 13.5px; color: var(--text-2); padding: 9px 13px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); display: flex; align-items: center; gap: 9px; }
.m-features li::before { content: "✦"; color: var(--indigo); font-size: 11px; }
.m-scenes { display: flex; flex-wrap: wrap; gap: 8px; }
.m-scenes span { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: rgba(99, 102, 241, 0.1); color: #c7d2fe; border: 1px solid rgba(99, 102, 241, 0.25); }
.m-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-info div { padding: 13px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.m-info .k { font-size: 11.5px; color: var(--text-3); margin-bottom: 3px; }
.m-info .v { font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-info .v a { color: var(--cyan); }
.m-actions { margin-top: 26px; display: flex; gap: 12px; }
.btn-primary {
  flex: 1; height: 46px; border: none; border-radius: 12px; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35); transition: 0.2s;
}
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost {
  height: 46px; padding: 0 22px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--text-2); font-size: 14px; transition: 0.2s;
}
.btn-ghost:hover { border-color: var(--border-hi); color: var(--text); }

/* ============ 滚动进入动画 ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .featured-grid, .insights-grid { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .nav-links { display: none; }
  .br-md { display: none; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-stats { gap: 18px; padding: 16px 22px; flex-wrap: wrap; }
  .stat { min-width: 64px; }
  .stat-divider { display: none; }
  .nav-search input { width: 100px; }
  .section { padding-top: 52px; }
  .section h2 { font-size: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-desc { display: none; }
  .modal-body { padding: 26px 22px; }
  .m-features { grid-template-columns: 1fr; }
  .m-info { grid-template-columns: 1fr; }
  .f-rank { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .to-top { right: 16px; bottom: 16px; }
}
