/* ============================================================
   WizTree 中文官网 - 共享样式
   设计系统：现代清新，青绿色主调 + 琥珀色点缀
   ============================================================ */

:root {
  /* 品牌色 */
  --primary: #0e7c86;
  --primary-dark: #0a5d65;
  --primary-light: #14b8a6;
  --primary-soft: #e6f7f8;
  --accent: #f59e0b;
  --accent-dark: #d97706;

  /* 中性色 */
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* 功能色 */
  --green: #16a34a;
  --red: #dc2626;
  --blue: #2563eb;
  --purple: #7c3aed;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 8px 24px rgba(14, 124, 134, 0.25);

  /* 圆角 */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* 尺寸 */
  --max-width: 1140px;
  --header-h: 68px;
}

/* 重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 90px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
ul, ol { padding-left: 1.4em; }
code, kbd, samp {
  font-family: "SF Mono", "Fira Code", Consolas, "Courier New", monospace;
  font-size: 0.92em;
  background: var(--bg-alt);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--primary-dark);
}

/* 容器 */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 48px;
}
.text-center { text-align: center; }

/* ============== 顶部导航 ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}
.brand img { width: 34px; height: 34px; }
.brand span { letter-spacing: -0.01em; }
.brand .tag { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav a.active { color: var(--primary); background: var(--primary-soft); }
.nav .nav-cta {
  margin-left: 8px;
  padding: 9px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
}
.nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ============== 按钮 ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,124,134,0.35); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 15px 34px; font-size: 17px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 80px 0 64px;
  background:
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.12), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.08), transparent 45%),
    linear-gradient(180deg, #f0fbfb 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 1.4fr;
  gap: 40px;
  align-items: start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 18px 0 8px;
}
.hero h1 .gradient {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h2.hero-sub {
  font-size: 36px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h2.hero-sub .gradient {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-align: justify;
  text-justify: inter-character;
}
.hero-cta { display: flex; gap: 20px; flex-wrap: nowrap; margin-bottom: 36px; }
.hero-cta .btn-lg { padding: 13px 20px; font-size: 16px; white-space: nowrap; }
.hero-cta .btn-lg svg { flex-shrink: 0; }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stat .label { font-size: 13px; color: var(--text-muted); margin-top: 6px; white-space: nowrap; }

.hero-visual {
  position: relative;
  margin-top: 100px; /* 与二级标题（H2）顶部平齐：徽章 25 + 间距 18 + H1 高约 49 + 间距 8 */
}
.hero-visual .app-shot {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%; /* 与页面内容区右边缘对齐，不再向右出血 */
}
.hero-visual .floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.hero-visual .floating-badge .ico {
  width: 38px; height: 38px;
  background: var(--primary-soft);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 20px;
}
.hero-visual .badge-1 { top: -22px; left: -22px; }
.hero-visual .badge-2 { bottom: -22px; right: -22px; }
.hero-visual .badge-1 .ico { background: #fef3c7; }
.hero-visual .badge-2 .ico { background: #dcfce7; }

/* ============== 卡片 / 网格 ============== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* 评价卡 */
.t-card { display: flex; flex-direction: column; height: 200px; overflow: hidden; }
.t-body { font-size: 15px; line-height: 1.7; color: var(--text); }
.t-divider {
  height: 1px;
  margin: auto 0 12px;
  background: linear-gradient(to right, transparent, #cbd5e1 22%, #cbd5e1 78%, transparent);
}
.t-user { display: flex; align-items: center; gap: 10px; }
.t-stars { color: #fbbf24; font-size: 13px; letter-spacing: 2px; margin-left: auto; }
.t-star-off { color: #d1d5db; }
.t-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), #d9f3f4);
  color: var(--primary-dark);
  font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.t-name { font-weight: 700; font-size: 15px; color: var(--text); }
@media (max-width: 720px) {
  .t-card { height: 260px; }
}

/* 评价滚动 */
.t-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.t-track {
  display: flex;
  width: max-content;
  animation: t-scroll 70s linear infinite;
  will-change: transform;
}
.t-marquee:hover .t-track { animation-play-state: paused; }
@keyframes t-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .t-track { animation: none; }
}
.t-list {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
}
.t-list .card { width: 340px; flex: 0 0 340px; margin-right: 24px; }
@media (max-width: 720px) {
  .t-list .card { width: 280px; flex: 0 0 280px; margin-right: 18px; }
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: var(--primary-soft);
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* 特性卡片配色 */
.ic-teal { background: var(--primary-soft); }
.ic-amber { background: #fef3c7; }
.ic-green { background: #dcfce7; }
.ic-blue { background: #dbeafe; }
.ic-purple { background: #ede9fe; }
.ic-rose { background: #ffe4e6; }

/* ============== 客户 Logo 墙 ============== */
.clients {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.clients-title {
  text-align: center;
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 26px;
  letter-spacing: -0.02em;
}
.clients-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clients-marquee 32s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}
.clients-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px 48px;
  padding-right: 48px;
}
.clients-list span {
  font-weight: 700;
  font-size: 19px;
  color: var(--text-light);
  padding: 4px 10px;
  white-space: nowrap;
}

/* ============== 数据统计条 ============== */
.stats-band {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-band .num { font-size: 40px; font-weight: 800; line-height: 1; }
.stats-band .label { font-size: 15px; opacity: 0.9; margin-top: 10px; }

/* ============== 表格 ============== */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-alt); font-weight: 700; color: var(--text); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--primary-soft); }
.table-compact th, .table-compact td { padding: 10px 14px; font-size: 14px; }

/* 对比表 */
.compare-table th, .compare-table td { text-align: center; white-space: nowrap; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table tr.row-highlight td { background: var(--primary-soft); }
.compare-table tr.row-highlight td:first-child {
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--primary);
}
.compare-table .ic-yes { color: var(--green); font-weight: 800; font-size: 16px; }
.compare-table .ic-no { color: #dc2626; font-weight: 800; font-size: 16px; }

/* 价格表 */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-primary);
  position: relative;
}
.price-card .ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
}
.price-card .name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.price-card .price { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.price-card .price small { font-size: 15px; color: var(--text-muted); font-weight: 600; }
.price-card .desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin-bottom: 24px; flex: 1; }
.price-card ul li {
  padding: 7px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card ul li::before { content: "✓"; color: var(--green); font-weight: 800; }
.price-card ul li.no::before { content: "✕"; color: var(--text-light); }

/* ============== FAQ 手风琴 ============== */
.faq-group { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .chev {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--primary);
  font-size: 20px;
  transition: transform .25s;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.4, 0, .2, 1);
}
.faq-a-inner { min-height: 0; overflow: hidden; padding: 0 22px; }
.faq-a-inner > :last-child { margin-bottom: 20px; }
.faq-a-inner { visibility: hidden; transition: visibility 0s linear .3s; }
.faq-item.open .faq-a-inner { visibility: visible; transition: visibility 0s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { color: var(--text-muted); margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-cat-title {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--primary);
}

/* ============== 时间线（更新日志）============== */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border);
}
.tl-item { position: relative; margin-bottom: 20px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, border-color .25s ease; }
.tl-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.tl-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 24px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--primary);
}
.tl-item.major::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tl-version { font-size: 18px; font-weight: 800; color: var(--text); }
.tl-date { color: var(--text-muted); font-size: 14px; margin-left: 10px; }
.tl-changes { margin-top: 12px; color: var(--text-muted); font-size: 15px; }
.tl-changes li { margin-bottom: 6px; line-height: 1.6; }

/* ============== 代码块 ============== */
.code-block {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 18px 22px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0;
}
.code-block code { background: none; color: inherit; padding: 0; }
.code-block .cmt { color: #64748b; }
.code-block .kw { color: #7dd3fc; }
.code-block .str { color: #fcd34d; }

/* 教程内容容器 */
.doc { max-width: 880px; margin: 0 auto; }
.doc h2 { font-size: 26px; font-weight: 800; margin: 40px 0 16px; padding-top: 8px; border-top: 1px solid var(--border); }
.doc h2:first-child { border-top: none; padding-top: 0; }
.doc h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.doc p { margin-bottom: 14px; color: var(--text); }
.doc ul, .doc ol { margin-bottom: 14px; }
.doc li { margin-bottom: 6px; }
.doc .note {
  background: #fffbeb;
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}
.doc .note strong { color: var(--accent-dark); }
.doc .tip {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

/* 速查表 */
.cheatsheet { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.cheat-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.cheat-row code { background: var(--primary-soft); color: var(--primary-dark); }
.cheat-row .desc { color: var(--text-muted); font-size: 14px; }

/* ============== 下载卡片 ============== */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
}
.dl-card.win { border-top: 4px solid var(--primary); }
.dl-card.mac { border-top: 4px solid var(--text); }
.dl-os { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dl-os .logo { font-size: 34px; width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; }
.dl-os h3 { font-size: 22px; font-weight: 700; }
.dl-os .ver { color: var(--text-muted); font-size: 14px; }
.dl-files { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.dl-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.dl-file .name { font-weight: 600; font-size: 15px; }
.dl-file .meta { color: var(--text-muted); font-size: 13px; }
.dl-file .btn { padding: 7px 16px; font-size: 14px; }

/* 新版下载卡片 */
.dl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dl-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dl-head h3 { font-size: 22px; font-weight: 800; }
.dl-sub { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.dl-badge {
  margin-left: auto;
  padding: 4px 12px;
  font-size: 12px; font-weight: 700;
  color: #fff; background: var(--primary);
  border-radius: 20px;
  flex-shrink: 0;
}
.dl-desc { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.dl-scene { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.dl-feats {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.dl-feats li {
  position: relative;
  padding-left: 26px;
  font-size: 14px; color: var(--text); line-height: 1.6;
}
.dl-feats li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 800; font-size: 15px;
}
.dl-meta-row {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.dl-meta-item { font-size: 13px; color: var(--text-muted); font-family: ui-monospace, "SF Mono", Consolas, monospace; }
.dl-actions { display: flex; gap: 12px; margin-bottom: 18px; }
.dl-actions .btn { flex: 1; justify-content: center; }
.dl-note { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.dl-note a { color: var(--primary); text-decoration: none; }
.dl-note a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .dl-card { padding: 24px 20px; }
  .dl-head { flex-wrap: wrap; }
  .dl-badge { margin-left: 0; }
  .dl-actions { flex-direction: column; }
}

/* 系统要求 */
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ============== 通用区块 ============== */
.bg-alt { background: var(--bg-alt); }
.bg-soft { background: var(--primary-soft); }
.rounded-lg { border-radius: var(--radius-lg); }

.callout {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.callout h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.callout p { font-size: 17px; opacity: 0.95; margin-bottom: 28px; }
.callout .btn-primary { background: #fff; color: var(--primary-dark); }
.callout .btn-primary:hover { background: #fff; color: var(--primary-dark); transform: translateY(-2px); }

/* ============== 页脚 ============== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-brand .name { font-weight: 800; font-size: 18px; color: #fff; }
.footer-about { font-size: 14px; line-height: 1.7; color: #94a3b8; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: #94a3b8; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom .dev { display: flex; align-items: center; gap: 8px; }
.footer-bottom .dev img { width: 20px; height: 20px; filter: brightness(0) invert(1); opacity: 0.7; }

/* ============== 面包屑 ============== */
.breadcrumb {
  padding: 24px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-light); }

/* 页面标题区 */
.page-hero {
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
  padding: 40px 0 48px;
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 640px; }

/* ============== 响应式 ============== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; margin: 0 auto; }
  .hero-visual .app-shot { width: 100%; }
  .hero h1 { font-size: 36px; }
  .hero h2.hero-sub { font-size: 29px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dl-grid, .req-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav, .nav .nav-cta { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav.open a { width: 100%; }
  .nav.open .nav-cta { display: inline-flex; margin-left: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 48px 0; }
  .section-title, .clients-title { font-size: 26px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero h2.hero-sub { font-size: 25px; }
  .hero-cta { flex-wrap: wrap; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cheatsheet { grid-template-columns: 1fr; }
  .callout { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 28px 18px; }
  .stats-band .num { font-size: 30px; }
}

/* Platform download cards */
.dl-grid { gap: 28px; }
.dl-card { padding: 32px; background: #fff; border-radius: 22px; box-shadow: 0 8px 30px rgba(20,48,65,.045); }
.dl-card.win, .dl-card.mac { border-top: 1px solid var(--border); }
.dl-card.win { background: linear-gradient(145deg,#f0fbfa,#fff 55%); border-color: #b9dddc; }
.dl-head { margin-bottom: 22px; gap: 16px; }
.dl-logo { width: 56px; height: 56px; background: #fff; border-color: #e4ebef; border-radius: 16px; }
.dl-head h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.6px; }
.dl-sub { margin-top: 6px; font-size: 14px; }
.dl-badge { background: #edf4f5; color: #587078; padding: 5px 10px; border-radius: 7px; }
.win .dl-badge { background: #dff3ee; color: var(--primary-dark); }
.dl-scene { margin-bottom: 26px; font-size: 15px; }
.dl-package { margin-top: auto; padding: 20px 0; border-top: 1px solid var(--border); }
.dl-package-top { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 12px; margin-bottom: 10px; }
.dl-package-top strong { color: var(--text); font-size: 14px; font-weight: 600; }
.dl-package code { display: block; font-size: 14px; color: var(--text); overflow-wrap: anywhere; background: transparent; padding: 0; }
.dl-compat { margin-top: 9px; color: var(--text-muted); font-size: 12px; }
.dl-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 4px 0 0; }
.dl-actions .btn { height: 52px; min-height: 52px; padding: 0 12px; border-radius: 11px; font-size: 15px; gap: 8px; white-space: nowrap; }
.dl-actions .btn-primary { box-shadow: none; }
.dl-actions .btn-ghost { background: #fff; }
@media (max-width: 720px) {
 .dl-card { padding: 24px; }
 .dl-head { flex-wrap: nowrap; gap: 12px; }
 .dl-head h3 { font-size: 23px; }
 .dl-badge { margin-left: auto; }
 .dl-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Useful platform details in a compact, balanced layout. */
.dl-head { margin-bottom: 18px; }
.dl-scene { margin-bottom: 14px; line-height: 1.7; }
.dl-highlights { display: flex; flex-wrap: wrap; gap: 7px 14px; list-style: none; padding: 0; margin: 0 0 22px; }
.dl-highlights li { font-size: 12px; color: var(--primary-dark); line-height: 1.7; }
.dl-highlights li::before { content: '✓'; margin-right: 5px; font-weight: 700; }
.dl-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: #f4f7f9; border: 1px solid #e8eef1; border-radius: 12px; padding: 18px; margin-top: auto; }
.dl-details > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dl-details span { color: var(--text-muted); font-size: 12px; }
.dl-details strong { color: var(--text); font-weight: 600; font-size: 14px; line-height: 1.5; }
.dl-install-tip { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin: 16px 0; min-height: 41px; }
.dl-actions svg { flex-shrink: 0; }
@media (max-width: 420px) { .dl-details { gap: 16px 12px; padding: 15px; } .dl-details strong { font-size: 13px; } }

/* Four readable specification rows for both platforms. */
.dl-details { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px 20px; text-align: left; min-height: 0; }
.dl-details > div { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; }
.dl-details > div + div { border-top: 1px solid #e3eaf0; }
.dl-details span { font-size: 14px; line-height: 1.6; white-space: nowrap; }
.dl-details strong { font-size: 14px; font-weight: 600; line-height: 1.6; text-align: right; overflow-wrap: anywhere; }
.dl-details + .dl-actions { margin-top: 20px; }
@media (max-width: 420px) {
 .dl-details { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 6px 16px; }
 .dl-details span, .dl-details strong { font-size: 13px; }
}

/* Brand-colored FAQ headings and interactive feedback. */
.faq-q { color: var(--primary); transition: color .2s ease, background-color .2s ease; }
.faq-q:hover, .faq-q:focus-visible { color: var(--primary-dark); background-color: var(--primary-soft); }
.faq-q:hover .chev, .faq-q:focus-visible .chev { color: var(--primary-dark); }
.faq-q:focus-visible { outline: 2px solid var(--primary); outline-offset: -3px; }

/* Only FAQ numbers use the brand color. */
.faq-q, .faq-q:hover, .faq-q:focus-visible { color: var(--text); justify-content: flex-start; gap: 5px; }
.faq-number { color: var(--primary); flex-shrink: 0; }
.faq-q .chev { margin-left: auto; }

.faq-hero { text-align: center; }
.faq-hero .breadcrumb { justify-content: center; }
.faq-hero p { margin-left: auto; margin-right: auto; }

/* Consistent centered headings across inner pages. */
.page-hero { text-align: center; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero p { margin-left: auto; margin-right: auto; }

.guide-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.guide-step-head .card-icon { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 24px; }
.doc .guide-step-head h3 { margin: 0; }
