﻿/* ==========================================================
   上线性能与顺滑度增强引擎 (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: #f5f7fb;
  --card: #ffffff;
  --text: #182230;
  --muted: #667085;
  --line: #d7dce5;
  --blue: #2563eb;
  --green: #12b76a;
  --orange: #f79009;
  --purple: #7a5af8;
  --soft-blue: #eff6ff;
  --soft-green: #ecfdf3;
  --soft-orange: #fff7ed;
  --soft-purple: #f4f3ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.68;
}
a { color: var(--blue); text-decoration: none; font-weight: 800; }
a:hover { text-decoration: underline; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.notice { background: #fff8e6; border-bottom: 1px solid #f2d58a; color: #7a5b10; padding: 10px 0; font-size: 13px; }
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { color: var(--text); font-size: 21px; font-weight: 950; }
.nav, .footer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.nav a, .footer-links a { color: var(--text); background: #fff; border: 1px solid var(--line); padding: 7px 11px; border-radius: 9px; font-size: 14px; }
.nav a:hover, .footer-links a:hover { background: var(--soft-blue); border-color: var(--blue); text-decoration: none; }
.hero { padding: 58px 0 34px; }
.eyebrow { display: inline-flex; padding: 6px 12px; background: var(--soft-blue); color: var(--blue); border-radius: 8px; font-size: 13px; font-weight: 950; margin-bottom: 16px; }
.hero h1 { max-width: 900px; font-size: clamp(36px, 5.6vw, 70px); line-height: 1.04; letter-spacing: -0.06em; margin-bottom: 20px; }
.hero p { max-width: 820px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; padding: 12px 18px; border-radius: 11px; border: 1px solid var(--line); font-weight: 950; }
.button.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 16px 34px rgba(37,99,235,.22); }
.button.secondary { background: #fff; color: var(--text); }
.office-dashboard { margin-top: 28px; display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 14px; max-width: 1040px; }
.office-widget { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 18px 38px rgba(24,34,48,.06); }
.office-widget strong { display: block; margin-bottom: 8px; font-size: 18px; }
.office-widget p, .office-widget span { color: var(--muted); font-size: 14px; }
.mail-lines span, .sheet-grid span, .ppt-blocks span { display: block; height: 10px; border-radius: 999px; margin: 8px 0; }
.mail-lines span:nth-child(1) { width: 82%; background: var(--soft-blue); }
.mail-lines span:nth-child(2) { width: 62%; background: var(--soft-green); }
.mail-lines span:nth-child(3) { width: 74%; background: var(--soft-orange); }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sheet-grid span { height: 24px; margin: 0; background: var(--soft-green); border: 1px solid #b7eccc; }
.ppt-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ppt-blocks span { height: 46px; margin: 0; background: var(--soft-purple); border: 1px solid #dad6fe; }
.section { padding: 44px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.section h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.05em; line-height: 1.08; }
.section-note { max-width: 440px; color: var(--muted); }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .intro-box, .article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 38px rgba(24,34,48,.05); }
.card { min-height: 196px; padding: 22px; }
.card .num { display: inline-flex; padding: 4px 9px; border-radius: 7px; background: var(--soft-blue); color: var(--blue); font-weight: 950; font-size: 12px; margin-bottom: 28px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card strong, td strong { color: var(--green); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro-box { padding: 26px; }
.intro-box h3 { font-size: 26px; 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(--card); border: 1px solid var(--line); border-radius: 18px; }
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 { background: #f2f4f7; color: #344054; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
summary { cursor: pointer; list-style: none; font-weight: 950; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 10px; color: var(--muted); }
.article { max-width: 880px; margin: 40px auto; padding: 36px; }
.article h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.06em; margin-bottom: 20px; }
.article h2 { font-size: 28px; margin: 34px 0 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.article p, .article li { color: var(--muted); margin-bottom: 12px; }
.article ul { margin-left: 20px; }
.site-footer { margin-top: 40px; padding: 34px 0; background: #fff; border-top: 1px solid var(--line); }
.site-footer p { margin-top: 14px; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .office-dashboard, .grid-6, .intro-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-note { margin-top: 10px; }
}
