/* ============================================================
   Bongo Cat · cap.so 风格设计系统（全站共享）
   设计语言：Instrument Sans / DM Mono / Source Serif 4
   配色：#111 墨色 + 白底 + #DDE4EB 边框 + #0090ff 蓝
   ============================================================ */
:root {
  --ink: #111111;
  --muted: rgba(17, 17, 17, 0.55);
  --faint: rgba(17, 17, 17, 0.38);
  --border: #DDE4EB;
  --hover: #EDF1F6;
  --blue: #0090ff;
  --blue-deep: #0d74ce;
  --blue-soft: #8DBCF0;
  --blue-bg: #E7EDF3;
  --bg: #ffffff;
  --bg-soft: #F7F9FB;
  --radius: 14px;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: "Source Serif 4", Georgia, "Songti SC", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue-soft); color: var(--ink); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 8px; }
.main-nav a {
  font-size: 14px; color: var(--muted); padding: 7px 13px; border-radius: 999px;
  transition: background 0.25s, color 0.25s; white-space: nowrap;
}
.main-nav a:hover { background: var(--hover); color: var(--ink); }
.main-nav a.active { color: var(--ink); background: var(--hover); font-weight: 550; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 550;
  border-radius: 999px; padding: 10px 20px; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(17,17,17,0.18); }
.btn-dark:hover { background: #2a2a2a; box-shadow: 0 4px 14px rgba(17,17,17,0.22); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: 0 1px 2px rgba(17,17,17,0.05); }
.btn-light:hover { background: var(--hover); border-color: #c9d4df; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--hover); color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-lg { padding: 13px 26px; font-size: 15.5px; }
.btn svg { width: 1em; height: 1em; }

/* ---------- 语言切换器 ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 13.5px; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 13px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { background: var(--hover); color: var(--ink); }
.lang-btn svg { width: 15px; height: 15px; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  width: 300px; max-height: 380px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(17,17,17,0.14), 0 2px 8px rgba(17,17,17,0.06);
  display: none; flex-direction: column; z-index: 200;
}
.lang-switch.open .lang-dropdown { display: flex; }
.lang-search-wrap { padding: 10px; border-bottom: 1px solid var(--border); }
.lang-search {
  width: 100%; font-family: var(--font-sans); font-size: 13.5px;
  border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px;
  outline: none; background: var(--bg-soft); color: var(--ink);
}
.lang-search:focus { border-color: var(--blue-soft); background: #fff; }
.lang-list { list-style: none; overflow-y: auto; max-height: 300px; padding: 6px; }
.lang-list li { margin: 0; }
.lang-item {
  width: 100%; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 14px; text-align: start;
  background: none; border: none; border-radius: 9px; padding: 8px 10px;
  cursor: pointer; color: var(--ink); transition: background 0.15s;
}
.lang-item:hover { background: var(--hover); }
.lang-item[aria-selected="true"] { background: var(--blue-bg); }
.lang-native { font-weight: 550; }
.lang-zh { color: var(--faint); font-size: 12.5px; margin-inline-start: auto; }
.lang-check { color: var(--blue); font-size: 13px; width: 16px; text-align: center; flex-shrink: 0; }
.lang-empty { display: none; padding: 22px 12px; text-align: center; color: var(--faint); font-size: 13.5px; }
.lang-empty.show { display: block; }

/* ---------- 页面 Hero（内页通用） ---------- */
.page-hero { padding: 76px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -80px, rgba(0,144,255,0.07), transparent 70%);
}
.page-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 13px; line-height: 1; padding: 8px 16px 8px 12px; margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(17,17,17,0.2);
}
.page-hero .hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.page-hero .hero-badge .mono { font-family: var(--font-mono); font-size: 11px; opacity: 0.75; letter-spacing: 0.04em; }
.page-hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--blue); }
.page-hero .hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 30px; letter-spacing: -0.01em; }
.page-hero .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 首页 Hero ---------- */
.hero { padding: 84px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -80px, rgba(0,144,255,0.07), transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 13px; line-height: 1; padding: 8px 16px 8px 12px; margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(17,17,17,0.2);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.hero-badge .mono { font-family: var(--font-mono); font-size: 11px; opacity: 0.75; letter-spacing: 0.04em; }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 500; line-height: 1.02; letter-spacing: -0.032em;
  margin-bottom: 18px;
}
.hero h1 .accent { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--blue); }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 560px; margin: 0 auto 14px; letter-spacing: -0.01em; }
.hero-desc { font-size: 15.5px; color: var(--faint); max-width: 520px; margin: 0 auto 34px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-meta {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}
.hero-meta span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }
.hero-visual { margin-top: 56px; position: relative; }
.hero-frame {
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(17,17,17,0.13), 0 4px 16px rgba(17,17,17,0.06);
  background: #fff; max-width: 880px; margin: 0 auto;
}
.hero-frame img { width: 100%; }
.hero-caption { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* ---------- 数据条 ---------- */
.stats { border-block: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.stat { padding: 40px 20px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--border); }
.stat-num { font-size: clamp(30px, 3.6vw, 42px); font-weight: 550; letter-spacing: -0.02em; font-family: var(--font-mono); }
.stat-num em { font-style: normal; color: var(--blue); }
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.stats-note { text-align: center; font-size: 12.5px; color: var(--faint); padding: 0 24px 26px; background: var(--bg-soft); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--blue);
  background: var(--blue-bg); border-radius: 999px; padding: 5px 13px; margin-bottom: 18px;
}
.section-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -0.028em; line-height: 1.12; margin-bottom: 14px; }
.section-head h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--blue); }
.section-head p { font-size: 16px; color: var(--muted); }

