.page-home {
  background: var(--space-night);
  color: var(--moon-white);
  overflow-x: hidden;
}

.page-home .home-wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-home .home-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--nebula-cyan);
  box-shadow: 0 0 0 4px rgba(67, 224, 208, .16);
  animation: home-pulse 2.6s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(67, 224, 208, .16); }
  50% { box-shadow: 0 0 0 9px rgba(67, 224, 208, .04); }
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-block: clamp(18px, 3vw, 30px) clamp(52px, 8vw, 100px);
  background:
    radial-gradient(110% 85% at 88% 4%, rgba(123, 92, 255, .26), transparent 62%),
    radial-gradient(85% 70% at 6% 96%, rgba(67, 224, 208, .13), transparent 66%),
    var(--space-night);
  overflow: hidden;
}

.page-home .home-trail {
  margin-bottom: clamp(20px, 4vw, 42px);
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
}

.page-home .home-hero__kicker {
  color: var(--highlight-cyan);
}

.page-home .home-hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 7.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.page-home .home-hero__line {
  display: block;
}

.page-home .home-hero__line--accent {
  background: linear-gradient(102deg, var(--highlight-cyan) 4%, var(--nebula-cyan) 42%, var(--galaxy-violet) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-hero__lead {
  margin: 22px 0 0;
  max-width: 34em;
  color: var(--fog-blue);
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.9;
}

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

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-blue);
}

.page-home .home-stat {
  display: grid;
  gap: 6px;
}

.page-home .home-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--moon-white);
}

.page-home .home-stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--fog-blue);
}

.page-home .home-hero__console {
  position: relative;
  min-width: 0;
}

.page-home .home-hero__visual {
  position: absolute;
  inset: -14% -16% -10% -12%;
  border-radius: var(--radius-l);
  overflow: hidden;
  pointer-events: none;
}

.page-home .home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: saturate(1.1);
}

.page-home .home-hero__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
}

.page-home .home-console {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius-l);
  border: 1px solid rgba(123, 92, 255, .34);
  box-shadow: 0 24px 70px rgba(6, 10, 24, .55);
}

.page-home .home-console__head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .home-console__head .eyebrow {
  color: var(--nebula-cyan);
}

.page-home .home-console__hint {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fog-blue);
}

.page-home .home-console__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(6, 10, 24, .5);
  border: 1px solid var(--line-blue);
}

.page-home .home-console__tabs .tab-button {
  flex: 1 1 auto;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.page-home .home-console__tabs .tab-button[aria-selected="true"] {
  background: var(--galaxy-violet);
  color: var(--moon-white);
}

.page-home .tab-panel[hidden] {
  display: none;
}

.page-home .home-hit-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hit {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(42, 55, 98, .9);
  background: rgba(6, 10, 24, .5);
  color: inherit;
  text-decoration: none;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.page-home .home-hit:hover,
.page-home .home-hit:focus-visible {
  border-color: var(--nebula-cyan);
  background: rgba(14, 23, 51, .85);
  transform: translateX(3px);
}

.page-home .home-hit__path {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--nebula-cyan);
}

.page-home .home-hit__title {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--moon-white);
}

.page-home .home-console__foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-blue);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--fog-blue);
}

/* ---------- 检索能力 ---------- */
.page-home .home-lab {
  padding-block: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--space-night) 0%, var(--space-indigo) 22%, var(--space-indigo) 100%);
}

.page-home .home-lab__grid {
  display: grid;
  gap: clamp(26px, 5vw, 56px);
  align-items: start;
}

.page-home .home-lab__figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-lab__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-blue);
  object-fit: cover;
}

.page-home .home-lab__figure figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--fog-blue);
}

.page-home .home-lab__body .eyebrow {
  color: var(--galaxy-violet);
}

.page-home .home-lab__body .section-title {
  margin: 10px 0 0;
}

.page-home .home-lab__lead {
  margin: 16px 0 0;
  color: var(--fog-blue);
  line-height: 1.9;
}

.page-home .home-lab__fields {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-lab__fields li {
  padding-left: 16px;
  border-left: 2px solid var(--line-blue);
  font-size: 15px;
  line-height: 1.8;
  color: var(--moon-white);
}

.page-home .home-lab__fields .meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--nebula-cyan);
}

.page-home .home-lab__devices {
  margin-top: 28px;
}

.page-home .home-lab__tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-blue);
  background: rgba(6, 10, 24, .5);
  width: fit-content;
}

.page-home .home-lab__tabs .tab-button {
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fog-blue);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.page-home .home-lab__tabs .tab-button[aria-selected="true"] {
  background: rgba(67, 224, 208, .16);
  color: var(--highlight-cyan);
  box-shadow: inset 0 0 0 1px rgba(67, 224, 208, .5);
}

.page-home .home-lab__panel {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-m);
  background: var(--space-night);
  border: 1px solid var(--line-blue);
}

.page-home .home-lab__panel .meta {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--nebula-cyan);
}

.page-home .home-lab__panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fog-blue);
}

.page-home .home-lab__more {
  margin: 22px 0 0;
}

