.page-home {
  --home-glow: rgba(249, 115, 22, 0.35);
  --home-line: rgba(192, 199, 209, 0.26);
  --home-line-strong: rgba(192, 199, 209, 0.52);
  --home-panel-bg: rgba(10, 20, 40, 0.78);
  overflow-x: hidden;
}
.page-home .hero-frame__inner,
.page-home .version-track__inner,
.page-home .guide-brief__inner,
.page-home .content-modules__inner,
.page-home .switch-demo__inner,
.page-home .compliance-strip__inner {
  width: min(var(--container-width), calc(100% - 2rem));
  margin-inline: auto;
}
.page-home .hero-frame__inner {
  width: min(1060px, calc(100% - 2rem));
}
.page-home .switch-demo__inner,
.page-home .compliance-strip__inner {
  width: min(780px, calc(100% - 2rem));
}

/* ===== 框景首屏 ===== */
.page-home .hero-frame {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.22), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(37, 99, 235, 0.32), transparent 26rem),
    linear-gradient(145deg, var(--deep-space), var(--deep-space-2));
  color: var(--paper-white);
}
.page-home .hero-frame__panel {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--home-line-strong);
  background: var(--home-panel-bg);
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.35);
}
.page-home .hero-frame__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  pointer-events: none;
}
.page-home .hero-frame__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--home-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.page-home .hero-frame__content {
  position: relative;
  z-index: 1;
}
.page-home .hero-frame__content .eyebrow {
  margin-bottom: 1.25rem;
}
.page-home .hero-frame h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--paper-white);
}
.page-home .hero-frame__lead {
  margin: 0 0 1rem;
  max-width: 36ch;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--paper-white);
}
.page-home .hero-frame__desc {
  margin: 0 0 2rem;
  max-width: 56ch;
  line-height: 1.8;
  color: var(--light-blue);
}
.page-home .hero-frame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.page-home .hero-frame__stat {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 7vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--home-line);
}
.page-home .hero-frame__stat-value {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  color: var(--vibrant-orange);
  font-size: clamp(5.5rem, 16vw, 10rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-shadow: 0 0 52px var(--home-glow);
}
.page-home .hero-frame__stat-value span {
  color: var(--paper-white);
  font-size: 0.3em;
  font-weight: 700;
  letter-spacing: 0;
}
.page-home .hero-frame__stat-label {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--light-blue);
}
.page-home .hero-frame__meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 6vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-line);
}
.page-home .hero-frame__meta-item {
  padding-left: 0.85rem;
  border-left: 2px solid var(--vibrant-orange);
}
.page-home .hero-frame__meta-num {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--paper-white);
}
.page-home .hero-frame__meta-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--light-blue);
}
@media (min-width: 760px) {
  .page-home .hero-frame__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
    column-gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
  }
  .page-home .hero-frame__content {
    align-self: center;
  }
  .page-home .hero-frame__stat {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    text-align: right;
  }
  .page-home .hero-frame__stat-value {
    justify-content: flex-end;
  }
  .page-home .hero-frame__stat-label {
    text-align: right;
  }
  .page-home .hero-frame__meta {
    grid-column: 1 / -1;
  }
}

/* ===== 版本升级轨迹 ===== */
.page-home .version-track {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--deep-space);
  border-top: 1px solid var(--home-line);
  color: var(--paper-white);
}
.page-home .version-track__head {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.page-home .version-track__head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--paper-white);
}
.page-home .version-track__intro {
  max-width: 62ch;
  line-height: 1.8;
  color: var(--light-blue);
}
.page-home .version-track__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.page-home .version-track__item {
  position: relative;
  padding: 2rem 0 2rem 3.5rem;
  border-left: 1px solid var(--home-line-strong);
  border-bottom: 1px solid var(--home-line);
}
.page-home .version-track__item:last-child {
  border-bottom: 0;
}
.page-home .version-track__num {
  position: absolute;
  left: 0;
  top: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1px solid var(--metallic-silver);
  background: var(--deep-space);
  color: var(--light-blue);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}
