/* ============================================================
   Zen Browser 中文官网 — 共享样式表
   设计风格：扁平 / 现代 / 专业
   主色：#202020 深黑  |  辅色：#F2F0E3 米白
   点缀：#F76F53 珊瑚橙（取自 Zen 官方品牌色）
   ============================================================ */

/* ---------- 1. CSS 变量 ---------- */
:root {
  /* 品牌色 */
  --zen-dark: #202020;
  --zen-dark-2: #2a2a2a;
  --zen-dark-3: #383838;
  --zen-cream: #F2F0E3;
  --zen-cream-2: #E8E5D6;
  --zen-coral: #F76F53;
  --zen-coral-hover: #ff8268;
  --zen-blue: #4A90E2;

  /* 中性色 */
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-tertiary: #888;
  --text-inverse: #F2F0E3;
  --text-inverse-2: #b8b6ac;
  --border-color: #e5e3d8;
  --border-dark: #3a3a3a;
  --bg-light: #faf9f3;
  --bg-white: #ffffff;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* 尺寸 */
  --max-width: 1200px;
  --header-h: 68px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-coral: 0 8px 24px rgba(247, 111, 83, 0.3);

  /* 过渡 */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.4s ease;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--zen-coral);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.text-coral {
  color: var(--zen-coral);
}

.text-cream {
  color: var(--zen-cream);
}

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

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-dark {
  background: var(--zen-dark);
  color: var(--text-inverse);
}

.section-dark p {
  color: var(--text-inverse-2);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-inverse);
}

.section-cream {
  background: var(--zen-cream);
}

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

.text-center {
  text-align: center;
}

/* ---------- 5. 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--t-fast);
}

.main-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-light);
}

.main-nav a.active {
  color: var(--zen-coral);
  background: rgba(247, 111, 83, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: all var(--t-fast);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--t-fast);
}

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

.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: rotate(45deg); top: 0; }
.menu-toggle.open span::after  { transform: rotate(-45deg); top: 0; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--zen-coral);
  color: #fff;
  box-shadow: var(--shadow-coral);
}

.btn-primary:hover {
  background: var(--zen-coral-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(247, 111, 83, 0.4);
}

.btn-dark {
  background: var(--zen-dark);
  color: var(--zen-cream);
}

.btn-dark:hover {
  background: var(--zen-dark-3);
  color: var(--zen-cream);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--bg-white);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-light:hover {
  border-color: var(--zen-dark);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  border-color: var(--zen-coral);
  color: var(--zen-coral);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(242, 240, 227, 0.25);
}

.btn-ghost-dark:hover {
  border-color: var(--zen-coral);
  color: var(--zen-coral);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

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

/* ---------- 7. 通用组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--zen-coral);
  background: rgba(247, 111, 83, 0.1);
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-dark .eyebrow {
  color: var(--zen-coral);
  background: rgba(247, 111, 83, 0.15);
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.section-dark .section-desc {
  color: var(--text-inverse-2);
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* 卡片 */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--t-base);
}

.card:hover {
  border-color: var(--zen-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.section-dark .card {
  background: var(--zen-dark-2);
  border-color: var(--border-dark);
  color: var(--text-inverse);
}

.section-dark .card:hover {
  border-color: var(--zen-coral);
  background: var(--zen-dark-3);
}

/* 图标圆环 */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 111, 83, 0.12);
  color: var(--zen-coral);
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.section-dark .icon-circle {
  background: rgba(247, 111, 83, 0.18);
}

/* 网格 */
.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); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 8. Hero 区 ---------- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background: var(--zen-dark);
  color: var(--text-inverse);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 111, 83, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  color: var(--text-inverse);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--zen-coral);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-inverse-2);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-inverse-2);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

.hero-badge {
  position: absolute;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge.b1 { top: 12%; left: -8%; animation: float 5s ease-in-out infinite; }
.hero-badge.b2 { bottom: 18%; right: -6%; animation: float 5s ease-in-out infinite 1.5s; }
.hero-badge.b3 { top: 50%; right: -10%; animation: float 5s ease-in-out infinite 3s; }

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-badge { display: none; }
}

