.page-home {
  --home-hero-num: clamp(2.8rem, 6vw, 4.4rem);
  --home-gap: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  background: var(--blue-900);
  color: var(--cream);
  overflow-x: hidden;
}

/* ===== 首屏框景 ===== */
.page-home .hero-frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(780px, 94vh);
  isolation: isolate;
  overflow: hidden;
}

.page-home .hero-frame__corner {
  position: absolute;
  width: 44px;
  height: 44px;
  z-index: 4;
  pointer-events: none;
}

.page-home .hero-frame__corner--tl {
  top: 22px;
  left: 22px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.page-home .hero-frame__corner--tr {
  top: 22px;
  right: 22px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.page-home .hero-frame__corner--bl {
  bottom: 22px;
  left: 22px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.page-home .hero-frame__corner--br {
  bottom: 22px;
  right: 22px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.page-home .hero-frame__ticks {
  position: absolute;
  top: 0;
  right: 18px;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 88px 0 96px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-numeric);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.page-home .hero-frame__ticks span {
  position: relative;
  padding-right: 12px;
  line-height: 1;
}

.page-home .hero-frame__ticks span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: rgba(212, 160, 23, 0.65);
  transform: translateY(-50%);
}

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

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.78) contrast(1.06) brightness(0.9);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(10, 31, 61, 0.97) 0%, rgba(10, 31, 61, 0.78) 44%, rgba(16, 41, 79, 0.42) 100%),
    linear-gradient(0deg, rgba(10, 31, 61, 0.72) 0%, transparent 38%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(125deg, transparent 0 20px, rgba(255, 107, 53, 0.05) 20px 21px, transparent 21px 46px);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-top: 150px;
  padding-bottom: 96px;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--font-numeric);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-home .home-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.page-home .home-hero__title {
  margin: 0.4rem 0 0.9rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-transform: uppercase;
}

.page-home .home-hero__lead {
  margin: 0;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.page-home .home-hero__data {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--site-radius);
  padding: 1.6rem 1.5rem 1.4rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(2, 8, 20, 0.4);
}

.page-home .home-hero__data::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.page-home .home-hero__data-label {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.06em;
}

.page-home .home-hero__data-num {
  margin: 0.12em 0 0.05em;
  font-family: var(--font-numeric);
  font-weight: 600;
  font-size: var(--home-hero-num);
  line-height: 1;
  color: var(--gold);
}

.page-home .home-hero__data-unit {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.page-home .home-hero__data-meta {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 1.6rem;
}

.page-home .home-hero__data-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .home-hero__data-meta span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.52);
}

.page-home .home-hero__data-meta strong {
  font-family: var(--font-numeric);
  font-size: 1.15rem;
  color: var(--cream);
}

/* ===== 章节导航 ===== */
.page-home .chapter-nav {
  position: relative;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
  margin: -2.5rem auto 0;
  padding: 0.45rem;
  border-radius: 60px;
  background: rgba(10, 31, 61, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(2, 8, 20, 0.35);
}

.page-home .chapter-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  border-radius: 60px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .chapter-nav__link:hover,
.page-home .chapter-nav__link[aria-current="true"] {
  background: var(--gold);
  color: var(--blue-900);
}

/* ===== 数据亮点 ===== */
.page-home .home-highlights {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.page-home .home-section-head__tag {
  margin: 0 0 0.4rem;
  font-family: var(--font-numeric);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-home .home-section-head__title {
  margin: 0 0 0.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--cream);
}

.page-home .home-section-head__intro {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.page-home .home-highlights__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

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

.page-home .home-highlights__stats .stat {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--site-radius);
  padding: 1.4rem 1.2rem;
}

.page-home .home-highlights__stats .stat__num {
  display: block;
  font-family: var(--font-numeric);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  color: var(--gold);
}

.page-home .home-highlights__stats .stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
}

.page-home .home-highlights__chart {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--site-radius);
  padding: 1.2rem;
}

.page-home .home-highlights__chart svg {
  width: 100%;
  height: auto;
  max-width: 560px;
}

.page-home .home-highlights__visual {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
  border-radius: calc(var(--site-radius) + 4px);
  background: var(--cream);
  box-shadow: 0 24px 56px rgba(2, 8, 20, 0.32);
}

.page-home .home-highlights__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--site-radius) - 8px);
  object-fit: cover;
}

.page-home .home-highlights__caption {
  color: var(--brown);
  padding: 0.4rem 0.4rem 0.4rem 0.2rem;
}

.page-home .home-highlights__caption p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.page-home .home-highlights__caption a {
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid rgba(226, 59, 46, 0.35);
  padding-bottom: 0.2rem;
}

.page-home .home-highlights__caption a:hover {
  border-bottom-color: var(--red);
}

