/* ================= 首页 · page-home ================= */

.page-home {
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

/* ---------- 面包屑 / 上下文 ---------- */
.page-home .home-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--mist);
  border-bottom: 1px solid rgba(169, 180, 198, 0.16);
}

.page-home .home-crumb__sep {
  color: var(--maple);
}

.page-home .home-crumb [aria-current="page"] {
  color: var(--paper);
}

/* ---------- 通用章节头 ---------- */
.page-home .home-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(22px, 3.4vw, 38px);
}

.page-home .home-head__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--gold);
}

.page-home .home-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.page-home .home-head p {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-16);
  line-height: 1.78;
  color: var(--mist);
}

.page-home .home-head--paper h2 {
  color: var(--ink);
}

.page-home .home-head--paper p {
  color: #4a5468;
}

.page-home .home-head--paper .home-head__num {
  color: var(--maple-deep);
}

/* ---------- 色带 ---------- */
.page-home .home-band {
  height: 4px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--maple), var(--gold) 46%, var(--aurora));
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  padding-block: clamp(30px, 5.5vw, 68px) clamp(42px, 7vw, 86px);
  background:
    radial-gradient(115% 82% at 86% 4%, rgba(47, 224, 166, 0.14), transparent 60%),
    radial-gradient(95% 72% at 2% 98%, rgba(230, 57, 70, 0.16), transparent 62%),
    var(--ink);
  overflow: hidden;
}

.page-home .hero-home__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .hero-home__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-home .hero-home__hl {
  color: var(--aurora);
  box-shadow: inset 0 -0.22em 0 rgba(47, 224, 166, 0.18);
}

.page-home .hero-home__lede {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: #ccd6e5;
}

.page-home .hero-home__entries {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 14px 18px;
  border: 1px solid rgba(169, 180, 198, 0.22);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(19, 28, 51, 0.92), rgba(12, 20, 38, 0.78));
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  border-color: var(--aurora);
  transform: translateX(4px);
  background: linear-gradient(180deg, rgba(20, 158, 119, 0.16), rgba(12, 20, 38, 0.85));
}

.page-home .home-entry__idx {
  flex: none;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--maple);
}

.page-home .home-entry__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .home-entry__title {
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .home-entry__meta {
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--mist);
}

.page-home .home-entry__arrow {
  flex: none;
  margin-left: auto;
  padding-left: 10px;
  color: var(--aurora);
  font-size: var(--fs-18);
}

/* 首屏视觉 */
.page-home .hero-home__visual {
  position: relative;
  min-height: 260px;
  aspect-ratio: 16 / 12;
  border-radius: var(--r-lg);
  border: 1px solid rgba(89, 199, 242, 0.24);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .hero-home__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .hero-home__pulse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .pulse-ring {
  transform-box: view-box;
  transform-origin: 240px 240px;
  animation: homePulseRing 3.2s var(--ease) infinite;
}

.page-home .pulse-ring--b {
  animation-delay: 1.06s;
}

.page-home .pulse-ring--c {
  animation-delay: 2.12s;
}

.page-home .pulse-line {
  animation: homePulseLine 3.2s var(--ease) infinite;
}

@keyframes homePulseRing {
  0% { transform: scale(0.72); opacity: 0; }
  35% { opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

@keyframes homePulseLine {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.95; }
}

.page-home .hero-home__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(47, 224, 166, 0.45);
  background: rgba(10, 16, 32, 0.8);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--aurora);
}

.page-home .hero-home__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 0 0 rgba(47, 224, 166, 0.6);
  animation: homeDot 3.2s var(--ease) infinite;
}

@keyframes homeDot {
  0% { box-shadow: 0 0 0 0 rgba(47, 224, 166, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(47, 224, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 224, 166, 0); }
}

/* ---------- 章节通用 ---------- */
.page-home .home-sec {
  padding-block: clamp(46px, 7vw, 92px);
}

/* ---------- 三步起手 ---------- */
.page-home .home-steps__grid {
  display: grid;
  gap: clamp(26px, 5vw, 54px);
  align-items: start;
}

.page-home .home-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(169, 180, 198, 0.18);
}

.page-home .home-steps__item:last-child {
  border-bottom: 1px solid rgba(169, 180, 198, 0.18);
}

.page-home .home-steps__index {
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: 1;
  color: var(--maple);
}

.page-home .home-steps__text h3 {
  margin: 0 0 8px;
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.page-home .home-steps__text p {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.82;
  color: var(--mist);
}

.page-home .home-steps__figure {
  margin: 0;
  border-radius: var(--r-lg);
  border: 1px solid rgba(89, 199, 242, 0.22);
  background: var(--ink-2);
  overflow: hidden;
}

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

.page-home .home-steps__figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid rgba(169, 180, 198, 0.16);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 资源分区地图 ---------- */
.page-home .home-map__banner {
  margin: 0 0 clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(169, 180, 198, 0.18);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .home-map__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .home-map__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .home-map__item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 158px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(169, 180, 198, 0.16);
  background: linear-gradient(165deg, rgba(19, 28, 51, 0.95), rgba(10, 16, 32, 0.9));
}

.page-home .home-map__item--key {
  border-color: rgba(47, 224, 166, 0.42);
  background: linear-gradient(165deg, rgba(20, 158, 119, 0.18), rgba(10, 16, 32, 0.94));
}

.page-home .home-map__idx {
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .home-map__item h3 {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-home .home-map__item--key h3 {
  color: var(--aurora);
}

.page-home .home-map__item p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--mist);
}

.page-home .home-map__bar {
  display: block;
  height: 4px;
  margin-top: auto;
  border-radius: var(--r-pill);
  background: rgba(169, 180, 198, 0.16);
  overflow: hidden;
}

.page-home .home-map__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--maple), var(--gold) 60%, var(--aurora));
}

