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

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

.nav-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

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

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

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

.brand-sub {
  font-weight: 500;
  font-size: .75rem;
  color: var(--muted);
  display: block;
  line-height: 1.1;
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

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

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  box-shadow: var(--shadow-sm);
  transition: background .18s ease, transform .18s ease;
}

.nav-download:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.nav-menu {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-menu span {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-menu span::before,
.nav-menu span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-menu span::before {
  top: -6px;
}

.nav-menu span::after {
  top: 6px;
}

@media (max-width: 767px) {
  .nav-menu {
    display: inline-flex;
    order: 3;
  }

  .nav-download {
    order: 2;
    margin-left: auto;
    height: 36px;
    padding: 0 14px;
    font-size: .875rem;
  }

  .main-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    order: 4;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .main-nav a {
    display: block;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav li:last-child a {
    border-bottom: 0;
  }
}

/* ---------- Buttons ---------- */
.action,
.action-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.action {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 158, 217, .28);
}

.action:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(34, 158, 217, .32);
}

.action-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.action-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.action .platform,
.action-ghost .platform {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .22);
}

.action-ghost .platform {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--brand-dark);
}

.text-link:hover {
  gap: 10px;
}

@media (max-width: 375px) {
  .download-actions {
    flex-direction: column;
  }

  .download-actions .action,
  .download-actions .action-ghost {
    width: 100%;
  }
}

/* ---------- Section basics ---------- */
.section {
  padding-block: var(--section-y);
}

.section-soft {
  background: var(--bg-soft);
}

.kicker {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

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

.section-intro h2 {
  margin: 16px 0 12px;
}

.section-intro p {
  font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 48px 56px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(34, 158, 217, .16), transparent 70%),
    linear-gradient(180deg, #fbfdff, #ffffff 70%);
  border-bottom: 1px solid var(--line);
}

.hero-side {
  display: grid;
  gap: 36px;
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.hero-copy h1 {
  margin: 18px 0 18px;
}

.hero-lede {
  font-size: 1.0625rem;
  max-width: 34em;
}

.hero-note {
  margin-top: 18px;
  font-size: .875rem;
  color: var(--muted);
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.hero-photo figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 56px 64px;
  }
}

@media (min-width: 1024px) {
  .hero-side {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    padding-block: 24px;
  }

  .hero {
    padding-block: 72px 88px;
  }
}

/* ---------- Feature grid ---------- */
.feature-guide {
  display: grid;
  gap: 20px;
}

.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 158, 217, .35);
}

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

.guide-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius-icon);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.guide-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-card p {
  font-size: .9375rem;
}

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

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

/* ---------- Story ---------- */
.story {
  padding-block: var(--section-y);
}

.story-inner {
  max-width: 740px;
  margin-inline: auto;
  padding-inline: 20px;
  text-align: center;
}

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

.story-body p {
  margin-top: 18px;
  font-size: 1.0625rem;
}

/* ---------- Social proof ---------- */
.proof {
  background: var(--footer-bg);
  color: #fff;
  padding-block: 48px;
}

.proof h2 {
  color: #fff;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 28px;
}

.proof-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
}

.proof-item strong {
  display: block;
  font-size: 1.625rem;
  font-weight: 700;
  color: #7fd1f2;
  line-height: 1.2;
}

.proof-item span {
  font-size: .875rem;
  color: rgba(255, 255, 255, .72);
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Download CTA ---------- */
.cta-band {
  padding-block: var(--section-y);
  background: linear-gradient(180deg, #ffffff, var(--brand-soft));
}

.cta-inner {
  max-width: 760px;
  margin-inline: auto;
  padding: 40px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

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

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

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: var(--brand-dark);
  line-height: 1;
}

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

.faq-item p {
  padding-bottom: 20px;
  font-size: .9375rem;
}

/* ---------- Page hero (子页) ---------- */
.page-hero {
  padding-block: 52px 40px;
  background:
    radial-gradient(700px 320px at 82% -20%, rgba(34, 158, 217, .16), transparent 70%),
    linear-gradient(180deg, #fbfdff, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.page-hero p {
  max-width: 42em;
  font-size: 1.0625rem;
}

.crumbs {
  font-size: .8125rem;
  color: var(--muted);
}

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

.crumbs a:hover {
  color: var(--brand-dark);
}

/* ---------- Content blocks ---------- */
.block-grid {
  display: grid;
  gap: 22px;
}

.block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px;
}

.block h2,
.block h3 {
  margin-bottom: 10px;
}

.block p + p {
  margin-top: 10px;
}

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

.block ul.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  color: var(--muted);
  font-size: .9375rem;
}

.block ul.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .8125rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

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

/* 下载页卡片 */
.download-cards {
  display: grid;
  gap: 20px;
}

.download-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.download-card .tag {
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.download-card h2 {
  font-size: 1.25rem;
}

.download-card p {
  font-size: .9375rem;
}

.download-card .action {
  margin-top: auto;
  align-self: flex-start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}

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

.spec-table th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  width: 34%;
  background: var(--bg-soft);
}

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

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

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, .74);
  padding-block: 44px 28px;
  font-size: .9375rem;
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  gap: 22px;
}

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

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

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

.footer p {
  color: rgba(255, 255, 255, .66);
  max-width: 40em;
}

.footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer nav a {
  color: rgba(255, 255, 255, .8);
}

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

.footer small {
  display: block;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
  font-size: .8125rem;
}

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

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

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 158, 217, .35);
}

.news-date {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-dark);
}

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

.news-card h3 a {
  color: var(--ink);
}

.news-card h3 a:hover {
  color: var(--brand-dark);
}

.news-card p:last-child {
  font-size: .9375rem;
  color: var(--muted);
}

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

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

/* ---------- 资讯详情 ---------- */
.article-wrap {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: 20px;
}

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

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  margin-top: 32px;
  font-size: 1rem;
}

.article-body .lede {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink-2);
  padding-left: 16px;
  border-left: 3px solid var(--brand);
}

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

.article-body h3 {
  margin: 26px 0 10px;
}

.article-body p {
  margin-bottom: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-2);
}

.article-body ul li {
  list-style: disc;
  margin-bottom: 8px;
  line-height: 1.85;
}

.article-body ol li {
  list-style: decimal;
  margin-bottom: 8px;
  line-height: 1.85;
}

.article-cta {
  margin-top: 40px;
  padding: 26px 24px;
  background: var(--brand-soft);
  border-radius: 18px;
  border: 1px solid rgba(34, 158, 217, .22);
}

.article-cta h2 {
  margin: 0 0 8px;
  font-size: 1.1875rem;
}

.article-cta p {
  color: var(--muted);
  font-size: .9375rem;
}

.article-cta .action {
  margin-top: 16px;
}

.related {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-size: 1.125rem;
  margin-bottom: 14px;
}

.related ul {
  display: grid;
  gap: 10px;
}

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