/* ===== 核心功能 ===== */
.page-home .home-features {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  background:
    radial-gradient(circle at 10% 14%, rgba(212, 160, 23, 0.13), transparent 36%),
    radial-gradient(circle at 92% 78%, rgba(255, 107, 53, 0.1), transparent 30%),
    linear-gradient(180deg, var(--blue-800) 0%, var(--blue-900) 68%);
}

.page-home .home-section-head--light .home-section-head__intro {
  color: rgba(255, 255, 255, 0.74);
}

.page-home .home-features__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.page-home .home-feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--site-radius) + 6px);
  box-shadow: 0 20px 44px rgba(2, 8, 20, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .home-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 160, 23, 0.6);
}

.page-home .home-feature-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--blue-800);
}

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

.page-home .home-feature-card__media--mock {
  background: linear-gradient(145deg, rgba(10, 31, 61, 0.96), rgba(16, 41, 79, 0.85));
}

.page-home .home-feature-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem 1.5rem 1.6rem;
}

.page-home .home-feature-card__no {
  font-family: var(--font-numeric);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .home-feature-card__title {
  margin: 0.35rem 0 0.55rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.42rem;
  line-height: 1.22;
  color: var(--cream);
}

.page-home .home-feature-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .home-feature-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
  padding: 0;
}

.page-home .home-feature-card__tags li {
  padding: 0.28rem 0.75rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .home-feature-card__link {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.page-home .home-feature-card__link:hover {
  color: var(--orange);
}

.page-home .home-feature-card--compare {
  grid-column: 1 / -1;
}

.page-home .lineup-mock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
}

.page-home .lineup-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.13);
  font-family: var(--font-numeric);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .lineup-mock__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(60, 179, 113, 0.18);
}

.page-home .lineup-mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  background: rgba(255, 255, 255, 0.06);
}

.page-home .lineup-mock__row--active {
  border-left-color: var(--gold);
  background: rgba(212, 160, 23, 0.13);
}

.page-home .lineup-mock__badge {
  flex-shrink: 0;
  font-family: var(--font-numeric);
  font-style: normal;
  font-size: 0.66rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
}

.page-home .lineup-mock__badge--b {
  background: var(--gold);
  color: var(--blue-900);
}

.page-home .lineup-mock__badge--c {
  background: var(--red);
}

.page-home .lineup-mock__text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .version-compare {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.4rem;
  padding: 14px;
  border-radius: 18px;
  background: rgba(10, 31, 61, 0.42);
}

.page-home .version-compare__col {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.page-home .version-compare__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-home .version-compare__col strong {
  display: block;
  font-family: var(--font-numeric);
  font-size: 1.04rem;
  color: var(--cream);
  line-height: 1.5;
}

.page-home .version-compare__col small {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.52);
}

.page-home .version-compare__vs {
  font-family: var(--font-numeric);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--orange);
}

.page-home .home-features__note {
  margin: 2.75rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 下载与支持 ===== */
.page-home .home-download {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 6rem;
  background: var(--cream);
  color: var(--brown);
  border-radius: 48px 48px 0 0;
}

.page-home .home-download .home-section-head__tag {
  color: var(--red);
}

.page-home .home-download__inner {
  display: grid;
  gap: 2.5rem;
}

.page-home .home-download__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  color: var(--brown);
}

.page-home .home-download__lead {
  margin: 0;
  max-width: 48ch;
  line-height: 1.8;
  color: rgba(43, 30, 22, 0.78);
}

.page-home .home-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.page-home .home-download__actions .btn--outline {
  border-color: rgba(43, 30, 22, 0.42);
  color: var(--brown);
}

.page-home .home-download__actions .btn--outline:hover {
  background: rgba(43, 30, 22, 0.08);
}

.page-home .home-download__meta {
  display: grid;
  gap: 1rem;
}

.page-home .home-download__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(43, 30, 22, 0.1);
  box-shadow: 0 10px 26px rgba(10, 31, 61, 0.07);
}

.page-home .home-download__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--blue-900);
  color: var(--gold);
}

.page-home .home-download__item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: var(--brown);
}

.page-home .home-download__item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(43, 30, 22, 0.72);
}

/* ===== 桌面端增强 ===== */
@media (min-width: 860px) {
  .page-home .home-highlights__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .home-highlights__visual {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .page-home .home-feature-card__media {
    height: 252px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.22fr 0.78fr;
  }

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

  .page-home .home-feature-card--compare {
    flex-direction: row;
  }

  .page-home .home-feature-card--compare .home-feature-card__body {
    flex: 1 1 44%;
    padding: 2.25rem 2.25rem 2.1rem;
  }

  .page-home .home-feature-card--compare .home-feature-card__media {
    flex: 1 1 56%;
    height: auto;
    min-height: 380px;
  }

  .page-home .home-download__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