/* ---------- 9. 功能特性卡 ---------- */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t-base);
  height: 100%;
}

.feature-card:hover {
  border-color: var(--zen-coral);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card .icon-circle {
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ---------- 10. 使用场景 ---------- */
.scenario-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.scenario-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.scenario-card .scenario-banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.scenario-card .scenario-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.15) 0%, transparent 60%);
}

.scenario-card .scenario-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scenario-card .scenario-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--zen-coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.scenario-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ---------- 11. 用户评价 ---------- */
.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--t-base);
}

.section-dark .testimonial {
  background: var(--zen-dark-2);
  border-color: var(--border-dark);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial .stars {
  color: #f5a623;
  margin-bottom: 14px;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.testimonial .quote {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  font-style: italic;
}

.section-dark .testimonial .quote {
  color: var(--text-inverse);
}

.testimonial .user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--zen-coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial .user-info .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.section-dark .testimonial .user-info .name {
  color: var(--text-inverse);
}

.testimonial .user-info .role {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ---------- 12. 下载弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
button { outline: none }
.modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all var(--t-base);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  z-index: 2;
}

.modal-close:hover {
  background: var(--zen-dark);
  color: #fff;
  transform: rotate(90deg);
}

.modal-header {
  padding: 40px 40px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--zen-cream) 0%, var(--bg-white) 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header .modal-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.modal-header h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.modal-body {
  padding: 32px 40px 40px;
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.qr-item {
  text-align: center;
  padding: 24px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--t-base);
}

.qr-item:hover {
  border-color: var(--zen-coral);
  background: rgba(247, 111, 83, 0.03);
}

.qr-item img {
  width: 180px;
  height: 180px;
  margin: 0 auto 14px;
  border-radius: var(--radius-sm);
}

.qr-item .qr-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.qr-item .qr-desc {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.modal-tip {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-tip .tip-icon {
  color: var(--zen-coral);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .modal-header { padding: 32px 24px 18px; }
  .modal-body { padding: 24px; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-item img { width: 160px; height: 160px; }
}

/* ---------- 13. 下载中心 ---------- */
.platform-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--t-base);
  text-align: center;
  height: 100%;
}

.platform-card:hover {
  border-color: var(--zen-coral);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.platform-card .platform-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 18px;
  font-size: 2.2rem;
}

.platform-card h3 {
  margin-bottom: 6px;
}

.platform-card .version {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 18px;
}

.platform-card .req-list {
  text-align: left;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.platform-card .req-list li {
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px dashed var(--border-color);
}

.platform-card .req-list li:last-child {
  border-bottom: none;
}

.platform-card .req-list li::before {
  content: '✓';
  color: var(--zen-coral);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- 14. 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

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

.step {
  text-align: center;
  position: relative;
}

.step .step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--zen-dark);
  color: var(--zen-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  counter-increment: step;
}

.step .step-num::before {
  content: counter(step);
}

.section-dark .step .step-num {
  background: var(--zen-coral);
  color: #fff;
}

.step h4 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ---------- 15. FAQ ---------- */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all var(--t-base);
}

.section-dark .faq-item {
  background: var(--zen-dark-2);
  border-color: var(--border-dark);
}

.faq-item.active {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  color: var(--text-primary);
  background: transparent;
}

.section-dark .faq-question {
  color: var(--text-inverse);
}

.faq-question:hover {
  color: var(--zen-coral);
}

.faq-question .arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base);
  color: var(--zen-coral);
  font-size: 1.2rem;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section-dark .faq-answer-inner {
  color: var(--text-inverse-2);
}

/* ---------- 16. 页脚 ---------- */
.site-footer {
  background: var(--zen-dark);
  color: var(--text-inverse-2);
  padding: 72px 0 32px;
}

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

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

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

.footer-brand .brand {
  color: var(--text-inverse);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-inverse-2);
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--zen-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse-2);
  font-size: 0.95rem;
  transition: all var(--t-fast);
}

