/* ========== 首页专属样式 ========== */
.page-home {
  --home-gutter: clamp(20px, 5vw, 72px);
  background: var(--ky-white);
  color: var(--ky-navy);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.75;
}

/* 面包屑 */
.page-home .page-home-breadcrumb {
  padding: 0 var(--home-gutter);
  margin: 0 0 18px;
}

/* 通用章节头部 */
.page-home .home-section-head {
  margin-bottom: 30px;
}

.page-home .home-section-index {
  display: inline-block;
  font-family: var(--ky-font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ky-orange);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ky-grid);
}

.page-home .home-section-title {
  font-family: var(--ky-font-head);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--ky-navy);
}

.page-home .home-section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #40506c;
  max-width: 760px;
  margin: 0;
}

.page-home .home-section-title.is-dark {
  color: var(--ky-white);
}

.page-home .home-section-lead.is-dark {
  color: #c7d0dc;
}

.page-home .home-section-index.is-dark {
  color: var(--ky-gold);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

/* ========== 首屏 ========== */
.page-home .home-hero {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(32px, 6vw, 72px) var(--home-gutter);
  background: var(--ky-navy);
  border-radius: var(--ky-radius-lg);
  color: var(--ky-white);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(233, 236, 243, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 236, 243, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero-copy {
  position: relative;
  z-index: 2;
}

.page-home .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--ky-radius-pill);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #d8e0ea;
  text-transform: uppercase;
}

.page-home .home-hero-kicker-seq {
  font-family: var(--ky-font-data);
  font-size: 13px;
  font-weight: 700;
  color: var(--ky-gold);
}

.page-home .home-hero-title {
  font-family: var(--ky-font-head);
  font-size: clamp(64px, 14vw, 150px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 24px 0 22px;
  color: var(--ky-white);
}

.page-home .home-hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #d8e0ea;
  max-width: 580px;
  margin-bottom: 24px;
}

.page-home .home-hero-lines {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  margin: 0 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .home-hero-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.page-home .home-hero-line-num {
  font-family: var(--ky-font-data);
  font-size: 22px;
  font-weight: 700;
  color: var(--ky-gold);
  min-width: 40px;
}

.page-home .home-hero-line-text {
  font-size: 15px;
  color: #e8edf3;
}

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

.page-home .home-hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--ky-white);
}

.page-home .home-hero-actions .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.page-home .home-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #b8c4d2;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .home-hero-note-num {
  font-family: var(--ky-font-data);
  font-size: 20px;
  font-weight: 700;
  color: var(--ky-gold);
}

.page-home .home-hero-visual {
  position: relative;
  z-index: 2;
  align-self: center;
}

.page-home .home-hero-img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero-gauge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--ky-white);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.page-home .home-hero-gauge-value {
  font-family: var(--ky-font-data);
  font-size: 34px;
  font-weight: 700;
  color: var(--ky-gold);
  line-height: 1;
}

.page-home .home-hero-gauge-label {
  font-size: 12px;
  color: var(--ky-navy);
  line-height: 1.3;
  max-width: 62px;
}

/* ========== 两步切换指南 ========== */
.page-home .home-steps {
  padding: 0 var(--home-gutter);
  margin-top: clamp(40px, 7vw, 80px);
}

.page-home .home-steps-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.page-home .home-step-card {
  position: relative;
  background: var(--ky-white);
  border: 1px solid var(--ky-grid);
  border-radius: var(--ky-radius-lg);
  padding: 28px;
  box-shadow: var(--ky-shadow-card);
}

.page-home .home-step-card-index {
  display: block;
  font-family: var(--ky-font-data);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ky-orange);
  margin-bottom: 14px;
}

.page-home .home-step-card-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.page-home .home-step-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #506078;
  margin-bottom: 18px;
}

.page-home .home-step-card-link {
  display: inline-flex;
}

.page-home .home-subscribe-accordion {
  margin-top: 16px;
  border-top: 1px dashed #dce1e9;
  padding-top: 12px;
}

.page-home .home-subscribe-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  font: inherit;
  color: var(--ky-navy);
  cursor: pointer;
}

.page-home .home-subscribe-trigger-text {
  font-size: 14px;
  font-weight: 600;
}

.page-home .home-subscribe-trigger-icon {
  display: block;
  font-family: var(--ky-font-data);
  font-size: 22px;
  line-height: 1;
  color: var(--ky-orange);
  transition: transform 0.3s ease;
}

.page-home .home-subscribe-trigger[aria-expanded="true"] .home-subscribe-trigger-icon {
  transform: rotate(45deg);
}

.page-home .home-subscribe-list {
  list-style: none;
  margin: 0;
  padding: 2px 0 4px;
  display: grid;
  gap: 8px;
}

.page-home .home-subscribe-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #40506c;
}

.page-home .home-subscribe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--ky-green);
  border-radius: 2px;
}

.page-home .home-steps-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ky-radius-lg);
  object-fit: cover;
  box-shadow: var(--ky-shadow-card);
}

/* ========== 天山地域分隔 ========== */
.page-home .home-terrain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 0 var(--home-gutter);
  margin-top: clamp(32px, 6vw, 64px);
}

.page-home .home-terrain-img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--ky-radius-lg);
  object-fit: cover;
  box-shadow: var(--ky-shadow-card);
}

.page-home .home-terrain-caption {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #7a8da6;
  letter-spacing: 0.08em;
}

.page-home .home-terrain-caption-index {
  font-family: var(--ky-font-data);
  font-size: 14px;
  font-weight: 600;
  color: var(--ky-orange);
}

