﻿/* ==========================================================
   上线性能与顺滑度增强引擎 (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: #070a16;
  --panel: rgba(255,255,255,.075);
  --panel-strong: rgba(255,255,255,.12);
  --text: #f8fbff;
  --muted: #aab7cf;
  --line: rgba(255,255,255,.16);
  --cyan: #35d7ff;
  --blue: #4f7cff;
  --purple: #a855f7;
  --pink: #ff4ecd;
  --green: #35f0a0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.68;
  background:
    radial-gradient(circle at 12% 10%, rgba(79,124,255,.30), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(168,85,247,.28), transparent 28%),
    radial-gradient(circle at 55% 78%, rgba(53,215,255,.16), transparent 32%),
    linear-gradient(135deg, #070a16 0%, #10172c 52%, #080b18 100%);
  min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; font-weight: 800; }
a:hover { color: #fff; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.notice { background: rgba(255,255,255,.07); border-bottom: 1px solid var(--line); color: var(--muted); padding: 11px 0; font-size: 13px; }
.notice strong { color: #fff; }
.site-header { background: rgba(7,10,22,.72); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { color: #fff; font-weight: 950; font-size: 21px; letter-spacing: -0.03em; }
.nav, .footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.nav a, .footer-links a { color: var(--muted); border: 1px solid var(--line); padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.045); font-size: 14px; }
.nav a:hover, .footer-links a:hover { color: #fff; border-color: var(--cyan); text-decoration: none; }
.hero { padding: 76px 0 44px; }
.eyebrow { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: linear-gradient(90deg, rgba(53,215,255,.18), rgba(168,85,247,.18)); border: 1px solid rgba(53,215,255,.35); color: var(--cyan); font-weight: 950; font-size: 13px; margin-bottom: 18px; }
.hero h1 { max-width: 930px; font-size: clamp(38px, 6vw, 78px); line-height: 1.02; letter-spacing: -0.07em; margin-bottom: 22px; }
.hero p { max-width: 810px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-width: 196px; padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-weight: 950; color: #fff; box-shadow: 0 18px 38px rgba(79,124,255,.25); }
.button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple), var(--pink)); z-index: -1; }
.button.secondary::before { background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(53,215,255,.20)); }
.button:hover { transform: translateY(-1px); text-decoration: none; }
.web-entry-panel { margin-top: 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; max-width: 980px; }
.entry-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 18px; backdrop-filter: blur(16px); }
.entry-card strong { display: block; color: #fff; font-size: 18px; margin-bottom: 4px; }
.entry-card span { color: var(--muted); font-size: 14px; }
.entry-card.primary { border-color: rgba(53,215,255,.45); background: linear-gradient(135deg, rgba(53,215,255,.18), rgba(168,85,247,.12)); }
.section { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.section h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.06em; line-height: 1.05; }
.section-note { max-width: 450px; color: var(--muted); }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .intro-box, .article { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.card { min-height: 210px; padding: 24px; }
.card .num { display: inline-flex; color: var(--green); font-size: 12px; font-weight: 950; margin-bottom: 34px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card strong, td strong { color: var(--cyan); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro-box { padding: 28px; }
.intro-box h3 { font-size: 28px; margin-bottom: 12px; }
.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: 22px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; background: rgba(255,255,255,.08); font-size: 13px; }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
summary { cursor: pointer; list-style: none; font-weight: 950; color: #fff; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 10px; color: var(--muted); }
.article { max-width: 880px; margin: 44px auto; padding: 38px; }
.article h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.06em; margin-bottom: 20px; }
.article h2 { font-size: 28px; margin: 34px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.article p, .article li { color: var(--muted); margin-bottom: 12px; }
.article ul { margin-left: 20px; }
.site-footer { margin-top: 44px; padding: 38px 0; border-top: 1px solid var(--line); background: rgba(0,0,0,.2); }
.site-footer p { margin-top: 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .web-entry-panel, .grid-6, .intro-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-note { margin-top: 10px; }
}
