.page-home {
  background: var(--color-night);
  color: var(--color-cloud);
  overflow-x: hidden;
}

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

.page-home figure {
  margin: 0;
}

.page-home section[id] {
  scroll-margin-top: 24px;
}

.page-home .breadcrumb {
  padding-block: 18px 0;
}

.page-home .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-silver);
  font-size: 0.875rem;
}

.page-home .section-heading {
  margin: 0 0 28px;
}

.page-home .section-heading .section-kicker {
  margin-bottom: 8px;
}

.page-home h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  line-height: 1.22;
  color: var(--color-cloud);
}

/* ===== 首页首屏：章节预览 ===== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-block: 40px 8px;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 255, 136, 0.12), transparent 34%),
    radial-gradient(circle at 90% 82%, rgba(255, 122, 0, 0.08), transparent 40%);
}

.page-home .home-hero__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .hero-copy .section-kicker {
  color: var(--color-accent);
}

.page-home .hero-copy h1 {
  margin: 8px 0 20px;
  max-width: 12em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-cloud);
}

.page-home .hero-intro {
  max-width: 46rem;
  margin: 0 0 24px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(244, 247, 250, 0.82);
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-chapters {
  background: var(--color-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
}

.page-home .hero-chapters__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.page-home .hero-chapters__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-chapters__list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-cloud);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), padding-left var(--transition);
}

.page-home .hero-chapters__list a:hover,
.page-home .hero-chapters__list a:focus-visible {
  padding-left: 12px;
  color: var(--color-accent);
  background-color: rgba(0, 255, 136, 0.06);
}

.page-home .hero-chapters__list span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-accent);
}

.page-home .hero-visual {
  margin: 32px 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-night-deep), var(--color-steel));
  border-radius: var(--radius);
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .hero-flow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-pop), transparent);
  background-size: 200% 100%;
  animation: page-home-data-flow 4s ease-in-out infinite alternate;
}

@keyframes page-home-data-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* ===== 核心功能速览 ===== */
.page-home .home-features {
  position: relative;
  padding-block: 56px 32px;
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.2), rgba(30, 58, 95, 0.35));
}

.page-home .home-features::before {
  content: "01";
  position: absolute;
  top: 8px;
  right: 4px;
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
}

.page-home .section-heading,
.page-home .home-feature-tabs {
  position: relative;
  z-index: 1;
}

.page-home .feature-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .tab-button {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 247, 250, 0.76);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.page-home .tab-button:first-child {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-night);
}

.page-home .tab-button:hover,
.page-home .tab-button:focus-visible {
  color: var(--color-accent);
  border-color: rgba(0, 255, 136, 0.5);
}

.page-home .feature-panel {
  padding-block: 20px;
  scroll-margin-top: 28px;
}

.page-home .feature-panel__inner {
  max-width: 62rem;
  padding-block: 4px;
}

.page-home .feature-panel h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-cloud);
}

.page-home .feature-panel p {
  max-width: 52rem;
  margin: 0 0 16px;
  color: rgba(244, 247, 250, 0.78);
  line-height: 1.7;
}

.page-home .feature-panel__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-home .feature-panel__points li,
.page-home .realtime-points li,
.page-home .history-points li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
}

.page-home .feature-panel__points li::before,
.page-home .realtime-points li::before,
.page-home .history-points li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
}

