/* ==========================================================================
   Video SRT Lite — 官网共享样式
   明亮简洁风 · 与 App 品牌色一致（蓝 #3b82f6 / 翡翠绿 #34d399）
   ========================================================================== */

/* ---------- 设计 Token ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-sunk: #f1f5f9;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --brand: #3b82f6;
  --brand-strong: #2563eb;
  --brand-soft: #eff6ff;
  --brand-2: #34d399;
  --brand-2-soft: #ecfdf5;
  --warn: #f59e0b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.18);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Roboto, Helvetica, Arial,
    sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand-strong);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  padding-left: 1.25em;
}

code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--bg-sunk);
  padding: 0.15em 0.4em;
  border-radius: 5px;
  color: var(--brand-strong);
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--sunk {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-strong);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}

.brand:hover {
  color: var(--ink);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  letter-spacing: -0.01em;
}

.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-sunk);
}

.nav-links a.active {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-open .nav-toggle span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ==========================================================================
   通用内联 SVG 图标
   ========================================================================== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* 按钮内的图标对齐 */
.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-lg .icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25), 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--ink-mute);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(59, 130, 246, 0.10), transparent 38%),
    radial-gradient(circle at 90% 8%, rgba(52, 211, 153, 0.10), transparent 42%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-2-soft);
  color: var(--brand-2);
  font-size: 12px;
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--brand-strong), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--ink-mute);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .check {
  color: var(--brand-2);
  font-weight: 700;
}

/* Hero 截图卡片 */
.hero-shot {
  position: relative;
}

.hero-shot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 10px;
}

.hero-shot-frame img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

.hero-shot-float {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-shot-float .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-2-soft);
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hero-shot-float strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.hero-shot-float small {
  color: var(--ink-mute);
  font-size: 12.5px;
}

/* ==========================================================================
   工作流（三阶段）
   ========================================================================== */
.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.workflow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: all 0.2s ease;
}

.workflow-step:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.workflow-step:nth-child(2) .workflow-num {
  background: var(--brand-2-soft);
  color: var(--brand-2);
}

.workflow-step:nth-child(3) .workflow-num {
  background: #fef3c7;
  color: var(--warn);
}

.workflow-step h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--ink);
}

.workflow-step p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.workflow-arrow {
  display: none;
}

/* ==========================================================================
   功能网格
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.feature-card:nth-child(2n) .feature-ico {
  background: var(--brand-2-soft);
  color: var(--brand-2);
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ==========================================================================
   亮点条
   ========================================================================== */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.highlight {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.highlight .ico {
  font-size: 22px;
  margin-bottom: 4px;
}

.highlight h4 {
  font-size: 15px;
  color: var(--ink);
}

.highlight p {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* ==========================================================================
   大截图展示
   ========================================================================== */
.showcase {
  text-align: center;
}

.showcase-frame {
  max-width: 1040px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.showcase-frame img {
  width: 100%;
  border-radius: var(--radius);
}

/* ==========================================================================
   下载 CTA
   ========================================================================== */
.cta {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(52, 211, 153, 0.18), transparent 45%),
    linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  overflow: hidden;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.12);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.cta h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-weight: 700;
}

.cta p {
  color: rgba(226, 232, 240, 0.85);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--brand-strong);
}

.cta .btn-primary:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.cta .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cta-hint {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.85);
}

.cta-hint a {
  color: #93c5fd;
}

/* 平台标识 */
.platforms {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(148, 163, 184, 0.85);
}

.platforms .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.5);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
}

.footer-desc {
  color: var(--ink-mute);
  line-height: 1.65;
  font-size: 13.5px;
  margin-bottom: 16px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--ink-mute);
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--brand-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}

.wx-popover {
  position: relative;
  display: inline-block;
}

.wx-popover-img {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 160px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.wx-popover-img img {
  width: 100%;
  border-radius: 6px;
}

.wx-popover-img small {
  display: block;
  text-align: center;
  color: var(--ink-mute);
  margin-top: 6px;
  font-size: 12px;
}

.wx-popover:hover .wx-popover-img {
  display: block;
}

/* ==========================================================================
   文档页通用（guide / faq / changelog）
   ========================================================================== */
.doc-hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(circle at 12% 12%, rgba(59, 130, 246, 0.08), transparent 40%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.doc-hero p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 640px;
}

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

.doc-toc {
  position: sticky;
  top: 88px;
  font-size: 14px;
}

.doc-toc h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 12px;
  font-weight: 600;
}

.doc-toc ul {
  list-style: none;
  padding: 0;
  border-left: 1px solid var(--line);
}

.doc-toc li {
  margin: 0;
}

.doc-toc a {
  display: block;
  padding: 7px 14px;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  margin-left: -1px;
  font-size: 13.5px;
  border-radius: 0;
}

.doc-toc a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-left-color: var(--brand);
}

.doc-content {
  font-size: 16px;
  color: var(--ink);
  max-width: 760px;
}

.doc-content h2 {
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.doc-content h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.doc-content h3 {
  font-size: 19px;
  margin: 28px 0 10px;
  color: var(--ink);
}

.doc-content p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.75;
}

