.page-home {
  --h-pad: clamp(56px, 8vw, 104px);
  --h-gap: clamp(16px, 2.2vw, 24px);
  background: var(--ink-800);
  color: var(--mist);
  overflow-x: hidden;
}

/* ===== 首屏 ===== */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding-block: calc(var(--bar-h) + clamp(30px, 6vw, 72px)) clamp(52px, 9vw, 108px);
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(43, 58, 133, 0.5), transparent 62%),
    var(--ink-800);
  overflow: hidden;
}

.page-home .hero__bg {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: 0;
  width: 64%;
  height: 92%;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(63, 191, 160, 0.34) 0%, rgba(30, 122, 102, 0.5) 24%, rgba(20, 30, 74, 0.94) 62%, rgba(7, 12, 34, 0.96) 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.page-home .hero__ctx {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 30, 74, 0.62);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.page-home .hero__ctx .coord {
  color: var(--gold);
  font-size: 0.75rem;
}

.page-home .hero__ver {
  margin: 0 0 clamp(12px, 2vw, 18px);
}

.page-home .hero__ver-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--grey);
}

.page-home .hero__ver-num {
  display: inline-block;
  padding-bottom: 0.05em;
  border-bottom: 2px solid var(--gold-line);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3.25rem, 13vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: var(--mist);
}

.page-home .hero__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  animation: home-pulse 2.8s ease-out infinite;
}

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 191, 160, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(63, 191, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 191, 160, 0); }
}

.page-home .hero__title {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .hero__lede {
  margin: 0 0 clamp(24px, 3.4vw, 36px);
  max-width: 34em;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.75;
  color: var(--grey);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--jade-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(158deg, rgba(30, 122, 102, 0.4) 0%, rgba(20, 30, 74, 0.94) 58%, rgba(11, 18, 48, 0.96) 100%);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.page-home .hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.85);
}

.page-home .hero__stats {
  position: relative;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-soft);
}

.page-home .hero__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(7, 12, 34, 0.86);
}

.page-home .hero__stat-num {
  flex: none;
  min-width: 4.6em;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

.page-home .hero__stat-label {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--grey);
}

/* ===== 通用块头 ===== */
.page-home .block-head {
  max-width: 48rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .block-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--jade);
}

.page-home .block-head__eyebrow .coord {
  font-size: 0.6875rem;
  color: var(--gold);
}

.page-home .block-head__title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .block-head__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  line-height: 1.75;
  color: var(--grey);
}

/* ===== 四条产品线 ===== */
.page-home .lines {
  position: relative;
  padding-block: var(--h-pad);
  background: var(--ink-900);
  overflow: hidden;
}

.page-home .lines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(43, 58, 133, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 58, 133, 0.2) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 74%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 74%, transparent);
}

.page-home .lines > .shell {
  position: relative;
  z-index: 1;
}

.page-home .lines__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--h-gap);
}

.page-home .lines__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 30, 74, 0.92), rgba(11, 18, 48, 0.92));
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.page-home .lines__cell:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
}

.page-home .lines__cell--a {
  background: linear-gradient(150deg, rgba(30, 122, 102, 0.34), rgba(20, 30, 74, 0.9) 52%, rgba(11, 18, 48, 0.94));
  border-color: var(--jade-line);
}

.page-home .lines__idx {
  align-self: flex-start;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--grey);
  transition: color 0.22s ease, border-color 0.22s ease;
}

.page-home .lines__cell:hover .lines__idx {
  color: var(--gold-hi);
  border-color: var(--gold-line);
}

.page-home .lines__media {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .lines__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .lines__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-home .lines__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey);
}

/* ===== 权益对比 ===== */
.page-home .equity {
  padding-block: var(--h-pad);
  background: var(--ink-800);
}

.page-home .equity__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.page-home .equity__intro {
  margin: 0 0 clamp(18px, 2.4vw, 24px);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  line-height: 1.75;
  color: var(--grey);
}

