.page-home {
  --home-gutter: 1.25rem;
  --page-section-pad: 3.5rem;
  --home-download-bg: var(--ink-soft);
  background: var(--ink);
}

/* ============ 框景首屏 ============ */
.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ink);
  color: var(--white);
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .home-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(26, 27, 28, 0.96) 0%, rgba(26, 27, 28, 0.82) 48%, rgba(26, 27, 28, 0.42) 100%),
    radial-gradient(ellipse at 82% 18%, rgba(212, 0, 0, 0.22), transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px);
}

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

.page-home .home-hero::before {
  content: '';
  position: absolute;
  inset: 1.25rem 1rem;
  border: 1px solid rgba(201, 160, 99, 0.55);
  border-top: 0;
  border-right: 0;
  pointer-events: none;
  z-index: 1;
}

.page-home .home-hero::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: 0.5rem;
  background: repeating-linear-gradient(90deg, var(--gold) 0 26px, transparent 26px 44px);
  pointer-events: none;
  z-index: 1;
}

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

.page-home .home-breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.page-home .home-breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

.page-home .home-breadcrumb a:hover {
  color: var(--white);
}

.page-home .home-hero-content {
  position: relative;
  padding-left: 1.25rem;
}

.page-home .home-hero-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 0.35rem;
  background: linear-gradient(var(--red), var(--gold));
}

.page-home .home-hero-chip {
  margin-bottom: 1.1rem;
  background: rgba(212, 0, 0, 0.88);
  color: var(--white);
  border: 0;
}

.page-home .home-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 8vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 1.1rem;
}

.page-home .home-hero-title-sub {
  display: block;
  color: var(--gold-light);
  font-size: 0.72em;
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

.page-home .home-hero-lead {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(244, 239, 230, 0.86);
  max-width: 36em;
  margin: 0 0 1.75rem;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-home .home-hero-btn {
  flex: 0 0 auto;
}

.page-home .home-section-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.page-home .home-section-nav::-webkit-scrollbar {
  display: none;
}

.page-home .home-section-nav a {
  font-family: var(--font-head);
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex: 0 0 auto;
  color: rgba(244, 239, 230, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.page-home .home-section-nav a:hover,
.page-home .home-section-nav a.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============ 核心功能速览 ============ */
.page-home .home-features {
  background: var(--soft);
  padding: var(--page-section-pad) 0;
}

.page-home .home-features .home-section-head {
  margin-bottom: 2.25rem;
}

.page-home .home-feature-grid {
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-feature-card {
  position: relative;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--paper);
  border-left: 4px solid var(--red);
  padding: 1.75rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-home .home-feature-card:nth-child(2) {
  border-left-color: var(--gold);
}

.page-home .home-feature-card:nth-child(3) {
  border-left-color: var(--graphite);
}

.page-home .home-feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: var(--red);
  fill: none;
  display: block;
}

.page-home .home-feature-card:nth-child(2) .home-feature-icon svg {
  stroke: var(--gold);
}

.page-home .home-feature-card:nth-child(3) .home-feature-icon svg {
  stroke: var(--graphite);
}

.page-home .home-feature-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.3;
  margin: 0.25rem 0 0;
}

.page-home .home-feature-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--graphite);
  margin: 0;
}

/* ============ 下载面板 ============ */
.page-home .home-download {
  position: relative;
  overflow: hidden;
  background: var(--home-download-bg);
  padding: var(--page-section-pad) 0;
}

.page-home .home-download::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: repeating-linear-gradient(135deg, rgba(212, 0, 0, 0.3) 0 8px, transparent 8px 22px);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  pointer-events: none;
}

.page-home .home-download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-home .home-download-copy {
  position: relative;
}

.page-home .home-download-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0.4rem 0 0.9rem;
}

.page-home .home-download-text {
  color: rgba(244, 239, 230, 0.78);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 36em;
  margin: 0 0 1.5rem;
}

.page-home .home-download-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.page-home .home-download-phone {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 160, 99, 0.35);
  transform: rotate(-3deg);
}

/* ============ 数据概览 ============ */
.page-home .home-data {
  background: var(--ink-soft);
  padding: var(--page-section-pad) 0;
}

.page-home .home-data-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.page-home .home-data-visual {
  position: relative;
}

.page-home .home-data-visual::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  width: 8rem;
  height: 0.5rem;
  background: linear-gradient(90deg, var(--red), var(--gold));
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  z-index: 0;
}

.page-home .home-data-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.page-home .home-data-content {
  position: relative;
}

.page-home .home-data-stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .home-stat {
  position: relative;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0.9rem;
}

