/* ==========================================================================
   PGDer — 数据库工具集 官网样式
   设计方向：深色工业控制台 / 取证终端。红色信号色 + 等宽技术标注 + 细线结构。
   ========================================================================== */

:root {
  --bg: #f4f6fa;
  --bg-2: #edf1f7;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --line: #dbe2ec;
  --line-soft: rgba(15, 23, 42, 0.08);
  --text: #111c30;
  --muted: #55627a;
  --dim: #8b95a8;
  --red: #d92f2a;
  --red-bright: #d92f2a;
  --red-deep: #a3201c;
  --amber: #b7791f;
  --violet: #6d5bd0;
  --green: #1f8a4c;
  --mono: "Cascadia Mono", "Consolas", "SFMono-Regular", "Menlo", monospace;
  --display: "Bahnschrift SemiCondensed", "Bahnschrift", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --body: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --container: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  --page-bg: none;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(244, 246, 250, 0.44) 0%, rgba(244, 246, 250, 0.58) 45%, rgba(244, 246, 250, 0.78) 100%),
    var(--page-bg),
    radial-gradient(1100px 620px at 78% -8%, rgba(217, 47, 42, 0.09), transparent 62%),
    radial-gradient(900px 520px at 8% 12%, rgba(109, 91, 208, 0.07), transparent 60%),
    linear-gradient(rgba(15, 23, 42, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.032) 1px, transparent 1px);
  background-size: cover, cover, auto, auto, 88px 88px, 88px 88px;
  background-position: center, center top, center, center, left top, left top;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* 各模块页面的独立背景图 */
body[data-page="home"] { --page-bg: url("../img/bg-home.svg"); }
body[data-page="product"] { --page-bg: url("../img/bg-product.svg"); }
body[data-page="scenes"] { --page-bg: url("../img/bg-scenes.svg"); }
body[data-page="forum"] { --page-bg: url("../img/bg-forum.svg"); }
body[data-page="faq"] { --page-bg: url("../img/bg-faq.svg"); }
body[data-page="about"] { --page-bg: url("../img/bg-about.svg"); }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.35;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.mono { font-family: var(--mono); }

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 74px;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.3s var(--ease);
}

.site-header.scrolled {
  height: 64px;
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(150deg, #f24a3e, #a91d1c 58%, #7d1614);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(226, 58, 53, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-mark svg { width: 22px; height: 22px; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-name em { font-style: normal; color: var(--red-bright); }

.brand-nickname {
  margin-left: 8px;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--dim);
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active { color: var(--text); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.visit-stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.visit-stats span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--dim);
  font-size: 9px;
  line-height: 1;
}

.visit-stats span + span {
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.visit-stats strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ver-chip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: 0.06em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn svg { width: 15px; height: 15px; }

.btn-primary {
  background: linear-gradient(180deg, #ef4a3f, #cf2c27);
  color: #fff;
  box-shadow: 0 8px 24px rgba(226, 58, 53, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(226, 58, 53, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: #ffffff;
}

.btn-ghost:hover {
  border-color: rgba(226, 58, 53, 0.5);
  background: rgba(226, 58, 53, 0.07);
  transform: translateY(-2px);
}

.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 移动端抽屉：桌面端始终隐藏 */
.nav-drawer { display: none; }

/* --------------------------------------------------------------------------
   通用：section / 标题 / 按钮 / 标记
   -------------------------------------------------------------------------- */
main { position: relative; z-index: 1; }

.section {
  padding: 110px 0;
  scroll-margin-top: 78px;
  position: relative;
}

.section-line { border-top: 1px solid var(--line-soft); }

.sec-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  padding-top: 26px;
  margin-bottom: 56px;
  border-top: 1px solid var(--line);
  position: relative;
}

#product .sec-head { align-items: start; }

.sec-head::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 84px;
  height: 1px;
  background: var(--red);
}

.sec-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sec-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
}

.sec-title {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.005em;
}

.sec-title .dim { color: var(--dim); }

.sec-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  padding-bottom: 6px;
}

.sec-desc strong { color: var(--text); font-weight: 600; }
.sec-desc p + p { margin-top: 14px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.tag-red { color: var(--red-bright); border-color: rgba(226, 58, 53, 0.32); background: rgba(226, 58, 53, 0.06); }
.tag-green { color: var(--green); border-color: rgba(86, 194, 127, 0.28); background: rgba(86, 194, 127, 0.05); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 168px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(217, 47, 42, 0.1), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 120px;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(226, 58, 53, 0.14);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(226, 58, 53, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(226, 58, 53, 0.04); }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(42px, 5.9vw, 78px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.hero-title .line { display: block; overflow: hidden; }

.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 0.95s var(--ease) forwards;
}

.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.hero-title .accent {
  color: var(--red-bright);
  position: relative;
  padding-right: 6px;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 6px;
  bottom: 6px;
  height: 10px;
  background: linear-gradient(90deg, rgba(217, 47, 42, 0.18), rgba(217, 47, 42, 0.02));
  z-index: -1;
}

.hero-lead {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.95;
  max-width: 560px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.42s forwards;
}

.hero-lead strong { color: var(--text); font-weight: 600; }

/* Hero 打字机 */
.hero-typer {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding: 6px 13px 6px 7px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-family: var(--mono);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.48s forwards;
}

.typer-label {
  flex-shrink: 0;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--red-bright);
  background: rgba(217, 47, 42, 0.08);
  border: 1px solid rgba(217, 47, 42, 0.2);
  border-radius: 4px;
  padding: 3px 6px;
  line-height: 1;
}

.typer-line {
  display: flex;
  align-items: center;
  min-width: 0;
}

.typer-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text);
  letter-spacing: 0.01em;
}

