/* ============================================================
   墨生花 · 官网样式表
   设计系统：墨(深暖黑) + 金(#C9A876) + 青(#3DBDB0) + 樱粉点缀
   字体：ZCOOL XiaoWei / Ma Shan Zheng（标题书法）
         Noto Serif SC（正文文学）
         JetBrains Mono（科技点缀）
   ============================================================ */

:root {
  /* —— 品牌色 —— */
  --ink-deep: #0E0807;
  --ink-base: #1A100B;
  --ink-surface: rgba(35, 22, 16, 0.86);
  --ink-surface-solid: #231610;
  --ink-border: rgba(201, 168, 118, 0.18);
  --ink-border-strong: rgba(201, 168, 118, 0.35);

  /* —— 文字 —— */
  --text-primary: #FFF8F0;
  --text-secondary: rgba(255, 248, 240, 0.78);
  --text-muted: rgba(255, 248, 240, 0.52);
  --text-faint: rgba(255, 248, 240, 0.32);

  /* —— 强调色 —— */
  --gold: #C9A876;
  --gold-bright: #E5C99B;
  --gold-soft: rgba(201, 168, 118, 0.14);
  --teal: #3DBDB0;
  --teal-bright: #5FD9CC;
  --teal-soft: rgba(61, 189, 176, 0.14);
  --pink: #FFB8D0;
  --pink-soft: rgba(255, 184, 208, 0.14);
  --lavender: #D4B8FF;
  --sky: #A8E6FF;
  --mint: #B8F2D8;
  --peach: #FFD4B8;

  /* —— 字体 —— */
  --font-display: 'ZCOOL XiaoWei', 'Ma Shan Zheng', 'Noto Serif SC', serif;
  --font-calligraphy: 'Ma Shan Zheng', 'ZCOOL XiaoWei', 'KaiTi', '楷体', serif;
  --font-body: 'Noto Serif SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* —— 圆角/阴影 —— */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(201, 168, 118, 0.18);
  --shadow-teal: 0 8px 32px rgba(61, 189, 176, 0.22);

  /* —— 间距 —— */
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1200px;

  /* —— 动效 —— */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ 重置 ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  background: var(--ink-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 背景：墨底 + 金青双光晕 + 纸质噪点 */
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(201, 168, 118, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(61, 189, 176, 0.08), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(255, 184, 208, 0.03), transparent 70%);
  background-attachment: fixed;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 3px);
  z-index: 0;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ============ 排版基础 ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 12px; }
p { margin-bottom: 1em; }

::selection { background: var(--gold); color: var(--ink-deep); }

/* 焦点态 — 无障碍 */
*:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ 容器 ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(60px, 9vw, 120px) 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--ink-border-strong);
  border-radius: 999px;
  background: var(--gold-soft);
  margin-bottom: 24px;
}
.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-bright), var(--teal-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 56px;
}

/* ============ 导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(14, 8, 7, 0.78);
  border-bottom: 1px solid var(--ink-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
}
.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(201, 168, 118, 0.25));
}
.brand-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); background: var(--gold-soft); }
.nav-links a.active { color: var(--gold-bright); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--ink-deep);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 118, 0.35);
  color: var(--ink-deep);
}
.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--text-primary);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(14, 8, 7, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ink-border);
  }
  .nav-links.open a {
    padding: 14px 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--ink-border);
  }
}

/* ============ Hero ============ */
.hero {
  padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--ink-border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse 4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-display);
  margin-bottom: 24px;
}
.hero h1 .title-ink {
  display: block;
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-family: var(--font-calligraphy);
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--gold-bright) 70%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(201, 168, 118, 0.15);
}
.hero h1 .title-sub {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-family: var(--font-body);
  color: var(--text-muted);
  letter-spacing: 0.4em;
  margin-top: 18px;
  text-indent: 0.4em;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  min-height: 56px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--ink-deep);
  box-shadow: 0 8px 32px rgba(201, 168, 118, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(201, 168, 118, 0.5);
  color: var(--ink-deep);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: rgba(255, 248, 240, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--ink-border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--ink-border);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-bright);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.hero-stats .stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* —— Hero 视觉 —— */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

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

.logo-orbit .logo-core {
  position: absolute;
  inset: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(35, 22, 16, 0.95), rgba(14, 8, 7, 0.4));
  border-radius: 50%;
  filter: drop-shadow(0 30px 60px rgba(201, 168, 118, 0.25));
  animation: float 30s ease-in-out infinite;
}
.logo-orbit .logo-core img {
  width: 78%;
  height: auto;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.logo-orbit .ring {
  position: absolute;
  inset: 0;
  border: 1px dashed var(--ink-border-strong);
  border-radius: 50%;
  animation: rotate 400s linear infinite;
}
.logo-orbit .ring::before,
.logo-orbit .ring::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}
.logo-orbit .ring::before { top: -7px; left: 50%; transform: translateX(-50%); }
.logo-orbit .ring::after { bottom: -7px; right: 20%; background: var(--teal); box-shadow: 0 0 16px var(--teal); }

