/* ============ WPS Office 官方风格下载站 - 套1 基础蓝白商务风 ============ */
:root {
  --blue: #1f5eff;
  --blue-dark: #0d3fc7;
  --blue-light: #eaf0ff;
  --ink: #14203b;
  --gray: #5b6478;
  --line: #e3e8f2;
  --bg: #f6f8fc;
  --white: #ffffff;
  --orange: #ff8a3d;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(20, 32, 59, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--blue-dark); }
.brand span.tag { font-size: 12px; font-weight: 400; color: var(--gray); margin-left: 6px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 10px 18px; border-radius: 999px; font-size: 15px; color: var(--ink); font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-links a.active { background: var(--blue); color: #fff; }
.nav-cta {
  background: var(--orange); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 600;
  font-size: 15px; border: none; cursor: pointer; transition: filter .2s;
}
.nav-cta:hover { filter: brightness(1.06); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #eef3ff 0%, #f6f8fc 55%, #fff 100%);
  padding: 68px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero-text { flex: 1.1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); color: var(--blue-dark);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 40px; line-height: 1.35; font-weight: 800; margin-bottom: 18px; color: var(--ink); }
.hero p.lead { font-size: 17px; color: var(--gray); margin-bottom: 26px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(31,94,255,.28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(31,94,255,.38); }
.btn-outline { background: #fff; color: var(--blue-dark); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn:disabled { opacity: .7; cursor: not-allowed; }
.trust-row { display: flex; gap: 22px; color: var(--gray); font-size: 13px; flex-wrap: wrap; }
.trust-row span { display: flex; align-items: center; gap: 6px; }

.hero-visual { flex: 1; display: flex; justify-content: center; }
.mock-card {
  width: 100%; max-width: 420px; background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 26px; border: 1px solid var(--line);
}
.mock-card .mock-top { display: flex; gap: 8px; margin-bottom: 18px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.mock-row:last-child { border-bottom: none; }
.mock-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mock-text b { display: block; font-size: 14px; }
.mock-text span { font-size: 12px; color: var(--gray); }

/* ---------- 通用 section ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-tag { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 15.5px; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- 网格卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon-wrap {
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 14.5px; }

/* ---------- 下载平台卡片 ---------- */
.platform-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; text-align: center;
}
.platform-card .icon-wrap { margin: 0 auto 16px; background: var(--blue-light); color: var(--blue-dark); width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.platform-card h3 { font-size: 17px; margin-bottom: 8px; }
.platform-card p { color: var(--gray); font-size: 13.5px; margin-bottom: 18px; min-height: 58px; }
.platform-card .ver { font-size: 12px; color: var(--gray); margin-top: 10px; }

/* ---------- 深讲/功能 ---------- */
.feature-row { display: flex; align-items: center; gap: 46px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-num { flex: 0 0 90px; font-size: 46px; font-weight: 800; color: var(--blue-light); }
.feature-body { flex: 1; }
.feature-body h3 { font-size: 22px; margin-bottom: 12px; font-weight: 800; }
.feature-body p { color: var(--gray); margin-bottom: 8px; }
.feature-body ul { margin-top: 10px; }
.feature-body ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--gray); font-size: 14.5px; }
.feature-body ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ---------- 数据统计 ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-strip .num { font-size: 38px; font-weight: 800; color: var(--blue-dark); }
.stat-strip .label { color: var(--gray); font-size: 14px; margin-top: 6px; }

/* ---------- 评价 ---------- */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-name { font-weight: 700; font-size: 14.5px; }
.review-role { font-size: 12.5px; color: var(--gray); }
.stars { display: flex; gap: 2px; color: #ffb020; margin: 6px 0; }
.review-card p { color: var(--gray); font-size: 14px; }

/* ---------- 对比表 ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare-table th { background: var(--blue); color: #fff; font-weight: 700; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: #1a9e5c; font-weight: 700; }
.compare-table .no { color: #c94b4b; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { transition: transform .2s; flex-shrink: 0; color: var(--blue); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--gray); font-size: 14.5px; }

/* ---------- 安装步骤 ---------- */
.step-list { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step-item { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px dashed var(--line); }
.step-item:last-child { border-bottom: none; }
.step-num {
  counter-increment: step; flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--blue);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.step-num::before { content: counter(step); }
.step-body h3 { font-size: 17px; margin-bottom: 8px; }
.step-body p { color: var(--gray); font-size: 14.5px; }

/* ---------- 系统要求 ---------- */
.req-table { width: 100%; border-collapse: collapse; }
.req-table th, .req-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.req-table th { color: var(--blue-dark); width: 160px; }

/* ---------- 更新日志 ---------- */
.timeline { border-left: 2px solid var(--line); padding-left: 26px; display: flex; flex-direction: column; gap: 26px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.timeline-item .ver-tag { display: inline-block; background: var(--blue-light); color: var(--blue-dark); font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 6px; margin-bottom: 8px; }
.timeline-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.timeline-item p { color: var(--gray); font-size: 14px; }

/* ---------- zh-cn 长文 ---------- */
.article { max-width: 820px; margin: 0 auto; padding: 56px 24px; }
.article h1 { font-size: 32px; margin-bottom: 16px; font-weight: 800; }
.article .lead-p { color: var(--gray); font-size: 15.5px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 22px; font-weight: 800; margin: 36px 0 14px; color: var(--blue-dark); }
.article h3 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; }
.article p { margin-bottom: 14px; color: #333c52; }
.article ul { margin: 10px 0 16px 0; }
.article ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: #333c52; }
.article ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); border-radius: 16px; padding: 32px;
  text-align: center; color: #fff; margin: 34px 0;
}
.cta-box h3 { font-size: 20px; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.cta-box .btn-primary { background: #fff; color: var(--blue-dark); box-shadow: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: #10182b; color: #b9c2d9; padding: 46px 0 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-brand h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.footer-brand p { max-width: 320px; font-size: 13.5px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-col a { display: block; color: #b9c2d9; font-size: 13.5px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-security { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); padding: 14px 18px; border-radius: 10px; font-size: 13px; margin-bottom: 20px; color: #d8e0f2; }
.footer-security svg { flex-shrink: 0; color: #3ddc84; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 12.5px; color: #808ba8; text-align: center; }

/* spinner */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .feature-row, .feature-row.reverse { flex-direction: column; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2, .stat-strip { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .footer-top { flex-direction: column; }
}