/* ---------- 功能 Bento 网格 ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.bento-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; grid-column: span 2;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.bento-card:hover { box-shadow: 0 10px 32px rgba(17,17,17,0.08); transform: translateY(-2px); border-color: #c9d4df; }
.bento-card.wide { grid-column: span 3; }
.bento-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-bg); color: var(--blue-deep); font-size: 20px; margin-bottom: 18px;
}
.bento-card h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 8px; }
.bento-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.bento-card .num { position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* ---------- 功能列表（features 页） ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover { box-shadow: 0 8px 24px rgba(17,17,17,0.07); transform: translateY(-2px); }
.feature-item .f-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--blue-bg); display: grid; place-items: center; font-size: 17px;
}
.feature-item h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature-item p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.f-tag {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 8px; font-weight: 500;
}
.f-tag.free { background: var(--blue); }
.f-tag.soon { background: #fff; color: var(--faint); border: 1px solid var(--border); }

/* ---------- 模式区块（instant/studio 页） ---------- */
.mode-hero { padding: 76px 0 56px; }
.mode-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.mode-hero h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 18px; }
.mode-hero h1 em { font-family: var(--font-serif); font-style: italic; color: var(--blue); }
.mode-hero .lead { font-size: 17px; color: var(--muted); margin-bottom: 30px; max-width: 480px; }
.mode-hero .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.mode-visual { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(17,17,17,0.12); background: #fff; }
.mode-visual img { width: 100%; }
.mode-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
}
.mode-step .step-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--blue); margin-bottom: 14px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-bg);
  display: grid; place-items: center; font-weight: 500;
}
.mode-step h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.mode-step p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.mode-best {
  margin-top: 18px; font-size: 12.5px; color: var(--faint);
  border-top: 1px dashed var(--border); padding-top: 14px;
}
.mode-best strong { color: var(--muted); font-weight: 550; }

/* ---------- 理由卡片 ---------- */
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.reason-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: flex; gap: 20px; align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.25s;
}
.reason-card:hover { box-shadow: 0 10px 32px rgba(17,17,17,0.08); transform: translateY(-2px); }
.reason-num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.reason-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 7px; }
.reason-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ---------- 皮肤展示 ---------- */
.skins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.skin-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.25s, transform 0.25s;
}
.skin-card:hover { box-shadow: 0 12px 36px rgba(17,17,17,0.1); transform: translateY(-3px); }
.skin-img { aspect-ratio: 4 / 3; background: var(--bg-soft); display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--border); }
.skin-img img { max-height: 100%; width: auto; }
.skin-body { padding: 18px 20px 20px; }
.skin-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--blue-bg); color: var(--blue-deep);
  border-radius: 999px; padding: 4px 10px; margin-bottom: 10px;
}
.skin-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 5px; }
.skin-card p { font-size: 13.5px; color: var(--muted); }
.skins-more { text-align: center; margin-top: 40px; font-size: 14.5px; color: var(--muted); }
.skins-more a { color: var(--blue); font-weight: 550; }
.skins-more a:hover { text-decoration: underline; }