.logo-orbit .ring-2 {
  position: absolute;
  inset: 8%;
  border: 1px solid var(--ink-border);
  border-radius: 50%;
  animation: rotate-reverse 500s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotate-reverse { to { transform: rotate(-360deg); } }

.floating-petal {
  position: absolute;
  font-size: 22px;
  opacity: 0.7;
  animation: petal-drift 50s ease-in-out infinite;
}
.floating-petal.p1 { top: 8%; left: 12%; color: var(--pink); animation-delay: 0s; }
.floating-petal.p2 { top: 18%; right: 6%; color: var(--gold); animation-delay: 2s; }
.floating-petal.p3 { bottom: 14%; left: 4%; color: var(--teal); animation-delay: 4s; }
.floating-petal.p4 { bottom: 22%; right: 16%; color: var(--peach); animation-delay: 6s; }
.floating-petal.p5 { top: 50%; left: -4%; color: var(--lavender); animation-delay: 8s; }
@keyframes petal-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  25% { transform: translate(8px, -12px) rotate(45deg); opacity: 0.8; }
  50% { transform: translate(-4px, 6px) rotate(90deg); opacity: 0.6; }
  75% { transform: translate(10px, -6px) rotate(135deg); opacity: 0.9; }
}

/* ============ 功能网格 ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--r-lg);
  background: var(--ink-surface);
  border: 1px solid var(--ink-border);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-border-strong);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-size: 26px;
}
.feature-icon.teal { background: var(--teal-soft); color: var(--teal-bright); }
.feature-icon.pink { background: var(--pink-soft); color: var(--pink); }
.feature-icon.lavender { background: rgba(212, 184, 255, 0.12); color: var(--lavender); }
.feature-icon.sky { background: rgba(168, 230, 255, 0.12); color: var(--sky); }
.feature-icon.peach { background: rgba(255, 212, 184, 0.12); color: var(--peach); }

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.feature-card .feature-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============ 工作流程 ============ */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 880px) { .workflow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .workflow { grid-template-columns: 1fr; } }

.workflow::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-border-strong), transparent);
}

.step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink-base);
  border: 1px solid var(--ink-border-strong);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  position: relative;
  z-index: 1;
}
.step h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 500;
}
.step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ============ 用户场景/Quote ============ */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.scene-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--ink-surface) 0%, rgba(61, 189, 176, 0.06) 100%);
  border: 1px solid var(--ink-border);
}
.scene-card .emoji {
  font-size: 32px;
  margin-bottom: 16px;
}
.scene-card h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 500;
}
.scene-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ============ 下载块 ============ */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.download-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--ink-surface);
  border: 1px solid var(--ink-border);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.download-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.download-card.baidu:hover { border-color: #3E84E0; }
.download-card.quark:hover { border-color: #5B6CFF; }

.download-card .cloud-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  font-size: 28px;
}
.download-card.baidu .cloud-icon { background: rgba(62, 132, 224, 0.15); color: #6BA8FF; }
.download-card.quark .cloud-icon { background: rgba(91, 108, 255, 0.15); color: #8B97FF; }

.download-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.download-card .version {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.download-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
}
.download-card .btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.download-card .btn-download:hover {
  background: var(--gold);
  color: var(--ink-deep);
}
.download-card .btn-download.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.download-card .link-placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  word-break: break-all;
}

.sys-req {
  margin-top: 60px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--ink-surface);
  border: 1px solid var(--ink-border);
}
.sys-req h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sys-req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.sys-req-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sys-req-item .value {
  color: var(--text-primary);
  font-size: 0.98rem;
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-radius: var(--r-md);
  background: var(--ink-surface);
  border: 1px solid var(--ink-border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--ink-border-strong); }
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '+';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] .faq-summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.85;
  border-top: 1px solid var(--ink-border);
  padding-top: 20px;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============ Changelog 时间轴 ============ */
.timeline {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--teal), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink-base);
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.timeline-item .release-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline-item .release-tag {
  display: inline-block;
  padding: 2px 10px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-bright);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.timeline-item h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.timeline-item .changes {
  background: var(--ink-surface);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-md);
  padding: 20px 24px;
}
.timeline-item .changes ul {
  list-style: none;
}
.timeline-item .changes li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}
.timeline-item .changes li:last-child { margin-bottom: 0; }
.timeline-item .changes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-item .changes li.add::before { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.timeline-item .changes li.fix::before { background: var(--pink); }
.timeline-item .changes li.improve::before { background: var(--lavender); }

/* ============ CTA Banner ============ */
.cta-banner {
  padding: 64px 40px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 168, 118, 0.15), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(61, 189, 176, 0.12), transparent 60%),
    linear-gradient(135deg, var(--ink-surface) 0%, var(--ink-surface-solid) 100%);
  border: 1px solid var(--ink-border-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .hero-cta { justify-content: center; margin-bottom: 0; }

/* ============ Footer ============ */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--ink-border);
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer ul li a:hover { color: var(--gold-bright); }

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 320px;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--ink-border);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-meta a { color: var(--text-secondary); }
.footer-meta a:hover { color: var(--gold-bright); }

/* ============ 滚动条 ============ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { background: var(--ink-border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============ 动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ 工具：淡入动画 ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
