/* ==========================================================================
   沐问 MuAsk · 官网样式
   纯手写 CSS，无框架、无构建，资源全本地化。
   设计语言：深色侧边导航（呼应桌面端的左侧 Tab）+ 浅蓝工作区，
   对话气泡 → SQL 代码窗 的「Text2SQL 工作台」视觉母题。
   ========================================================================== */

:root {
  --brand: #2c7be5;
  --brand-d: #1765c4;
  --brand-l: #5b9bf0;
  --brand-soft: #e9f2fd;
  --cyan: #0ea5b7;
  --amber: #e8911a;
  --green: #22a06b;
  --red: #e5484d;

  --ink: #1b2a3d;
  --ink-soft: #52627a;
  --ink-mute: #93a1b5;

  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --line: #e3e9f2;

  /* 侧边深色导航，深浅色模式下都保持深色 */
  --side-bg: #0f1c30;
  --side-bg-2: #0b1526;
  --side-ink: #9db0c8;
  --side-ink-dim: #5f718c;
  --side-active: rgba(44, 123, 229, .18);

  /* SQL 代码窗 */
  --code-bg: #0d1726;
  --code-ink: #dbe5f4;
  --code-kw: #6aa8ff;
  --code-str: #c98a68;
  --code-fn: #d5d28a;
  --code-num: #a8cdb3;
  --code-cm: #5f7a5f;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --side-w: 242px;
  --mob-h: 60px;

  --shadow-sm: 0 1px 2px rgba(20, 40, 70, .05);
  --shadow: 0 6px 24px rgba(20, 40, 70, .08);
  --shadow-lg: 0 22px 60px rgba(20, 40, 70, .14);

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --ink: #e6edf7;
  --ink-soft: #a8b6ca;
  --ink-mute: #71819c;
  --bg: #0a111e;
  --surface: #121c2e;
  --surface-2: #0e1828;
  --line: #233049;
  --brand-soft: rgba(44, 123, 229, .16);
  --side-bg: #070e1a;
  --side-bg-2: #050a14;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
code, pre { font-family: var(--mono); }

/* ── 细滚动条 ─────────────────────────────────────────────── */
@supports (-moz-appearance: none) {
  * { scrollbar-width: thin; scrollbar-color: var(--brand-l) transparent; }
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-l), var(--cyan));
}
::-webkit-scrollbar-corner { background: transparent; }

/* ══════════════════════════════════════════════════════════
   侧边导航
   ══════════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side-w);
  background: linear-gradient(180deg, var(--side-bg), var(--side-bg-2));
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  z-index: 60;
  transition: transform .28s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 8px 20px;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(44, 123, 229, .4);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt b { color: #f3f7ff; font-size: 17px; letter-spacing: 1px; }
.brand-txt small { color: var(--side-ink-dim); font-size: 11px; letter-spacing: 2px; }

.snav { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.snav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--side-ink);
  font-size: 14.5px;
  position: relative;
  transition: background .18s, color .18s;
}
.snav a svg { width: 18px; height: 18px; flex: none; }
.snav a:hover { background: rgba(255, 255, 255, .06); color: #dbe7f8; }
.snav a.active {
  background: var(--side-active);
  color: #ffffff;
  font-weight: 600;
}
.snav a.active::before {
  content: "";
  position: absolute;
  left: -16px; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-l);
}

.side-foot { margin-top: auto; }
.side-ver {
  color: var(--side-ink-dim);
  font-size: 12px;
  font-family: var(--mono);
  padding: 0 10px 10px;
}
.side-icos { display: flex; gap: 8px; }
.side-icos .icon-btn { flex: 1; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--side-ink);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn img { width: 18px; height: 18px; border-radius: 4px; }

.backdrop {
  position: fixed; inset: 0;
  background: rgba(8, 14, 26, .5);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 50;
}
.backdrop.show { opacity: 1; visibility: visible; }

/* ── 移动端顶栏（≤1023px）────────────────────────────────── */
.mobbar {
  display: none;
  position: sticky;
  top: 0;
  height: var(--mob-h);
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 40;
}
.mobbar .menu-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
}
.mob-brand {
  display: flex; align-items: center; gap: 9px;
  color: var(--ink); font-weight: 700;
}
.mob-brand img { width: 28px; height: 28px; border-radius: 8px; }
.mobbar .sp { flex: 1; }
.mobbar .icon-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════════════════
   主体布局
   ══════════════════════════════════════════════════════════ */
