/* WPS Office 青绿专业办公平台 — 第1套 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;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 {
  --teal: #0F766E;
  --teal-dark: #0D5F59;
  --teal-light: #14B8A6;
  --ink: #1E293B;
  --ink-soft: #475569;
  --bg: #F0FDFA;
  --bg-white: #FFFFFF;
  --line: #CCFBF1;
  --line-strong: #99F6E4;
  --radius: 4px;
  --max: 1100px;
  --font: "DM Sans", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— 顶栏下划线导航 —— */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--teal);
}

.brand__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  position: relative;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--teal);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--teal);
  font-weight: 600;
}

/* —— Hero 全宽斜切背景 —— */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 45%, #E0F2F1 100%);
  border-bottom: 1px solid var(--line);
}

.hero__geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
}

.hero__brand {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  max-width: 36ch;
}

.hero__lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn--primary:hover:not(:disabled) {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn--ghost:hover:not(:disabled) {
  background: rgba(15, 118, 110, 0.08);
}

.btn--block {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* —— 通用区块 —— */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--bg-white);
  border-block: 1px solid var(--line);
}

.section__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section__head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.section__head p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* —— 能力矩阵 —— */
.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg-white);
}

.matrix__item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix__item:nth-child(2n) {
  border-right: none;
}

.matrix__item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.matrix__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  color: var(--teal);
}

.matrix__item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.matrix__item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* —— 工作流程四步 —— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding-top: 0.25rem;
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.steps__item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.steps__item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* —— 兼容信任 —— */
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.trust-list__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 0.15rem;
}

.trust-list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.trust-list span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.compat-panel {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 1.75rem;
}

.compat-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.compat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.compat-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.compat-tags svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

/* —— 底部强 CTA —— */
.cta-band {
  background: linear-gradient(120deg, var(--teal) 0%, #0D9488 55%, #115E59 100%);
  color: #fff;
  padding: 3.25rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band__geo {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cta-band p {
  opacity: 0.92;
  max-width: 40ch;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--teal);
}

.cta-band .btn--primary:hover:not(:disabled) {
  background: #F0FDFA;
}

/* —— 下载页 —— */
.page-intro {
  padding: 2.75rem 0 1.5rem;
}

.page-intro h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.page-intro p {
  color: var(--ink-soft);
  max-width: 58ch;
  font-size: 1.05rem;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.dl-card {
  background: var(--bg-white);
  border: 1px solid var(--line-strong);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dl-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dl-card__icon {
  width: 42px;
  height: 42px;
  color: var(--teal);
}

.dl-card h2 {
  font-size: 1.15rem;
  font-weight: 600;
}

.dl-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  flex: 1;
}

.guide {
  background: var(--bg-white);
  border: 1px solid var(--line);
  padding: 2rem;
}

.guide h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.guide h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
  color: var(--teal-dark);
}

.guide p,
.guide li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.guide ol,
.guide ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0.75rem;
}

.guide li + li {
  margin-top: 0.35rem;
}

.note-box {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border-left: 3px solid var(--teal);
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* —— 中文教程长文 —— */
.article {
  max-width: 760px;
}

.article h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.article .lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.article h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
  color: var(--ink);
}

.article h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 1.35rem 0 0.45rem;
  color: var(--teal-dark);
}

.article p {
  margin-bottom: 0.95rem;
  color: var(--ink-soft);
}

.article ul,
.article ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
  color: var(--ink-soft);
}

.article li + li {
  margin-top: 0.35rem;
}

.article-cta {
  margin: 2.5rem 0 1rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #CCFBF1, #F0FDFA);
  border: 1px solid var(--line-strong);
  text-align: center;
}

.article-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.article-cta p {
  margin-bottom: 1.15rem;
}

.prose-block {
  margin-bottom: 1.5rem;
}

/* —— 扩充模块：深讲 / 评价 / 数据 / FAQ —— */
.feature-deep__title {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.12rem;
  color: var(--ink);
}

.feature-deep__title:first-child {
  margin-top: 0;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review {
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal, #0F766E);
}

.section--alt .review {
  background: #F0FDFA;
}

.review__body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.review__meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
}

.review__meta strong {
  color: var(--teal, #0F766E);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.stat {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
}

.section--alt .stat {
  background: #F0FDFA;
}

.stat__num {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal, #0F766E);
}

.stat__desc {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  padding: 1.2rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
}

.section--alt .faq__item {
  background: #F0FDFA;
}

.faq__item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .reviews {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* —— 页脚 —— */
.site-footer {
  background: var(--ink);
  color: #CBD5E1;
  padding: 2.5rem 0 1.75rem;
  margin-top: auto;
}

.site-footer a {
  color: #99F6E4;
}

.site-footer a:hover {
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #334155;
}

.footer-nav a {
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-nav a.is-active {
  color: #fff;
}

.footer-security {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: var(--radius);
}

.footer-security svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #5EEAD4;
  margin-top: 0.1rem;
}

.footer-security strong {
  display: block;
  color: #F0FDFA;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.footer-security p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94A3B8;
}

.footer-copy {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #94A3B8;
}

/* spin — download.js 加载动画依赖 */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* —— 响应式 —— */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav {
    gap: 1.1rem;
    flex-wrap: wrap;
  }

  .hero__inner {
    padding: 3rem 0 2.75rem;
  }

  .matrix {
    grid-template-columns: 1fr;
  }

  .matrix__item {
    border-right: none;
  }

  .matrix__item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .matrix__item:last-child {
    border-bottom: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .dl-grid {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
