/* DeepL翻译 落地页 — 页面样式（移动优先） */

/* ---------- 通用容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-section);
}

.section-alt {
  background: var(--c-surface);
}

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-ink);
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-ink);
}

.lede,
.section-intro p,
.story-body p,
.page-hero p {
  color: var(--c-muted);
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: none;
  color: var(--c-primary-strong);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.main-nav {
  display: none;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  text-decoration: none;
  background: var(--c-primary-soft);
  color: var(--c-primary-strong);
}

.nav-download {
  display: none;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--c-primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-download:hover {
  background: var(--c-primary-strong);
  text-decoration: none;
}

.nav-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.nav-menu span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-ink);
  box-shadow: 0 -6px 0 var(--c-ink), 0 6px 0 var(--c-ink);
}

.header.is-open .main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 18px;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  margin-left: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(40px, 7vw, 88px) var(--space-section);
}

.hero-side {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-primary-soft);
  color: var(--c-primary-strong);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero-lede {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 1.0625rem;
  color: var(--c-muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.action:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.action-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 82, 200, 0.22);
}

.action-primary:hover {
  background: var(--c-primary-strong);
}

.action-ghost {
  background: #fff;
  color: var(--c-ink);
  border-color: var(--c-border);
}

.action-ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-primary-strong);
}

.action .platform {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.action-ghost .platform {
  background: var(--c-primary-soft);
  color: var(--c-primary-strong);
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #eef4ff, #dbe8ff);
  border: 1px solid var(--c-border);
}

/* ---------- 功能区 ---------- */
.section-intro {
  max-width: 680px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-intro p {
  margin-top: 12px;
}

.feature-guide {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.feature-guide article {
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.guide-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.guide-line svg {
  flex: none;
  width: 24px;
  height: 24px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-guide p {
  font-size: 0.9375rem;
  color: var(--c-muted);
}

/* ---------- Story ---------- */
.story .shell {
  max-width: 800px;
}

.story-head h2 {
  margin-top: 4px;
}

.story-body {
  margin-top: 20px;
}

.story-body p + p {
  margin-top: 14px;
}

/* ---------- 数据摘要 ---------- */
.proof {
  border-block: 1px solid var(--c-border);
  background: #fff;
  padding-block: clamp(28px, 4vw, 40px);
}

.proof-list {
  display: grid;
  gap: 20px 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-list strong {
  font-size: 1.0625rem;
  color: var(--c-ink);
}

.proof-list span {
  font-size: 0.875rem;
  color: var(--c-muted);
}

/* ---------- 下载 CTA ---------- */
.cta {
  padding-block: var(--space-section);
}

.cta-inner {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #0b1e33, #133a72 60%, #1a4da1);
  color: #fff;
  text-align: center;
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  margin-top: 12px;
  color: #c9d8ee;
  font-size: 0.9375rem;
}

.cta-inner .download-actions {
  justify-content: center;
}

.cta-inner .action-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta-inner .action-ghost .platform {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ---------- 子页 Hero ---------- */
.page-hero {
  padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.page-hero p {
  margin-top: 14px;
  max-width: 62ch;
}

/* ---------- 内容块 ---------- */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.card {
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--c-muted);
}

.card ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--c-muted);
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.spec-table {
  margin-top: 24px;
  font-size: 0.9375rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.spec-table th {
  width: 34%;
  background: var(--c-surface);
  font-weight: 600;
  color: var(--c-ink);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 18px 22px 18px 62px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.9375rem;
  color: var(--c-muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary-strong);
  font-weight: 700;
  font-size: 0.8125rem;
}

.steps strong {
  color: var(--c-ink);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq details {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--c-primary);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--c-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-footer);
  color: var(--c-footer-text);
  padding-block: clamp(36px, 5vw, 56px);
}

.footer-inner {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-brand {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-inner p {
  max-width: 48ch;
  font-size: 0.9375rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer nav a {
  font-size: 0.9375rem;
  color: var(--c-footer-text);
}

.footer nav a:hover {
  color: #fff;
}

.footer small {
  font-size: 0.8125rem;
  color: #93a5bb;
}

/* ---------- 断点：平板 ---------- */
@media (min-width: 768px) {
  .feature-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .proof-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-side {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 4vw, 56px);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-inner small {
    grid-column: 1 / -1;
  }
}

/* ---------- 断点：桌面 ---------- */
@media (min-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .main-nav,
  .nav-download {
    display: flex;
  }

  .main-nav {
    margin-left: auto;
  }

  .feature-guide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-inner {
    text-align: left;
    padding-inline: clamp(40px, 5vw, 64px);
  }

  .cta-inner h2,
  .cta-inner p {
    max-width: 56ch;
  }
}

/* ---------- 断点：超小屏 ---------- */
@media (max-width: 375px) {
  .download-actions {
    flex-direction: column;
  }

  .action {
    width: 100%;
    justify-content: center;
  }

  .brand span {
    font-size: 0.9375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .action {
    transition: none;
  }
}

/* ---------- 资讯列表 ---------- */
.post-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.post-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.post-card h3 {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.post-card p {
  font-size: 0.9375rem;
  color: var(--c-muted);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.post-more {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-primary);
}

/* ---------- 文章页 ---------- */
.article {
  padding-block: clamp(32px, 5vw, 56px) var(--space-section);
}

.article-inner {
  max-width: 800px;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.article-header h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.5rem);
  line-height: 1.3;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--c-muted);
}

.prose {
  margin-top: 28px;
  font-size: 1.0625rem;
}

.prose p {
  margin-top: 16px;
  color: var(--c-text);
}

.prose h2 {
  margin-top: 36px;
  font-size: 1.375rem;
}

.prose h3 {
  margin-top: 24px;
  font-size: 1.125rem;
}

.prose ul {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
  color: var(--c-text);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.prose a {
  text-decoration: underline;
}

.article-cta {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 40px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--c-primary-soft);
}

.article-cta p {
  margin-top: 0;
  font-size: 0.9375rem;
  color: var(--c-muted);
}

.article-cta .download-actions {
  margin-top: 4px;
}

.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}

.related h2 {
  font-size: 1.25rem;
}

.related ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.related a {
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
