/* ===== 首页专属样式 ===== */
.page-home {
  --home-gold-glow: rgba(212, 175, 55, 0.12);
  --home-purple-glow: rgba(122, 111, 240, 0.10);
  --home-rad-lg: 24px;
  --home-rad-md: 18px;
  position: relative;
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home a {
  color: var(--color-accent-gold);
  text-underline-offset: 4px;
  text-decoration-color: rgba(212, 175, 55, 0.35);
  transition: color 300ms var(--ease), text-decoration-color 300ms var(--ease);
}

.page-home a:hover {
  color: var(--color-accent-gold-bright);
  text-decoration-color: var(--color-accent-gold);
}

/* 面包屑 */
.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: calc(var(--header-pill-h) + var(--header-top) + 24px);
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.06em;
}

.page-home .breadcrumb__sep {
  color: var(--color-border);
}

.page-home .breadcrumb__current {
  color: var(--color-accent-gold);
}

/* 章节题头 */
.page-home .section-heading {
  margin-bottom: 32px;
}

.page-home .section-heading__index {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-home .section-heading__title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.4rem);
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
}

.page-home .section-heading__divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent-gold), transparent);
  margin-top: 14px;
}

/* 首屏分屏 */
.page-home .hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 64px;
  position: relative;
}

.page-home .hero-split::before {
  content: "";
  position: absolute;
  inset: auto -12% -12% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--home-purple-glow), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .hero-split__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.page-home .hero-split__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0;
  text-wrap: balance;
}

.page-home .hero-split__slogan {
  font-family: var(--font-title);
  font-size: var(--fs-subtitle);
  color: var(--color-accent-gold);
  letter-spacing: 0.24em;
  margin: 0;
}

.page-home .hero-split__lead {
  font-size: var(--fs-lg);
  line-height: 1.9;
  color: var(--color-text-secondary);
  max-width: 46ch;
  margin: 0;
}

.page-home .hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .hero-split__story-link {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 2px;
}

.page-home .hero-split__story-link:hover {
  color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
}

.page-home .hero-split__visual {
  position: relative;
  border-radius: var(--home-rad-lg);
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(122, 111, 240, 0.14) 0%, rgba(14, 10, 20, 0.5) 55%, rgba(212, 175, 55, 0.10) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.page-home .hero-split__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 400ms var(--ease);
}

.page-home .hero-split__visual:hover .hero-split__img {
  opacity: 0.65;
}

.page-home .hero-split__svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.page-home .hero-split__grid line {
  vector-effect: non-scaling-stroke;
}

/* 两步直达 */
.page-home .steps-route {
  padding-bottom: 72px;
}

.page-home .steps-route__intro {
  font-size: var(--fs-lg);
  line-height: 1.9;
  color: var(--color-text-secondary);
  max-width: 68ch;
  margin: 0 0 36px;
}

.page-home .steps-route__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .steps-route__step {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-top: 2px solid rgba(212, 175, 55, 0.4);
}

.page-home .steps-route__step h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0;
}

.page-home .steps-route__step p {
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin: 0;
}

.page-home .steps-route__step a {
  font-weight: 500;
  text-decoration: underline;
}

.page-home .steps-route__hint {
  margin-top: 24px;
}

/* 中心栏目 */
.page-home .category-section {
  background: linear-gradient(180deg, rgba(122, 111, 240, 0.05), transparent 60%);
  padding-bottom: 72px;
}

.page-home .category-section__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-home .category-section__map {
  padding: 28px;
  border-top: 2px solid rgba(212, 175, 55, 0.35);
}

.page-home .category-section__map .map-legend {
  margin-bottom: 8px;
}

.page-home .category-section__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.page-home .category-section__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  transition: border-color 300ms var(--ease);
}

.page-home .category-section__item:hover {
  border-bottom-color: rgba(212, 175, 55, 0.45);
}

.page-home .category-section__code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-accent-gold);
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.page-home .category-section__item a {
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
}

.page-home .category-section__item a:hover {
  color: var(--color-accent-gold);
}

.page-home .category-section__item p {
  grid-column: 2;
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0;
}

.page-home .category-section__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--home-rad-lg);
  border: 1px solid var(--color-border);
}