@supports selector(:has(*)) {
  .page-home .feature-panel {
    display: none;
    padding-block: 0;
  }

  .page-home .feature-panel--schedule {
    display: block;
  }

  .page-home .home-feature-tabs:has(.feature-panel:target) .feature-panel--schedule {
    display: none;
  }

  .page-home .home-feature-tabs:has(#feature-schedule:target) .feature-panel--schedule {
    display: block;
  }

  .page-home .home-feature-tabs:has(#feature-preview:target) .feature-panel--preview {
    display: block;
  }

  .page-home .home-feature-tabs:has(#feature-transfer:target) .feature-panel--transfer {
    display: block;
  }

  .page-home .home-feature-tabs:has(#feature-register:target) .feature-panel--register {
    display: block;
  }

  .page-home .tab-button {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(244, 247, 250, 0.76);
  }

  .page-home .home-feature-tabs:has(#feature-schedule:target) .tab-button[href="#feature-schedule"],
  .page-home .home-feature-tabs:has(#feature-preview:target) .tab-button[href="#feature-preview"],
  .page-home .home-feature-tabs:has(#feature-transfer:target) .tab-button[href="#feature-transfer"],
  .page-home .home-feature-tabs:has(#feature-register:target) .tab-button[href="#feature-register"] {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-night);
  }

  .page-home .home-feature-tabs:not(:has(.feature-panel:target)) .tab-button[href="#feature-schedule"] {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-night);
  }

  .page-home .feature-panel__inner {
    padding-block: 28px 8px;
  }
}

/* ===== 实时数据，快人一步 ===== */
.page-home .home-realtime {
  position: relative;
  padding-block: 48px 42px;
  background-color: var(--color-night-deep);
  background-image: radial-gradient(ellipse at 82% 18%, rgba(0, 255, 136, 0.1), transparent 55%);
}

.page-home .home-realtime::before {
  content: "02";
  position: absolute;
  top: 4px;
  left: 4px;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
}

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

.page-home .realtime-copy,
.page-home .realtime-visual {
  position: relative;
  z-index: 1;
}

.page-home .realtime-copy h2 {
  margin-bottom: 16px;
}

.page-home .realtime-copy p {
  max-width: 46rem;
  margin: 0 0 18px;
  color: rgba(244, 247, 250, 0.78);
  line-height: 1.7;
}

.page-home .realtime-points {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .realtime-points li {
  color: rgba(244, 247, 250, 0.86);
}

.page-home .realtime-visual {
  margin: 0;
  padding: 12px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.55), rgba(10, 31, 68, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.page-home .realtime-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

.page-home .realtime-visual figcaption {
  margin-top: 10px;
  color: rgba(244, 247, 250, 0.56);
  font-size: 0.8125rem;
}

/* ===== 历史数据，一查便知 ===== */
.page-home .home-history {
  position: relative;
  padding-block: 48px 44px;
  background: var(--color-cloud);
  color: var(--color-graphite);
}

.page-home .home-history::before {
  content: "03";
  position: absolute;
  top: 4px;
  right: 4px;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(44, 62, 80, 0.06);
}

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

.page-home .history-visual,
.page-home .history-copy {
  position: relative;
  z-index: 1;
}

.page-home .history-copy .section-kicker {
  color: var(--color-pop);
}

.page-home .history-copy h2 {
  margin-bottom: 16px;
  color: var(--color-graphite);
}

.page-home .history-copy p {
  max-width: 46rem;
  margin: 0 0 18px;
  color: rgba(44, 62, 80, 0.82);
  line-height: 1.7;
}

.page-home .history-points {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .history-points li {
  color: var(--color-graphite);
}

.page-home .history-visual {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #E8EEF5, var(--color-cloud));
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: var(--radius);
}

.page-home .history-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== 数据可视化展示区 ===== */
.page-home .home-stats {
  position: relative;
  padding-block: 48px 44px;
  background: var(--color-night);
}

.page-home .home-stats::before {
  content: "04";
  position: absolute;
  top: 4px;
  left: 4px;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
}

.page-home .home-stats__inner {
  position: relative;
  z-index: 1;
}

.page-home .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 16px 18px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.6), rgba(10, 31, 68, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.page-home .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-pop));
}

.page-home .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
}

.page-home .stat-label {
  color: rgba(244, 247, 250, 0.78);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.page-home .visual-chart {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 28px auto 0;
  color: var(--color-silver);
}

/* ===== 订阅与注册 ===== */
.page-home .home-subscribe {
  position: relative;
  padding-block: 48px 44px;
}

.page-home .home-subscribe::before {
  content: "05";
  position: absolute;
  top: 4px;
  right: 4px;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
}

.page-home .home-subscribe > .section-heading,
.page-home .subscribe-grid {
  position: relative;
  z-index: 1;
}

.page-home .subscribe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .subscribe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(145deg, var(--color-steel), rgba(10, 31, 68, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.page-home .subscribe-card .tag {
  margin-bottom: 16px;
}

.page-home .subscribe-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-cloud);
}

.page-home .subscribe-card p {
  margin: 0 0 20px;
  color: rgba(244, 247, 250, 0.78);
  line-height: 1.7;
}

.page-home .register-figure {
  width: 100%;
  margin: 20px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.page-home .register-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== 继续浏览 ===== */
.page-home .home-explore {
  padding-block: 8px 56px;
}

.page-home .explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .explore-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(30, 58, 95, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--color-cloud);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.page-home .explore-link:hover,
.page-home .explore-link:focus-visible {
  background: rgba(30, 58, 95, 0.65);
  border-color: rgba(0, 255, 136, 0.5);
  transform: translateX(4px);
}

.page-home .explore-link__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

.page-home .explore-link__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.page-home .explore-link__body strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
}

.page-home .explore-link__body small {
  color: rgba(244, 247, 250, 0.62);
  font-size: 0.8125rem;
}

.page-home .explore-link__arrow {
  font-size: 1.125rem;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.page-home .explore-link:hover .explore-link__arrow {
  transform: translateX(4px);
}

/* ===== 桌面端布局 ===== */
@media (min-width: 48em) {
  .page-home .home-hero__top {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
  }

  .page-home .hero-visual {
    margin-top: 40px;
  }

  .page-home .home-realtime__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }

  .page-home .history-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
  }

  .page-home .history-visual {
    order: 1;
  }

  .page-home .history-copy {
    order: 2;
  }

  .page-home .stat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-home .subscribe-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
  }

  .page-home .explore-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .page-home .feature-panel__points {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (min-width: 64em) {
  .page-home .home-hero {
    padding-top: 56px;
  }

  .page-home .home-hero__top {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 64px;
  }

  .page-home .stat-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }

  .page-home .stat-card {
    padding: 26px 18px 22px;
  }
}
