/* ===================== WPS官网 - 企业经典蓝主题 ===================== */
:root {
  --blue-900: #0d3f8f;
  --blue-700: #1a5fd6;
  --blue-600: #2170ef;
  --blue-500: #3b82f6;
  --blue-100: #e8f0ff;
  --blue-50: #f4f8ff;
  --ink-900: #101828;
  --ink-700: #344054;
  --ink-500: #667085;
  --border: #e4e9f2;
  --white: #ffffff;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(16, 40, 90, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 40, 90, 0.10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--ink-900); }
p { margin: 0; color: var(--ink-700); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--blue-700); }
.logo svg { width: 32px; height: 32px; }
.nav-list { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-list a:hover { color: var(--blue-700); }
.nav-list a.active { color: var(--blue-700); border-bottom-color: var(--blue-700); }
.nav-cta {
  background: var(--blue-700);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--blue-900); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  text-align: center;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: .35;
}
.hero::before { width: 360px; height: 360px; background: var(--blue-100); top: -120px; right: -80px; }
.hero::after { width: 260px; height: 260px; background: var(--blue-100); bottom: -100px; left: -60px; }
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 { font-size: 46px; line-height: 1.3; letter-spacing: -0.5px; }
.hero h1 span { color: var(--blue-700); }
.hero .sub { margin: 22px auto 36px; font-size: 17px; color: var(--ink-500); max-width: 620px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: inherit;
}
.btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--blue-700); color: var(--white); box-shadow: 0 10px 24px rgba(33, 112, 239, .28); }
.btn-primary:hover { background: var(--blue-900); transform: translateY(-2px); }
.btn-outline { background: var(--white); color: var(--blue-700); border: 1.5px solid var(--blue-500); }
.btn-outline:hover { background: var(--blue-50); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 通用小节标题 ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-eyebrow { color: var(--blue-700); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.sec-head h2 { font-size: 32px; margin-top: 12px; }
.sec-head p { margin-top: 14px; font-size: 15.5px; }

/* ---------- 特性卡片 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--blue-700); stroke: var(--blue-700); }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }

/* ---------- 平台下载 ---------- */
.platform-section { background: var(--blue-50); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.platform-icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--blue-700); }
.platform-icon svg { width: 100%; height: 100%; }
.platform-card h3 { font-size: 17px; margin-bottom: 6px; }
.platform-card .ver { font-size: 13px; color: var(--ink-500); margin-bottom: 18px; }
.platform-card .ver span { display: block; }

/* ---------- 深度介绍：图文分栏 ---------- */
.deepdive-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.deepdive-row:last-child { margin-bottom: 0; }
.deepdive-row.reverse .dd-graphic { order: 2; }
.dd-num { color: var(--blue-100); font-size: 64px; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.dd-text h3 { font-size: 26px; margin-bottom: 16px; }
.dd-text p { font-size: 15px; margin-bottom: 12px; }
.dd-graphic {
  height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.dd-graphic svg { width: 46%; height: 46%; color: #fff; opacity: .92; }

/* ---------- 用户评价 ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; color: #f5a623; fill: #f5a623; }
.review-card p.quote { font-size: 14.5px; color: var(--ink-700); margin-bottom: 18px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-600); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.reviewer .name { font-weight: 700; font-size: 14px; color: var(--ink-900); }
.reviewer .role { font-size: 12.5px; color: var(--ink-500); }

/* ---------- 数据统计 ---------- */
.stats-section { background: var(--blue-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 900; color: #fff; }
.stat-label { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- 对比表 ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.compare-table th { background: var(--blue-50); color: var(--blue-900); font-size: 15px; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: var(--ink-700); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.tick { color: #16a34a; font-weight: 800; }
.cross { color: #d92d20; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 18px; height: 18px; color: var(--blue-700); transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 14.5px; color: var(--ink-700); }

/* ---------- 下载页专属 ---------- */
.download-hero {
  background: linear-gradient(180deg, var(--blue-50), var(--white));
  padding: 76px 0 60px;
}
.download-main-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.download-main-card .dl-icon { width: 72px; height: 72px; color: var(--blue-700); }
.download-main-card h2 { font-size: 24px; margin-bottom: 8px; }
.download-main-card .meta { display: flex; gap: 18px; font-size: 13.5px; color: var(--ink-500); flex-wrap: wrap; }
.step-list { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step-item { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 18px; text-align: center; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-700); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-item h4 { font-size: 15px; margin-bottom: 8px; }
.step-item p { font-size: 13px; }
.req-table { width: 100%; border-collapse: collapse; }
.req-table th, .req-table td { padding: 14px 16px; border: 1px solid var(--border); font-size: 14px; text-align: left; }
.req-table th { background: var(--blue-50); color: var(--blue-900); }
.timeline { border-left: 2px solid var(--blue-100); padding-left: 28px; display: flex; flex-direction: column; gap: 30px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -34px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--blue-700); border: 3px solid var(--blue-100);
}
.timeline-item .ver-tag { font-weight: 800; color: var(--blue-700); font-size: 15px; }
.timeline-item .date { font-size: 13px; color: var(--ink-500); margin-left: 10px; }
.timeline-item ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-700); font-size: 14px; }
.security-note {
  display: flex; gap: 16px; align-items: flex-start;
  background: #eefcf3; border: 1px solid #c8f0d8; border-radius: var(--radius-md);
  padding: 20px 24px;
}
.security-note svg { width: 30px; height: 30px; color: #16a34a; flex-shrink: 0; }

/* ---------- 中文页专属 ---------- */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-wrap h2 { font-size: 24px; margin: 40px 0 14px; }
.article-wrap h3 { font-size: 19px; margin: 26px 0 10px; color: var(--blue-900); }
.article-wrap p { font-size: 15.5px; margin-bottom: 14px; }
.article-wrap ul { padding-left: 22px; color: var(--ink-700); font-size: 15px; margin-bottom: 14px; }
.article-wrap li { margin-bottom: 6px; }
.cta-banner {
  margin-top: 50px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  color: #fff;
}
.cta-banner h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.cta-banner .btn-primary { background: #fff; color: var(--blue-700); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--blue-50); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding: 50px 0 26px; }
.footer-security {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 26px;
  font-size: 14px;
}
.footer-security svg { width: 22px; height: 22px; color: #4ade80; flex-shrink: 0; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cols h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { font-size: 13.5px; color: rgba(255,255,255,.6); }
.footer-cols a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: 12.5px; text-align: center; line-height: 1.9; color: rgba(255,255,255,.45); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .features-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .deepdive-row, .deepdive-row.reverse { grid-template-columns: 1fr; }
  .deepdive-row.reverse .dd-graphic { order: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .nav-list { display: none; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .features-grid, .reviews-grid, .platform-grid, .stats-grid, .step-list { grid-template-columns: 1fr; }
  .download-main-card { grid-template-columns: 1fr; text-align: center; }
  section { padding: 56px 0; }
}