.page-home .home-stat::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 1rem;
  width: 2.5rem;
  height: 3px;
  background: var(--red);
}

.page-home .home-stat:nth-child(2)::before {
  background: var(--gold);
}

.page-home .home-stat:nth-child(3)::before {
  background: var(--gold-light);
}

.page-home .home-stat:nth-child(4)::before {
  background: var(--red);
}

.page-home .home-stat-num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  line-height: 1;
  display: block;
  color: var(--white);
}

@supports (-webkit-background-clip: text) {
  .page-home .home-stat-num {
    background: linear-gradient(135deg, var(--gold-light), var(--white) 55%, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.page-home .home-stat-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

/* ============ 两版赛程对照 ============ */
.page-home .home-compare {
  background: var(--paper);
  padding: var(--page-section-pad) 0;
}

.page-home .home-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.page-home .home-compare-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid rgba(26, 27, 28, 0.1);
}

.page-home .home-compare-card--old {
  box-shadow: inset 0 0.5rem 0 0 var(--steel);
}

.page-home .home-compare-card--new {
  background: var(--white);
  box-shadow: 0 16px 32px rgba(26, 27, 28, 0.14), inset 0 0.5rem 0 0 var(--red);
}

.page-home .home-compare-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.page-home .home-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-home .home-compare-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--graphite);
}

.page-home .home-compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .home-compare-card--new .home-compare-list li::before {
  background: var(--red);
}

.page-home .home-compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-home .home-compare-vs::before,
.page-home .home-compare-vs::after {
  content: '';
  flex: 0 0 1.25rem;
  height: 1px;
  background: var(--gold);
}

.page-home .home-version {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 27, 28, 0.14);
}

.page-home .home-version-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 1.4rem;
}

.page-home .home-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-timeline .tif-timeline-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(26, 27, 28, 0.18);
}

.page-home .home-timeline .tif-timeline-item:last-child {
  border-bottom: 0;
}

.page-home .home-timeline .tif-timeline-date {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
}

.page-home .home-timeline .tif-timeline-text {
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============ 用户反馈引导 ============ */
.page-home .home-feedback {
  background: var(--white);
  padding: var(--page-section-pad) 0;
}

.page-home .home-feedback-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.page-home .home-feedback-image {
  order: 2;
}

.page-home .home-feedback-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(26, 27, 28, 0.16);
}

.page-home .home-feedback-content {
  order: 1;
}

.page-home .home-feedback-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(26, 27, 28, 0.12);
  display: grid;
  gap: 0.7rem;
}

.page-home .home-feedback-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--graphite);
}

.page-home .home-feedback-list li::before {
  content: '';
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.75rem;
  margin-top: 0.35rem;
  background: var(--red);
  transform: skew(-14deg);
}

.page-home .home-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

/* ============ 信任声明 ============ */
.page-home .home-trust {
  background: var(--ink);
  padding: 2rem 0;
}

.page-home .home-trust .tif-trust {
  color: var(--gold-light);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0;
  position: relative;
  padding-left: 1.4rem;
}

.page-home .home-trust .tif-trust::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ============ 桌面端布局 ============ */
@media (min-width: 900px) {
  .page-home {
    --home-gutter: 2.5rem;
    --page-section-pad: 6rem;
  }

  .page-home .home-hero {
    padding-top: calc(var(--header-h) + 4rem);
  }

  .page-home .home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 2rem;
  }

  .page-home .home-hero-content {
    padding-left: 2rem;
  }

  .page-home .home-hero-title {
    font-size: calc(2.4rem + 2vw);
  }

  .page-home .home-hero-lead {
    font-size: 1.05rem;
  }

  .page-home .home-section-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    overflow: visible;
    max-width: none;
    margin-top: 3rem;
  }

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

  .page-home .home-feature-card {
    min-height: 17rem;
  }

  .page-home .home-download {
    padding: 5rem 0;
  }

  .page-home .home-download-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .page-home .home-download-phone {
    max-width: 220px;
  }

  .page-home .home-data {
    padding: 6rem 0;
  }

  .page-home .home-data-inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }

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

  .page-home .home-stat {
    padding: 1.4rem 1.2rem;
  }

  .page-home .home-stat-num {
    font-size: 3rem;
  }

  .page-home .home-compare-grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
  }

  .page-home .home-compare-card {
    padding: 2rem 1.8rem;
  }

  .page-home .home-feedback {
    padding: 6rem 0;
  }

  .page-home .home-feedback-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .page-home .home-feedback-image {
    order: 1;
  }

  .page-home .home-feedback-content {
    order: 2;
  }
}