/* ========== 21点数据核验台 ========== */
.page-home .home-data {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(32px, 6vw, 72px) var(--home-gutter);
  margin-top: clamp(32px, 6vw, 64px);
  background: var(--ky-navy);
  border-radius: var(--ky-radius-lg);
  color: var(--ky-white);
  overflow: hidden;
}

.page-home .home-data::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(233, 236, 243, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 236, 243, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-home .home-data-copy {
  position: relative;
  z-index: 2;
}

.page-home .home-data-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-home .home-data-stat {
  display: grid;
  gap: 4px;
}

.page-home .home-data-stat-num {
  font-family: var(--ky-font-data);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 700;
  color: var(--ky-gold);
  line-height: 1.1;
}

.page-home .home-data-stat-label {
  font-size: 12px;
  color: #b8c4d2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home .home-data-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.page-home .home-data-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.page-home .home-zero-gauge {
  display: grid;
  place-items: center;
  gap: 14px;
}

.page-home .home-zero-gauge-dial {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 10px solid rgba(233, 236, 243, 0.25);
  border-top-color: var(--ky-green);
  display: grid;
  place-items: center;
  background: var(--ky-navy-2);
}

.page-home .home-zero-gauge-dial::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.page-home .home-zero-gauge-value {
  font-family: var(--ky-font-data);
  font-size: 56px;
  font-weight: 700;
  color: var(--ky-gold);
}

.page-home .home-zero-gauge-label {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8c4d2;
}

.page-home .home-data-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 10px;
}

.page-home .home-data-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #d8e0ea;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.page-home .home-data-facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ky-green);
  flex-shrink: 0;
}

/* ========== 导出教程入口 ========== */
.page-home .home-export {
  padding: 0 var(--home-gutter);
  margin-top: clamp(32px, 6vw, 64px);
}

.page-home .home-export-card {
  position: relative;
  background: var(--ky-white);
  border: 1px solid var(--ky-grid);
  border-radius: var(--ky-radius-lg);
  padding: 32px;
  box-shadow: var(--ky-shadow-card);
  overflow: hidden;
}

.page-home .home-export-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 170px;
  height: 170px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-export-actions {
  margin: 24px 0 20px;
}

.page-home .home-export-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.page-home .home-export-hint {
  position: absolute;
  top: -16px;
  right: 10px;
  background: var(--ky-navy);
  color: var(--ky-white);
  border-radius: var(--ky-radius-pill);
  padding: 5px 14px;
  font-family: var(--ky-font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--ky-shadow-card);
  z-index: 2;
}

.page-home .home-export-btn:hover .home-export-hint,
.page-home .home-export-btn:focus-visible .home-export-hint {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-export-features {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px dashed #dce1e9;
}

.page-home .home-export-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #40506c;
}

.page-home .home-export-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ky-green);
  flex-shrink: 0;
}

.page-home .home-export-help {
  margin: 20px 0 0;
  font-size: 13px;
  color: #7a8da6;
}

.page-home .home-export-link {
  color: var(--ky-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ========== 赛前前瞻 ========== */
.page-home .home-preview {
  padding: 0 var(--home-gutter);
  margin-top: clamp(32px, 6vw, 64px);
}

.page-home .home-preview-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-home .home-preview-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 22px 24px;
  background: var(--ky-white);
  border: 1px solid var(--ky-grid);
  border-radius: var(--ky-radius-md);
  box-shadow: var(--ky-shadow-card);
  transition: border-color 0.25s, transform 0.25s;
}

.page-home .home-preview-item:hover {
  border-color: var(--ky-orange);
  transform: translateY(-3px);
}

.page-home .home-preview-item-num {
  grid-row: 1 / 3;
  font-family: var(--ky-font-data);
  font-size: 22px;
  font-weight: 700;
  color: var(--ky-gold);
}

.page-home .home-preview-item-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.page-home .home-preview-item-text {
  font-size: 13px;
  color: #7a8da6;
  margin: 0;
}

.page-home .home-preview-link {
  margin-top: 24px;
  display: inline-flex;
}

/* ========== 版本切换状态板 ========== */
.page-home .home-status {
  position: relative;
  background: var(--ky-navy);
  border-radius: var(--ky-radius-lg);
  color: var(--ky-white);
  padding: clamp(32px, 6vw, 72px) var(--home-gutter);
  margin-top: clamp(32px, 6vw, 64px);
  overflow: hidden;
}

.page-home .home-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(233, 236, 243, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 236, 243, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-home .home-status-inner {
  position: relative;
  z-index: 2;
}

.page-home .home-status-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.page-home .home-status-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  border-left: 3px solid var(--ky-green);
}

.page-home .home-status-dot {
  grid-row: 1 / 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ky-green);
  margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.25);
}

.page-home .home-status-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.page-home .home-status-text {
  font-size: 13px;
  color: #b8c4d2;
  margin: 0;
}

.page-home .home-status-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #b8c4d2;
}

.page-home .home-status-footnote-num {
  font-family: var(--ky-font-data);
  font-size: 24px;
  font-weight: 700;
  color: var(--ky-gold);
}

.page-home .home-status-contact {
  margin: 20px 0 0;
  font-size: 13px;
  color: #b8c4d2;
}

.page-home .home-status-link {
  color: var(--ky-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ========== 天山曲线分隔 ========== */
.page-home .home-ridge {
  margin-top: clamp(28px, 5vw, 56px);
  padding: 0;
}

.page-home .home-ridge svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ========== 响应式布局 ========== */
@media (min-width: 768px) {
  .page-home .home-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

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

  .page-home .home-steps-img {
    grid-column: 1 / -1;
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .page-home .home-terrain {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .page-home .home-data {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .page-home .home-status-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-export-card {
    padding: 44px;
  }
}

@media (min-width: 992px) {
  .page-home .home-preview-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .home-preview-item {
    padding: 28px 20px;
  }
}
