/* 办公生态 · 深海赤焰 — SET A */
:root {
  --navy: #0B1F3A;
  --coral: #E85D4C;
  --ivory: #F7F4EF;
  --slate: #243041;
  --coral-dark: #c94a3b;
  --navy-mid: #142a48;
  --muted: #5a6574;
  --line: rgba(232, 93, 76, 0.35);
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--slate);
  background: var(--ivory);
  line-height: 1.75;
  font-size: 16px;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--coral);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 0.75em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 93, 76, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory);
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--coral);
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  color: rgba(247, 244, 239, 0.85);
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--ivory);
  border-bottom-color: rgba(232, 93, 76, 0.5);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--ivory);
  border-bottom-color: var(--coral);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3355 100%);
  color: var(--ivory);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  color: var(--ivory);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.08rem;
  color: rgba(247, 244, 239, 0.88);
  max-width: 36em;
  margin-bottom: 1.75rem;
}

.hero-art {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.theme-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--coral);
  border: 1px solid rgba(232, 93, 76, 0.45);
  padding: 0.25rem 0.7rem;
  margin-bottom: 1rem;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.75rem 1.45rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover:not(:disabled) {
  background: var(--coral-dark);
  box-shadow: 0 6px 18px rgba(232, 93, 76, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(247, 244, 239, 0.45);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-outline:hover:not(:disabled) {
  background: var(--navy);
  color: var(--ivory);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-navy {
  background: var(--navy);
  color: rgba(247, 244, 239, 0.92);
}

.section-navy h2,
.section-navy h3 {
  color: var(--ivory);
}

.section-ivory {
  background: var(--ivory);
}

.section-soft {
  background: #efeae2;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 46em;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  margin-bottom: 0.65rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.section-navy .section-head p {
  color: rgba(247, 244, 239, 0.72);
}

.prose p {
  margin-bottom: 1.1em;
}

.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.65em;
  font-size: 1.2rem;
}

/* Capability grid 2x3 */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.cap-item {
  padding: 1.35rem 1.2rem;
  border-top: 3px solid var(--coral);
  background: rgba(255, 255, 255, 0.04);
}

.section-ivory .cap-item,
.section-soft .cap-item {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06);
}

.cap-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  color: var(--coral);
}

.cap-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.cap-item p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.section-navy .cap-item p {
  color: rgba(247, 244, 239, 0.7);
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-num {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--coral);
  line-height: 1.1;
  display: block;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(247, 244, 239, 0.75);
}

/* Feature deep dive */
.feature-blocks {
  display: grid;
  gap: 2rem;
}

.feature-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.feature-num {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 2rem;
  color: var(--coral);
  line-height: 1;
}

/* Platforms 4-col */
.platform-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.platform-card {
  background: var(--white);
  padding: 1.5rem 1.2rem;
  text-align: center;
  border-top: 3px solid var(--navy);
}

.section-navy .platform-card {
  background: rgba(255, 255, 255, 0.06);
  border-top-color: var(--coral);
}

.platform-card h3 {
  font-size: 1.1rem;
  margin: 0.75rem 0 0.5rem;
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  min-height: 4.5em;
}

.section-navy .platform-card p {
  color: rgba(247, 244, 239, 0.7);
}

.platform-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  color: var(--coral);
}

/* Testimonials quotes */
.quote-list {
  display: grid;
  gap: 1.5rem;
}

.quote-block {
  border-left: 4px solid var(--coral);
  padding: 0.35rem 0 0.35rem 1.35rem;
}

.quote-block blockquote {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  color: var(--slate);
}

.section-navy .quote-block blockquote {
  color: rgba(247, 244, 239, 0.9);
}

.quote-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.section-navy .quote-meta {
  color: rgba(247, 244, 239, 0.55);
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(36, 48, 65, 0.12);
  vertical-align: top;
}

.compare-table th {
  background: var(--navy);
  color: var(--ivory);
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-weight: 600;
  width: 50%;
}

.compare-table td:first-child {
  background: rgba(11, 31, 58, 0.04);
  font-weight: 600;
  color: var(--navy);
}

/* FAQ details */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.1);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--coral);
  font-weight: 700;
  margin-right: 0.35rem;
}

.faq-list details[open] summary::before {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.15rem 2.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.faq-stack {
  display: grid;
  gap: 1.5rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--muted);
  margin: 0;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--navy), #183456);
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(247, 244, 239, 0.75);
  max-width: 36em;
  margin: 0 auto 1.5rem;
}

/* Download page helpers */
.download-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-weight: 700;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.req-card {
  background: var(--white);
  padding: 1.35rem 1.25rem;
  border-left: 3px solid var(--coral);
}

.req-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.req-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.req-card li {
  margin-bottom: 0.35rem;
}

.changelog {
  display: grid;
  gap: 1rem;
}

.change-item {
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border-bottom: 2px solid var(--coral);
}

.change-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.change-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Article (zh-cn) */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

.article .meta-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.12);
}

.article h2 {
  font-size: 1.35rem;
  margin-top: 2.2rem;
}

.article h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.inline-cta {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
}

.inline-cta p {
  color: rgba(247, 244, 239, 0.8);
  margin-bottom: 1rem;
}

.inline-cta h3 {
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: #071526;
  color: rgba(247, 244, 239, 0.7);
  padding: 2.5rem 0 2rem;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
  max-width: 52em;
}

.site-footer .safe-note {
  color: rgba(232, 93, 76, 0.95);
}

.footer-links {
  margin-top: 1.25rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(247, 244, 239, 0.65);
}

.footer-links a:hover {
  color: var(--coral);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    margin: 0 auto;
    max-width: 360px;
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
  }

  .cap-grid,
  .platform-row,
  .req-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}