.typer-caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 3px;
  flex-shrink: 0;
  background: var(--red-bright);
  animation: caretBlink 1s steps(2, start) infinite;
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typer-caret { animation: none; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.54s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.64s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 右侧终端面板 */
.hero-console {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1), inset 0 1px 0 #ffffff;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #f4f7fb;
}

.console-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c6d0de;
}

.console-bar i:nth-child(1) { background: #e05b52; }
.console-bar i:nth-child(2) { background: #d8a24a; }
.console-bar i:nth-child(3) { background: #4f9d6b; }

.console-bar span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.console-body {
  padding: 20px 22px 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2.15;
  color: var(--muted);
}

.console-body .cmd { color: #334155; }
.console-body .cmd::before { content: "$ "; color: var(--red-bright); }
.console-body .ok { color: var(--green); }
.console-body .warn { color: var(--amber); }
.console-body .k { color: var(--text); }
.console-body .dim { color: var(--dim); }

.console-rule { height: 1px; background: var(--line-soft); margin: 12px 0; }

/* PostgreSQL 本地 WAL 日志挖掘界面模拟 */
.pg-app { min-width: 0; min-height: 0; overflow: hidden; text-align: left; }
.wal-app .console-bar { gap: 6px; padding: 9px 12px; }
.wal-app .console-bar i { width: 9px; height: 9px; }
.wal-app .console-bar span { font-size: 10.5px; }
.wal-app .console-bar b { margin-left: auto; color: var(--amber); font: 9px var(--mono); letter-spacing: 0.12em; }
.wal-body { display: flex; align-items: stretch; background: #eef1f5; }

.wal-side {
  position: relative;
  flex: 0 0 184px;
  padding: 0 0 32px;
  border-right: 1px solid #dbe1e8;
  background: #f8fafc;
  overflow-x: hidden;
  overflow-y: auto;
}
.wal-side-title {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e7ee;
  color: #1f2937;
  font-size: 11.5px;
  font-weight: 700;
}
.wal-tree { padding: 5px 6px 16px; color: #3f495a; font-size: 11.5px; }
.wal-row {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
  padding: 3px 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
}
.wal-row.home { padding-left: 16px; color: #4b5563; }
.wal-row.toggle { cursor: pointer; }
.wal-row.leaf { padding-left: 26px; cursor: pointer; }
.wal-row.leaf::before { content: "•"; color: #9aa3af; }
.wal-row.leaf:hover,
.wal-row.toggle:hover { background: #e9f1fd; color: #1d4ed8; }
.wal-row.active { background: #dbeafe; color: #1d4ed8; font-weight: 600; }
.wal-caret { flex: 0 0 10px; color: #7b8794; font-size: 9px; transition: transform 0.15s ease; }
.wal-children > .wal-group > .wal-row { padding-left: 17px; }
.wal-group.collapsed > .wal-row .wal-caret { transform: rotate(-90deg); }
.wal-group.collapsed > .wal-children { display: none; }
.wal-version { position: absolute; left: 12px; bottom: 9px; color: #9ca3af; font-size: 10px; }

.wal-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 9px 12px 12px;
  background: #fff;
}
.wal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e5e9f0;
  color: #6b7280;
  font-size: 11px;
}
.wal-crumb i { padding: 0 5px; color: #b3bac5; font-style: normal; }
.wal-crumb b { color: #374151; font-weight: 500; }
.wal-top-actions { display: flex; gap: 6px; }
.wal-top-actions button {
  padding: 3px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  background: #fff;
  color: #475569;
  font-family: var(--sans);
  font-size: 10.5px;
  cursor: pointer;
}
.wal-top-actions button:hover { border-color: #93b4f6; color: #1d4ed8; }
.wal-head h3 { margin: 9px 0 2px; color: #111827; font-size: 15px; font-weight: 700; }
.wal-head p { margin: 0 0 8px; color: #6b7280; font-size: 10.5px; }

.wal-fieldset { min-width: 0; margin: 0; padding: 8px 10px 9px; border: 1px solid #dde3ea; border-radius: 3px; }
.wal-fieldset legend { padding: 0 5px; color: #374151; font-size: 11px; }
.wal-pane { display: none; flex: 1; flex-direction: column; min-width: 0; }
.wal-pane.is-active { display: flex; }
.wal-grid { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.wal-field { display: flex; align-items: center; gap: 6px; flex: 1 1 190px; min-width: 0; }
.wal-field--wide { flex: 1 1 100%; }
.wal-field--grow { flex: 2 1 320px; }
.wal-field label { flex: 0 0 auto; color: #4b5563; font-size: 11px; white-space: nowrap; }
.wal-field input[type="text"],
.wal-field select {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 24px;
  box-sizing: border-box;
  padding: 2px 6px;
  border: 1px solid #cfd6e0;
  border-radius: 2px;
  outline: none;
  background: #fff;
  color: #374151;
  font: 11px var(--sans);
}
.wal-field select { flex: 0 0 auto; width: 112px; padding: 0 4px; }
.wal-field input:focus,
.wal-field select:focus { border-color: #60a5fa; box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.15); }
.wal-path { display: flex; flex: 1 1 auto; min-width: 0; }
.wal-path input { flex: 1 1 auto; width: auto; border-radius: 2px 0 0 2px !important; }
.wal-path button {
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid #cfd6e0;
  border-left: 0;
  border-radius: 0 2px 2px 0;
  background: #f8fafc;
  color: #475569;
  font-size: 10.5px;
  cursor: pointer;
}
.wal-path button:hover { color: #1d4ed8; }
.wal-check { flex: 1 1 100%; display: flex; align-items: center; gap: 5px; color: #374151; font-size: 11px; cursor: pointer; }
.wal-check input { width: 12px; height: 12px; margin: 0; accent-color: #2563eb; }
.wal-hint { flex: 1 1 100%; margin: 0; color: #9aa3af; font-size: 10.5px; font-style: italic; }

.wal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 9px 0 8px; }
.wal-btn {
  padding: 5px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #fff;
  color: #3f4a5c;
  font: 11px var(--sans);
  cursor: pointer;
}
.wal-btn:hover:not(:disabled) { border-color: #93b4f6; color: #1d4ed8; }
.wal-btn.primary { border-color: #3b82f6; background: #3b82f6; color: #fff; }
.wal-btn.primary:hover:not(:disabled) { border-color: #2f74e8; background: #2f74e8; color: #fff; }
.wal-btn.export { border-color: #7faeea; background: #6ea6e8; color: #fff; }
.wal-btn.export:hover:not(:disabled) { border-color: #5b97dc; background: #5b97dc; color: #fff; }
.wal-btn.clear { margin-left: auto; }
.wal-btn:disabled { cursor: wait; opacity: 0.6; }

.wal-output-title { margin: 0 0 5px; color: #374151; font-size: 11px; }
.wal-output {
  flex: 1;
  height: 280px;
  min-height: 250px;
  max-height: 340px;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 13px;
  overflow: auto;
  border: 1px solid #111827;
  border-radius: 2px;
  background: #000;
  color: #46e07a;
  font: 11px/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-color: #374151 #000;
}

@media (max-width: 900px) {
  .wal-side { display: none; }
  .wal-output { height: 320px; }
}

@media (max-width: 560px) {
  .wal-field,
  .wal-field--grow { flex: 1 1 100%; }
  .wal-field select { width: 100%; flex: 1 1 auto; }
  .wal-actions .wal-btn { flex: 1; }
  .wal-btn.clear { margin-left: 0; }
  .wal-output { height: 300px; min-height: 260px; font-size: 10.5px; }
}

/* Hero 截图带 */
.hero-media {
  margin-top: 68px;
  position: relative;
}

.hero-media-inline { width: 100%; min-width: 0; margin-top: 0; }
.hero-media-inline .shot { width: 120%; margin: 0 0 0 -10%; }
.hero-media.hero-media-inline .float-chip { gap: 2px; padding: 2px 3px; border-radius: 3px; font-size: 10px; }
.hero-media.hero-media-inline .float-chip b { font-size: 12px; }
.hero-media.hero-media-inline .chip-icon { width: 12px; height: 12px; border-radius: 2px; }
.hero-media.hero-media-inline .chip-icon svg { width: 8px; height: 8px; }
.hero-media.hero-media-inline .float-chip.l { left: -8%; top: 6%; }
.hero-media.hero-media-inline .float-chip.r { right: -10%; bottom: 52%; }
.hero-media-inline .shot-caption { padding: 8px 10px; font-size: 8px; letter-spacing: 0.03em; }
.hero-media-inline .shot-caption .right { display: none; }
.hero-simulation { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 520px; margin-top: 32px; }
.hero-simulation .pg-app { flex: 0 1 1100px; width: 100%; max-width: 1100px; margin: 0; }
@media (max-width: 860px) { .hero-simulation { min-height: 0; } }

.hero-media::before {
  content: "";
  position: absolute;
  inset: 12% 8% -6%;
  background: radial-gradient(ellipse at center, rgba(217, 47, 42, 0.1), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.shot {
  border: 1px solid #d5dde9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.03);
  position: relative;
}

.shot img { width: 100%; height: auto; }

.shot-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--line-soft);
  background: #f8fafc;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.shot-caption .live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.shot-caption .right { margin-left: auto; }

.hero-media .float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  z-index: 2;
}

.hero-media .float-chip b {
  font-family: var(--display);
  font-size: 19px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.hero-media .float-chip.l { left: -22px; top: 26%; }
.hero-media .float-chip.r { right: -18px; bottom: 18%; }

.chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(226, 58, 53, 0.12);
  border: 1px solid rgba(226, 58, 53, 0.25);
  color: var(--red-bright);
}

.chip-icon svg { width: 16px; height: 16px; }

/* 数据库跑马灯 */
.db-strip {
  margin-top: 64px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  background: #f8fafc;
}

.db-strip::before,
.db-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.db-strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.db-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.db-track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.db-strip:hover .db-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.db-track span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 54px;
  white-space: nowrap;
}

.db-track span::after {
  content: "◇";
  font-size: 8px;
  color: rgba(226, 58, 53, 0.6);
}

/* --------------------------------------------------------------------------
   首页：核心能力
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar {
  position: relative;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 200px at 100% 0, rgba(217, 47, 42, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.pillar:hover { transform: translateY(-6px); border-color: rgba(226, 58, 53, 0.4); }

.pillar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.pillar:hover::after { opacity: 1; }

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pillar-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(226, 58, 53, 0.1);
  border: 1px solid rgba(226, 58, 53, 0.22);
  color: var(--red-bright);
  transition: background 0.3s, transform 0.35s var(--ease);
}

.pillar:hover .pillar-icon { background: rgba(226, 58, 53, 0.2); transform: rotate(-4deg); }

.pillar-icon svg { width: 22px; height: 22px; }

.pillar h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
  min-height: 76px;
}

.pillar-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

/* 数据条 */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.stat-cell {
  padding: 26px 30px;
  border-right: 1px solid var(--line-soft);
  position: relative;
}

.stat-cell:last-child { border-right: 0; }

.stat-num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-num small {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red-bright);
  letter-spacing: 0.06em;
}

.stat-num--db { white-space: nowrap; }

.stat-num--db small {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}

.stat-label {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 9px;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   产品详介：功能浏览器
   -------------------------------------------------------------------------- */
.explorer {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
}

.explorer-menu {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #f1f5fa);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 16px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.menu-brand b { color: var(--text); font-size: 12px; letter-spacing: 0.06em; }

.menu-brand .sq {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(226, 58, 53, 0.6);
}

.menu-group {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  padding: 14px 10px 6px;
}

.exp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.exp-item .bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b7c2d2;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.exp-item .db-tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.exp-item:hover { color: var(--text); background: rgba(15, 23, 42, 0.04); }

.exp-item.active {
  color: var(--red-deep);
  background: linear-gradient(90deg, rgba(217, 47, 42, 0.12), rgba(217, 47, 42, 0.02));
  border-left-color: var(--red);
  box-shadow: inset 0 0 24px rgba(217, 47, 42, 0.04);
}

.exp-item.active .bullet {
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red);
}

.exp-item.active .db-tag { color: var(--red-deep); opacity: 0.75; }

.explorer-body { padding: 30px 32px 32px; min-width: 0; }

.exp-panel { animation: panelIn 0.45s var(--ease); }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.exp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.exp-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--red-bright);
  margin-bottom: 10px;
}

.exp-title {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.exp-path {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

.exp-index {
  font-family: var(--display);
  font-size: 54px;
  line-height: 0.85;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px #cdd7e4;
  flex-shrink: 0;
}

.exp-shot { margin-bottom: 24px; }

.exp-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
}

.exp-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

.exp-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--red);
}

.exp-points li b { color: var(--text); font-weight: 600; }

.exp-meta {
  border-left: 1px solid var(--line);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exp-meta-item .k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-bottom: 5px;
}

.exp-meta-item .v {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* 能力矩阵 */
.matrix-wrap {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--panel);
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.matrix th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: #f7f9fc;
}

.matrix td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.matrix tr:last-child td { border-bottom: 0; }

.matrix tbody tr { transition: background 0.2s; }
.matrix tbody tr:hover { background: rgba(226, 58, 53, 0.04); }

.matrix td:first-child {
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
}

.matrix .db-en {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--dim);
  font-weight: 400;
  margin-top: 2px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.dot.on { background: var(--red-bright); box-shadow: 0 0 8px rgba(226, 58, 53, 0.7); }
.dot.off { background: transparent; border: 1px solid #b7c2d2; }

.matrix .yes { color: var(--text); }
.matrix .no { color: var(--dim); }

.matrix-legend {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  background: #f7f9fc;
}

.matrix-legend span { display: inline-flex; align-items: center; gap: 7px; }

/* 附加能力条 */
.extra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.extra-card {
  padding: 20px 20px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--panel);
  transition: border-color 0.25s, background 0.25s;
}

.extra-card:hover { border-color: rgba(226, 58, 53, 0.32); background: rgba(226, 58, 53, 0.035); }

.extra-card h4 {
  font-size: 13.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.extra-card h4::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.extra-card p { font-size: 12px; color: var(--dim); line-height: 1.75; }

/* --------------------------------------------------------------------------
   适用场景
   -------------------------------------------------------------------------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.scene-card {
  position: relative;
  grid-column: span 4;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #f6f8fc);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.scene-card:nth-child(1),
.scene-card:nth-child(2) { grid-column: span 6; }

.scene-card:hover { transform: translateY(-4px); border-color: rgba(226, 58, 53, 0.36); }

.scene-card::before {
  content: attr(data-no);
  position: absolute;
  right: 18px;
  top: 2px;
  font-family: var(--display);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.07);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.3s;
}

.scene-card:hover::before { -webkit-text-stroke-color: rgba(226, 58, 53, 0.22); }

.scene-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.scene-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.scene-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 92%;
  position: relative;
  z-index: 1;
}

.scene-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  position: relative;
  z-index: 1;
}

.scene-flow span {
  font-size: 11px;
  font-family: var(--mono);
  color: #4a5872;
  background: #f1f5fa;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 4px 8px;
  white-space: nowrap;
}

.scene-flow i {
  font-style: normal;
  color: var(--red-bright);
  font-size: 10px;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   社区入口
   -------------------------------------------------------------------------- */
.community-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.community-left {
  padding: 40px 38px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(500px 300px at 0 100%, rgba(217, 47, 42, 0.07), transparent 65%),
    linear-gradient(160deg, #f8fafc, #eef2f8);
}

.community-left .sec-eyebrow { margin-bottom: 16px; }

.community-left h3 {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.community-left p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
  margin-bottom: 26px;
}

.community-stats {
  display: flex;
  gap: 34px;
  margin-bottom: 28px;
}

.community-stats b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

.community-stats span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.community-right { padding: 14px 30px; display: flex; flex-direction: column; justify-content: center; }

.topic-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.25s, background 0.25s;
}

.topic-row:last-child { border-bottom: 0; }

.topic-row:hover { padding-left: 14px; background: rgba(15, 23, 42, 0.025); }

.topic-main { min-width: 0; }

.topic-cat {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
  margin-bottom: 5px;
}

.topic-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topic-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  margin-top: 5px;
}

.topic-replies {
  text-align: right;
  flex-shrink: 0;
}

.topic-replies b {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
}

.topic-replies span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.faq-aside { position: sticky; top: 110px; }

.faq-aside .sec-title { margin-bottom: 18px; }

.faq-aside p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 320px;
}

.faq-aside .hint {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--red);
  border-radius: 0 8px 8px 0;
  background: var(--panel);
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.8;
}

.faq-aside .hint a { color: var(--red-bright); border-bottom: 1px solid rgba(226, 58, 53, 0.4); }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 4px;
  text-align: left;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--red-bright); }

.faq-num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: 0.08em;
  padding-top: 5px;
  flex-shrink: 0;
}

.faq-q-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  flex: 1;
}

.faq-icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.faq-icon::before { left: 0; top: 10px; width: 100%; height: 1.5px; }
.faq-icon::after { left: 10px; top: 0; width: 1.5px; height: 100%; }

.faq-item.open .faq-icon::before { background: var(--red-bright); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; }

.faq-a-inner p {
  padding: 0 40px 24px 34px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.faq-a-inner p b { color: var(--text); font-weight: 600; }

.faq-a-inner .code {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #a16207;
  background: #fef9e7;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 1px 6px;
}

/* --------------------------------------------------------------------------
   关于
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  background:
    radial-gradient(500px 280px at 100% 0, rgba(217, 47, 42, 0.06), transparent 62%),
    linear-gradient(170deg, #ffffff, #f6f8fc);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 16px 38px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: "PGDER";
  position: absolute;
  right: -14px;
  bottom: -26px;
  font-family: var(--display);
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.05);
  pointer-events: none;
}

.about-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.avatar {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: linear-gradient(150deg, #f24a3e, #8f1717);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(226, 58, 53, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.about-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.about-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  margin-top: 5px;
}

.about-bio {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.about-bio strong { color: var(--text); font-weight: 600; }

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #f8fafc;
  transition: border-color 0.25s, background 0.25s;
}

a.contact-item:hover { border-color: rgba(226, 58, 53, 0.4); background: rgba(226, 58, 53, 0.05); }

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(226, 58, 53, 0.1);
  color: var(--red-bright);
  flex-shrink: 0;
}

.contact-icon svg { width: 15px; height: 15px; }

.contact-k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.contact-v {
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 产品信息卡 */
.facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.facts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dim);
  background: #f7f9fc;
}

.facts-head b { color: var(--text); font-weight: 600; }

.fact-row {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 14px;
  padding: 15px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.fact-row:last-child { border-bottom: 0; }

.fact-row dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--dim);
  padding-top: 3px;
}

.fact-row dd { color: var(--muted); line-height: 1.7; }
.fact-row dd b { color: var(--text); font-weight: 600; }

.facts-note {
  margin-top: auto;
  padding: 16px 26px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   底部
   -------------------------------------------------------------------------- */
.footer-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(217, 47, 42, 0.1), transparent 70%),
    #f7f9fc;
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--red));
}

.footer-cta h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.footer-cta h2 span { color: var(--red-bright); }

.footer-cta p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.footer-cta .hero-cta { justify-content: center; opacity: 1; animation: none; }

.site-footer { padding: 56px 0 36px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand { max-width: 320px; }

.footer-brand p {
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.8;
  margin-top: 14px;
}

.footer-fgedu-promo {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  margin-right: auto;
}

.footer-fgedu {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.2s;
}

.footer-fgedu:hover { color: var(--red-bright); }

.footer-fgedu-logo {
  display: block;
  width: 160px;
  height: auto;
}

.footer-cols { display: flex; gap: 72px; }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin-bottom: 14px;
  font-weight: 400;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--red-bright); }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.footer-bottom > :last-child { justify-self: end; }

.footer-icp {
  justify-self: center;
  color: var(--dim);
  transition: color 0.18s ease;
}

.footer-icp:hover { color: var(--text); text-decoration: underline; }

.footer-bottom .status { display: inline-flex; align-items: center; gap: 7px; }

.footer-bottom .status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(86, 194, 127, 0.7);
}

/* --------------------------------------------------------------------------
   滚动揭示
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; animation: none; }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media-inline { max-width: 560px; margin: 0 auto; }
  .hero-media-inline .shot { width: 100%; margin: 0; }
  .hero-console { max-width: 560px; }
  .hero-media .float-chip.l { left: 10px; }
  .hero-media .float-chip.r { right: 10px; }
  .extra-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { gap: 44px; }
}

@media (max-width: 1024px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 10px; font-size: 13px; }
  .ver-chip { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; align-items: start; margin-bottom: 40px; }
  .sec-desc { padding-bottom: 0; max-width: 640px; }
  .explorer { grid-template-columns: 240px minmax(0, 1fr); }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-meta { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 18px; flex-direction: row; gap: 30px; }
  .scene-card { grid-column: span 6; }
  .scene-card:nth-child(1), .scene-card:nth-child(2) { grid-column: span 6; }
  .community-panel { grid-template-columns: 1fr; }
  .community-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .faq-aside { position: static; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .container { padding: 0 20px; }
  .site-header { height: 64px; }
  .nav-links,
  .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; }
  .nav-drawer {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(247, 249, 252, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 26px;
    display: none;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(20px);
    z-index: 99;
  }
  .nav-drawer.open { display: flex; }
  .nav-drawer a {
    padding: 13px 8px;
    font-size: 15px;
    color: var(--muted);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-drawer a:last-child { border-bottom: 0; }
  .nav-drawer a.active { color: var(--red-bright); }
  .nav-drawer .btn { margin-top: 14px; display: flex; color: #fff; }
  .hero { padding-top: 132px; }
  .hero::after { display: none; }
  .hero-title { font-size: clamp(38px, 9vw, 56px); }
  .hero-media { margin-top: 48px; }
  .hero-media .float-chip { display: none; }
  .section { padding: 78px 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar p { min-height: 0; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-bottom: 1px solid var(--line-soft); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: 0; }
  .explorer { grid-template-columns: 1fr; }
  .explorer-menu {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
    gap: 6px;
  }
  .menu-brand, .menu-group { display: none; }
  .exp-item { width: auto; border-left: 0; border: 1px solid var(--line); font-size: 12px; }
  .exp-item .db-tag { display: none; }
  .exp-item.active { border-color: rgba(226, 58, 53, 0.5); background: rgba(226, 58, 53, 0.1); }
  .explorer-body { padding: 22px 18px 24px; }
  .exp-head { flex-direction: column; gap: 8px; }
  .exp-index { display: none; }
  .exp-title { font-size: 21px; }
  .exp-meta { flex-direction: column; gap: 14px; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-card, .scene-card:nth-child(1), .scene-card:nth-child(2) { grid-column: span 1; }
  .scene-card { padding: 24px 20px; }
  .scene-card::before { font-size: 64px; }
  .extra-grid { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-fgedu-promo { align-self: flex-start; align-items: flex-start; margin: 0; }
  .footer-cols { flex-wrap: wrap; gap: 34px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 10px; justify-items: start; }
  .footer-bottom > :last-child { justify-self: start; }
  .db-strip { margin-top: 44px; }
  .community-left, .community-right { padding: 28px 22px; }
  .community-left h3 { font-size: 27px; }
  .about-card { padding: 26px 22px; }
  .about-card::after { font-size: 80px; }
  .faq-q { gap: 12px; padding: 18px 2px; }
  .faq-q-text { font-size: 14px; }
  .faq-a-inner p { padding: 0 10px 20px 28px; }
  .topic-title { white-space: normal; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
}

@media (max-width: 480px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; }
  .stat-cell:nth-child(3) { border-bottom: 1px solid var(--line-soft); }
  .hero-badges .tag { font-size: 9.5px; }
}

/* --------------------------------------------------------------------------
   首页联系快捷入口
   -------------------------------------------------------------------------- */
.contact-dock {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(-50%);
}

.contact-dock-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--muted);
  background: rgba(247, 249, 252, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-dock-btn svg { width: 26px; height: 26px; }

.contact-dock-btn::after {
  content: attr(data-tip);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text);
  background: var(--panel);
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), visibility 0.18s;
  pointer-events: none;
}

.contact-dock-btn:hover::after,
.contact-dock-btn:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.contact-dock-btn[aria-expanded="true"]::after {
  opacity: 0;
  visibility: hidden;
}

.contact-dock-btn:hover,
.contact-dock-btn:focus-visible,
.contact-dock-btn[aria-expanded="true"] {
  color: var(--red-bright);
  background: var(--panel);
  border-color: rgba(217, 47, 42, 0.35);
  transform: translateX(-2px);
}

.contact-dock-panel {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  z-index: 1;
  width: 248px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
  transform: translateY(-50%);
}

.contact-dock-panel[hidden] { display: none; }

.contact-dock-title {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-dock-panel--chat {
  top: 0;
  transform: none;
}

.contact-dock-panel--qr { width: 300px; }

.contact-dock-qrs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-dock-qr {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.contact-dock-qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.contact-dock-qr figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.contact-dock-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.contact-dock-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-dock-key {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.contact-dock-value {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
}

a.contact-dock-value { transition: color 0.2s var(--ease); }
a.contact-dock-value:hover { color: var(--red-bright); }

@media (max-width: 820px) {
  .contact-dock {
    top: auto;
    right: 12px;
    bottom: 86px;
    gap: 8px;
    transform: none;
  }
  .contact-dock-btn { width: 48px; height: 48px; border-radius: 9px; }
  .contact-dock-btn svg { width: 22px; height: 22px; }
  .contact-dock-btn::after { font-size: 11px; }
  .contact-dock-panel {
    top: auto;
    right: 0;
    bottom: calc(100% + 10px);
    width: 232px;
    transform: none;
  }
  .contact-dock-panel--qr { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dock-btn { transition: none; }
  .contact-dock-btn::after { transition: none; }
  .contact-dock-btn:hover,
  .contact-dock-btn:focus-visible,
  .contact-dock-btn[aria-expanded="true"] { transform: none; }
}

@media (hover: none) {
  .contact-dock-btn::after { display: none; }
}

/* ==========================================================================
   2026-11 转化与内容升级：获取体验版、案例库、相关链接
   ========================================================================== */

body[data-page="get"] { --page-bg: url("../img/bg-product.svg"); }
body[data-page="cases"] { --page-bg: url("../img/bg-scenes.svg"); }

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.related-links-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red-bright);
}

.related-links a {
  font-size: 13.5px;
  color: var(--muted);
}

.related-links a:hover { color: var(--red-bright); }

.scene-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-bright);
}

.scene-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 获取体验版落地页 */
.landing-hero { padding-top: 154px; padding-bottom: 70px; }

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: start;
}

.landing-title {
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.landing-title .dim { color: var(--dim); }

.landing-lead {
  margin-top: 22px;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.landing-lead strong { color: var(--text); }

.landing-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
  margin-top: 34px;
  max-width: 620px;
}

.landing-points li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.landing-points b {
  display: block;
  font-size: 14.5px;
  color: var(--text);
}

.landing-points span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

.landing-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 13.5px;
}

.landing-quicklinks a {
  color: var(--red-bright);
  border-bottom: 1px dashed rgba(217, 47, 42, 0.4);
  padding-bottom: 2px;
}

.lead-card {
  position: sticky;
  top: 100px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 28, 48, 0.1);
}

.lead-card-head h2 {
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.25;
}

.lead-card-head p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--dim);
}

.req { color: var(--red-bright); }

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  font: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(217, 47, 42, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217, 47, 42, 0.1);
}

.field-hint,
.lead-fineprint {
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.consent input {
  margin-top: 4px;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  accent-color: var(--red-bright);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-block { width: 100%; }

.lead-error {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 47, 42, 0.3);
  border-radius: 8px;
  background: rgba(217, 47, 42, 0.06);
  color: var(--red-deep);
  font-size: 13px;
  line-height: 1.7;
}

.lead-success h2 {
  margin-top: 18px;
  font-family: var(--display);
  font-size: 26px;
}

.lead-success > p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.lead-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(31, 138, 76, 0.1);
  color: var(--green);
}

.lead-success-icon svg { width: 26px; height: 26px; }

.lead-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 16px;
}

.field-hint-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 11px 13px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  font-size: 12.5px;
}

.field-hint-box[hidden] { display: none; }
.field-hint-box a { color: var(--red-bright); }
.field-hint-label { color: var(--dim); }

.landing-channels { padding-top: 90px; }

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

.channel-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.channel-card h3 {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 8px;
}

.channel-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 14px;
}

.channel-card p a { color: var(--red-bright); }

.channel-qr {
  width: 190px;
  margin: 0 auto 18px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.channel-note { font-size: 12px !important; color: var(--dim) !important; }

.landing-privacy { padding-top: 40px; }

.landing-privacy-inner {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.landing-privacy-inner h2 {
  font-family: var(--display);
  font-size: 26px;
}

.landing-privacy ul {
  display: grid;
  gap: 9px;
  padding-left: 20px;
  list-style: disc;
}

.landing-privacy li {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* 案例库 */
.case-hero { padding-top: 150px; padding-bottom: 44px; }

.case-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.case-filter-label {
  margin-right: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.filter-chip {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-chip:hover { border-color: rgba(217, 47, 42, 0.4); color: var(--red-bright); }

.filter-chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 47, 42, 0.28);
  box-shadow: 0 18px 48px rgba(17, 28, 48, 0.1);
}

.case-card[hidden] { display: none; }

.case-card-link {
  display: block;
  height: 100%;
  padding: 28px;
}

.case-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.case-time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  white-space: nowrap;
}

.case-card h2 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.32;
  margin-bottom: 10px;
}

.case-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.case-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.case-points span {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--panel-2);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.case-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-bright);
}

.case-empty {
  margin-top: 24px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 13.5px;
  color: var(--dim);
}

.case-note {
  margin-top: 26px;
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.case-note a { color: var(--red-bright); }

/* 案例详情 */
.case-page .case-hero { padding-top: 150px; padding-bottom: 40px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--dim);
}

.breadcrumb a:hover { color: var(--red-bright); }

.case-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.case-title {
  max-width: 960px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
}

.case-lead {
  max-width: 780px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.case-summary div {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.case-summary div:first-child { border-left: 0; }

.case-summary b {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red-bright);
}

.case-summary span {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.case-content { padding-top: 36px; }

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.case-body { max-width: 800px; }

.case-sec {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.case-sec:first-child { padding-top: 0; border-top: 0; }

.case-sec-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.case-sec-head span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red-bright);
}

.case-sec-head h2 {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.3;
}

.case-prose p {
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

.case-prose p:last-child { margin-bottom: 0; }
.case-prose b { color: var(--text); font-weight: 600; }
.case-prose a { color: var(--red-bright); border-bottom: 1px dashed rgba(217, 47, 42, 0.4); }

.case-list,
.case-checklist {
  display: grid;
  gap: 10px;
}

.case-list li,
.case-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.case-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red-bright);
}

.case-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.case-warn {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(217, 47, 42, 0.24);
  border-radius: 8px;
  background: rgba(217, 47, 42, 0.05);
  font-size: 13px;
  line-height: 1.8;
  color: var(--red-deep);
}

.case-steps {
  counter-reset: case-step;
  display: grid;
  gap: 20px;
}

.case-steps li {
  position: relative;
  padding-left: 46px;
  counter-increment: case-step;
}

.case-steps li::before {
  content: counter(case-step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(217, 47, 42, 0.09);
  color: var(--red-bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.case-steps h3 {
  margin-bottom: 4px;
  font-size: 15.5px;
  color: var(--text);
}

.case-steps p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.case-output {
  margin-top: 14px;
  padding: 20px;
  border-radius: 10px;
  background: #0f1726;
  color: #d7e2f4;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.9;
  overflow-x: auto;
}

.case-output code { font-family: inherit; white-space: pre; }

.case-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.case-disclaimer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
}

.case-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 20px;
}

.case-aside-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.case-aside-card h3 {
  font-family: var(--display);
  font-size: 19px;
  margin-bottom: 8px;
}

.case-aside-card p {
  margin-bottom: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.case-aside-note {
  margin: 10px 0 0 !important;
  font-size: 11.5px !important;
  color: var(--dim) !important;
}

.case-aside-links { display: grid; gap: 10px; }

.case-aside-links a {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.case-aside-links a:hover { color: var(--red-bright); }

@media (max-width: 1100px) {
  .landing-grid { gap: 40px; }
  .case-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; }
}

@media (max-width: 960px) {
  .landing-grid { grid-template-columns: 1fr; }
  .lead-card { position: static; }
  .case-layout { grid-template-columns: 1fr; }
  .case-aside { position: static; grid-template-columns: 1fr 1fr; }
  .case-summary { grid-template-columns: 1fr 1fr; }
  .case-summary div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .case-summary div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .landing-hero,
  .case-hero,
  .case-page .case-hero { padding-top: 120px; }
  .landing-points { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .landing-privacy-inner { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .case-aside { grid-template-columns: 1fr; }
  .case-card-top { flex-wrap: wrap; }
  .case-time { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .lead-card { padding: 22px; }
  .landing-title { font-size: 36px; }
  .case-title { font-size: 30px; }
  .case-summary { grid-template-columns: 1fr; }
  .case-summary div,
  .case-summary div:nth-child(3),
  .case-summary div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .case-summary div:first-child { border-top: 0; }
  .case-sec-head h2 { font-size: 22px; }
  .case-card-link { padding: 22px; }
}

#contact,
#leadForm,
#channels,
#privacy { scroll-margin-top: 100px; }
