/* ============================================================
   聚合一键去水印 · 官方文档站 全站样式
   纯静态 HTML + 原生 CSS，无框架依赖，适配 PC / 平板 / 手机
   ============================================================ */

:root {
  --brand: #5e54e8;
  --brand-2: #8b7cf5;
  --brand-dark: #4a3fd1;
  --brand-soft: #f0efff;
  --ink: #1f2329;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --line: #eceef1;
  --bg: #ffffff;
  --bg-gray: #f7f8fa;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(31, 35, 41, .06);
  --shadow-hover: 0 14px 36px rgba(94, 84, 232, .14);
  --maxw: 1180px;
  --header-h: 64px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { font-size: 12px; font-weight: 400; color: var(--ink-3); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink-2);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-links a.active { color: var(--brand); font-weight: 600; background: var(--brand-soft); }

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(94, 84, 232, .28);
}
.nav-cta:hover { opacity: .92; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: .25s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section.gray { background: var(--bg-gray); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; line-height: 1.3; margin-bottom: 12px; }
.section-head p { color: var(--ink-3); font-size: 16px; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(94, 84, 232, .3);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(94, 84, 232, .4); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f4f3ff 0%, #ffffff 55%, #fff 100%);
  padding: 84px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(139, 124, 245, .25), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d4cffb;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .num { font-size: 28px; font-weight: 800; color: var(--brand); }
.hero-stats .lbl { font-size: 13px; color: var(--ink-3); }

/* 手机样机（纯 CSS） */
.phone {
  width: 290px;
  height: 590px;
  margin: 0 auto;
  background: #1f2329;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(31, 35, 41, .22), 0 0 0 6px #2b2f36;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #1f2329;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #8b7cf5, #5e54e8 42%, #f7f8fa 42%);
  display: flex;
  flex-direction: column;
  padding: 52px 16px 14px;
}
.phone-search {
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--ink-3);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  margin-bottom: 12px;
}
.phone-btn {
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 11px;
  margin-bottom: 14px;
}
.phone-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  margin-bottom: 10px;
  flex: 1;
}
.phone-card .bar { height: 10px; border-radius: 6px; background: #f1f2f4; margin-bottom: 10px; }
.phone-card .bar.short { width: 60%; }
.phone-card .bar.orange { background: #cfc9f9; width: 40%; }
.phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.phone-grid i {
  aspect-ratio: 1;
  border-radius: 12px;
  background: #f0efff;
  display: block;
}
.phone-grid i:nth-child(2n) { background: #e3e0fd; }

/* 手机壳内小程序码 */
.phone-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.phone-qr img {
  width: 142px;
  height: 142px;
  object-fit: contain;
  display: block;
}
.phone-qr-tip { margin: 3px 0 0; font-size: 13px; font-weight: 700; color: var(--brand); }
.phone-qr-sub { margin: 0; font-size: 11px; color: var(--ink-3); }

/* ---------- 特性卡片 ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: #d4cffb; }
.feat-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-soft), #e3e0fd);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 19px; margin-bottom: 8px; }
.feat-card p { color: var(--ink-3); font-size: 14.5px; }

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(94, 84, 232, .3);
}
.step-card h3 { font-size: 17px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--ink-3); }

/* ---------- 双栏图文 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split + .split { margin-top: 72px; }
.split h2 { font-size: 30px; margin-bottom: 16px; }
.split .lead { color: var(--ink-3); margin-bottom: 22px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e54e8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.shot {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(31, 35, 41, .14);
  border: 1px solid var(--line);
  background: #fff;
}
.shot.rounded-img img { border-radius: var(--radius-lg); }

/* ---------- 架构/组成 ---------- */
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arch-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--line);
}
.arch-card .tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 6px;
}
.arch-card h3 { margin: 12px 0 8px; font-size: 20px; }
.arch-card p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 12px; }
.arch-card ul li { font-size: 14px; color: var(--ink-2); padding: 4px 0 4px 18px; position: relative; }
.arch-card ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: var(--bg-gray); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .yes { color: #16a34a; font-weight: 700; }
td .no { color: #c0c4cc; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--brand);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .ans { padding: 0 24px 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--brand), #8b7cf5);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.cta-box h2 { font-size: 30px; margin-bottom: 12px; }
.cta-box p { opacity: .92; margin-bottom: 28px; }
.cta-box .btn { background: #fff; color: var(--brand); }
.cta-box .btn:hover { color: var(--brand-dark); }

/* ---------- 文档页布局（侧栏 + 正文） ---------- */
.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  padding: 36px 0 72px;
}
.docs-sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.docs-sidebar .side-title { font-size: 13px; color: var(--ink-3); font-weight: 700; padding: 0 14px 8px; }
.docs-sidebar a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 2px;
}
.docs-sidebar a:hover { background: var(--brand-soft); color: var(--brand); }
.docs-sidebar a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.docs-article { min-width: 0; }
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumb a { color: var(--ink-3); }
.docs-article h1 { font-size: 34px; line-height: 1.3; margin-bottom: 12px; }
.docs-article .article-meta { color: var(--ink-3); font-size: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.docs-article h2 {
  font-size: 24px;
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.docs-article h3 { font-size: 19px; margin: 28px 0 10px; }
.docs-article p { margin-bottom: 14px; color: var(--ink-2); }
.docs-article ul, .docs-article ol { margin: 0 0 16px; padding-left: 24px; }
.docs-article ul { list-style: disc; }
.docs-article ol { list-style: decimal; }
.docs-article li { margin-bottom: 8px; color: var(--ink-2); }
.docs-article strong { color: var(--ink); }

.docs-article code {
  background: #f3f4f6;
  color: #4137b3;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13.5px;
}
pre {
  background: #1f2329;
  color: #e5e7eb;
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.7;
}
pre code { background: none; color: inherit; padding: 0; font-size: 14px; }
.note {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 18px;
  font-size: 14.5px;
  border: 1px solid;
}
.note p:last-child { margin-bottom: 0; }
.note.tip { background: var(--brand-soft); border-color: #d4cffb; color: #4137b3; }
.note.info { background: #eef6ff; border-color: #cfe5ff; color: #1e5a9e; }
.note.warn { background: #fff8e8; border-color: #ffe7b3; color: #946200; }

.tut-steps { display: grid; gap: 28px; margin: 24px 0 8px; }
.tut-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.tut-step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 18px; }
.tut-step h3 .n {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.tut-step p { margin-bottom: 14px; }
.tut-step img { border-radius: 12px; border: 1px solid var(--line); max-width: 360px; margin: 0 auto; box-shadow: var(--shadow); }

/* 上一步/下一步 */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pager a {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager a.next { text-align: right; }
.pager a span { display: block; font-size: 12.5px; color: var(--ink-3); }

/* ---------- 更新日志时间线 ---------- */
.timeline { border-left: 2px solid #d4cffb; padding-left: 28px; margin-left: 8px; }
.tl-item { position: relative; margin-bottom: 40px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.tl-item .ver { font-size: 20px; font-weight: 800; }
.tl-item .date { color: var(--ink-3); font-size: 13.5px; margin-left: 10px; font-weight: 400; }
.tl-item ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.tl-item li { color: var(--ink-2); margin-bottom: 6px; font-size: 15px; }

/* ---------- 平台落地页 ---------- */
.platform-hero {
  background: linear-gradient(160deg, #f4f3ff, #fff);
  padding: 64px 0 56px;
}
.platform-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.platform-tags span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.related-card h3 { font-size: 17px; margin-bottom: 6px; }
.related-card p { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #1f2329;
  color: #b8bcc4;
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #b8bcc4; }
.footer-grid a:hover { color: #8b7cf5; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-brand b { color: #fff; font-size: 17px; }
.footer-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #efedff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 16px rgba(108, 93, 234, .35);
}
.footer-contact { margin-top: 9px !important; color: #b4bac6; font-size: 13.5px; }
.footer-contact strong { color: #e9ebf0; }
.footer-bottom {
  border-top: 1px solid #2e333b;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #8a8f99;
  font-size: 13px;
}
.footer-bottom a { color: #8a8f99; }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}
.back-top.show { display: flex; }
.back-top svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- HTML 站点地图 ---------- */
.smap-hero {
  background: linear-gradient(160deg, #f4f3ff 0%, #ffffff 92%);
  padding: 62px 0 48px;
}
.smap-eyebrow {
  display: inline-block;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.smap-hero h1 { font-size: 38px; line-height: 1.25; margin-bottom: 14px; letter-spacing: -.5px; }
.smap-hero h1 em { font-style: normal; color: var(--brand); }
.smap-hero p { color: var(--ink-2); font-size: 16.5px; max-width: 640px; }

.smap-wrap { padding: 50px 20px 84px; }
.smap-group + .smap-group { margin-top: 52px; }
.smap-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.smap-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 5px var(--brand-soft);
}
.smap-group-head h2 { font-size: 21px; }
.smap-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--bg-gray);
  border: 1px solid var(--line);
  padding: 3px 13px;
  border-radius: 999px;
}
.smap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.smap-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.smap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #d4cffb;
  color: var(--ink);
}
.smap-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-soft), #e3e0fd);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 15px;
}
.smap-ico svg {
  width: 23px; height: 23px;
  stroke: var(--brand); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.smap-card h3 { font-size: 17px; margin-bottom: 6px; padding-right: 26px; transition: color .2s; }
.smap-card:hover h3 { color: var(--brand); }
.smap-card p { font-size: 13.5px; color: var(--ink-3); margin: 0; line-height: 1.7; }
.smap-go { position: absolute; right: 20px; top: 25px; color: #c4c0ee; transition: color .2s, transform .2s; }
.smap-go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.smap-card:hover .smap-go { color: var(--brand); transform: translateX(3px); }
.smap-card.current { background: var(--brand-soft); border-color: #d4cffb; cursor: default; }
.smap-card.current:hover { transform: none; box-shadow: none; }
.smap-card.current h3 { color: var(--brand-dark); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .phone { margin-top: 10px; }
  .feat-grid, .arch-grid, .related-grid, .smap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; gap: 0; }
  .docs-sidebar {
    position: static;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 28px;
    background: #fff;
  }
  .docs-sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .docs-sidebar .side-title { width: 100%; }
  .docs-sidebar a { white-space: nowrap; }
}

/* 平板及以下：汉堡抽屉菜单 */
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .22s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 16px; border-radius: 10px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .brand small { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .section { padding: 52px 0; }
  .section-head h2, .split h2 { font-size: 25px; }
  .hero h1 { font-size: 31px; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { gap: 26px; }
  .feat-grid, .arch-grid, .related-grid, .steps, .smap-grid { grid-template-columns: 1fr; }
  .smap-hero { padding: 44px 0 34px; }
  .smap-hero h1 { font-size: 29px; }
  .smap-wrap { padding: 36px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-box { padding: 40px 22px; }
  .cta-box h2 { font-size: 24px; }
  .docs-article h1 { font-size: 26px; }
  .docs-article h2 { font-size: 20px; }
  .tut-step img { max-width: 100%; }
  .pager { flex-direction: column; }
  .pager a.next { text-align: left; }
}
