.page-home {
  overflow-x: hidden;
}

/* ========== 首页首屏 ========== */
.page-home .home-hero {
  position: relative;
  padding: 24px 0 56px;
  overflow: hidden;
}

.page-home .hero-bg-layer {
  position: absolute;
  inset: 0;
}

.page-home .hero-bg-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
  filter: saturate(0.75);
}

.page-home .hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-home .hero-context {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--c-paper-dim);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-home .hero-context::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--c-line);
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .hero-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-accent);
}

.page-home .hero-main h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--c-paper);
}

.page-home .hero-title-accent {
  color: var(--c-accent);
}

.page-home .hero-desc {
  max-width: 42em;
  margin: 0 0 26px;
  color: var(--c-paper-dim);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 胶囊章节导航 */
.page-home .hero-index {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  background: rgba(23, 20, 18, 0.72);
  border: 1px solid rgba(138, 155, 171, 0.18);
  border-radius: 28px;
  scrollbar-width: none;
}

.page-home .hero-index::-webkit-scrollbar {
  display: none;
}

.page-home .hero-index-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--c-paper);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.page-home .hero-index-item:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.page-home .hero-index-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-accent);
}

/* 框景数据看板 */
.page-home .hero-board {
  min-width: 0;
}

.page-home .board-window {
  background: var(--c-surface);
  padding: 20px;
  box-shadow: 8px 8px 0 rgba(42, 36, 31, 0.35);
}

.page-home .board-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .board-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-paper-dim);
}

.page-home .board-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.35);
}

.page-home .board-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--c-paper);
}

.page-home .board-subtitle {
  margin: 0 0 18px;
  color: var(--c-paper-dim);
  font-size: 13px;
  line-height: 1.7;
}

.page-home .board-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-home .metric {
  background: rgba(11, 11, 12, 0.6);
  border: 1px solid rgba(138, 155, 171, 0.2);
  border-radius: 8px;
  padding: 12px;
  transition: border-color var(--transition-fast);
}

.page-home .metric:hover {
  border-color: rgba(0, 163, 255, 0.45);
}

.page-home .metric-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-accent);
}

.page-home .metric-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-paper-dim);
}

.page-home .metric-source {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(201, 197, 188, 0.55);
  transition: color var(--transition-fast);
}

.page-home .metric:hover .metric-source {
  color: var(--c-accent-2);
}

.page-home .board-chart {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(138, 155, 171, 0.14);
}

.page-home .board-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== 章节通用 ========== */
.page-home .league-section,
.page-home .desktop-section,
.page-home .cases-section,
.page-home .update-section,
.page-home .trust-section {
  padding: 56px 0;
}

.page-home .chapter {
  margin-bottom: 32px;
}

.page-home .chapter-id {
  font-size: 60px;
  line-height: 0.9;
  color: var(--c-accent);
  opacity: 0.34;
}

.page-home .chapter-body h2 {
  margin: 6px 0 10px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--c-paper);
}

/* ========== 01 联赛筛选 ========== */
.page-home .league-grid {
  align-items: center;
}

.page-home .league-panel {
  padding: 26px;
}

.page-home .league-panel h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--c-paper);
}

.page-home .filter-list {
  list-style: none;
  margin: 14px 0 22px;
  padding: 0;
}

.page-home .filter-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(138, 155, 171, 0.22);
  color: var(--c-paper-dim);
  font-size: 14px;
  line-height: 1.5;
}

.page-home .filter-list li:last-child {
  border-bottom: none;
}

.page-home .filter-list .data-tag {
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}

.page-home .panel-note {
  margin: 0 0 18px;
  color: var(--c-paper-dim);
  font-size: 13px;
  line-height: 1.7;
}

/* ========== 02 桌面端切联赛 ========== */
.page-home .desktop-grid {
  align-items: center;
}

.page-home .desktop-panel {
  padding: 26px;
}

.page-home .desktop-panel h3 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--c-paper);
}

.page-home .switch-steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 16px;
  padding: 0;
}

.page-home .switch-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 42px;
  color: var(--c-paper-dim);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .switch-steps li:last-child {
  padding-bottom: 0;
}

.page-home .switch-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-accent);
}

.page-home .switch-demo {
  padding: 22px;
  background: var(--c-surface);
  border: 1px solid rgba(0, 163, 255, 0.25);
  border-radius: 12px;
  box-shadow: 5px 5px 0 rgba(42, 36, 31, 0.35);
}