.page-home .bar-1 i { width: 46%; }
.page-home .bar-2 i { width: 34%; }
.page-home .bar-3 i { width: 92%; }
.page-home .bar-4 i { width: 78%; }
.page-home .bar-5 i { width: 28%; }
.page-home .bar-6 i { width: 22%; }

/* ---------- 更新卡片带 ---------- */
.page-home .home-feed .filter-bar {
  margin-bottom: 22px;
}

.page-home .filter-btn[aria-pressed="true"] {
  border-color: var(--aurora);
  color: var(--aurora);
  background: rgba(47, 224, 166, 0.12);
}

.page-home .home-feed__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 80%);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.page-home .home-feed__track:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-home .home-feed__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 196px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(169, 180, 198, 0.16);
  background: var(--ink-2);
}

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

.page-home .home-feed__title {
  margin: 0;
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.page-home .home-feed__card p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--mist);
}

.page-home .home-feed__foot {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-12) !important;
  color: #7d8CA3 !important;
}

.page-home .home-feed__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--aurora);
}

.page-home .home-feed__hint span {
  display: block;
  width: 54px;
  height: 2px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--aurora), rgba(47, 224, 166, 0));
}

/* ---------- 高频问答（暖纸面） ---------- */
.page-home .home-faq {
  padding-block: clamp(48px, 7vw, 92px);
  background: var(--paper);
  color: var(--ink);
}

.page-home .home-faq__item {
  border-top: 1px solid rgba(10, 16, 32, 0.16);
}

.page-home .home-faq__item:last-of-type {
  border-bottom: 1px solid rgba(10, 16, 32, 0.16);
}

.page-home .home-faq__item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 44px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-18);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .home-faq__item summary::-webkit-details-marker {
  display: none;
}

.page-home .home-faq__item summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-24);
  line-height: 1;
  color: var(--maple-deep);
}

.page-home .home-faq__item[open] summary::after {
  content: "\2013";
}

.page-home .home-faq__item summary:focus-visible {
  outline: 2px solid var(--maple-deep);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.page-home .home-faq__body {
  padding: 0 0 20px;
}

.page-home .home-faq__body p {
  margin: 0;
  max-width: 68ch;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: #3c4658;
}

/* ---------- 数据带 ---------- */
.page-home .home-stats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: rgba(169, 180, 198, 0.16);
  border: 1px solid rgba(169, 180, 198, 0.16);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .home-stats__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 22px 20px;
  background: var(--ink-3);
}

.page-home .home-stats__item p {
  flex-basis: 100%;
  margin: 6px 0 0;
}

.page-home .home-stats__num {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.page-home .home-stats__unit {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--gold);
}

.page-home .home-stats__label {
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-stats__item:nth-child(3n + 2) .home-stats__num,
.page-home .home-stats__item:nth-child(3n + 2) .home-stats__unit {
  color: var(--aurora);
}

.page-home .home-stats__item:nth-child(3n + 3) .home-stats__num,
.page-home .home-stats__item:nth-child(3n + 3) .home-stats__unit {
  color: var(--cyan);
}

/* ---------- 通栏影像 ---------- */
.page-home .home-banner {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-3);
}

.page-home .home-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  opacity: 0.7;
}

.page-home .home-banner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px clamp(18px, 4vw, 44px);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(10, 16, 32, 0.92), rgba(10, 16, 32, 0));
}

/* ---------- 企业对接与信任 ---------- */
.page-home .home-trust__grid {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: start;
}

.page-home .home-trust__lead h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.page-home .home-trust__lead > p {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--mist);
}

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

.page-home .home-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(169, 180, 198, 0.16);
  border: 1px solid rgba(169, 180, 198, 0.16);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .home-trust__list li {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: var(--ink-2);
}

.page-home .home-trust__key {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--maple);
}

.page-home .home-trust__list p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.78;
  color: #ccd6e5;
  word-break: break-word;
}

/* ---------- 进入视口过渡 ---------- */
.page-home [data-reveal] {
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

/* ================= 响应式 ================= */

@media (min-width: 640px) {
  .page-home .home-map__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .home-feed__track {
    grid-auto-columns: minmax(250px, 46%);
  }
}

@media (min-width: 900px) {
  .page-home .hero-home__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .page-home .hero-home__visual {
    aspect-ratio: 4 / 3;
  }

  .page-home .home-steps__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .page-home .home-map__banner img {
    aspect-ratio: 21 / 9;
  }

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

  .page-home .home-map__item {
    grid-column: span 4;
  }

  .page-home .home-map__item--key {
    grid-column: span 6;
    min-height: 178px;
  }

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

  .page-home .home-trust__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .page-home .home-feed__track {
    grid-auto-columns: minmax(260px, 31%);
  }

  .page-home .home-banner img {
    max-height: 420px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-feed__track {
    grid-auto-columns: minmax(272px, 24%);
  }
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .pulse-ring,
  .page-home .pulse-line,
  .page-home .hero-home__dot {
    animation: none;
  }

  .page-home [data-reveal],
  .page-home .home-entry {
    transition: none;
  }
}