/* ---------- 下载区 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 760px; margin: 0 auto; }
.dl-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 34px 30px; text-align: center; position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.dl-card:hover { box-shadow: 0 12px 36px rgba(17,17,17,0.1); transform: translateY(-3px); }
.dl-card .os-icon { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--ink); }
.dl-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.dl-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  background: var(--blue-bg); color: var(--blue-deep); border-radius: 999px;
  padding: 4px 11px; margin-bottom: 16px; letter-spacing: 0.03em;
}
.dl-meta { font-size: 13.5px; color: var(--muted); line-height: 1.9; margin-bottom: 22px; }
.dl-meta strong { color: var(--ink); font-weight: 550; }
.dl-free { font-size: 12px; color: var(--faint); margin-top: 12px; }

/* ---------- 步骤 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.step-card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 13px; color: var(--blue);
  display: block; margin-bottom: 16px; letter-spacing: 0.05em;
}
.step-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.steps-note { text-align: center; margin-top: 26px; font-size: 14px; color: var(--muted); }
.steps-note a { color: var(--blue); font-weight: 550; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 20px 4px; font-size: 16px; font-weight: 550; letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-deep); }
.faq-q-num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); flex-shrink: 0; width: 26px; }
.faq-item summary .arrow {
  margin-inline-start: auto; flex-shrink: 0; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border); color: var(--muted);
  transition: transform 0.25s, background 0.25s; font-size: 12px;
}
.faq-item[open] summary .arrow { transform: rotate(45deg); background: var(--blue-bg); color: var(--blue-deep); border-color: transparent; }
.faq-a { padding: 0 4px 24px 40px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.faq-a p + p { margin-top: 8px; }
.faq-a strong { color: var(--ink); font-weight: 600; }
.faq-a a { color: var(--blue); }
.faq-a a:hover { text-decoration: underline; }

/* ---------- 视频教程 ---------- */
.video-card {
  max-width: 720px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s; display: block;
}
.video-card:hover { box-shadow: 0 12px 36px rgba(17,17,17,0.1); transform: translateY(-3px); }
.video-cover { position: relative; display: block; }
.video-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(17,17,17,0.25); transition: background 0.25s;
}
.video-cover:hover .video-play { background: rgba(17,17,17,0.38); }
.video-play .play-btn {
  width: 64px; height: 64px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--ink); font-size: 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3); padding-inline-start: 4px;
}
.video-body { padding: 22px 26px 26px; }
.video-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.video-body p { font-size: 14px; color: var(--muted); }
.video-note { font-size: 12.5px; color: var(--faint); margin-top: 10px; }

/* ---------- 定价 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.price-card:hover { box-shadow: 0 12px 36px rgba(17,17,17,0.09); transform: translateY(-3px); }
.price-card.featured { border: 2px solid var(--ink); box-shadow: 0 16px 48px rgba(17,17,17,0.12); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 550;
  border-radius: 999px; padding: 5px 14px; white-space: nowrap;
}
.price-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.price-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; min-height: 42px; }
.price-amount { margin-bottom: 24px; }
.price-amount .amount { font-size: 44px; font-weight: 550; letter-spacing: -0.03em; font-family: var(--font-mono); }
.price-amount .amount.free { color: var(--blue); }
.price-amount .per { font-size: 13.5px; color: var(--faint); margin-top: 2px; }
.price-features { list-style: none; flex: 1; margin-bottom: 26px; }
.price-features li {
  font-size: 14px; color: var(--muted); padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px dashed var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: "✓"; position: absolute; left: 2px; top: 7px;
  color: var(--blue); font-weight: 600; font-size: 13px;
}
.price-features li.no { color: var(--faint); }
.price-features li.no::before { content: "—"; color: var(--faint); }
.price-card .btn { width: 100%; }

/* 对比表 */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.compare-table th, .compare-table td { padding: 13px 18px; text-align: start; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--bg-soft); font-weight: 600; font-size: 13.5px; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table .yes { color: var(--blue); font-weight: 600; }
.compare-table .no { color: var(--faint); }
.compare-table .group-row td {
  background: var(--bg-soft); font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 500;
}

