*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
ul, ol { list-style: none; }

/* Design Tokens */
:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-muted: #4b5563;
  --color-accent: #25D366;
  --color-accent-dark: #1ebd57;
  --color-border: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.06);
  --shadow-focus: 0 0 0 3px rgba(37, 211, 102, 0.35);
  --max-width: 1200px;
  --space-unit: 1rem;
}

/* Typography & Fluid Scale */
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--color-text-muted); }
.text-center { text-align: center; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* Layout Utilities */
.section { padding: 5rem 0; position: relative; }
.section-alt { background-color: var(--color-surface); }
.grid-auto { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.flex-row { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.mt-large { margin-top: 4rem; }
.mb-large { margin-bottom: 4rem; }

/* 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);
}
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; }
.brand-name { font-weight: 600; font-size: 1.1rem; color: var(--color-text); }
nav ul { display: flex; gap: 1.5rem; }
nav a { font-size: 0.95rem; font-weight: 500; padding: 0.5rem 0; position: relative; }
nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--color-accent); transition: width 0.25s ease; }
nav a:hover::after, nav a[aria-current="page"]::after { width: 100%; }
nav a[aria-current="page"] { color: var(--color-accent-dark); }
.site-footer { background: var(--color-text); color: #d1d5db; padding: 3rem 0 1.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a:hover { color: #fff; }
.copyright { border-top: 1px solid #374151; padding-top: 1.5rem; text-align: center; color: #9ca3af; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.85rem 1.8rem; border-radius: var(--radius-md); font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.2s ease; border: none; text-decoration: none;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
.btn-outline { background: transparent; border: 1.5px solid var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* Cards & Components */
.card { background: var(--color-surface); padding: 1.8rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.icon-box { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #ecfdf5; border-radius: 10px; margin-bottom: 1rem; }
.icon-box svg { width: 24px; height: 24px; stroke: var(--color-accent-dark); }

/* Table */
.table-wrapper { overflow-x: auto; margin: 2rem 0; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
th { background: #f9fafb; font-weight: 600; color: var(--color-text); }
tr:last-child td { border-bottom: none; }

/* FAQ Details */
details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 0.8rem; overflow: hidden; transition: border-color 0.2s; }
details[open] { border-color: var(--color-accent); }
summary { padding: 1.2rem; cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
.details-content { padding: 0 1.2rem 1.2rem; color: var(--color-text-muted); line-height: 1.7; }

/* SVG Animations */
@keyframes wave-rise {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-16px); opacity: 1; }
}
@keyframes wave-rise-alt {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-20px); opacity: 0.9; }
}
@keyframes draw-path {
  0% { stroke-dashoffset: 1; }
  100% { stroke-dashoffset: 0; }
}
.wave-anim-1 { animation: wave-rise 6s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate; }
.wave-anim-2 { animation: wave-rise-alt 7s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate 1s; }
.wave-anim-3 { animation: wave-rise 5.5s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate 0.5s; }
.path-draw { animation: draw-path 4s linear infinite alternate; }
svg.svg-animated { width: 100%; height: auto; overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
  .wave-anim-1, .wave-anim-2, .wave-anim-3, .path-draw { animation: none; }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .flex-row { flex-direction: column; align-items: flex-start; }
  nav ul { gap: 1rem; }
  .grid-auto { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}