.page-home .demo-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-2);
}

.page-home .demo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .demo-league {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--c-bg);
  border: 1px solid rgba(138, 155, 171, 0.35);
  border-radius: 999px;
  color: var(--c-paper-dim);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.page-home .demo-league:hover {
  border-color: var(--c-accent-2);
  color: var(--c-paper);
}

.page-home .demo-league.is-active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #0b0b0c;
}

.page-home .demo-note {
  margin: 16px 0 0;
  color: var(--c-paper-dim);
  font-size: 13px;
  line-height: 1.7;
}

/* ========== 03 会员案例 ========== */
.page-home .cases-grid {
  align-items: center;
}

.page-home .cases-list {
  background: var(--c-surface);
  border: 1px solid rgba(255, 77, 0, 0.22);
  border-radius: 12px;
  padding: 26px;
  box-shadow: 5px 5px 0 rgba(42, 36, 31, 0.35);
}

.page-home .cases-list h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--c-paper);
}

.page-home .cases-list ul {
  margin: 0 0 22px;
  padding-left: 18px;
}

.page-home .cases-list li {
  margin: 9px 0;
  color: var(--c-paper-dim);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .cases-list li::marker {
  color: var(--c-accent);
}

/* ========== 04 更新动态 ========== */
.page-home .update-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .update-item {
  background: var(--c-surface);
  border: 1px solid rgba(138, 155, 171, 0.16);
  border-left: 3px solid var(--c-accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  transition: border-left-color var(--transition-fast), background var(--transition-fast);
}

.page-home .update-item:hover {
  border-left-color: var(--c-accent-2);
  background: rgba(23, 20, 18, 0.75);
}

.page-home .update-tags {
  display: flex;
  gap: 8px;
}

.page-home .update-item h3 {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .update-item h3 a {
  color: var(--c-paper);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-home .update-item h3 a:hover {
  color: var(--c-accent-2);
}

.page-home .update-item p {
  margin: 0;
  color: var(--c-paper-dim);
  font-size: 13px;
  line-height: 1.65;
}

.page-home .update-footer {
  display: flex;
  justify-content: flex-end;
}

/* ========== 05 信任声明 ========== */
.page-home .trust-grid {
  align-items: center;
}

.page-home .trust-notice {
  margin-bottom: 18px;
}

.page-home .trust-meta {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-home .trust-meta li {
  position: relative;
  padding-left: 20px;
  margin: 9px 0;
  color: var(--c-paper-dim);
  font-size: 14px;
  line-height: 1.65;
}

.page-home .trust-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--c-accent);
}

/* ========== 图片与图注 ========== */
.page-home .league-visual,
.page-home .cases-visual,
.page-home .trust-visual {
  margin: 0;
}

.page-home .frame-window img,
.page-home .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .league-visual img {
  aspect-ratio: 700 / 500;
}

.page-home .cases-visual img {
  aspect-ratio: 800 / 450;
}

.page-home .trust-visual img {
  aspect-ratio: 600 / 300;
}

.page-home figcaption {
  padding: 10px 4px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--c-paper-dim);
}

/* ========== 平板 ========== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 40px 0 64px;
  }

  .page-home .hero-main h1 {
    font-size: 42px;
  }

  .page-home .board-window {
    padding: 24px;
  }

  .page-home .metric-value {
    font-size: 24px;
  }

  .page-home .update-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .chapter-id {
    font-size: 80px;
  }

  .page-home .chapter-body h2 {
    font-size: 30px;
  }
}

/* ========== 桌面端 ========== */
@media (min-width: 992px) {
  .page-home .hero-layout {
    grid-template-columns: 210px minmax(0, 1fr) 400px;
    gap: 36px;
  }

  .page-home .hero-index {
    flex-direction: column;
    align-items: stretch;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    border-radius: 24px;
  }

  .page-home .hero-index-item {
    justify-content: flex-start;
    padding: 10px 16px;
  }

  .page-home .hero-main {
    padding-top: 4px;
  }

  .page-home .league-section,
  .page-home .desktop-section,
  .page-home .cases-section,
  .page-home .update-section,
  .page-home .trust-section {
    padding: 76px 0;
  }

  .page-home .chapter {
    margin-bottom: 40px;
  }
}
