/* WPS Office 落地站 · 编辑杂志风 / 企业深蓝青绿 */
:root {
  --navy: #0B1F3A;
  --teal: #1FA8A0;
  --paper: #F7F5F0;
  --ink: #1A2332;
  --ink-soft: rgba(26, 35, 50, 0.72);
  --line: rgba(11, 31, 58, 0.12);
  --white: #ffffff;
  --font-display: "Fraunces", "Noto Serif SC", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— 顶部细导航 —— */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal);
  border-bottom-color: rgba(31, 168, 160, 0.45);
}

.nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* —— Hero 编辑风 —— */
.hero {
  background:
    linear-gradient(165deg, rgba(11, 31, 58, 0.04) 0%, transparent 45%),
    linear-gradient(90deg, var(--paper) 0%, #eef3f1 100%);
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(11, 31, 58, 0.03) 31px,
      rgba(11, 31, 58, 0.03) 32px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 320px;
}

.hero-deco {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-deco::before {
  content: "";
  width: 2px;
  height: 120px;
  background: linear-gradient(180deg, var(--teal), transparent);
  flex-shrink: 0;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-brand span {
  display: block;
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-top: 0.55em;
  font-family: var(--font-body);
}

.hero-copy h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.hero-copy p {
  font-size: 1.02rem;
  max-width: 34ch;
  margin-bottom: 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.45rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover:not(:disabled) {
  background: var(--teal);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--teal);
  color: var(--white);
}

.btn-accent:hover:not(:disabled) {
  background: #178f88;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--navy);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* —— 通用区块 —— */
.section {
  padding: 4.25rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  margin: 0;
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p,
.section-navy li {
  color: rgba(247, 245, 240, 0.78);
}

.section-paper {
  background: var(--paper);
}

.section-white {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* —— 三栏能力 —— */
.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.tri-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
}

.tri-item:last-child {
  border-right: none;
}

.tri-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  color: var(--teal);
}

.tri-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.tri-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* —— 横向引语条 —— */
.quote-bar {
  background: var(--navy);
  color: var(--white);
  padding: 2.75rem 0;
  border-top: 4px solid var(--teal);
}

.quote-bar blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 48rem;
  color: var(--paper);
}

.quote-bar cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--teal);
}

/* —— 效率场景交替 —— */
.scenes {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.scene:last-child {
  border-bottom: none;
}

.scene.reverse .scene-text {
  order: 2;
}

.scene.reverse .scene-visual {
  order: 1;
}

.scene-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(31, 168, 160, 0.25);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.scene h3 {
  font-size: 1.45rem;
}

.scene-visual {
  min-height: 200px;
  background:
    linear-gradient(135deg, rgba(31, 168, 160, 0.12), transparent 60%),
    var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.scene-visual svg {
  width: min(100%, 220px);
  height: auto;
  color: var(--navy);
}

/* —— FAQ 静态展开 —— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.faq-item h3::before {
  content: "Q";
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95em;
}

.faq-item p {
  margin: 0;
  padding-left: 1.65rem;
}

/* —— 底部 CTA —— */
.bottom-cta {
  text-align: center;
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(31, 168, 160, 0.18), transparent 55%),
    var(--navy);
}

.bottom-cta h2 {
  color: var(--paper);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.65rem;
}

.bottom-cta p {
  color: rgba(247, 245, 240, 0.75);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.bottom-cta .cta-row {
  justify-content: center;
}

/* —— 页脚 —— */
.site-footer {
  background: #071526;
  color: rgba(247, 245, 240, 0.7);
  padding: 2.5rem 0 2rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.site-footer h3 {
  color: var(--paper);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.site-footer p {
  color: rgba(247, 245, 240, 0.65);
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  color: rgba(247, 245, 240, 0.75);
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-safety {
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}

.footer-copy {
  border-top: 1px solid rgba(247, 245, 240, 0.1);
  padding-top: 1.25rem;
  margin: 0;
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.5);
  line-height: 1.6;
}

/* —— 下载页平台卡片 —— */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-card header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.platform-card header svg {
  width: 36px;
  height: 36px;
  color: var(--teal);
  flex-shrink: 0;
}

.platform-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.platform-card .plat-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.platform-card p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
}

.steps strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

/* —— 中文版长文 —— */
.article {
  max-width: 720px;
}

.article h2 {
  font-size: 1.55rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.inline-cta {
  margin: 2.5rem 0;
  padding: 1.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inline-cta p {
  margin: 0;
  color: rgba(247, 245, 240, 0.85);
  max-width: 28rem;
}

.inline-cta strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.35rem;
}

.page-hero-sm {
  padding: 3.25rem 0 2.5rem;
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.06), transparent),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero-sm .hero-deco {
  margin-bottom: 1.25rem;
}

.page-hero-sm h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  max-width: 18ch;
}

.page-hero-sm .lead {
  max-width: 48ch;
  font-size: 1.05rem;
  margin-top: 0.85rem;
}

/* —— spin（下载按钮 loading） —— */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* —— 响应式 —— */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }

  .hero-brand {
    grid-column: 2;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .tri-grid {
    grid-template-columns: 1fr;
  }

  .tri-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .tri-item:last-child {
    border-bottom: none;
  }

  .scene,
  .scene.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .scene.reverse .scene-text,
  .scene.reverse .scene-visual {
    order: unset;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 3rem 0 2.75rem;
  }

  .hero-deco {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    grid-column: 1;
  }

  .section {
    padding: 3rem 0;
  }
}
