/* =========================================
   全局设计变量与基础重置
   ========================================= */
:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text-primary: #111827;
  --color-text-secondary: #4b5563;
  --color-text-muted: #6b7280;
  --color-accent: #00a86b;
  --color-accent-hover: #008f5d;
  --color-border: #e5e7eb;
  --color-highlight: #ecfdf5;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
  
  --font-main: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --line-height-tight: 1.5;
  --line-height-relaxed: 1.85;
  
  --container-max: 1180px;
  --spacing-section: clamp(48px, 6vw, 96px);
  --spacing-block: 32px;
  
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: var(--line-height-relaxed);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition-base); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* =========================================
   排版与容器
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.section {
  padding: var(--spacing-section) 0;
  position: relative;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: clamp(24px, 3vw, 40px);
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}
p { margin-bottom: 16px; color: var(--color-text-secondary); }
.text-accent { color: var(--color-accent); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-block); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--spacing-block); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { 
  .grid-3 { grid-template-columns: repeat(3, 1fr); } 
  .section-alternate { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
  .section-alternate.reverse { direction: rtl; }
  .section-alternate > * { direction: ltr; }
}

/* =========================================
   页头与导航
   ========================================= */
.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);
  padding: 16px 0;
  transition: box-shadow var(--transition-base);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}
.brand img { width: 32px; height: 32px; object-fit: contain; }
.nav-list { display: flex; gap: 24px; align-items: center; }
.nav-link {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding: 6px 0;
  position: relative;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--color-accent);
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
@media (max-width: 767px) {
  .mobile-toggle { display: block; }
  .nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); flex-direction: column; padding: 16px; box-shadow: var(--shadow-soft); }
  .nav-list.open { display: flex; }
}

/* =========================================
   组件：按钮
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text-primary);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-download {
  background: var(--color-accent);
  color: #fff;
  font-size: 1.1rem;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.25);
}
.btn-download:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* =========================================
   组件：卡片
   ========================================= */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-highlight);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}
.meta-date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* =========================================
   组件：表格
   ========================================= */
.platform-table {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 24px 0;
}
.platform-table th, .platform-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.platform-table th { background: #f9fafb; font-weight: 600; color: var(--color-text-primary); }
.platform-table tr:last-child td { border-bottom: none; }
.platform-table tr:hover td { background: #fcfcfd; }

/* =========================================
   组件：FAQ
   ========================================= */
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background var(--transition-base);
}
.faq-summary:hover { background: #fafafa; }
.faq-details { padding: 0 20px 18px; color: var(--color-text-secondary); line-height: 1.7; }
.faq-details p { margin: 0; }
.faq-summary::marker { color: var(--color-accent); }

/* =========================================
   页脚
   ========================================= */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--color-text-primary); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--color-text-secondary); }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* =========================================
   SVG 动效系统
   ========================================= */
.svg-animated { width: 100%; height: auto; }
.wave-path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.6;
}
.wave-1 { animation: waveFloat 6s ease-in-out infinite; }
.wave-2 { animation: waveFloat 7s ease-in-out infinite 0.5s; }
.wave-3 { animation: waveFloat 8s ease-in-out infinite 1s; }

@keyframes waveFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.draw-path {
  fill: none;
  stroke: var(--color-text-secondary);
  stroke-width: 1.5;
  pathLength: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: drawStroke 4s ease forwards;
}
@keyframes drawStroke {
  0% { stroke-dashoffset: 1; opacity: 0; }
  5% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.dash-flow {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-dasharray: 8 8;
  animation: dashMove 3s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes dashMove {
  to { stroke-dashoffset: -16; }
}

.pulse-circle {
  fill: var(--color-accent);
  animation: pulseScale 4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes pulseScale {
  0%, 100% { opacity: 0.2; transform: scale(0.95); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .wave-path, .draw-path, .dash-flow, .pulse-circle { animation: none !important; }
}

/* =========================================
   焦点与无障碍
   ========================================= */
: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;
}