/* ---------- 两条路径 ---------- */
.page-home .home-paths {
  padding-block: clamp(48px, 7vw, 92px);
  background: var(--space-night);
}

.page-home .home-paths__head {
  max-width: 36em;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.page-home .home-paths__head .eyebrow {
  color: var(--signal-orange);
}

.page-home .home-paths__head .section-title {
  margin: 10px 0 0;
}

.page-home .home-paths__split {
  display: grid;
  gap: 24px;
}

.page-home .home-path {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-l);
  border: 1px solid var(--line-blue);
}

.page-home .home-path--return {
  background: linear-gradient(160deg, rgba(14, 23, 51, .95), rgba(6, 10, 24, .95));
  border-color: rgba(123, 92, 255, .4);
}

.page-home .home-path--first {
  background: linear-gradient(160deg, rgba(74, 23, 56, .92), rgba(6, 10, 24, .95));
  border-color: rgba(255, 138, 61, .3);
}

.page-home .home-path__index {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--fog-blue);
}

.page-home .home-path__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -.015em;
}

.page-home .home-path p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fog-blue);
}

.page-home .home-path__list,
.page-home .home-path__steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-path__list li,
.page-home .home-path__steps li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--moon-white);
}

.page-home .home-path__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--galaxy-violet);
}

.page-home .home-path__steps {
  counter-reset: home-step;
}

.page-home .home-path__steps li::before {
  counter-increment: home-step;
  content: counter(home-step);
  position: absolute;
  left: 0;
  top: .12em;
  width: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--signal-orange);
}

.page-home .home-path__steps .meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--fog-blue);
}

.page-home .home-path__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(170, 182, 212, .22);
}

.page-home .home-path__figure {
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-home .home-path__figure img {
  width: 100%;
  height: auto;
  max-height: 380px;
  border-radius: var(--radius-m);
  object-fit: cover;
}

.page-home .home-path__figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--fog-blue);
  text-align: center;
}

/* ---------- V2.0 更新 ---------- */
.page-home .home-updates {
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--moon-white);
  color: var(--space-night);
}

.page-home .home-updates__head {
  max-width: 40em;
}

.page-home .home-updates__eyebrow {
  color: #4b3ca8;
}

.page-home .home-updates .section-title {
  margin: 10px 0 0;
  color: var(--space-night);
}

.page-home .home-updates__lead {
  margin: 16px 0 0;
  color: #3c4665;
  line-height: 1.9;
}

.page-home .home-updates__list {
  display: grid;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(10, 16, 40, .14);
}

.page-home .home-updates__item {
  display: grid;
  gap: 8px;
  padding-block: 26px;
  border-top: 1px solid rgba(10, 16, 40, .14);
}

.page-home .home-updates__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: #4b3ca8;
}

.page-home .home-updates__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--space-night);
}

.page-home .home-updates__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #3c4665;
}

.page-home .home-updates__more {
  margin: 28px 0 0;
}

.page-home .home-updates__more .button-ghost {
  border-color: rgba(10, 16, 40, .3);
  color: var(--space-night);
}

.page-home .home-updates__more .button-ghost:hover {
  border-color: #4b3ca8;
  color: #4b3ca8;
}

/* ---------- 反馈信号 ---------- */
.page-home .home-signal {
  padding-block: clamp(46px, 7vw, 92px);
  background:
    radial-gradient(80% 90% at 88% 90%, rgba(255, 138, 61, .22), transparent 65%),
    linear-gradient(140deg, var(--wine-nebula), var(--space-indigo) 68%);
}

.page-home .home-signal__grid {
  display: grid;
  gap: clamp(26px, 5vw, 52px);
  align-items: center;
}

.page-home .home-signal__eyebrow {
  color: var(--warm-sand);
}

.page-home .home-signal .section-title {
  margin: 10px 0 0;
}

.page-home .home-signal__body p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(244, 247, 255, .82);
}

.page-home .home-signal__list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-signal__list li {
  padding-left: 14px;
  border-left: 2px solid rgba(255, 138, 61, .55);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--moon-white);
}

.page-home .home-signal__list .meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--warm-sand);
}

.page-home .home-signal__cta {
  margin-top: 26px !important;
}

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

.page-home .home-signal__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 232, 214, .22);
  object-fit: cover;
}

/* ---------- 动效 ---------- */
.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.page-home [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .home-lab__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-home .home-updates__item {
    grid-template-columns: 70px minmax(0, 260px) minmax(0, 1fr);
    align-items: baseline;
    gap: 20px;
  }

  .page-home .home-signal__grid {
    grid-template-columns: 1.05fr .95fr;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: 58fr 42fr;
    align-items: center;
    gap: clamp(36px, 5vw, 68px);
  }

  .page-home .home-paths__split {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .page-home .home-path__figure {
    align-self: center;
  }

  .page-home .home-path__figure img {
    max-height: 460px;
  }
}

@media (max-width: 480px) {
  .page-home .home-hero__actions .button {
    width: 100%;
    text-align: center;
  }

  .page-home .home-console__tabs .tab-button {
    font-size: 11px;
    padding: 8px 6px;
  }
}

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

  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home .home-hit:hover,
  .page-home .home-hit:focus-visible {
    transform: none;
  }
}