.page-home .version-track__item-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--paper-white);
}
.page-home .version-track__text {
  margin: 0;
  max-width: 44ch;
  line-height: 1.7;
  color: var(--light-blue);
}
.page-home .version-track__figure {
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  max-width: 680px;
  border: 1px solid var(--home-line);
  padding: 0.75rem;
}
.page-home .version-track__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .version-track__figure figcaption {
  margin-top: 0.75rem;
  color: var(--light-blue);
}
@media (min-width: 900px) {
  .page-home .version-track__list {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.5rem;
    position: relative;
  }
  .page-home .version-track__list::before {
    content: "";
    position: absolute;
    top: 1.6rem;
    left: 2.4rem;
    right: 2.4rem;
    height: 1px;
    background: var(--home-line-strong);
    z-index: 0;
  }
  .page-home .version-track__item {
    padding: 0;
    border: 0;
  }
  .page-home .version-track__item + .version-track__item {
    border-bottom: 0;
  }
  .page-home .version-track__num {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-bottom: 2rem;
  }
  .page-home .version-track__text {
    max-width: 30ch;
  }
}

/* ===== 内地使用指南 ===== */
.page-home .guide-brief {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--paper-white);
  color: var(--ink-black);
}
.page-home .guide-brief__layout {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
}
.page-home .guide-brief__media {
  position: relative;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 40px -18px rgba(15, 23, 42, 0.26);
}
.page-home .guide-brief__media::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -9px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(249, 115, 22, 0.4);
  pointer-events: none;
}
.page-home .guide-brief__media img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .guide-brief__copy .eyebrow {
  margin-bottom: 1rem;
}
.page-home .guide-brief__copy h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink-black);
}
.page-home .guide-brief__text {
  margin: 0 0 1.75rem;
  line-height: 1.8;
  color: #334155;
}
.page-home .guide-brief__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (min-width: 860px) {
  .page-home .guide-brief__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }
}

/* ===== 内容中心模块 ===== */
.page-home .content-modules {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: #fff;
  color: var(--ink-black);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.page-home .content-modules__head {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.page-home .content-modules__head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink-black);
}
.page-home .content-modules__intro {
  max-width: 64ch;
  line-height: 1.8;
  color: #334155;
}
.page-home .content-modules__grid {
  display: grid;
  gap: 1rem;
}
.page-home .content-modules__card {
  position: relative;
  background: var(--paper-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 3px solid var(--metallic-silver);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.page-home .content-modules__card:hover {
  border-top-color: var(--vibrant-orange);
  box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.3);
}
.page-home .content-modules__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--deep-space);
  color: var(--paper-white);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}
.page-home .content-modules__name {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.page-home .content-modules__name a {
  color: var(--ink-black);
  text-decoration: none;
}
.page-home .content-modules__name a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-home .content-modules__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
}
.page-home .content-modules__figure {
  max-width: 520px;
  margin: 2.5rem auto 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.75rem;
  background: var(--paper-white);
}
.page-home .content-modules__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.page-home .content-modules__figure figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: #64748b;
}
@media (min-width: 640px) {
  .page-home .content-modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .page-home .content-modules__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== 首页切换 ===== */
.page-home .switch-demo {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.22), transparent 22rem),
    linear-gradient(145deg, var(--deep-space), var(--deep-space-2));
  color: var(--paper-white);
  text-align: center;
}
.page-home .switch-demo__content .eyebrow {
  margin-bottom: 1rem;
  text-align: center;
}
.page-home .switch-demo h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--paper-white);
}
.page-home .switch-demo__lead {
  max-width: 52ch;
  margin: 0 auto 2rem;
  line-height: 1.8;
  color: var(--light-blue);
}
.page-home .switch-demo__trace {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.page-home .switch-demo__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--metallic-silver);
  background: rgba(10, 20, 40, 0.5);
  color: var(--light-blue);
  font-size: 0.95rem;
  font-weight: 500;
}
.page-home .switch-demo__node.is-active {
  border-color: var(--vibrant-orange);
  color: var(--vibrant-orange);
  box-shadow: 0 0 28px rgba(249, 115, 22, 0.18);
}
.page-home .switch-demo__arrow {
  font-family: var(--font-mono);
  color: var(--metallic-silver);
}
.page-home .switch-demo__note {
  margin: 0;
  color: var(--light-blue);
}

/* ===== 合规与备案 ===== */
.page-home .compliance-strip {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--paper-white);
  color: var(--ink-black);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.page-home .compliance-strip__inner {
  display: grid;
  gap: 1.5rem;
}
.page-home .compliance-strip__content .eyebrow {
  margin-bottom: 0.75rem;
}
.page-home .compliance-strip h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  color: var(--ink-black);
}
.page-home .compliance-strip__text {
  margin: 0;
  line-height: 1.75;
  color: #475569;
}
.page-home .compliance-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .page-home [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
