/* ============================================
   站点一：蓝调科技风格 —— WPS Office 官网
   设计基调：白底 + 品牌蓝，居中式 Hero，卡片化模块
   ============================================ */

:root {
  --primary: #2f6fed;
  --primary-dark: #1d4fc7;
  --primary-light: #eaf1ff;
  --accent-cyan: #16b8c4;
  --accent-green: #17b26a;
  --accent-orange: #f79a3e;
  --accent-gold: #f2b705;
  --text-main: #16213a;
  --text-secondary: #55617a;
  --text-muted: #93a0b8;
  --bg-white: #ffffff;
  --bg-light: #f4f7fd;
  --bg-soft: #eef2fa;
  --border-color: #e1e7f5;
  --shadow-card: 0 4px 20px rgba(24, 44, 94, 0.06);
  --shadow-card-hover: 0 16px 36px rgba(24, 44, 94, 0.14);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* { 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(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }
.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn:disabled { cursor: not-allowed; opacity: 0.75; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 111, 237, 0.28);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost {
  background: var(--bg-soft);
  color: var(--text-main);
}
.btn-ghost:hover { background: var(--border-color); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- 顶部导航（固定白底） ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--text-main); }
.logo svg { width: 36px; height: 36px; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-item a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.nav-item a:hover { color: var(--primary); background: var(--primary-light); }
.nav-item.active a { color: var(--primary); background: var(--primary-light); }
.nav-download-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
}

/* ---------- Hero：居中式 ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(47, 111, 237, 0.10), transparent 45%),
    radial-gradient(circle at 88% 30%, rgba(22, 184, 196, 0.10), transparent 45%),
    var(--bg-light);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}
.hero h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-desc {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 38px;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-download-btn { padding: 18px 52px; font-size: 18px; border-radius: 14px; }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--text-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 15px; height: 15px; }

.hero-panel {
  max-width: 980px;
  margin: 56px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: #fff;
  box-shadow: 0 30px 60px rgba(24, 44, 94, 0.12);
  padding: 10px;
}
.hero-panel-inner {
  background: var(--bg-light);
  border-radius: 12px;
  height: 400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-panel-bar { height: 40px; background: #fff; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 7px; padding: 0 18px; }
.hero-panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-panel-body { flex: 1; display: flex; }
.hero-panel-side { width: 190px; background: #fff; border-right: 1px solid var(--border-color); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.hero-panel-side div { height: 22px; border-radius: 5px; background: var(--bg-soft); }
.hero-panel-main { flex: 1; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.hero-panel-main div { height: 12px; border-radius: 4px; background: var(--bg-soft); }

/* ---------- 特性卡片 6 宫格 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon 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(--text-secondary); }

/* ---------- 平台下载 ---------- */
.platform-section { background: var(--bg-light); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.platform-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.platform-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.platform-card svg { width: 46px; height: 46px; margin: 0 auto 16px; }
.platform-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.platform-card p { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 20px; min-height: 40px; }
.platform-card .btn { width: 100%; padding: 11px; border-radius: var(--radius-sm); font-size: 14px; }

/* ---------- 功能详解（左右交错） ---------- */
.detail-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 76px;
}
.detail-row:last-child { margin-bottom: 0; }
.detail-row.reverse { flex-direction: row-reverse; }
.detail-text { flex: 1; }
.detail-tag { display: inline-block; color: var(--primary); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.detail-text h3 { font-size: 27px; font-weight: 800; margin-bottom: 16px; }
.detail-text p { font-size: 15.5px; color: var(--text-secondary); margin-bottom: 18px; }
.detail-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14.5px; }
.detail-list svg { width: 19px; height: 19px; color: var(--accent-green); flex-shrink: 0; margin-top: 2px; }
.detail-visual {
  flex: 1;
  height: 300px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 数据统计 ---------- */
.stats-section {
  background: linear-gradient(120deg, #16213a, #1d3468);
  color: #fff;
}
.stats-section .section-title, .stats-section .section-subtitle { color: #fff; }
.stats-section .section-subtitle { color: #b7c3e0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-num { font-size: 44px; font-weight: 900; color: #7fa8ff; margin-bottom: 8px; }
.stat-label { font-size: 14.5px; color: #b7c3e0; }

/* ---------- 对比表格 ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-card); }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border-color); }
.compare-table th { background: var(--bg-soft); font-weight: 800; }
.compare-table tr:last-child td { border-bottom: none; }
.tag-yes { color: var(--accent-green); font-weight: 700; }
.tag-no { color: var(--text-muted); }

/* ---------- 用户评价 ---------- */
.reviews-section { background: var(--bg-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.review-card { background: #fff; border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--border-color); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.review-name { font-size: 14.5px; font-weight: 800; }
.review-role { font-size: 12.5px; color: var(--text-muted); }
.review-stars { display: flex; gap: 2px; color: var(--accent-gold); margin-bottom: 10px; }
.review-stars svg { width: 14px; height: 14px; fill: currentColor; }
.review-content { font-size: 14px; color: var(--text-secondary); }

/* ---------- FAQ 手风琴（details/summary，纯 CSS） ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); 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;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; font-size: 14.5px; color: var(--text-secondary); }

/* ---------- 下载页专属 ---------- */
.download-hero {
  padding: 76px 0 60px;
  background: linear-gradient(160deg, var(--primary-light), var(--bg-white));
  text-align: center;
}
.download-hero h1 { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.download-hero p { font-size: 16.5px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 30px; }
.download-main-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.download-main-card .plat-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.download-main-card .plat-title svg { width: 34px; height: 34px; }
.download-main-card .plat-title span { font-size: 20px; font-weight: 800; }
.download-meta-row { display: flex; gap: 24px; margin: 18px 0 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-secondary); }
.download-meta-row b { color: var(--text-main); }
.download-main-card .btn { width: 100%; padding: 16px; font-size: 17px; border-radius: var(--radius-sm); }

.platform-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.platform-detail-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 28px; }
.platform-detail-card .plat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.platform-detail-card .plat-head svg { width: 34px; height: 34px; }
.platform-detail-card .plat-head h3 { font-size: 18px; font-weight: 800; }
.platform-detail-card ul { font-size: 13.5px; color: var(--text-secondary); margin: 14px 0; }
.platform-detail-card ul li { padding: 4px 0; border-bottom: 1px dashed var(--border-color); }

/* 步骤时间线 */
.steps-timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 40px; }
.steps-timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--border-color); }
.step-item { position: relative; padding-bottom: 34px; }
.step-item:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: -40px; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.step-item h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.step-item p { font-size: 14px; color: var(--text-secondary); }

/* 系统要求表 */
.reqs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.reqs-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; }
.reqs-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.reqs-card h4 svg { width: 20px; height: 20px; color: var(--primary); }
.reqs-card table { width: 100%; font-size: 13.5px; }
.reqs-card table td { padding: 6px 0; color: var(--text-secondary); border-bottom: 1px dashed var(--border-color); }
.reqs-card table td:first-child { color: var(--text-main); font-weight: 600; width: 40%; }

/* 更新日志 */
.changelog-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.changelog-item { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px 26px; }
.changelog-item .ver-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.changelog-item .ver-badge { background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.changelog-item .ver-date { font-size: 13px; color: var(--text-muted); }
.changelog-item ul { font-size: 14px; color: var(--text-secondary); padding-left: 18px; list-style: disc; }
.changelog-item ul li { margin-bottom: 4px; }

/* 安全保障 */
.safety-banner { display: flex; align-items: center; gap: 18px; background: #f0faf4; border: 1px solid #d3f0dd; border-radius: var(--radius-md); padding: 24px 28px; max-width: 900px; margin: 0 auto; }
.safety-banner svg { width: 40px; height: 40px; color: var(--accent-green); flex-shrink: 0; }
.safety-banner p { font-size: 14.5px; color: #2b6b45; }

/* ---------- 中文长尾页 ---------- */
.zh-hero { padding: 80px 0 56px; text-align: center; background: var(--bg-light); }
.zh-hero h1 { font-size: 38px; font-weight: 900; margin-bottom: 18px; }
.zh-hero p { font-size: 16px; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }
.zh-article { max-width: 820px; margin: 0 auto; }
.zh-article h2 { font-size: 26px; font-weight: 800; margin: 48px 0 16px; }
.zh-article h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.zh-article p { font-size: 15.5px; color: var(--text-secondary); margin-bottom: 14px; }
.zh-article ul { padding-left: 20px; list-style: disc; color: var(--text-secondary); font-size: 15px; margin-bottom: 14px; }
.zh-article ul li { margin-bottom: 6px; }
.zh-cta-box {
  margin: 56px auto 0;
  max-width: 820px;
  background: linear-gradient(120deg, var(--primary), #4d8bff);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  color: #fff;
}
.zh-cta-box h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.zh-cta-box p { color: #dce7ff; margin-bottom: 24px; }
.zh-cta-box a.btn { background: #fff; color: var(--primary); padding: 15px 40px; border-radius: var(--radius-sm); font-size: 16px; display: inline-flex; }
.zh-cta-box a.btn:hover { background: #eef2fa; }

/* ---------- 页脚 ---------- */
.footer { background: #101a30; color: #a9b6d3; padding: 48px 0 30px; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; text-align: center; }
.footer-safety { display: inline-flex; align-items: center; gap: 8px; color: #7fe0a3; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-safety svg { width: 18px; height: 18px; }
.footer-warning { font-size: 13px; line-height: 1.8; max-width: 760px; margin: 0 auto 8px; }
.footer-copyright { font-size: 12.5px; color: #6b7896; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero h1 { font-size: 38px; }
  .detail-row, .detail-row.reverse { flex-direction: column; }
  .detail-visual { width: 100%; }
  .nav-menu .nav-item:not(.always-show) { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 16px; }
  .section-title { font-size: 26px; }
  .hero-panel-side { display: none; }
}
