.page-home {
  --home-gap: clamp(20px, 3vw, 32px);
  --home-section-pad: clamp(64px, 9vw, 120px) 0;
  --home-muted: rgba(245, 239, 224, 0.72);
  --home-rule: rgba(212, 168, 83, 0.4);
  background: var(--cream);
}

/* 面包屑 */
.page-home .home-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 16px;
  font-family: var(--font-headline);
  font-size: var(--small);
  color: var(--slate);
}
.page-home .home-breadcrumb__link {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-home .home-breadcrumb__link:hover,
.page-home .home-breadcrumb__link:focus-visible {
  color: var(--red-orange);
}
.page-home .home-breadcrumb__sep {
  color: var(--gold);
  margin: 0 4px;
}

/* ---- 首屏 ---- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-navy);
  color: var(--mist);
  padding: clamp(40px, 6vw, 80px) 0 0;
}
.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.page-home .home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 23, 46, 0.92) 0%, rgba(10, 31, 60, 0.78) 42%, rgba(30, 58, 79, 0.42) 100%);
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--home-rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-rule) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
}
.page-home .home-hero__deco {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.6;
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}
.page-home .home-hero__grid {
  display: flex;
  flex-direction: column;
  gap: var(--home-gap);
}

.page-home .home-hero__intro {
  max-width: 640px;
}
.page-home .home-hero__title {
  margin: 12px 0 16px;
  font-family: var(--font-headline);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--mist);
}
.page-home .home-hero__sub {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.75;
  color: var(--home-muted);
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-home .home-hero__panel {
  background: var(--cream);
  color: var(--ink);
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  box-shadow: 10px 10px 0 rgba(212, 168, 83, 0.22);
  max-width: 380px;
}
.page-home .home-hero__panel--desktop {
  border-left-color: var(--red-orange);
  box-shadow: 10px 10px 0 rgba(232, 93, 58, 0.18);
}
.page-home .home-hero__ver {
  margin: 8px 0 4px;
  font-family: var(--font-headline);
  font-size: var(--small);
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.06em;
}
.page-home .home-hero__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 2px;
}
.page-home .home-hero__num {
  font-family: var(--font-headline);
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.page-home .home-hero__unit {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
}
.page-home .home-hero__note {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--small);
  color: var(--slate);
}
.page-home .home-hero__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.page-home .home-hero__link:hover,
.page-home .home-hero__link:focus-visible {
  color: var(--red-orange);
  border-color: var(--red-orange);
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--home-rule);
  border-bottom: 1px solid var(--home-rule);
}
.page-home .home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}
.page-home .home-hero__stat-num {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 800;
  color: var(--mist);
  line-height: 1.1;
}
.page-home .home-hero__stat-label {
  font-family: var(--font-headline);
  font-size: var(--small);
  color: var(--home-muted);
}

/* ---- 版本对比 ---- */
.page-home .home-compare {
  padding: var(--home-section-pad);
  background: var(--cream);
}
.page-home .home-compare__head {
  max-width: 720px;
}
.page-home .home-compare__lead {
  font-family: var(--font-body);
  color: var(--slate);
  font-size: var(--body);
  line-height: 1.6;
  margin-top: 8px;
}
.page-home .home-compare__tabs {
  margin-top: 32px;
}
.page-home .tabs__list {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid rgba(10, 31, 60, 0.14);
  margin-bottom: 24px;
}
.page-home .tabs__btn {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-bottom: -2px;
}
.page-home .tabs__btn:hover,
.page-home .tabs__btn:focus-visible {
  color: var(--navy);
}
.page-home .tabs__btn.is-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.page-home .tabs__panel {
  display: none;
}
.page-home .tabs__panel.is-active {
  display: block;
}
.page-home .home-compare__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.page-home .home-compare__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-soft);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.page-home .home-compare__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-compare__title {
  margin: 0 0 10px;
  font-size: var(--h3);
  font-family: var(--font-headline);
  color: var(--navy);
}
.page-home .home-compare__desc {
  font-family: var(--font-body);
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 18px;
}
.page-home .home-compare__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-home .home-compare__list li {
  position: relative;
  padding-left: 26px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.page-home .home-compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}
.page-home .home-compare__fee {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  background: var(--mist);
  border-left: 3px solid var(--navy);
  padding: 16px 18px;
  margin-bottom: 22px;
}
.page-home .home-compare__fee-label {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.04em;
}
.page-home .home-compare__fee-value {
  font-family: var(--font-headline);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
}
.page-home .home-compare__fee-value small {
  font-size: 15px;
  color: var(--slate);
}
.page-home .home-compare__fee-note {
  font-family: var(--font-body);
  font-size: var(--small);
  color: var(--slate);
}
.page-home .home-compare__content--full {
  width: 100%;
}
.page-home .home-compare__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 22px;
}
.page-home .home-compare__spec {
  border: 1px solid rgba(10, 31, 60, 0.14);
  background: var(--mist);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-home .home-compare__spec-num {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.page-home .home-compare__spec-title {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.page-home .home-compare__spec-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--slate);
}

/* ---- 会员中心与费用 ---- */
.page-home .home-fees {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--teal));
  color: var(--mist);
  padding: var(--home-section-pad);
}
.page-home .home-fees::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background: var(--gold);
  opacity: 0.08;
  transform: rotate(24deg);
}
.page-home .home-fees::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-home .home-fees__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.page-home .home-fees__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(212, 168, 83, 0.45);
}
.page-home .home-fees__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-fees .eyebrow {
  color: var(--gold);
}
.page-home .home-fees__lead {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  color: rgba(245, 239, 224, 0.85);
  margin: 0 0 20px;
}
.page-home .home-fees__rule {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.page-home .home-fees__rule-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(245, 239, 224, 0.06);
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
}
.page-home .home-fees__rule-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 15px;
  color: var(--mist);
}
.page-home .home-fees__rule-price {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 26px;
  color: var(--gold);
}
.page-home .home-fees__rule-note {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(245, 239, 224, 0.72);
}
.page-home .home-fees__note {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(245, 239, 224, 0.8);
  margin: 18px 0 24px;
  line-height: 1.6;
}

