*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--color-text-primary);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text-primary: #111827;
  --color-text-secondary: #4b5563;
  --color-accent: #25D366;
  --color-accent-dark: #128C7E;
  --color-border: #e5e7eb;
  --color-subtle: #f3f4f6;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 12px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
  --shadow-hover: 0 10px 24px rgba(0,0,0,0.06);
  --font-heading: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --container-max: 1120px;
  --header-h: 64px;
  --gap-section: clamp(48px, 8vw, 96px);
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text-primary); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--color-text-secondary); }
.section-desc { max-width: 720px; margin: 0 auto 3rem; text-align: center; font-size: 1.125rem; }

/* Layout */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
section { padding: calc(var(--gap-section) * 1.2) 0; }
.grid-auto { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Header & Footer */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); height: var(--header-h); display: flex; align-items: center; }
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-wrap { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.125rem; }
.logo-wrap img { width: 110px; height: 32px; object-fit: contain; }
.main-nav { display: flex; gap: 24px; }
.main-nav a { font-size: 0.95rem; font-weight: 500; color: var(--color-text-secondary); transition: color 0.2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-accent-dark); }
.site-footer { background: var(--color-subtle); border-top: 1px solid var(--color-border); padding: 48px 0 32px; margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 12px; color: var(--color-text-primary); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: var(--color-text-secondary); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--color-accent-dark); }
.copyright { text-align: center; margin-top: 40px; font-size: 0.85rem; color: #6b7280; }

/* Components: Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.25s ease; border: none; text-align: center; }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: 0 2px 8px rgba(37,211,102,0.3); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,0.4); outline: none; }
.btn-secondary { background: var(--color-surface); color: var(--color-text-primary); border: 1px solid var(--color-border); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--color-accent); color: var(--color-accent-dark); outline: none; }

/* Components: Cards */
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--color-subtle); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--color-accent-dark); }
.card-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.card p { font-size: 0.95rem; margin-bottom: 0; line-height: 1.65; }

/* Components: Table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-surface); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
th { background: var(--color-subtle); font-weight: 600; color: var(--color-text-primary); }
td { color: var(--color-text-secondary); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(37,211,102,0.03); }

/* Components: FAQ (Details/Summary) */
.faq-list { max-width: 800px; margin: 0 auto; }
details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s; }
details[open] { border-color: var(--color-accent); }
summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--color-text-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.25rem; color: var(--color-accent); font-weight: 400; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 20px 16px; font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.7; }

/* Components: News & Related */
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-meta { font-size: 0.8rem; color: #6b7280; margin-bottom: 8px; display: flex; justify-content: space-between; }
.news-card h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: 0.9rem; flex-grow: 1; margin-bottom: 12px; }
.related-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.related-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px 16px; flex: 1 1 300px; transition: border-color 0.2s; }
.related-item:hover { border-color: var(--color-accent); }
.related-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.related-item span { font-size: 0.85rem; color: var(--color-text-secondary); }

/* SVG Animations */
.orbit-container { position: relative; width: 100%; max-width: 280px; aspect-ratio: 1 / 1; height: auto; margin: 0 auto; overflow: hidden; }
.orbit-svg { width: 100%; height: 100%; }
.orbit-ring { fill: none; stroke: var(--color-accent); stroke-width: 1.5; opacity: 0.6; transform-box: fill-box; transform-origin: center; }
.orbit-ring:nth-child(1) { animation: orbit-breathe-1 12s ease-in-out infinite; }
.orbit-ring:nth-child(2) { animation: orbit-breathe-2 16s ease-in-out infinite; stroke-width: 1; }
.orbit-ring:nth-child(3) { animation: orbit-breathe-3 20s ease-in-out infinite; stroke-width: 0.75; }
.draw-path { fill: none; stroke: var(--color-text-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pathLength: 1; stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw-progress 8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes orbit-breathe-1 { 0%, 100% { transform: rotate(0deg) scale(0.96); opacity: 0.5; } 50% { transform: rotate(180deg) scale(1.04); opacity: 0.85; } }
@keyframes orbit-breathe-2 { 0%, 100% { transform: rotate(0deg) scale(0.98); opacity: 0.4; } 50% { transform: rotate(-120deg) scale(1.06); opacity: 0.75; } }
@keyframes orbit-breathe-3 { 0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; } 50% { transform: rotate(60deg) scale(1.08); opacity: 0.6; } }
@keyframes draw-progress { 0%, 100% { stroke-dashoffset: 1; } 50% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
/* Focus & Accessibility */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.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; }