/* 变更说明 */
.page-home .changes-note {
  padding-bottom: 72px;
}

.page-home .changes-note__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .changes-note__panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-top: 2px solid rgba(122, 111, 240, 0.4);
}

.page-home .changes-note__panel h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  margin: 0;
}

.page-home .changes-note__panel p {
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin: 0;
}

.page-home .changes-note__panel a {
  text-decoration: underline;
}

.page-home .changes-note__panel .btn {
  text-decoration: none;
}

/* 帮助中心速查 */
.page-home .faq-section {
  padding-bottom: 72px;
  background: linear-gradient(180deg, transparent, rgba(122, 111, 240, 0.04));
}

.page-home .faq-section__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-home .faq-section__list {
  padding: 8px 28px;
  border-top: 2px solid rgba(212, 175, 55, 0.35);
}

.page-home .faq-section__item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.page-home .faq-section__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.6;
}

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

.page-home .faq-section__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--color-accent-gold);
  flex-shrink: 0;
  transition: transform 300ms var(--ease);
}

.page-home .faq-section__item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.page-home .faq-section__item p {
  margin: 12px 0 0;
  padding-right: 2rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: var(--fs-sm);
}

.page-home .faq-section__more {
  margin: 24px 0 16px;
  text-decoration: none;
}

.page-home .faq-section__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.page-home .faq-section__aside img {
  width: 100%;
  height: auto;
  border-radius: var(--home-rad-lg);
  border: 1px solid var(--color-border);
}

.page-home .faq-section__aside p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
  font-size: var(--fs-sm);
}

.page-home .faq-section__aside a {
  text-decoration: underline;
}

/* 适配清单更新动态 */
.page-home .updates-section {
  padding-bottom: 72px;
}

.page-home .updates-section__timeline {
  position: relative;
  margin-left: 6px;
  padding-left: 32px;
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.page-home .updates-section__item {
  position: relative;
}

.page-home .updates-section__item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.page-home .updates-section__item h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin: 8px 0;
}

.page-home .updates-section__item p {
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin: 0;
}

.page-home .updates-section__more {
  margin-top: 36px;
  text-decoration: none;
}

/* 信任区 */
.page-home .trust-section {
  padding-bottom: 88px;
}

.page-home .trust-section__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 32px;
  border-top: 2px solid rgba(122, 111, 240, 0.45);
  background: linear-gradient(145deg, rgba(26, 20, 36, 0.72), rgba(36, 28, 51, 0.55));
}

.page-home .trust-section__panel img {
  width: 100%;
  height: auto;
  max-width: 220px;
  border-radius: var(--home-rad-lg);
  border: 1px solid var(--color-border);
}

.page-home .trust-section__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .trust-section__text h2 {
  font-family: var(--font-title);
  font-size: var(--fs-title);
  margin: 0;
}

.page-home .trust-section__text p {
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin: 0;
  max-width: 68ch;
}

.page-home .trust-section__text a {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  text-decoration: underline;
}

/* 桌面端布局 */
@media (min-width: 900px) {
  .page-home .breadcrumb {
    padding-top: calc(var(--header-pill-h) + var(--header-top) + 36px);
  }

  .page-home .hero-split {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    padding-top: 48px;
    padding-bottom: 96px;
    min-height: 620px;
    align-items: center;
  }

  .page-home .hero-split__visual {
    min-height: 480px;
  }

  .page-home .hero-split__svg {
    min-height: 480px;
  }

  .page-home .steps-route__grid,
  .page-home .changes-note__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .page-home .category-section__wrap {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }

  .page-home .category-section__map {
    padding: 40px;
  }

  .page-home .category-section__visual img {
    min-height: 420px;
    object-fit: cover;
  }

  .page-home .faq-section__wrap {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }

  .page-home .faq-section__aside img {
    max-height: 320px;
    object-fit: cover;
  }

  .page-home .trust-section__panel {
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px;
  }
}

/* 平板区间微调 */
@media (min-width: 600px) and (max-width: 899px) {
  .page-home .category-section__wrap,
  .page-home .faq-section__wrap {
    grid-template-columns: 1fr;
  }

  .page-home .faq-section__aside img {
    max-width: 480px;
  }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