/* ---- 活动与动态 ---- */
.page-home .home-news {
  background: var(--mist);
  padding: var(--home-section-pad);
}
.page-home .home-news__head {
  margin-bottom: 28px;
}
.page-home .home-news__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.page-home .home-news__featured {
  background: var(--cream);
  border-top: 4px solid var(--gold);
  padding: 28px;
}
.page-home .home-news__featured-title,
.page-home .home-news__updates-title {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: var(--h3);
  color: var(--navy);
}
.page-home .home-news__featured-desc {
  font-family: var(--font-body);
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 20px;
}
.page-home .home-news__featured-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.page-home .home-news__featured-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(10, 31, 60, 0.1);
}
.page-home .home-news__tag,
.page-home .home-news__update-tag {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  color: var(--mist);
  background: var(--navy);
  flex: 0 0 auto;
}
.page-home .home-news__tag {
  background: var(--gold);
  color: var(--navy);
}
.page-home .home-news__item-title {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.page-home .home-news__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .home-news__updates {
  background: var(--cream);
  padding: 28px;
  border-top: 4px solid var(--navy);
}
.page-home .home-news__updates-title {
  margin-bottom: 16px;
}
.page-home .home-news__update-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-home .home-news__update-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.page-home .home-news__update-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

/* ---- 安全承诺 ---- */
.page-home .home-security {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--mist);
  padding: var(--home-section-pad);
}
.page-home .home-security__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.page-home .home-security .eyebrow {
  color: var(--gold);
}
.page-home .home-security__lead {
  font-family: var(--font-body);
  color: rgba(245, 239, 224, 0.8);
  line-height: 1.6;
  margin: 0 0 22px;
}
.page-home .home-security__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-home .home-security__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(245, 239, 224, 0.06);
}
.page-home .home-security__icon {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  flex: 0 0 32px;
}
.page-home .home-security__text {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 600;
  color: var(--mist);
}
.page-home .home-security__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(212, 168, 83, 0.45);
}
.page-home .home-security__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- 资料下载 ---- */
.page-home .home-download {
  background: var(--cream);
  padding: var(--home-section-pad);
}
.page-home .home-download__lead {
  font-family: var(--font-body);
  color: var(--slate);
  margin-top: 8px;
  line-height: 1.6;
}
.page-home .home-download__strip {
  margin-top: 32px;
  border: 1px solid rgba(10, 31, 60, 0.16);
  background: var(--mist);
  display: flex;
  flex-direction: column;
}
.page-home .home-download__quarter {
  background: var(--navy);
  color: var(--mist);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-home .home-download__q-badge {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 18px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 10px;
}
.page-home .home-download__q-text {
  font-family: var(--font-headline);
  font-size: 14px;
  color: rgba(245, 239, 224, 0.9);
}
.page-home .home-download__items {
  display: grid;
  grid-template-columns: 1fr;
}
.page-home .home-download__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 31, 60, 0.1);
  transition: background 0.2s ease;
}
.page-home .home-download__item:last-child {
  border-bottom: 0;
}
.page-home .home-download__item:hover,
.page-home .home-download__item:focus-visible {
  background: var(--cream);
}
.page-home .home-download__item-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.page-home .home-download__item-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--slate);
}
.page-home .home-download__strip .btn {
  align-self: flex-start;
  margin: 20px;
}

/* ---- 平板及以上 ---- */
@media (min-width: 640px) {
  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .page-home .home-hero__stat-num {
    font-size: 28px;
  }
  .page-home .home-compare__specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- 桌面 ---- */
@media (min-width: 960px) {
  .page-home .home-hero {
    padding: clamp(56px, 8vw, 96px) 0 0;
  }
  .page-home .home-hero__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }
  .page-home .home-hero__intro {
    grid-column: 1 / 6;
    padding-top: 24px;
  }
  .page-home .home-hero__panel--mobile {
    grid-column: 7 / 10;
    margin-top: 96px;
    max-width: none;
  }
  .page-home .home-hero__panel--desktop {
    grid-column: 10 / 13;
    margin-top: 16px;
    max-width: none;
  }
  .page-home .home-hero__stats {
    grid-column: 1 / -1;
    margin-top: 56px;
  }
  .page-home .home-hero__deco {
    right: 6%;
    bottom: 18%;
  }

  .page-home .home-compare__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
  }
  .page-home .home-compare__grid--wide {
    grid-template-columns: 1fr;
  }
  .page-home .home-compare__content--full {
    max-width: 760px;
  }

  .page-home .home-fees__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }

  .page-home .home-news__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 32px;
    align-items: start;
  }

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

  .page-home .home-download__strip {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
    align-items: stretch;
  }
  .page-home .home-download__quarter {
    padding-left: 24px;
  }
  .page-home .home-download__items {
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid rgba(10, 31, 60, 0.1);
  }
  .page-home .home-download__item {
    border-bottom: 0;
    border-right: 1px solid rgba(10, 31, 60, 0.1);
  }
  .page-home .home-download__strip .btn {
    align-self: center;
    justify-self: center;
    margin: 0;
  }
}
