:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --accent: #25d366;
  --accent-hover: #1da851;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 排版系统 */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--text-primary); margin-bottom: 0.85rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-top: 3.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-top: 1.5rem; }
p { margin-bottom: 1.1rem; color: var(--text-secondary); max-width: 72ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

/* 布局容器 */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; } }

/* 导航与页脚 */
header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(1.2) blur(4px); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; color: var(--text-primary); text-decoration: none; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-secondary); font-weight: 500; padding: 0.5rem 0; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--accent); }
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.copyright { text-align: center; font-size: 0.875rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* 组件：按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.85rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; transition: all 0.25s ease; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* 组件：卡片与网格 */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 1rem; }
.feature-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-primary); }
.feature-desc { font-size: 0.95rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* 组件：表格 */
.table-wrapper { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
th { background: #f3f4f6; font-weight: 600; color: var(--text-primary); }
tr:last-child td { border-bottom: none; }

/* 组件：FAQ */
.faq-list { margin-top: 2rem; }
details { margin-bottom: 1rem; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
summary { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; color: var(--text-primary); outline: none; list-style: none; position: relative; padding-left: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 700; }
details[open] summary::before { content: "-"; }
details[open] summary { border-bottom: 1px solid var(--border); background: #f9fafb; }
.faq-answer { padding: 1rem 1.25rem; color: var(--text-secondary); line-height: 1.65; }

/* 组件：更新卡片 */
.updates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.update-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; height: 100%; }
.update-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.update-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-primary); line-height: 1.4; }
.update-excerpt { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.25rem; flex-grow: 1; }

/* SVG 动效基础 */
.svg-graphic { display: block; margin: 0 auto; max-width: 100%; }
.orbit-group { transform-origin: center; transform-box: fill-box; }
.ring-outer { animation: orbitBreathA 8s ease-in-out infinite alternate; }
.ring-mid { animation: orbitBreathB 10s ease-in-out infinite alternate-reverse; }
.ring-inner { animation: orbitBreathC 6s ease-in-out infinite alternate; }
.draw-path { pathLength: 1; stroke-dasharray: 1; stroke-dashoffset: 0; animation: drawDash 5s ease-in-out infinite alternate; }
.path-layer-2 { animation: drawDash 6.5s ease-in-out infinite alternate-reverse; }
@keyframes orbitBreathA { 0% { transform: scale(0.92); opacity: 0.4; } 100% { transform: scale(1.08); opacity: 0.8; } }
@keyframes orbitBreathB { 0% { transform: scale(0.95); opacity: 0.5; } 100% { transform: scale(1.05); opacity: 0.7; } }
@keyframes orbitBreathC { 0% { transform: scale(0.96); opacity: 0.6; } 100% { transform: scale(1.04); opacity: 0.9; } }
@keyframes drawDash { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }

/* 无障碍与响应式 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); 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; }
  .ring-outer, .ring-mid, .ring-inner, .draw-path, .path-layer-2 { animation: none; transform: scale(1); opacity: 0.75; }
}
