/* WPS Office 企业风落地页 — 深蓝海军 + WPS红 + 白底卡片 */

:root {
  --navy: #0B1F4A;
  --navy-deep: #071533;
  --navy-soft: #132A5C;
  --wps-red: #C8102E;
  --wps-red-hover: #A50D26;
  --paper: #FFFFFF;
  --canvas: #F3F5F9;
  --line: #D8DEE8;
  --ink: #1B2433;
  --muted: #5B6576;
  --chip: #E8EEF7;
  --shadow: 0 10px 28px rgba(11, 31, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.75;
  font-size: 16px;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--navy);
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(7, 21, 51, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  min-height: 72px;
  padding: 10px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}

.nav-menu a {
  color: #D7DEEA;
  text-decoration: none;
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a.active {
  color: #fff;
  border-bottom-color: var(--wps-red);
  font-weight: 700;
}

.hero-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 62%, #1A3A7A 100%);
  color: #fff;
  padding: 56px 0 64px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
}

.hero-copy h1,
.page-intro h1 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.28;
  font-weight: 750;
}

.hero-copy p,
.page-intro p {
  margin: 0 0 14px;
  color: #E4E9F2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.hero-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

.hero-panel h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--navy);
}

.hero-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.panel-meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
}

.panel-meta span {
  color: var(--muted);
}

.trust-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 22px 0;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--wps-red);
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.trust-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--paper);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.article-block h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.3;
}

.section-head p,
.article-block > p {
  margin: 0 0 12px;
  color: var(--muted);
}

.capability-grid,
.review-grid,
.guide-grid,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.platform-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card,
.review-card,
.guide-card,
.spec-card,
.metric-card,
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 20px;
  box-shadow: 0 4px 14px rgba(11, 31, 74, 0.04);
}

.section-alt .card,
.section-alt .review-card,
.section-alt .faq-item {
  background: var(--canvas);
}

.card h3,
.review-card h3,
.guide-card h3,
.spec-card h3,
.deep-block h3,
.faq-item h3,
.article-block h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
}

.card p,
.review-card p,
.guide-card p,
.spec-card p,
.deep-block p,
.faq-item p,
.metric-card p {
  margin: 0 0 10px;
  color: var(--ink);
}

.card-icon {
  width: 36px;
  height: 36px;
  color: var(--wps-red);
  margin-bottom: 10px;
}

.platform-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 18px;
  text-align: left;
}

.platform-card h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.platform-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.metric-card strong {
  display: block;
  font-size: 32px;
  color: var(--wps-red);
  line-height: 1.2;
  margin-bottom: 6px;
}

.metric-card span {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.deep-block {
  background: var(--paper);
  border-left: 4px solid var(--wps-red);
  padding: 8px 8px 8px 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 650;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:nth-child(even) {
  background: #F7F9FC;
}

.review-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.page-intro {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 44px;
}

.page-intro p {
  max-width: 820px;
}

.download-lead {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.download-lead h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.article-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.article-block {
  margin-bottom: 36px;
}

.article-block:last-child {
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 8px;
}

.btn-primary,
.btn-secondary,
.btn-platform,
.btn-ghost {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--wps-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--wps-red-hover);
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
}

.btn-secondary:hover {
  background: #16305F;
}

.btn-platform {
  background: var(--chip);
  color: var(--navy);
  width: 100%;
  justify-content: center;
}

.btn-platform:hover {
  background: #D5DFF0;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-linkish {
  color: #fff;
  font-weight: 700;
}

.download-lead .btn-linkish,
.article-shell .btn-linkish,
.hero-panel .btn-linkish {
  color: var(--navy);
}

.site-footer {
  background: var(--navy-deep);
  color: #C9D2E3;
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 20px;
}

.site-footer h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-nav a {
  color: #E8EDF6;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-verify,
.footer-legal {
  margin: 0;
  font-size: 13px;
}

.footer-legal {
  margin-top: 8px;
  color: #9AA6BB;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .hero-split,
  .footer-grid,
  .platform-grid,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1,
  .page-intro h1 {
    font-size: 30px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .hero-split,
  .capability-grid,
  .review-grid,
  .guide-grid,
  .spec-grid,
  .deep-grid,
  .platform-grid,
  .metric-grid,
  .trust-bar-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-band,
  .section,
  .page-intro {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .article-shell {
    padding: 24px 18px;
  }

  .nav-menu a {
    padding: 6px 10px;
  }
}