.main { margin-left: var(--side-w); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

section { padding: 74px 0; }
.section-tint { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { max-width: 680px; margin-bottom: 42px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: .3px;
}
.sec-head p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ══════════════════════════════════════════════════════════
   Hero
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 0 60px;
}
/* 点阵底纹：在内容区外的宽边处最明显，打破大片空白 */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(circle, rgba(44, 123, 229, .22) 1.1px, transparent 1.5px);
  background-size: 25px 25px;
  -webkit-mask-image: radial-gradient(ellipse 92% 80% at 50% 36%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 92% 80% at 50% 36%, #000 25%, transparent 78%);
}
/* 两团品牌色光晕，铺满 .wrap 两侧留白 */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(460px 340px at 9% 6%, rgba(44, 123, 229, .12), transparent 70%),
    radial-gradient(520px 380px at 91% 16%, rgba(14, 165, 183, .12), transparent 70%),
    radial-gradient(620px 420px at 50% 108%, rgba(44, 123, 229, .08), transparent 72%);
}
[data-theme="dark"] .hero::before {
  background-image: radial-gradient(circle, rgba(91, 155, 240, .22) 1.1px, transparent 1.5px);
}
[data-theme="dark"] .hero::after {
  background:
    radial-gradient(460px 340px at 9% 6%, rgba(44, 123, 229, .20), transparent 70%),
    radial-gradient(520px 380px at 91% 16%, rgba(14, 165, 183, .18), transparent 70%),
    radial-gradient(620px 420px at 50% 108%, rgba(44, 123, 229, .14), transparent 72%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero-badge b { color: var(--brand); font-family: var(--mono); }
.hero-badge .sep { color: var(--ink-mute); }

.hero h1 {
  margin: 20px 0 18px;
  font-size: 42px;
  line-height: 1.28;
  letter-spacing: .5px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--brand), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 16px;
}
.hero-sub strong { color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn img { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(44, 123, 229, .3); }
.btn-primary:hover { background: var(--brand-d); color: #fff; transform: translateY(-1px); }
.btn-dark { background: #1b2a3d; color: #fff; }
[data-theme="dark"] .btn-dark { background: #060b15; border-color: var(--line); }
.btn-dark:hover { color: #fff; filter: brightness(1.15); transform: translateY(-1px); }
.btn-gitee { background: var(--surface); color: #c71d23; border-color: var(--line); }
.btn-gitee:hover { color: #a8171d; border-color: #c71d23; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-white { background: #fff; color: var(--brand-d); }
.btn-white:hover { color: var(--brand); transform: translateY(-1px); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-mute);
  font-size: 13px;
}
.hero-meta svg { width: 15px; height: 15px; color: var(--green); }

/* ── Hero 漂浮点缀 ───────────────────────────────────────── */
.hero-shot { position: relative; }
.hero-shot::before {
  content: "";
  position: absolute; z-index: -1;
  inset: -34px -26px;
  background: radial-gradient(circle at 50% 48%, rgba(44, 123, 229, .14), transparent 66%);
}
[data-theme="dark"] .hero-shot::before {
  background: radial-gradient(circle at 50% 48%, rgba(44, 123, 229, .24), transparent 66%);
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  z-index: 2;
  animation: floaty 5.2s ease-in-out infinite;
}
.float-chip .ic { color: var(--brand); font-size: 14px; line-height: 1; }
.fc-1 { top: 3%; left: -150px; }
.fc-2 { top: 38%; right: -52px; animation-delay: -1.7s; }
.fc-3 { bottom: -30px; left: 20px; animation-delay: -3.4s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* ── Hero 工作台示意 ─────────────────────────────────────── */
.desk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.desk-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.desk-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; display: block; }
.desk-bar i:nth-child(2) { background: #f5a623; }
.desk-bar i:nth-child(3) { background: #22c55e; }
.desk-bar span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-mute);
}
.desk-body { padding: 18px; }

.ask-bubble {
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  color: var(--ink);
  border-radius: 4px 14px 14px 14px;
  padding: 11px 15px;
  font-size: 13.5px;
  max-width: 88%;
}
.ask-bubble .who { display: block; font-size: 11px; color: var(--brand); margin-bottom: 2px; font-weight: 600; }

.desk-arrow {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
}
.desk-arrow::before, .desk-arrow::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--line));
}
.desk-arrow::after { background: linear-gradient(90deg, var(--line), transparent); }
.desk-arrow svg { width: 14px; height: 14px; color: var(--brand); }

.sql {
  background: var(--code-bg);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  overflow-x: auto;
}
.sql pre { margin: 0; font-size: 12.3px; line-height: 1.75; color: var(--code-ink); }
.sql .kw { color: var(--code-kw); }
.sql .fn { color: var(--code-fn); }
.sql .str { color: var(--code-str); }
.sql .num { color: var(--code-num); }
.sql .cm { color: var(--code-cm); }
.sql .cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--brand-l);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.mini-res { margin-top: 14px; }
.mini-res table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-res th {
  text-align: left;
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 600;
  padding: 6px 10px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.mini-res td { padding: 7px 10px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.minires td:last-child, .mini-res th:last-child { text-align: right; }
.mini-res tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════════════════
   数据条
   ══════════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
  padding: 26px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-n {
  font-size: 34px;
  font-weight: 700;
  color: var(--brand);
  font-family: var(--mono);
  line-height: 1.2;
}
.stat-t { color: var(--ink-mute); font-size: 13px; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   痛点 → 解决
   ══════════════════════════════════════════════════════════ */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.pain-ico { font-size: 22px; }
.pain h3 { margin: 10px 0 8px; font-size: 16.5px; }
.pain p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.solve {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}
.solve-node {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
}
.solve-node small { display: block; font-weight: 400; opacity: .82; font-size: 11.5px; margin-top: 3px; }
.solve-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 17px;
  z-index: 2;
}

/* ══════════════════════════════════════════════════════════
   三步上手
   ══════════════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; }
.step ul { margin: 0; padding-left: 18px; color: var(--ink-mute); font-size: 13px; }
.step ul li { margin: 3px 0; }

/* ══════════════════════════════════════════════════════════
   功能卡片
   ══════════════════════════════════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.fcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.fcard-top { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.fcard-idx { font-family: var(--mono); color: var(--ink-mute); font-size: 12.5px; }
.fcard-ico { color: var(--brand); display: inline-grid; }
.fcard-ico svg { width: 20px; height: 20px; }
.fcard h3 { margin: 0; font-size: 16.5px; }
.fcard p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.fcard p + p { margin-top: 8px; }

.more-link { margin-top: 34px; text-align: center; }

/* 功能详情：图文左右交替 */
.feature-block {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 68px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.rev { grid-template-columns: 1.08fr .92fr; }
.feature-block.rev .fb-text { order: 2; }
.fb-text h3 { margin: 0 0 12px; font-size: 23px; }
.fb-text p { margin: 0 0 12px; color: var(--ink-soft); font-size: 14.5px; }
.fb-text ul { margin: 0; padding-left: 19px; color: var(--ink-soft); font-size: 14px; }
.fb-text li { margin: 5px 0; }
.fb-text li b { color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   截图
   ══════════════════════════════════════════════════════════ */
.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.shot img { width: 100%; }
.shot-winbar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.shot-winbar i { width: 9px; height: 9px; border-radius: 50%; background: #ddd; display: block; }
.shot-winbar i:nth-child(1) { background: #ff5f57; }
.shot-winbar i:nth-child(2) { background: #febc2e; }
.shot-winbar i:nth-child(3) { background: #28c840; }
.shot-winbar span { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shot-cap { padding: 12px 16px; font-size: 13px; color: var(--ink-soft); }
.shot-cap b { color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   数据库
   ══════════════════════════════════════════════════════════ */
.db-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.db-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.db-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.db-pill.cn { border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); }
.db-pill.cn .dot { background: var(--amber); }
.db-pill .tag-cn {
  font-size: 10px;
  color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 50%, transparent);
  border-radius: 4px;
  padding: 0 4px;
  line-height: 1.5;
}

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dbtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.dbtable th {
  text-align: left;
  padding: 13px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.dbtable td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.dbtable tr:last-child td { border-bottom: none; }
.dbtable td b { color: var(--ink); }
.dbtable .badge-mini {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  white-space: nowrap;
}
.dbtable .badge-mini.cn { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); }

.note {
  display: flex;
  gap: 10px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 22px;
}
.note .note-ico { flex: none; }

/* ══════════════════════════════════════════════════════════
   FAQ 手风琴
   ══════════════════════════════════════════════════════════ */
.faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: var(--ink-mute);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--ink-soft); font-size: 14px; }
.faq-item .faq-body p { margin: 0 0 8px; }
.faq-item .faq-body ul { margin: 6px 0; padding-left: 20px; }
.faq-item .faq-body code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12.5px;
}

/* ══════════════════════════════════════════════════════════
   关于我们
   ══════════════════════════════════════════════════════════ */
.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.about-card h3 { margin: 0 0 12px; font-size: 19px; }
.about-card > p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14.5px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.contact-card .cc-ico {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.cc-ico.qq { background: var(--brand-soft); }
.cc-ico.wx { background: color-mix(in srgb, var(--green) 12%, transparent); }
.cc-ico.qun { background: color-mix(in srgb, var(--amber) 13%, transparent); }
.contact-card .cc-txt { min-width: 0; flex: 1; }
.contact-card .cc-k { display: block; font-size: 12px; color: var(--ink-mute); }
.contact-card .cc-v { font-weight: 700; font-size: 15px; color: var(--ink); font-family: var(--mono); }
.contact-card .cc-act { flex: none; }

.copy-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color .18s, color .18s;
}
.copy-btn:hover { border-color: var(--brand); color: var(--brand); }
.copy-btn.done { border-color: var(--green); color: var(--green); }

/* 出品工具 */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.tool-emoji {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid; place-items: center;
  font-size: 23px;
}
.tool-card h3 { margin: 0 0 4px; font-size: 16.5px; }
.tool-card p { margin: 0 0 10px; color: var(--ink-soft); font-size: 13.5px; }

/* 赞助名单 */
.sponsor-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 24px;
}
.sponsor-list h3 { margin: 0 0 14px; font-size: 17px; }
.sponsor-statbar {
  display: flex; gap: 26px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 13.5px; color: var(--ink-soft);
}
.sponsor-statbar b { color: var(--brand); font-size: 15px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.sp-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg);
}
.sp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sp-name { font-weight: 700; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-amt { font-weight: 800; color: var(--amber); font-size: 14px; white-space: nowrap; }
.sp-meta { margin-top: 5px; font-size: 12px; color: var(--ink-mute); display: flex; gap: 8px; align-items: center; }
.sp-meta a { color: var(--brand); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-meta .sp-date { white-space: nowrap; }

/* 赞助页布局：名单占大部分版面，收款码收窄成小卡片贴右 */
.sponsor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: start;
}
.sponsor-main { min-width: 0; }
.sponsor-main .sponsor-list { margin-bottom: 0; padding: 24px 26px; }
.sponsor-pay {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}
.qr-mini { padding: 14px 14px 12px; }
.qr-mini .qr-name { margin-bottom: 10px; font-size: 13px; }
.qr-mini .qr-name .e { font-size: 15px; }
.qr-mini .qr-hint { margin-top: 9px; font-size: 11.5px; }

/* 空名单占位提示 */
.sponsor-empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 58px 32px;
  text-align: center;
  color: var(--ink-soft);
}
.sponsor-empty .se-ico { font-size: 42px; }
.sponsor-empty h3 { margin: 14px 0 10px; font-size: 18px; color: var(--ink); }
.sponsor-empty p { margin: 0 auto; max-width: 430px; font-size: 14px; line-height: 1.9; }

/* 赞助 */
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.qr-name { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; margin-bottom: 14px; }
.qr-name .e { font-size: 18px; }
.qr-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.qr-img img { width: 100%; }
.qr-hint { margin: 12px 0 0; color: var(--ink-mute); font-size: 12.5px; }

/* ══════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════ */
.cta-box {
  background: linear-gradient(130deg, var(--brand-d), var(--brand) 55%, var(--cyan));
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(44, 123, 229, .3);
}
.cta-box h2 { margin: 0 0 10px; font-size: 29px; }
.cta-box p { margin: 0 0 26px; opacity: .9; font-size: 15px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-box .btn-gitee:hover { color: #a8171d; }

/* ══════════════════════════════════════════════════════════
   页脚
   ══════════════════════════════════════════════════════════ */
footer.site-foot { background: var(--surface-2); border-top: 1px solid var(--line); padding: 52px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; }
.foot-brand p { margin: 14px 0; color: var(--ink-soft); font-size: 13.5px; max-width: 340px; }
.foot-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.foot-tags span {
  font-size: 11.5px;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 9px;
}
.foot-col h4 { margin: 0 0 14px; font-size: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 8px 0; font-size: 13.5px; }
.foot-col a, .foot-col button {
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 0;
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--sans);
}
.foot-col a:hover, .foot-col button:hover { color: var(--brand); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 12.5px;
}
.foot-bottom a { color: var(--ink-mute); }
.foot-bottom a:hover { color: var(--brand); }

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%; bottom: 34px;
  transform: translate(-50%, 18px);
  background: #1b2a3d;
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 90;
  max-width: 86vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 回顶 ────────────────────────────────────────────────── */
.top-btn {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s, visibility .22s, transform .22s;
  z-index: 45;
}
.top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn svg { width: 20px; height: 20px; margin: auto; }

/* ── 进入动画 ────────────────────────────────────────────── */
/* 只有 JS 可用时才隐藏（html.js 由 <head> 内联脚本立即加上），
   禁用 JS 时内容直接可见，不会被藏死。 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .float-chip { animation: none; }
}

/* 宽屏才放得下向外探出的漂浮标签 */
@media (max-width: 1340px) {
  .float-chip { display: none; }
}

/* ══════════════════════════════════════════════════════════
   响应式
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .mobbar { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { min-width: 0; }
  .mini-res { overflow-x: auto; }
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 33px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .solve { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .solve-node:nth-child(2)::after { display: none; }
  .feature-block, .feature-block.rev { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .feature-block.rev .fb-text { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .sponsor-layout { grid-template-columns: 1fr; }
  .sponsor-pay {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  section { padding: 54px 0; }
  .sec-head h2, .cta-box h2 { font-size: 24px; }
  .pain-grid, .steps, .grid-3, .grid-2, .qr-grid, .tool-grid, .shot-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .solve { grid-template-columns: 1fr; }
  .solve-node::after { display: none !important; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-card { padding: 22px; }
  .cta-box { padding: 38px 22px; }
  .contact-card { flex-wrap: wrap; }
  .dbtable { min-width: 560px; font-size: 13px; }
  .dbtable th, .dbtable td { padding: 10px 12px; }
}
