/* 中国大学 MOOC 自动化 · 站点样式
   风格：液态玻璃（浅色通透 / 流体光斑 / 厚毛玻璃 / 大圆角）
   参考：DeepSeek、Kimi 官网 */

:root {
  --bg: #eef0f8;
  --ink: #151824;
  --ink-2: #545a70;
  --ink-3: #8b90a4;

  --violet: #7c5cff;
  --violet-2: #8b5cf6;
  --blue: #4a7dff;
  --cyan: #0fbdd4;
  --accent: #6d4aff;

  --glass: rgba(255, 255, 255, 0.55);
  --glass-2: rgba(255, 255, 255, 0.72);
  --glass-3: rgba(255, 255, 255, 0.4);
  --stroke: rgba(255, 255, 255, 0.72);
  --stroke-soft: rgba(21, 24, 36, 0.07);

  --grad: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #22d3ee 100%);
  --grad-text: linear-gradient(100deg, #7c5cff 0%, #6366f1 34%, #0ea5e9 64%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.1));

  --shadow-lg: 0 28px 70px -28px rgba(70, 60, 150, 0.28);
  --shadow-md: 0 16px 44px -22px rgba(70, 60, 150, 0.22);

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

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 流体光斑层（液态玻璃的灵魂） */
body::before {
  content: "";
  position: fixed;
  inset: -10% -10% -10% -10%;
  z-index: -1;
  background:
    radial-gradient(46vw 46vw at 14% 8%, rgba(167, 139, 250, 0.5), transparent 66%),
    radial-gradient(40vw 40vw at 88% 12%, rgba(34, 211, 238, 0.42), transparent 66%),
    radial-gradient(38vw 38vw at 78% 88%, rgba(244, 114, 182, 0.28), transparent 66%),
    radial-gradient(34vw 34vw at 8% 82%, rgba(252, 211, 77, 0.22), transparent 66%);
  filter: blur(72px) saturate(1.15);
  pointer-events: none;
}

a { color: var(--violet); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: #5b3df0; }

code {
  font-family: var(--mono);
  font-size: 0.87em;
  background: rgba(21, 24, 36, 0.055);
  border: 1px solid rgba(21, 24, 36, 0.07);
  border-radius: 6px;
  padding: 1px 6px;
  color: #333a52;
}

::selection { background: rgba(124, 92, 255, 0.22); }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 999;
  background: #151824; color: #fff;
  padding: 8px 16px; border-radius: 12px;
}

.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ================= header ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(238, 240, 248, 0.62);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 0 rgba(21, 24, 36, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 650; }
.brand:hover { color: var(--ink); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(124, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-text { font-size: 15px; letter-spacing: 0.01em; }

.site-nav { display: flex; align-items: center; gap: 3px; font-size: 14px; }
.site-nav a {
  color: var(--ink-2);
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); text-decoration: none; }

.nav-cta {
  margin-left: 9px;
  color: #fff !important;
  background: var(--grad);
  box-shadow: 0 10px 26px -12px rgba(124, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.nav-cta:hover { filter: brightness(1.06); background: var(--grad); }

/* ================= hero ================= */

.hero { position: relative; padding: 92px 0 100px; overflow: hidden; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 60px;
  align-items: center;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }

.pill {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  border: 1px solid var(--stroke);
  background: var(--glass-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 4px 12px;
  box-shadow: 0 4px 14px -8px rgba(70, 60, 150, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.pill-live {
  color: #4c1d95;
  border-color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.5), rgba(165, 243, 252, 0.4));
}
.pill-live b { font-weight: 650; color: #3b1280; font-variant-numeric: tabular-nums; }

h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 760;
  color: var(--ink);
}

.hl {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lede { font-size: 16.5px; color: var(--ink-2); margin: 0 0 34px; max-width: 34em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; }
.cta-row.center { justify-content: center; }

.btn {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.42;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.22s ease,
              background 0.22s ease, border-color 0.22s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn small { font-weight: 400; font-size: 11.5px; opacity: 0.78; letter-spacing: 0.01em; }

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 18px 40px -18px rgba(124, 92, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 24px 52px -18px rgba(124, 92, 255, 0.9); }

.btn-ghost {
  color: var(--ink);
  background: var(--glass-2);
  border-color: var(--stroke);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px -14px rgba(70, 60, 150, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.85); border-color: #fff; }

.tiny { margin: 16px 0 0; font-size: 12.5px; color: var(--ink-3); }
.tiny-link { margin-top: 9px; }

/* ================= 面板示意 ================= */

.hero-art { display: flex; justify-content: flex-end; perspective: 1400px; }

.panel {
  position: relative;
  width: 100%;
  max-width: 384px;
  border-radius: 26px;
  background: var(--glass-2);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(21, 24, 36, 0.04);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.3, 1);
  overflow: hidden;
}
.panel:hover { transform: rotateY(0deg) rotateX(0deg); }

.panel-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(21, 24, 36, 0.05);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(124, 92, 255, 0.55);
}
.panel-title { font-weight: 650; font-size: 13.5px; letter-spacing: 0.01em; color: var(--ink); }
.panel-help {
  margin-left: auto;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border: 1px solid rgba(21, 24, 36, 0.1);
  border-radius: 50%;
  color: var(--ink-3);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.5);
}

.panel-tabs {
  display: flex;
  gap: 3px;
  padding: 11px 11px 0;
  border-bottom: 1px solid rgba(21, 24, 36, 0.05);
}
.pt {
  position: relative;
  flex: 1;
  padding: 7px 0 10px;
  background: none;
  border: 0;
  color: var(--ink-3);
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  transition: color 0.18s ease, background 0.18s ease;
}
.pt:hover { color: var(--ink-2); background: rgba(255, 255, 255, 0.5); }
.pt.active { color: var(--ink); font-weight: 600; }
.pt.active::after {
  content: "";
  position: absolute;
  left: 16%; right: 14%; bottom: -1px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.45);
}

.panel-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 158px;
}
.hidden { display: none !important; }

.pb {
  text-align: left;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px -6px rgba(70, 60, 150, 0.18);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.14s ease, box-shadow 0.18s ease;
}
.pb:hover {
  border-color: rgba(167, 139, 250, 0.7);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(124, 92, 255, 0.4);
}
.pb.ghost {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(21, 24, 36, 0.08);
  color: var(--ink-2);
}
.pb.ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }

.panel-note { margin: 0; font-size: 12px; color: var(--ink-3); }

.panel-log {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 0;
}
.panel-log span { color: #a2a8bd; display: inline-block; width: 16px; }

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(21, 24, 36, 0.05);
  background: rgba(255, 255, 255, 0.4);
}
.panel-status {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-stop {
  border: 1px solid rgba(21, 24, 36, 0.1);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-2);
  border-radius: 9px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-family: inherit;
  cursor: pointer;
}
.panel-stop:hover { color: var(--ink); background: #fff; }

/* ================= stats ================= */

.stats { padding: 0 0 10px; }
.stats-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.stat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 8px 20px -14px rgba(70, 60, 150, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.2s ease;
}
.stat:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -14px rgba(70, 60, 150, 0.5), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.stat::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 8px rgba(124, 92, 255, 0.5);
  flex: 0 0 auto;
}
.stat-name {
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  white-space: nowrap;
}
.stat-value {
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* ================= sections ================= */

.section { padding: 92px 0; position: relative; }

.sec-title {
  font-size: clamp(24px, 2.9vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  font-weight: 730;
  color: var(--ink);
}
.sec-sub { color: var(--ink-2); margin: 0 0 46px; max-width: 48em; font-size: 15.5px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.26s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: -60%; left: -16%;
  width: 66%; height: 150%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.14), transparent);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 76px -30px rgba(70, 60, 150, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.card:hover::after { opacity: 1; }

.card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #5b3df0;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 17px;
  box-shadow: 0 6px 16px -6px rgba(124, 92, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card h3 { margin: 0 0 9px; font-size: 17.5px; letter-spacing: -0.01em; color: var(--ink); }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.duo-item {
  position: relative;
  padding: 28px 28px 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass-3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.duo-item::before {
  content: "";
  position: absolute;
  left: 14px; top: 26px; bottom: 26px;
  width: 3px;
  border-radius: 3px;
  background: var(--grad);
  opacity: 0.9;
}
.duo-item h3 { margin: 0 0 9px; font-size: 16.5px; color: var(--ink); }
.duo-item p { margin: 0 0 9px; color: var(--ink-2); font-size: 14.5px; }
.duo-item p:last-child { margin-bottom: 0; }
.muted { color: var(--ink-3) !important; font-size: 13.5px !important; }

/* ================= tabs table ================= */

.tabs-table {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.tab-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding: 16px 26px;
  border-bottom: 1px solid rgba(21, 24, 36, 0.05);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background 0.18s ease;
}
.tab-row:hover { background: rgba(255, 255, 255, 0.45); }
.tab-row:last-child { border-bottom: 0; }
.tab-name {
  font-size: 13.5px;
  font-weight: 680;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.note-line { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* ================= steps ================= */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.step {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.step-no {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step h3 { margin: 8px 0 9px; font-size: 16.5px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.callout {
  border-radius: var(--radius);
  padding: 20px 26px;
  font-size: 14.5px;
  color: var(--ink-2);
  background: linear-gradient(120deg, rgba(196, 181, 253, 0.4), rgba(165, 243, 252, 0.3));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.callout strong { color: #4c1d95; }

.doc-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass-2);
  backdrop-filter: blur(26px) saturate(1.7);
  -webkit-backdrop-filter: blur(26px) saturate(1.7);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.dp-text h3 { margin: 0 0 7px; font-size: 18px; color: var(--ink); }
.dp-text p { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: 44em; }

/* ================= faq ================= */

.faq { display: grid; gap: 13px; }

details {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  padding: 0 24px;
  box-shadow: 0 8px 22px -14px rgba(70, 60, 150, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
details:hover { background: var(--glass-2); }
details[open] {
  background: var(--glass-2);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

summary {
  cursor: pointer;
  padding: 17px 0;
  font-weight: 620;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
details[open] summary::after { content: "−"; }

details p { margin: 0 0 16px; font-size: 14.5px; color: var(--ink-2); }

/* ================= changelog ================= */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 63px; top: 18px; bottom: 18px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.5), rgba(34, 211, 238, 0.3), transparent);
  border-radius: 2px;
}
.timeline li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 26px;
  padding: 22px 0;
  position: relative;
}
.ver {
  font-family: var(--mono);
  font-size: 13px;
  padding-top: 3px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 59px; top: 31px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(238, 240, 248, 0.9), 0 4px 12px rgba(124, 92, 255, 0.4);
}
.timeline h3 { margin: 0 0 7px; font-size: 16px; color: var(--ink); }
.timeline p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ================= final cta ================= */

.final-cta {
  position: relative;
  padding: 100px 0 108px;
  text-align: center;
  overflow: hidden;
}
.final-cta .wrap {
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--stroke);
  background: var(--glass-2);
  backdrop-filter: blur(30px) saturate(1.7);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding-top: 64px;
  padding-bottom: 64px;
}
.final-cta h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.final-cta p { color: var(--ink-2); margin: 0 0 32px; }

/* ================= footer ================= */

.site-footer {
  padding: 32px 0 40px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(21, 24, 36, 0.07);
}
.footer-inner p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-footer nav a { color: var(--ink-2); padding: 5px 11px; border-radius: 999px; }
.site-footer nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.disclaimer {
  width: min(1160px, calc(100% - 48px));
  margin: 20px auto 0;
  font-size: 12px;
  color: #a2a8bd;
  line-height: 1.7;
}

/* ================= 教程页 ================= */

.doc-head {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}
.doc-head .wrap { position: relative; }

.crumb { font-size: 13px; color: var(--ink-3); margin: 0 0 16px; }
.crumb a { color: var(--ink-2); }
.crumb span { margin: 0 7px; color: #c3c7d8; }

.doc-head h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin: 0 0 14px;
  letter-spacing: -0.032em;
  color: var(--ink);
}
.doc-lede { color: var(--ink-2); max-width: 42em; margin: 0 0 22px; font-size: 15.5px; }

.doc-layout {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0 100px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 18px 14px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.toc-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin: 0 0 12px;
  padding-left: 8px;
  text-transform: uppercase;
}
.toc nav { display: flex; flex-direction: column; gap: 1px; }
.toc a {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 6px 8px;
  border-radius: 10px;
  transition: background 0.16s ease, color 0.16s ease;
}
.toc a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.65); text-decoration: none; }
.toc a span { font-family: var(--mono); font-size: 11px; color: #b0b5c8; padding-top: 1px; }

.doc { min-width: 0; }

.doc-sec {
  padding-bottom: 52px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(21, 24, 36, 0.07);
  scroll-margin-top: 92px;
}
.doc-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.doc-sec h2 {
  font-size: clamp(22px, 2.5vw, 27px);
  margin: 0 0 18px;
  letter-spacing: -0.028em;
  display: flex;
  align-items: baseline;
  gap: 11px;
  color: var(--ink);
}
.doc-sec h2 .no {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.doc-sec h3 { font-size: 16.5px; margin: 28px 0 9px; color: var(--ink); }

.doc p { color: var(--ink-2); font-size: 15px; }
.doc p b, .doc li b { color: var(--ink); font-weight: 600; }

.doc ul.plain, .doc ol.flow { margin: 0 0 20px; padding-left: 0; list-style: none; }
.doc ul.plain li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  color: var(--ink-2);
  font-size: 15px;
}
.doc ul.plain li::before {
  content: "";
  position: absolute;
  left: 3px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
}

.doc ol.flow { counter-reset: flow; display: grid; gap: 28px; }
.doc ol.flow > li { counter-increment: flow; position: relative; padding-left: 46px; }
.doc ol.flow > li::before {
  content: counter(flow);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.85));
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  box-shadow: 0 8px 20px -8px rgba(124, 92, 255, 0.7);
}
.doc ol.flow > li > h3 { margin-top: 0; }
.doc ol.flow p { margin-top: 0; }

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  margin: 0 0 24px;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 430px; }
.doc th, .doc td {
  text-align: left;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(21, 24, 36, 0.05);
  color: var(--ink-2);
  vertical-align: top;
}
.doc th {
  color: var(--ink-3);
  font-weight: 520;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.45);
}
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { color: var(--ink); }

/* 截图位 */
.shot {
  margin: 22px 0 28px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--glass-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-ph {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 210px;
  padding: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  background:
    radial-gradient(440px 200px at 50% 0%, rgba(139, 92, 246, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.4);
}
.shot-ph span {
  border: 1px dashed rgba(124, 92, 255, 0.55);
  border-radius: 999px;
  padding: 4px 13px;
  color: #6d4aff;
  font-size: 12px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.6);
}
.shot-ph code { font-size: 12px; color: var(--ink-2); }
.shot.missing img { display: none; }
.shot.missing .shot-ph { display: flex; flex-wrap: wrap; }
.shot figcaption,
.cap-note {
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 11px 18px;
  border-top: 1px solid rgba(21, 24, 36, 0.05);
  margin: 0;
  line-height: 1.65;
}
.cap-note { border-top: 0; padding: 0; }

.tip, .warn {
  border-radius: 18px;
  padding: 17px 22px;
  font-size: 14.5px;
  margin: 0 0 24px;
  line-height: 1.78;
  color: var(--ink-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--stroke);
  box-shadow: 0 8px 22px -14px rgba(70, 60, 150, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.tip {
  background: linear-gradient(120deg, rgba(196, 181, 253, 0.35), rgba(165, 243, 252, 0.25));
}
.warn {
  background: linear-gradient(120deg, rgba(254, 215, 170, 0.5), rgba(249, 168, 212, 0.25));
  border-color: rgba(255, 255, 255, 0.8);
}
.tip strong, .warn strong { color: var(--ink); display: block; margin-bottom: 5px; }
.warn strong { color: #9a3412; }
.warn p { margin: 6px 0 0; font-size: 14.5px; }

.video-shell {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(1.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
  overflow: hidden;
  margin: 0 0 14px;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.video-shell video { display: block; width: 100%; height: 100%; background: #000; }
.video-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(circle at 70% 90%, rgba(34, 211, 238, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.45);
}
.play {
  width: 66px; height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.85));
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  box-shadow: 0 16px 36px -10px rgba(124, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.play::before {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.vp-title { margin: 0; font-size: 15.5px; color: var(--ink); font-weight: 680; }
.vp-sub { margin: 0; font-size: 12.5px; color: var(--ink-3); }

.doc-end { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }

/* ================= responsive ================= */

@media (max-width: 960px) {
  .hero { padding: 66px 0 74px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { justify-content: flex-start; }
  .panel { max-width: 100%; transform: none; }
  .cards, .duo, .steps { grid-template-columns: 1fr; }
  .site-nav { gap: 2px; font-size: 13.5px; }
  .site-nav a:nth-child(3),
  .site-nav a:nth-child(5) { display: none; }
  .doc-layout { grid-template-columns: 1fr; gap: 0; padding-top: 30px; }
  .toc { position: static; margin-bottom: 36px; padding: 14px 16px; }
  .toc nav { flex-direction: row; flex-wrap: wrap; gap: 2px 8px; }
  .toc a { padding: 4px 8px; }
  .toc a span { display: none; }
  .timeline::before, .timeline li::before { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding: 50px 0 60px; }
  .section { padding: 64px 0; }
  .site-nav a:not(.nav-cta) { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .tab-row { grid-template-columns: 1fr; gap: 5px; padding: 14px 20px; }
  .brand-text { font-size: 14px; }
  .doc-head { padding: 42px 0 34px; }
  .doc-sec { padding-bottom: 38px; margin-bottom: 34px; }
  .shot-ph { min-height: 160px; }
  .final-cta .wrap { padding-top: 48px; padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .panel { transform: none; }
}