/* ---------- 更新日志 ---------- */
.changelog-list { max-width: 720px; margin: 0 auto; }
.changelog-entry {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; padding: 28px 30px; margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.changelog-entry:hover { box-shadow: 0 8px 24px rgba(17,17,17,0.06); }
.changelog-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.changelog-ver { font-family: var(--font-mono); font-size: 17px; font-weight: 500; }
.changelog-date { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.changelog-badge {
  font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 999px; padding: 4px 11px; font-weight: 500;
}
.changelog-badge.major { background: var(--ink); color: #fff; }
.changelog-badge.feat { background: var(--blue-bg); color: var(--blue-deep); }
.changelog-badge.fix { background: #FDF0E7; color: #B45309; }
.changelog-entry ul { list-style: none; }
.changelog-entry li {
  font-size: 14.5px; color: var(--muted); line-height: 1.7;
  padding: 5px 0 5px 22px; position: relative;
}
.changelog-entry li::before {
  content: ""; position: absolute; left: 4px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-soft);
}

/* ---------- 评价 ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover { box-shadow: 0 10px 30px rgba(17,17,17,0.07); transform: translateY(-2px); }
.testimonial-quote {
  font-family: var(--font-serif); font-size: 16.5px; line-height: 1.7; color: var(--ink);
}
.testimonial-quote::before { content: "“"; color: var(--blue-soft); font-size: 30px; line-height: 0; margin-inline-end: 2px; vertical-align: -6px; }
.testimonial-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-bg); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 15px; color: var(--blue-deep); font-weight: 500;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12.5px; color: var(--faint); }

/* ---------- 文档 ---------- */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.docs-sidebar { position: sticky; top: 88px; }
.docs-sidebar h4 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--faint); margin: 22px 0 10px;
}
.docs-sidebar h4:first-child { margin-top: 0; }
.docs-sidebar ul { list-style: none; }
.docs-sidebar li { margin-bottom: 2px; }
.docs-sidebar a {
  display: block; font-size: 14px; color: var(--muted);
  padding: 7px 12px; border-radius: 8px; transition: background 0.15s, color 0.15s;
}
.docs-sidebar a:hover { background: var(--hover); color: var(--ink); }
.docs-sidebar a.active { background: var(--blue-bg); color: var(--blue-deep); font-weight: 550; }
.docs-content h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 14px; padding-top: 10px; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.docs-content p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.docs-content ul, .docs-content ol { margin: 0 0 16px 22px; }
.docs-content li { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 6px; }
.docs-content code {
  font-family: var(--font-mono); font-size: 13px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px;
}
.docs-content .code-block {
  font-family: var(--font-mono); font-size: 13px; background: var(--ink); color: #e8edf2;
  border-radius: 12px; padding: 18px 22px; margin: 0 0 18px; overflow-x: auto; line-height: 1.7;
}
.docs-content .code-block .c { color: #7d8590; }
.docs-content .callout {
  border: 1px solid var(--border); border-inline-start: 3px solid var(--blue);
  background: var(--bg-soft); border-radius: 10px; padding: 16px 20px;
  font-size: 14px; color: var(--muted); margin: 0 0 18px; line-height: 1.7;
}
.docs-content .callout strong { color: var(--ink); }
.docs-content img { border: 1px solid var(--border); border-radius: 12px; margin: 0 0 18px; }

/* ---------- 底部 CTA ---------- */
.cta-section { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 50% 110%, rgba(0,144,255,0.09), transparent 70%);
}
.cta-section h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.cta-section h2 em { font-family: var(--font-serif); font-style: italic; color: var(--blue); }
.cta-section p { font-size: 16px; color: var(--muted); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding: 64px 0 48px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); line-height: 1.7; max-width: 300px; }
.footer-col h3 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--faint); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 28px; }
.footer-badge { font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.copyright { font-size: 12.5px; color: var(--faint); }
.footer-bottom .gh-link { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .gh-link:hover { color: var(--ink); }
.footer-bottom .gh-link svg { width: 16px; height: 16px; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card.wide { grid-column: span 1; }
  .reasons-grid { grid-template-columns: 1fr; }
  .skins-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .mode-steps { grid-template-columns: 1fr; }
  .mode-hero-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .page-hero { padding: 52px 0 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-inline-start: none; border-top: 1px solid var(--border); }
  .skins-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
}

/* ---------- RTL 适配 ---------- */
html[dir="rtl"] .faq-item summary .arrow { margin-inline-start: 0; margin-inline-end: auto; }
html[dir="rtl"] .lang-zh { margin-inline-start: 0; margin-inline-end: auto; }
html[dir="rtl"] .docs-content ul, html[dir="rtl"] .docs-content ol { margin: 0 22px 16px 0; }
