/* 文件说明：指南页与博客文章统一壳层样式（导航栏 + 文章布局 + TOC）。 */
:root {
  color-scheme: light;
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f7f7fb;
  color: #1f1b4b;
  --guide-scroll-offset: 112px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #f7f7fb;
  color: #332f58;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  margin: 0;
  padding: 18px 20px 14px;
  background: rgba(247, 247, 251, 0.92);
  border-bottom: 1px solid rgba(92, 85, 204, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.blog-header-card {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(92, 85, 204, 0.08);
  box-shadow: 0 18px 36px rgba(107, 93, 198, 0.12);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: #5c55cc;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b5dc6 0%, #8c6dff 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 14px 28px rgba(107, 93, 198, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  max-width: 52vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(107, 93, 198, 0.22);
}

.article {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(92, 85, 204, 0.08);
  box-shadow: 0 24px 48px rgba(107, 93, 198, 0.08);
}

.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 24px;
  align-items: start;
  justify-content: center;
}

.article__aside {
  position: sticky;
  top: var(--guide-scroll-offset);
}

.article__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(92, 85, 204, 0.12);
  color: #5c55cc;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.article__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1f1b4b;
}

.post-card__description {
  margin: 0;
  color: #57546f;
  line-height: 1.65;
  font-size: 1rem;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
  color: #6b6786;
}

.blog-ai-summary {
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(107, 93, 198, 0.12), rgba(140, 109, 255, 0.12));
  border: 1px solid rgba(107, 93, 198, 0.18);
  box-shadow: 0 12px 26px rgba(107, 93, 198, 0.12);
  color: #332f58;
}

.blog-ai-summary__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.blog-ai-summary__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(92, 85, 204, 0.2);
  color: #5c55cc;
  font-weight: 700;
  font-size: 0.85rem;
}

.blog-ai-summary__hint {
  font-size: 0.85rem;
  color: #6a6786;
}

.blog-ai-summary__body p {
  margin: 8px 0;
  line-height: 1.7;
}

.blog-ai-summary__structure-list {
  margin: 8px 0 0;
  padding-left: 20px;
  line-height: 1.7;
  color: #57546f;
}

.blog-ai-summary__list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #57546f;
  line-height: 1.7;
}

.blog-toc {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(107, 93, 198, 0.14);
  box-shadow: 0 10px 24px rgba(107, 93, 198, 0.08);
}

.blog-toc__title {
  font-weight: 700;
  color: #3a3564;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.blog-toc__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.55;
}

.blog-toc__item {
  margin: 6px 0;
  font-size: 0.92rem;
  color: #5b557a;
}

.blog-toc__item a {
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-toc__item a:hover {
  background: rgba(107, 93, 198, 0.08);
}

.blog-toc__item--active > a {
  color: #5c55cc;
  font-weight: 700;
}

.blog-toc__item--active {
  position: relative;
}

.blog-toc__item--active::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0.2em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8c6dff;
}

.success-page section {
  margin-top: 28px;
}

.success-page h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.35;
  color: #1f1b4b;
  scroll-margin-top: var(--guide-scroll-offset);
}

.success-page p {
  margin: 12px 0;
  line-height: 1.75;
  color: #3f3a67;
}

.success-page ul,
.success-page ol {
  margin: 12px 0;
  padding-left: 22px;
  color: #3f3a67;
  line-height: 1.75;
}

.success-page li {
  margin: 8px 0;
}

.truth-panel {
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: linear-gradient(140deg, rgba(220, 252, 231, 0.58), rgba(255, 255, 255, 0.96));
  border-radius: 16px;
  padding: 18px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  border: 1px solid rgba(140, 109, 255, 0.22);
  background: linear-gradient(135deg, #f4f1ff, #fcfbff);
  border-radius: 14px;
  padding: 14px;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #4c1d95;
  line-height: 1.2;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #4f46e5;
}

.stat-note {
  margin: 6px 0 0;
  color: #5b557a;
  font-size: 0.86rem;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
}

.evidence-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border: 1px solid rgba(92, 85, 204, 0.14);
  border-radius: 12px;
  overflow: hidden;
}

.evidence-table th,
.evidence-table td {
  border: 1px solid rgba(92, 85, 204, 0.14);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
  font-size: 0.92rem;
}

.evidence-table th {
  background: rgba(92, 85, 204, 0.08);
  color: #2b2752;
  font-weight: 700;
}

.evidence-link {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.evidence-link:hover {
  color: #3730a3;
}

.guide-related {
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.55), rgba(255, 255, 255, 0.95));
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(92, 85, 204, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #2f2a58;
}

.faq-item p {
  margin: 8px 0 0;
}

.article__cta-card {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3f0ff, #f8f6ff);
  box-shadow: 0 12px 32px rgba(108, 74, 230, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article__cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #342e59;
  margin: 0 0 4px;
}

.article__cta-desc {
  margin: 0;
  color: #5b557a;
  font-size: 14px;
}

.article__cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6b5dc6 0%, #8c6dff 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(107, 93, 198, 0.2);
}

.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(107, 93, 198, 0.2);
  color: #6b5dc6;
  font-weight: 600;
  background: rgba(107, 93, 198, 0.08);
}

.effect-showcase {
  margin: 16px 0 0;
}

.footnote {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #6b6786;
}

.geo-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  margin: 0 auto 18px;
  width: min(1120px, calc(100% - 40px));
  color: #726f90;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .article__layout {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .article__aside {
    display: none;
  }

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

@media (max-width: 640px) {
  main {
    padding: 20px 14px 56px;
  }

  .header {
    padding: 14px 12px 10px;
  }

  .blog-header-card {
    padding: 12px;
    border-radius: 14px;
  }

  .brand {
    font-size: 16px;
  }

  .header__cta {
    max-width: 60vw;
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .article {
    border-radius: 16px;
    padding: 18px 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .article__cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .hero__cta-btn,
  .hero__cta-secondary {
    width: 100%;
  }
}
