/* WPS Office 落地站 · 第1套 · 深蓝商务官网风 */
:root {
  --c-primary: #0B3D91;
  --c-accent: #1E6FEA;
  --c-primary-deep: #072A66;
  --c-primary-soft: #E8F1FC;
  --c-ink: #14233A;
  --c-muted: #4A5B73;
  --c-line: rgba(11, 61, 145, 0.14);
  --c-white: #ffffff;
  --c-surface: rgba(255, 255, 255, 0.92);
  --c-ok: #0F7B4C;
  --shadow-nav: 0 8px 28px rgba(7, 42, 102, 0.12);
  --shadow-card: 0 12px 36px rgba(7, 42, 102, 0.1);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Georgia", "Palatino Linotype", "Songti SC", "STSong", "Noto Serif SC", serif;
  --font-body: "Segoe UI Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background:
    linear-gradient(180deg, rgba(232, 241, 252, 0.92) 0%, rgba(248, 251, 255, 0.96) 42%, #f7faff 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(11, 61, 145, 0.035) 47px,
      rgba(11, 61, 145, 0.035) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(30, 111, 234, 0.03) 47px,
      rgba(30, 111, 234, 0.03) 48px
    ),
    linear-gradient(145deg, #071f4d 0%, #0b3d91 38%, #124ea8 68%, #1e6fea 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* 顶栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7, 31, 77, 0.96), rgba(11, 61, 145, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-nav);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.95;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--c-accent), #4d93f5);
  box-shadow: 0 6px 16px rgba(30, 111, 234, 0.35);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.brand-text {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.nav-links a.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--c-white);
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(30, 111, 234, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(11, 61, 145, 0.55), transparent 55%),
    linear-gradient(135deg, #061835 0%, #0b3d91 45%, #1557b8 78%, #1e6fea 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 90%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 72px 0 84px;
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 640px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--c-accent), #4b8ef0);
  box-shadow: 0 10px 24px rgba(30, 111, 234, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(30, 111, 234, 0.42);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-outline {
  color: var(--c-primary);
  background: #fff;
  border: 1px solid rgba(11, 61, 145, 0.18);
  box-shadow: 0 6px 18px rgba(11, 61, 145, 0.08);
}

.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn-soft {
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border: 1px solid transparent;
}

.btn-soft:hover {
  background: #d9e8fb;
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(232, 241, 252, 0.55));
  border-block: 1px solid var(--c-line);
}

.section-head {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--c-primary-deep);
}

.section-head p {
  margin: 0;
  color: var(--c-muted);
  font-size: 1.02rem;
}

.section-body p {
  margin: 0 0 16px;
  color: var(--c-ink);
}

.section-body p:last-child {
  margin-bottom: 0;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--c-primary-deep);
  line-height: 1.35;
}

.prose h2 {
  margin: 36px 0 14px;
  font-size: 1.55rem;
}

.prose h3 {
  margin: 26px 0 10px;
  font-size: 1.2rem;
}

.prose p {
  margin: 0 0 16px;
  color: var(--c-ink);
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 1.3em;
  color: var(--c-ink);
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--c-accent);
}

/* Feature / grid */
.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature-item,
.platform-item,
.stat-item,
.compare-col,
.review-item,
.step-item,
.req-item,
.update-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}

.feature-icon,
.platform-icon,
.step-num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--c-primary), var(--c-accent));
  color: #fff;
}

.feature-icon svg,
.platform-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.feature-item h3,
.platform-item h3,
.stat-item h3,
.compare-col h3,
.review-item h3,
.step-item h3,
.req-item h3,
.update-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--c-primary-deep);
}

.feature-item p,
.platform-item p,
.stat-item p,
.compare-col p,
.review-item p,
.step-item p,
.req-item p,
.update-item p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.98rem;
}

.platform-item .btn {
  margin-top: 16px;
}

.stat-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--c-accent);
  line-height: 1.1;
}

.compare-table-wrap {
  overflow-x: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: linear-gradient(180deg, #0b3d91, #124ea8);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--c-primary-deep);
  width: 22%;
}

.review-meta {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--c-primary);
  font-weight: 600;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.download-hero-panel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.download-main,
.download-side {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(6px);
}

.download-main h2,
.download-side h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
}

.download-main p,
.download-side p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
}

.download-side ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band {
  padding: 40px 0;
  background: linear-gradient(120deg, var(--c-primary-deep), var(--c-primary) 45%, var(--c-accent));
  color: #fff;
}

.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.cta-band p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
}

.article-shell {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-line);
  border-radius: calc(var(--radius) + 4px);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
}

.inline-cta {
  margin: 28px 0;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.08), rgba(30, 111, 234, 0.12));
  border: 1px solid rgba(30, 111, 234, 0.22);
}

.inline-cta p {
  margin: 0 0 14px;
  color: var(--c-ink);
}

.inline-cta .btn {
  margin-right: 10px;
  margin-bottom: 8px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(7, 42, 102, 0.06);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--c-primary-deep);
}

.faq-item p {
  margin: 0;
  color: var(--c-muted);
}

.safe-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px 18px;
  border-radius: var(--radius);
  background: rgba(15, 123, 76, 0.08);
  border: 1px solid rgba(15, 123, 76, 0.22);
}

.safe-note svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: var(--c-ok);
}

.safe-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--c-ok);
}

.safe-note p {
  margin: 0;
  color: #245846;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #061835, #0a2f70);
  color: rgba(255, 255, 255, 0.86);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}

.site-footer p,
.site-footer li {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
  color: #fff;
}

.footer-safe {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-safe svg {
  width: 24px;
  height: 24px;
  fill: #8fd4b0;
  flex-shrink: 0;
}

.footer-safe strong {
  display: block;
  margin-bottom: 4px;
  color: #b7efd0;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4,
  .footer-grid,
  .download-hero-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-inner {
    padding: 52px 0 60px;
  }

  .section {
    padding: 48px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .download-hero-panel,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding: 24px 18px;
  }
}