.footer-social a:hover {
  background: var(--zen-coral);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--text-inverse);
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 600;
}

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

.footer-col ul li a {
  color: var(--text-inverse-2);
  font-size: 0.9rem;
  transition: color var(--t-fast);
}

.footer-col ul li a:hover {
  color: var(--zen-coral);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-inverse-2);
}

.footer-bottom a {
  color: var(--text-inverse-2);
}

.footer-bottom a:hover {
  color: var(--zen-coral);
}

/* ---------- 17. 页面横幅（内页） ---------- */
.page-banner {
  background: var(--zen-dark);
  color: var(--text-inverse);
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(247, 111, 83, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--text-inverse);
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1.1rem;
  color: var(--text-inverse-2);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-inverse-2);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-inverse-2);
}

.breadcrumb a:hover {
  color: var(--zen-coral);
}

.breadcrumb .sep {
  color: var(--text-inverse-2);
  opacity: 0.5;
}

/* ---------- 18. 文档页 ---------- */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; }
}

.docs-sidebar {
  position: sticky;
  top: 92px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.docs-sidebar h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin: 18px 0 10px;
  font-weight: 700;
}

.docs-sidebar h4:first-child {
  margin-top: 0;
}

.docs-sidebar ul li {
  margin: 2px 0;
}

.docs-sidebar ul li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.docs-sidebar ul li a:hover,
.docs-sidebar ul li a.active {
  background: var(--bg-white);
  color: var(--zen-coral);
}

.docs-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.docs-content h2:first-child {
  margin-top: 0;
}

.docs-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.docs-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.docs-content ul,
.docs-content ol {
  margin: 0 0 16px 20px;
}

.docs-content ul li,
.docs-content ol li {
  margin-bottom: 8px;
  list-style: disc;
  color: var(--text-secondary);
}

.docs-content ol li {
  list-style: decimal;
}

.docs-content code {
  font-family: var(--font-mono);
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--zen-coral);
}

.docs-content pre {
  background: var(--zen-dark);
  color: var(--zen-cream);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.docs-content pre code {
  background: transparent;
  padding: 0;
  color: var(--zen-cream);
}

.docs-content .kbd {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-bottom-width: 2px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--text-primary);
  margin: 0 2px;
}

.docs-content blockquote {
  border-left: 4px solid var(--zen-coral);
  background: rgba(247, 111, 83, 0.05);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 20px;
}

.docs-content blockquote p {
  margin-bottom: 0;
  color: var(--text-primary);
}

/* ---------- 19. 关于我们 ---------- */
.value-card {
  text-align: center;
  padding: 40px 28px;
}

.value-card .icon-circle {
  margin: 0 auto 20px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--zen-coral);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--zen-coral);
}

.section-dark .timeline-item::before {
  border-color: var(--zen-dark);
}

.timeline-item .time {
  font-size: 0.85rem;
  color: var(--zen-coral);
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-item h4 {
  margin-bottom: 8px;
}

.timeline-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ---------- 20. CTA 区 ---------- */
.cta-band {
  background: var(--zen-coral);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 28px;
}

.cta-band .btn {
  background: #fff;
  color: var(--zen-coral);
}

.cta-band .btn:hover {
  background: var(--zen-dark);
  color: #fff;
}

/* ---------- 21. 工具类 ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ---------- 22. 响应式调整 ---------- */
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
    transition: transform var(--t-base);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }
  .header-actions .btn:not(.btn-primary) {
    display: none;
  }
}

@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .container { padding: 0 18px; }
  .hero { padding: 64px 0 48px; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.4rem; }
  .hero-stat .label { font-size: 0.78rem; }
  .card { padding: 24px; }
  .feature-card { padding: 22px; }
  .platform-card { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- 23. 无障碍 ---------- */
.btn:focus-visible,
a:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--zen-coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 跳过到主内容（无障碍） */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--zen-coral);
  color: #fff;
  padding: 10px 18px;
  z-index: 3000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}
