/* WPS Office 落地站 · Set 1 新一代智能办公助手 · 冷青蓝科技风 */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  --accent: #0B6E99;
  --accent-light: #1496CC;
  --accent-dark: #085A7D;
  --bg: #F0F7FA;
  --bg-panel: #E4F0F6;
  --bg-white: #FFFFFF;
  --text: #0A2540;
  --text-soft: rgba(10, 37, 64, 0.72);
  --text-muted: rgba(10, 37, 64, 0.55);
  --line: rgba(11, 110, 153, 0.15);
  --shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
  --font-display: "DM Sans", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1140px;
  --nav-h: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 0.65em;
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
  color: var(--text-soft);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— 顶部粘性导航 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-links a {
  display: block;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(11, 110, 153, 0.06);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(11, 110, 153, 0.1);
  font-weight: 600;
}

/* —— 全幅 Hero —— */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #D6ECF5 0%, #F0F7FA 40%, #C8E4F0 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 4rem 0 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  max-width: 16ch;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 42em;
  margin-bottom: 2rem;
  color: var(--text-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 110, 153, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(11, 110, 153, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(11, 110, 153, 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

/* —— 区块 —— */
.section {
  padding: 4.5rem 0;
}

.section-panel {
  background: var(--bg-panel);
}

.section-white {
  background: var(--bg-white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  font-size: 1.02rem;
}

/* —— 网格布局 —— */
.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card,
.tri-item,
.stat-card,
.review-card,
.download-card,
.compare-col,
.faq-item,
.step-item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.section-panel .feature-card,
.section-panel .tri-item,
.section-panel .stat-card,
.section-panel .review-card {
  background: var(--bg-white);
}

.card-icon,
.tri-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3,
.tri-item h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

/* —— 功能深讲 —— */
.deep-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.deep-feature:last-child {
  margin-bottom: 0;
}

.deep-feature.reverse {
  direction: rtl;
}

.deep-feature.reverse > * {
  direction: ltr;
}

.deep-visual {
  background: linear-gradient(145deg, rgba(11, 110, 153, 0.08), rgba(11, 110, 153, 0.02));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.deep-visual svg {
  width: 100%;
  max-width: 280px;
  color: var(--accent);
  opacity: 0.85;
}

/* —— 下载平台 —— */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.download-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.download-card .platform-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.download-card h3 {
  font-size: 1.05rem;
  margin: 0;
}

.download-card p {
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}

.download-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* —— 数据背书 —— */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0;
}

/* —— 对比选型 —— */
.compare-table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.compare-head,
.compare-cell {
  background: var(--bg-white);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
}

.compare-head {
  font-weight: 700;
  color: var(--text);
  background: var(--bg-panel);
}

.compare-cell.highlight {
  background: rgba(11, 110, 153, 0.06);
  font-weight: 500;
}

.compare-cell.check {
  color: var(--accent);
  font-weight: 600;
}

/* —— 用户评价 —— */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card .stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.review-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* —— FAQ —— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* —— 下载页专用 —— */
.download-hero {
  background: linear-gradient(160deg, #0B6E99 0%, #085A7D 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.download-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.download-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36em;
  margin-inline: auto;
}

.download-hero .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.download-hero .btn-primary:hover:not(:disabled) {
  background: var(--bg);
}

.main-download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.main-download-visual {
  background: linear-gradient(145deg, rgba(11, 110, 153, 0.1), rgba(11, 110, 153, 0.03));
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

.main-download-visual svg {
  width: 120px;
  height: 120px;
  color: var(--accent);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  font-weight: 600;
  color: var(--text);
  width: 30%;
  background: var(--bg-panel);
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item {
  position: relative;
  padding-left: 3.5rem;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.75rem;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.step-item h3 {
  font-size: 1.05rem;
}

/* —— 中文专区文章 —— */
.article-wrap {
  max-width: 780px;
  margin-inline: auto;
}

.article-wrap h2 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
}

.article-wrap h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  color: var(--accent-dark);
}

.article-cta {
  background: linear-gradient(135deg, rgba(11, 110, 153, 0.08), rgba(11, 110, 153, 0.03));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.article-cta p {
  margin-bottom: 1.25rem;
}

/* —— 页脚 —— */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.65rem;
}

.site-footer .footer-safe {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--accent-light);
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--accent-light);
}

/* —— 动画 —— */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* —— 响应式 —— */
@media (max-width: 960px) {
  .tri-grid,
  .review-grid,
  .platform-grid,
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .deep-feature,
  .main-download,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .deep-feature.reverse {
    direction: ltr;
  }

  .compare-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links a {
    padding: 0.4rem 0.65rem;
    font-size: 0.88rem;
  }

  .tri-grid,
  .review-grid,
  .platform-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 3rem 0 4rem;
  }

  .section {
    padding: 3rem 0;
  }
}
