/* ============================================
   WPS Office 安全下载站 - 套1（根域名）蓝色科技风
   ============================================ */
:root {
  --primary: #0A66FF;
  --primary-dark: #0047CC;
  --primary-light: #EAF1FF;
  --primary-gradient: linear-gradient(120deg, #2E8FFF 0%, #0A66FF 60%, #0047CC 100%);
  --ink: #10182C;
  --ink-soft: #47506B;
  --ink-mute: #8891A8;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FC;
  --line: #E3E8F2;
  --green: #16A34A;
  --amber: #F5A623;
  --red: #E5484D;
  --shadow-sm: 0 6px 20px rgba(16, 24, 44, 0.06);
  --shadow-md: 0 16px 40px rgba(16, 24, 44, 0.10);
  --header-h: 76px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: 0 12px 28px rgba(10, 102, 255, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 102, 255, 0.4); }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-light); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.75; cursor: not-allowed; transform: none !important; }

/* ---------- 导航栏：顶部固定+模糊，下划线高亮 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 999;
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav li.active a { color: var(--primary); }
.main-nav li.active a::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }

.page-main { padding-top: var(--header-h); }

/* ---------- Hero：居中大标题 ---------- */
.hero {
  text-align: center;
  padding: 96px 0 60px;
  background:
    radial-gradient(700px 340px at 15% -10%, rgba(10,102,255,0.10), transparent 60%),
    radial-gradient(700px 340px at 85% 0%, rgba(46,143,255,0.10), transparent 60%);
}
.hero h1 { font-size: 52px; font-weight: 900; letter-spacing: -1.2px; line-height: 1.18; max-width: 880px; margin: 0 auto 22px; }
.hero h1 em { font-style: normal; background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 660px; margin: 0 auto 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 18px; }
.hero-meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--ink-mute); font-size: 13.5px; margin-bottom: 56px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--green); }

.hero-shot {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 14px;
}
.hero-shot-inner {
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 440px;
}
.shot-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 18px; background: #fff; border-bottom: 1px solid var(--line); }
.shot-dot { width: 11px; height: 11px; border-radius: 50%; }
.shot-tabs { display: flex; gap: 6px; margin-left: 16px; }
.shot-tab { font-size: 12px; padding: 5px 14px; border-radius: 6px 6px 0 0; background: var(--bg-alt); color: var(--ink-soft); }
.shot-tab.on { background: var(--bg-alt); color: var(--primary); font-weight: 700; }
.shot-body { flex: 1; display: flex; }
.shot-side { width: 210px; background: #fff; border-right: 1px solid var(--line); padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.shot-side i { display: block; height: 22px; border-radius: 5px; background: var(--bg-alt); }
.shot-doc { flex: 1; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.shot-doc i { display: block; height: 13px; border-radius: 4px; background: var(--bg-alt); }
.shot-doc .cards { display: flex; gap: 18px; margin-top: 16px; }
.shot-doc .cards div { flex: 1; height: 88px; border-radius: 10px; background: var(--primary-light); border: 1px dashed rgba(10,102,255,0.35); }

/* ---------- 特性卡片 6 宫格 ---------- */
.features { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 多平台下载 ---------- */
.platforms { background: var(--bg-alt); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.platform-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.platform-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.platform-card svg { width: 46px; height: 46px; margin: 0 auto 16px; }
.platform-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.platform-card p { font-size: 13.5px; color: var(--ink-soft); min-height: 40px; margin-bottom: 20px; }

/* ---------- 功能详情：时间线 ---------- */
.deep-dive { background: var(--bg); }
.dd-timeline { max-width: 900px; margin: 0 auto; position: relative; }
.dd-timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--line), var(--line));
}
.dd-item { position: relative; padding-left: 78px; margin-bottom: 52px; }
.dd-item:last-child { margin-bottom: 0; }
.dd-num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(10,102,255,0.3);
}
.dd-item h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.dd-item p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; max-width: 760px; }
.dd-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.dd-tags span { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; background: var(--primary-light); color: var(--primary); }

