﻿/* ==========================================================
   上线性能与顺滑度增强引擎 (Smoothness & Performance Optimization)
   ========================================================== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* 硬件加速与流畅悬停 */
a, button, .media-news-card, .btn-media-primary, .btn-media-secondary, .faq-card, .intro-panel {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 移动端平滑滚动与防抖 */
.table-wrapper, .table-container, .code-box, pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* 媒体图片防溢出与自适应 */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 消除点击高亮延迟 */
a, button, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}


:root {
  --bg: #f5f7f3;
  --panel: #ffffff;
  --text: #142019;
  --muted: #5f6f64;
  --line: #cfdbd2;
  --dark: #0e1712;
  --green: #0f8f4d;
  --green-soft: #e9f7ef;
  --warn: #fff7dd;
  --warn-line: #e3bd52;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background:
    linear-gradient(90deg, rgba(15,143,77,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15,143,77,.06) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
}
a { color: var(--green); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.notice { background: var(--warn); border-bottom: 1px solid var(--warn-line); padding: 12px 0; color: #74580e; font-size: 13px; }
.site-header { background: rgba(245,247,243,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { color: var(--text); font-size: 22px; font-weight: 900; }
.brand::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 14px; }
.nav, .footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.nav a { color: var(--text); padding: 6px 0; }
.hero { padding: 76px 0 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #b6ddc3; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 900; margin-bottom: 22px; }
.eyebrow::before { content: "已验证"; background: var(--green); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.hero h1 { max-width: 920px; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.07em; margin-bottom: 22px; }
.hero p { max-width: 780px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 186px; padding: 13px 20px; border-radius: 12px; border: 1px solid var(--green); font-weight: 900; }
.button.primary { background: var(--green); color: #fff; }
.button.secondary { background: #fff; color: var(--green); }
.safety-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; max-width: 920px; }
.verify-tag { background: var(--panel); border: 1px solid #b6ddc3; border-left: 5px solid var(--green); border-radius: 14px; padding: 14px 16px; color: var(--muted); }
.verify-tag strong { color: var(--green); display: block; margin-bottom: 4px; }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.05em; }
.section-note { max-width: 430px; color: var(--muted); }
.alert-box { background: var(--warn); border: 1px solid var(--warn-line); border-radius: 18px; padding: 22px; margin-bottom: 24px; color: #73580f; }
.alert-box strong { color: #4d3a05; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card, .intro-box, .article { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(14, 23, 18, .06); }
.card { min-height: 216px; padding: 24px; }
.card .num { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 900; font-size: 12px; margin-bottom: 34px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro-box { padding: 30px; }
.intro-box h3 { font-size: 28px; margin-bottom: 14px; }
.intro-box p, .intro-box li { color: var(--muted); }
.intro-box ul { margin: 14px 0 0 20px; }
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--dark); color: #fff; font-size: 13px; }
td:first-child strong { color: var(--green); }
tr:last-child td { border-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
summary { cursor: pointer; list-style: none; font-weight: 900; font-size: 19px; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 10px; color: var(--muted); }
.article { max-width: 880px; margin: 46px auto; padding: 40px; }
.article h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.06em; margin-bottom: 22px; }
.article h2 { font-size: 28px; margin: 34px 0 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.article p, .article li { color: var(--muted); margin-bottom: 12px; }
.article ul { margin-left: 20px; }
.site-footer { background: var(--dark); color: #dbe7dd; padding: 42px 0; margin-top: 42px; }
.site-footer a { color: #dfffe8; }
.site-footer p { color: #9fb0a4; margin-top: 16px; font-size: 14px; }
@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .safety-strip, .grid-6, .intro-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-note { margin-top: 10px; }
}
