/* WPS Office — Site 1 / Root — Cool Corporate Blue */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0B5FFF;
  --primary-dark: #0947CC;
  --text: #0A2540;
  --text-muted: #425466;
  --bg: #FFFFFF;
  --bg-soft: #F0F6FF;
  --bg-band: #E8F0FE;
  --border: #D4E3F7;
  --hero-start: #E3EEFF;
  --hero-end: #C5DBFF;
  --nav-h: 64px;
  --max-w: 1120px;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--primary); background: var(--bg-soft); }
.nav-links a.active { color: var(--primary); font-weight: 600; background: var(--bg-soft); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--hero-start) 0%, var(--hero-end) 55%, #B8D0FF 100%);
  padding: 80px 24px 96px;
  text-align: center;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(11, 95, 255, 0.12);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover:not(:disabled) { background: rgba(11, 95, 255, 0.08); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Sections ── */
.section {
  padding: 72px 24px;
}

.section-alt { background: var(--bg-soft); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Numbered Feature Bands ── */
.feature-bands { display: flex; flex-direction: column; gap: 0; }

.feature-band {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  padding: 40px 32px;
  border-bottom: 1px solid var(--border);
}

.feature-band:nth-child(even) { background: var(--bg-band); }

.band-num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-band h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-band p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.feature-band p:last-child { margin-bottom: 0; }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--text);
  color: #fff;
  padding: 48px 24px;
}

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #7EB8FF;
  margin-bottom: 6px;
}

.stat-item span { font-size: 0.9rem; opacity: 0.85; }

/* ── Platform Grid ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}

.platform-card svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 14px;
}

.platform-card h3 { font-size: 1rem; margin-bottom: 8px; }

.platform-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.platform-card .btn { width: 100%; justify-content: center; font-size: 0.9rem; padding: 10px 16px; }

/* ── Two Column ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.content-block h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.content-block ul {
  list-style: none;
  padding: 0;
}

.content-block li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-muted);
}

.content-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.review-card blockquote {
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.review-author { font-weight: 600; font-size: 0.95rem; }
.review-role { font-size: 0.85rem; color: var(--text-muted); }

/* ── Comparison Table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--bg-band);
  font-weight: 600;
}

.compare-table tr:hover td { background: var(--bg-soft); }

/* ── FAQ Accordion (static) ── */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item[open] summary { border-bottom: 1px solid var(--border); }

.faq-answer {
  padding: 18px 24px;
  color: var(--text-muted);
  background: var(--bg-soft);
}

/* ── Download Page ── */
.download-hero {
  background: linear-gradient(160deg, var(--hero-start) 0%, var(--hero-end) 100%);
  padding: 64px 24px;
  text-align: center;
}

.download-main {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(11, 95, 255, 0.1);
}

.download-main h1 { font-size: 1.6rem; margin-bottom: 12px; }

.download-main p { color: var(--text-muted); margin-bottom: 24px; }

.download-main .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.1rem;
}

.download-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Steps */
.steps-list {
  counter-reset: step;
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.steps-list li {
  counter-increment: step;
  padding: 20px 20px 20px 64px;
  position: relative;
  border-left: 2px solid var(--border);
  margin-left: 20px;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: -21px;
  top: 18px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.steps-list li:last-child { border-left-color: transparent; }

.steps-list h3 { font-size: 1rem; margin-bottom: 6px; }
.steps-list p { color: var(--text-muted); font-size: 0.95rem; }

/* Changelog */
.changelog-list { list-style: none; }

.changelog-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.changelog-list li:last-child { border-bottom: none; }

.changelog-ver {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.changelog-list p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Article (zh-cn) ── */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.article-wrap h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-wrap h2 {
  font-size: 1.35rem;
  margin: 40px 0 16px;
  color: var(--text);
}

.article-wrap h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
}

.article-wrap p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-wrap ul, .article-wrap ol {
  margin: 0 0 16px 24px;
  color: var(--text-muted);
}

.article-wrap li { margin-bottom: 8px; }

.article-cta {
  background: linear-gradient(135deg, var(--hero-start), var(--hero-end));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  margin: 48px 0;
}

.article-cta h2 { margin-top: 0; font-size: 1.3rem; }
.article-cta p { margin-bottom: 20px; }

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 24px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.8;
}

.site-footer p { margin-bottom: 8px; }
.site-footer p:last-child { margin-bottom: 0; opacity: 0.65; font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links a { padding: 8px 10px; font-size: 0.85rem; }
  .feature-band { grid-template-columns: 1fr; gap: 12px; padding: 28px 20px; }
  .band-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 56px 20px 72px; }
  .section { padding: 48px 20px; }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}