/* ---------- 数据统计（深色） ---------- */
.stats { background: linear-gradient(135deg, #0B1230 0%, #0A1D4D 100%); color: #fff; }
.stats .section-head h2, .stats .section-head p { color: #fff; }
.stats .section-head p { color: #AEC1F2; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-size: 44px; font-weight: 900; margin-bottom: 8px; background: linear-gradient(120deg,#8FC1FF,#fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: #AEC1F2; font-size: 14.5px; }

/* ---------- 对比表格 ---------- */
.compare { background: var(--bg); }
.compare-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--bg-alt); font-weight: 800; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:nth-child(2) { color: var(--primary); font-weight: 700; }
.badge-ok { display: inline-flex; align-items: center; gap: 4px; background: rgba(22,163,74,0.1); color: var(--green); padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 700; }
.badge-no { display: inline-flex; align-items: center; gap: 4px; background: rgba(136,145,168,0.12); color: var(--ink-mute); padding: 4px 10px; border-radius: 6px; font-size: 12.5px; }

/* ---------- 用户评价 ---------- */
.reviews { background: var(--bg-alt); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.review-name { font-size: 14.5px; font-weight: 700; }
.review-role { font-size: 12.5px; color: var(--ink-mute); }
.stars { display: flex; gap: 2px; color: var(--amber); margin-bottom: 10px; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.review-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- FAQ 单列手风琴 ---------- */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0; margin-left: 16px;
  border-right: 2px solid var(--ink-mute); border-bottom: 2px solid var(--ink-mute);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { color: var(--primary); border-bottom: 1px solid var(--line); }
.faq-answer { padding: 18px 24px; color: var(--ink-soft); font-size: 14.5px; background: var(--bg-alt); }

/* ---------- CTA 区块 ---------- */
.cta-band {
  background: var(--primary-gradient);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
  border-radius: 24px;
  margin: 0 24px;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 28px; font-size: 16px; }
.cta-band .btn-outline { background: #fff; color: var(--primary); border-color: #fff; }

/* ---------- 下载页专属 ---------- */
.dl-hero { padding: 88px 0 70px; text-align: center; background: linear-gradient(180deg, var(--primary-light), #fff); }
.dl-hero .eyebrow { }
.dl-hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 16px; }
.dl-hero p.lead { font-size: 17px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 30px; }
.dl-primary-card {
  max-width: 620px; margin: 0 auto; background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); padding: 40px;
}
.dl-primary-card svg.win-logo { width: 62px; height: 62px; margin: 0 auto 16px; }
.dl-meta-row { display: flex; justify-content: center; gap: 24px; margin: 18px 0 26px; font-size: 13.5px; color: var(--ink-mute); flex-wrap: wrap; }

.platform-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.platform-detail-card svg.p-icon { width: 42px; height: 42px; margin-bottom: 14px; }
.platform-detail-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.platform-detail-card .ver { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 14px; }
.platform-detail-card ul { margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.platform-detail-card ul li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 8px; }
.platform-detail-card ul li svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 18px; text-align: center; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-gradient); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 12.5px; color: var(--ink-soft); }

.req-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.req-table { width: 100%; border-collapse: collapse; }
.req-table th, .req-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.req-table thead th { background: var(--bg-alt); font-weight: 800; }
.req-table tr:last-child td { border-bottom: none; }

.changelog-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--line); }
.changelog-item { position: relative; padding: 4px 0 34px 32px; }
.changelog-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 3px solid var(--primary-light); }
.changelog-ver { font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.changelog-date { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 10px; }
.changelog-item ul { padding-left: 4px; }
.changelog-item ul li { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; padding-left: 16px; position: relative; }
.changelog-item ul li::before { content: "•"; position: absolute; left: 0; color: var(--primary); }

.security-strip { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.security-item { display: flex; align-items: center; gap: 10px; background: var(--bg-alt); padding: 14px 22px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.security-item svg { width: 20px; height: 20px; color: var(--green); }

/* ---------- 中文软文页 ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; padding: 110px 24px 40px; }
.article-wrap h1 { font-size: 34px; font-weight: 900; margin-bottom: 12px; }
.article-meta { color: var(--ink-mute); font-size: 13.5px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-body h2 { font-size: 24px; font-weight: 800; margin: 40px 0 16px; }
.article-body h3 { font-size: 19px; font-weight: 700; margin: 28px 0 12px; }
.article-body p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 16px; }
.article-body ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.article-body ul li { padding-left: 22px; position: relative; color: var(--ink-soft); font-size: 15px; }
.article-body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.article-cta {
  margin-top: 46px; padding: 40px; border-radius: 20px;
  background: var(--primary-gradient); color: #fff; text-align: center;
}
.article-cta h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,0.9); margin-bottom: 22px; }
.article-cta a.btn { background: #fff; color: var(--primary); }
.article-cta a.btn:hover { transform: translateY(-2px); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0B1230; color: #A9B4D4; padding: 56px 24px 28px; }
.footer-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.footer-safe {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,0.14); color: #4ADE80;
  padding: 10px 22px; border-radius: 30px; font-weight: 700; font-size: 13.5px; margin-bottom: 22px;
}
.footer-safe svg { width: 17px; height: 17px; }
.footer-warn { font-size: 13px; color: #8493BC; max-width: 760px; margin: 0 auto 20px; line-height: 1.8; }
.footer-copy { font-size: 12.5px; color: #66739E; border-top: 1px solid #1B2650; padding-top: 20px; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-detail-grid { grid-template-columns: repeat(1, 1fr); }
  .steps-grid { grid-template-columns: repeat(1, 1fr); }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 76px 0 40px; }
  .hero h1 { font-size: 30px; }
  .feature-grid, .platform-grid, .review-grid, .stat-grid { grid-template-columns: 1fr; }
  .hero-shot-inner { height: auto; }
  .shot-side { display: none; }
}