.page-home .equity__dims {
  list-style: none;
  margin: 0 0 clamp(16px, 2.2vw, 22px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-soft);
}

.page-home .equity__dim {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(11, 18, 48, 0.9);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .equity__dim-idx {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--jade);
}

.page-home .equity__note {
  margin: 0 0 clamp(20px, 2.8vw, 28px);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--grey);
}

.page-home .equity__figure {
  margin: 0;
}

.page-home .equity__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .equity__figure figcaption {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--grey);
}

/* ===== 客户片段 ===== */
.page-home .cases {
  padding-block: var(--h-pad);
  background: var(--ink-900);
  overflow: hidden;
}

.page-home .cases__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 78vw);
  gap: var(--h-gap);
  padding-inline: clamp(16px, 4vw, 40px);
  padding-bottom: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .cases__rail::-webkit-scrollbar {
  height: 6px;
}

.page-home .cases__rail::-webkit-scrollbar-track {
  background: rgba(43, 58, 133, 0.35);
}

.page-home .cases__rail::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

.page-home .cases__lead,
.page-home .cases__item {
  scroll-snap-align: start;
}

.page-home .cases__lead {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 2px solid var(--jade-line);
}

.page-home .cases__lead img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-home .cases__lead figcaption {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--grey);
}

.page-home .cases__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 30, 74, 0.94), rgba(11, 18, 48, 0.94));
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.page-home .cases__item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
}

.page-home .cases__item .tag {
  align-self: flex-start;
}

.page-home .cases__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .cases__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--grey);
}

/* ===== 版本与维护 ===== */
.page-home .updates {
  padding-block: var(--h-pad);
  background: var(--ink-800);
}

.page-home .updates__track {
  list-style: none;
  margin: 0 0 clamp(26px, 3.6vw, 38px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--h-gap);
}

.page-home .updates__item {
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(20, 30, 74, 0.72);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.page-home .updates__item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
}

.page-home .updates__mark {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .updates__name {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .updates__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--grey);
}

.page-home .updates__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(20px, 2.6vw, 28px);
  border-top: 1px solid var(--line);
}

.page-home .updates__foot-text {
  margin: 0;
  max-width: 34em;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey);
}

/* ===== 下一步 ===== */
.page-home .start {
  padding-block: var(--h-pad);
  background: var(--ink-900);
}

.page-home .start__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--h-gap);
}

.page-home .start__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 30, 74, 0.9), rgba(11, 18, 48, 0.92));
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.page-home .start__card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  background: linear-gradient(160deg, rgba(30, 122, 102, 0.3), rgba(11, 18, 48, 0.94));
}

.page-home .start__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-home .start__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .start__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--grey);
}

.page-home .start__more {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--jade);
}

.page-home .start__card:hover .start__more {
  color: var(--gold-hi);
}

/* ===== 断点 ===== */
@media (max-width: 899px) {
  .page-home .hero__bg {
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
    clip-path: none;
  }

  .page-home .hero__aside {
    clip-path: none;
    min-height: 300px;
  }
}

@media (min-width: 760px) {
  .page-home .lines__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .lines__cell--a { grid-column: span 7; }
  .page-home .lines__cell--b { grid-column: span 5; }
  .page-home .lines__cell--c { grid-column: span 5; }
  .page-home .lines__cell--d { grid-column: span 7; }

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

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

  .page-home .cases__rail {
    grid-auto-columns: 320px;
    padding-inline: max(24px, calc((100vw - var(--shell)) / 2));
  }
}

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(32px, 5vw, 72px);
  }

  .page-home .equity__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(36px, 5vw, 72px);
  }
}

@media (min-width: 1180px) {
  .page-home .cases__rail {
    grid-auto-columns: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__dot {
    animation: none;
  }

  .page-home .lines__cell,
  .page-home .cases__item,
  .page-home .updates__item,
  .page-home .start__card {
    transition: none;
  }
}