.doc-content ul,
.doc-content ol {
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.75;
}

.doc-content li {
  margin-bottom: 6px;
}

.doc-content strong {
  color: var(--ink);
}

.doc-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}

.doc-content blockquote p {
  color: var(--ink);
  margin-bottom: 0;
}

.doc-content code {
  background: var(--bg-sunk);
}

.doc-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.6;
}

.doc-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.doc-step {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.doc-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-strong);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.doc-step-body {
  flex: 1;
}

.doc-step-body p {
  margin-bottom: 6px;
}

/* ==========================================================================
   FAQ 折叠面板
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--brand-strong);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-cat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-strong);
  margin: 32px 0 14px;
  letter-spacing: 0.02em;
}

.faq-cat-title:first-child {
  margin-top: 0;
}

/* ==========================================================================
   更新日志
   ========================================================================== */
.release-list {
  max-width: 820px;
  margin: 0 auto;
}

.release {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
  position: relative;
}

.release.latest {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.release-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.release-version {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--mono);
  letter-spacing: -0.01em;
}

.release-date {
  color: var(--ink-mute);
  font-size: 13.5px;
}

.release-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.release-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 14px 0 8px;
  letter-spacing: 0.02em;
}

.release ul {
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: 15px;
}

.release ul li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.release-add {
  color: var(--brand-2);
}

.release-fix {
  color: var(--warn);
}

.release-chg {
  color: var(--brand-strong);
}

/* ==========================================================================
   用户场景 (use cases)
   ========================================================================== */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.usecase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: all 0.2s ease;
}

.usecase:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.usecase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 14px;
}

.usecase:nth-child(2) .usecase-tag {
  background: var(--brand-2-soft);
  color: var(--brand-2);
}

.usecase:nth-child(3) .usecase-tag {
  background: #fef3c7;
  color: var(--warn);
}

.usecase h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--ink);
}

.usecase .quote {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.usecase .gain {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink);
}

.usecase .gain .icon {
  color: var(--brand-2);
  width: 18px;
  height: 18px;
}

.usecase .gain strong {
  color: var(--brand-2);
}

/* ==========================================================================
   用户好评 (testimonials)
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  transition: all 0.2s ease;
}

.testimonial:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.testimonial .mark {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 56px;
  line-height: 1;
  color: var(--brand-soft);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #f59e0b;
}

.testimonial-stars .icon {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
  stroke: none;
}

.testimonial-text {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-2-soft));
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-author .meta strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.testimonial-author .meta small {
  color: var(--ink-mute);
  font-size: 12.5px;
}

/* ==========================================================================
   隐私 / 数据安全
   ========================================================================== */
.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.privacy-copy h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}

.privacy-copy p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--brand-2-soft);
  color: var(--brand-2);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}

.privacy-badge .icon {
  width: 18px;
  height: 18px;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.privacy-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.privacy-list .ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-list .ico .icon {
  width: 20px;
  height: 20px;
}

.privacy-list li:nth-child(2) .ico {
  background: var(--brand-2-soft);
  color: var(--brand-2);
}

.privacy-list li:nth-child(3) .ico {
  background: #fef3c7;
  color: var(--warn);
}

.privacy-list strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 3px;
}

.privacy-list p {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 960px) {
  .privacy {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .usecases,
  .testimonials {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   价格 / 授权
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  align-items: start;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-strong), var(--brand-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.price-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-strong);
}

.price-amount .num {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-amount .unit {
  font-size: 15px;
  color: var(--ink-mute);
}

.price-desc {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 22px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.price-features li:first-child {
  border-top: none;
}

.price-features li::before {
  content: "✓";
  color: var(--brand-2);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-features li.no::before {
  content: "—";
  color: var(--ink-mute);
}

.price-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: center;
}

.price-note strong {
  color: var(--ink);
}

.price-note .warn {
  color: var(--warn);
  font-weight: 600;
}

/* 联系卡片 */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  min-width: 240px;
  transition: all 0.15s ease;
}

.contact-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.contact-card .ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: var(--brand-2-soft);
  color: var(--brand-2);
}

.contact-card.mail .ico {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.contact-card .meta small {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 2px;
}

.contact-card .meta strong {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  word-break: break-all;
}

.contact-card.wx {
  position: relative;
}

.contact-card.wx .wx-popover-img {
  bottom: 100%;
  top: auto;
  transform: translateX(-50%) translateY(-8px);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contact-row {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-card {
    min-width: 0;
    width: 100%;
  }
}

/* ==========================================================================
   返回顶部
   ========================================================================== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
  z-index: 90;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--brand-strong);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-shot-float {
    left: 12px;
    bottom: -14px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .doc-toc {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .nav-open .nav-links {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-links .nav-cta {
    margin: 8px 0 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .workflow,
  .features,
  .highlights {
    grid-template-columns: 1fr;
  }

  .highlights {
    gap: 12px;
  }

  .cta {
    padding: 40px 24px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    padding: 0 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .hero-shot-float {
    display: none;
  }

  .release {
    padding: 20px;
  }
}
