/* site.css — 页面样式 */

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

.nav-shell {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand:hover {
  color: var(--color-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-end: auto;
}

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

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-text);
}

.main-nav a[aria-current="page"] {
  font-weight: 600;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.18s ease;
}

.nav-download:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.nav-menu {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.nav-menu svg {
  width: 20px;
  height: 20px;
}

/* ---------- 通用区块 ---------- */
.section {
  padding-block: var(--space-section);
}

.section-soft {
  background: var(--color-bg-soft);
  border-block: 1px solid var(--color-border);
}

.eyebrow,
.kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-intro p {
  margin-top: 14px;
  color: var(--color-text-muted);
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(56px, 8vw, 104px);
}

.hero-side {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-copy h1 span {
  color: var(--color-primary);
}

.hero-lede {
  max-width: 34em;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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

.action:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.action-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.action-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.platform {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.action-primary .platform {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.hero-photo {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(140deg, #fdeceb 0%, #f7f7f8 55%, #eef1f6 100%);
  border: 1px solid var(--color-border);
  padding: 26px;
}

.hero-photo .mock {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 20, 26, 0.1);
  padding: 18px;
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dfe2e7;
}

.mock-title {
  margin-inline-start: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f3;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-cover {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3b7b3, #d33a31);
  flex: none;
}

.mock-cover.alt {
  background: linear-gradient(135deg, #b9cdf3, #5b7fd1);
}

.mock-cover.alt2 {
  background: linear-gradient(135deg, #c9e6c4, #5aa15a);
}

.mock-lines {
  flex: 1;
}

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: #eceef1;
}

.mock-line.short {
  width: 45%;
  margin-top: 8px;
  background: #f2f3f5;
}

.mock-play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #d33a31;
  flex: none;
}

/* ---------- 功能网格 ---------- */
.feature-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-guide article {
  padding: 26px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-guide article:hover {
  border-color: #f0c4c1;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

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

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

.guide-line h3 {
  margin: 0;
}

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

/* ---------- Story ---------- */
.story-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.story-body {
  margin-top: 18px;
  color: var(--color-text-muted);
}

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

.story-body a {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
}

/* ---------- 数据条带 ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px 0 0;
  border-top: 1px solid var(--color-border);
}

.proof-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--color-text);
  line-height: 1.2;
}

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

/* ---------- 下载 CTA ---------- */
.cta-band {
  text-align: center;
  padding: 56px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff3f2, #f7f7f8);
  border: 1px solid var(--color-border);
}

.cta-band h2 {
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--color-text-muted);
}

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

/* ---------- 子页内容 ---------- */
.page-head {
  padding-block: 64px 40px;
  border-bottom: 1px solid var(--color-border);
}

.page-head p {
  margin-top: 14px;
  max-width: 680px;
  color: var(--color-text-muted);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.9375rem;
}

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

.table th {
  background: var(--color-bg-soft);
  font-weight: 600;
}

.table td {
  color: var(--color-text-muted);
}

.faq-list {
  max-width: 820px;
}

.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  background: #fff;
}

.faq-list details + details {
  margin-top: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
}

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

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.download-cards.one {
  grid-template-columns: 1fr;
}

.download-cards article {
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
}

.download-cards h3 {
  margin-bottom: 8px;
}

.download-cards p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.download-cards .action {
  margin-top: 20px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-block: 48px 32px;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-brand:hover {
  color: #fff;
}

.footer-inner > div > p {
  margin-top: 12px;
  max-width: 34em;
  font-size: 0.9375rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-content: start;
  justify-content: flex-end;
}

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

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

.footer small {
  display: block;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8c9096;
  font-size: 0.8125rem;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .feature-guide {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-side {
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .nav-shell {
    height: 60px;
    gap: 14px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 16px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #f2f3f5;
    font-size: 1rem;
  }

  .nav-download {
    margin-inline-start: auto;
    padding: 8px 14px;
    font-size: 0.875rem;
  }

  .nav-menu {
    display: inline-flex;
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
    padding: 18px;
  }

  .feature-guide,
  .proof,
  .download-cards {
    grid-template-columns: 1fr;
  }

  .proof {
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer nav {
    justify-content: flex-start;
  }

  .cta-band {
    padding: 40px 18px;
  }

  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 375px) {
  .download-actions .action {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 资讯列表 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  color: var(--color-text);
  border-color: #f0c4c1;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.news-card time {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.news-card h3 {
  margin: 8px 0 10px;
  font-size: 1.0625rem;
  line-height: 1.45;
}

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

.news-card .more {
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.section-more {
  display: inline-block;
  margin-top: 36px;
  font-weight: 600;
}

/* ---------- 文章页 ---------- */
.article {
  max-width: 780px;
  margin-inline: auto;
}

.article-crumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.article-crumb a {
  color: var(--color-text-muted);
}

.article-crumb a:hover {
  color: var(--color-primary);
}

.article h1 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 14px;
}

.article-meta {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.article-body {
  margin-top: 26px;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.article-body h2 {
  margin: 40px 0 14px;
  font-size: 1.375rem;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 1.125rem;
}

.article-body p {
  margin: 16px 0;
}

.article-body ul,
.article-body ol {
  margin: 16px 0;
  padding-inline-start: 1.4em;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin: 8px 0;
}

.article-body strong {
  font-weight: 600;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg-soft);
}

.article-cta p {
  flex: 1 1 100%;
  margin-bottom: 4px;
  color: var(--color-text-muted);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

@media (max-width: 1023px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .article-body {
    font-size: 1rem;
  }
}
