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

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

/* ---------- 首屏 ---------- */

.page-home .hero-home {
  position: relative;
  padding-top: calc(var(--header-h) + 2.25rem);
  background:
    radial-gradient(140% 100% at 88% -12%, rgba(34, 224, 214, 0.16), transparent 62%),
    radial-gradient(90% 80% at -12% 8%, rgba(255, 122, 26, 0.1), transparent 58%),
    var(--ink-900);
  border-bottom: 1px solid var(--grid);
}

.page-home .hero-home__inner {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3.25rem;
}

.page-home .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.55rem;
  color: var(--grid);
}

.page-home .breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .breadcrumbs a:hover,
.page-home .breadcrumbs a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .hero-home__title {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.page-home .hero-home__sub {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.78;
  color: rgba(244, 239, 230, 0.8);
}

.page-home .hero-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

/* 核心直达磁贴 */

.page-home .gate {
  position: relative;
  display: block;
  margin-top: 2rem;
  padding: 1.5rem 1.35rem 1.35rem;
  overflow: hidden;
  background: linear-gradient(155deg, var(--ink-800) 0%, #0a2136 58%, var(--ink-700) 100%);
  border: 1px solid var(--grid);
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.page-home .gate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 110% at 100% 0%, rgba(34, 224, 214, 0.38), transparent 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.page-home .gate:hover,
.page-home .gate:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 214, 0.62);
  box-shadow: 0 20px 48px -20px rgba(34, 224, 214, 0.55);
}

.page-home .gate:hover::before,
.page-home .gate:focus-visible::before {
  opacity: 1;
}

.page-home .gate__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-home .gate__body {
  position: relative;
  z-index: 1;
  display: block;
}

.page-home .gate__kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .gate__title {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.page-home .gate__desc {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.72;
  color: rgba(244, 239, 230, 0.78);
}

.page-home .gate__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.35rem;
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--grid);
  font-size: 0.8rem;
  color: var(--mist);
}

.page-home .gate__stats b {
  margin-right: 0.3rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--paper-100);
}

.page-home .gate__go {
  display: inline-block;
  margin-top: 1.05rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

/* 首屏右侧数据视觉 */

.page-home .hero-home__visual {
  position: relative;
  min-height: 270px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--grid);
  background:
    radial-gradient(70% 70% at 50% 46%, rgba(34, 224, 214, 0.12), transparent 72%),
    #05141f;
}

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

.page-home .orbit {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.page-home .orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(34, 224, 214, 0.3);
  transform: translate(-50%, -50%);
}

.page-home .orbit__ring--a {
  height: 88%;
  aspect-ratio: 1;
}

.page-home .orbit__ring--b {
  height: 62%;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(143, 166, 184, 0.38);
  animation: home-ring-spin 28s linear infinite;
}

.page-home .orbit__ring--c {
  height: 36%;
  aspect-ratio: 1;
  border-color: rgba(255, 122, 26, 0.42);
}

.page-home .orbit__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px 3px rgba(34, 224, 214, 0.55);
}

.page-home .orbit__dot--1 {
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
  animation: home-dot-pulse 3.2s var(--ease) infinite;
}

.page-home .orbit__dot--2 {
  left: 13%;
  top: 63%;
  width: 6px;
  height: 6px;
  background: var(--orange);
  box-shadow: 0 0 12px 3px rgba(255, 122, 26, 0.5);
  animation: home-dot-pulse 4.4s var(--ease) infinite 0.8s;
}

.page-home .orbit__dot--3 {
  left: 81%;
  top: 41%;
  width: 5px;
  height: 5px;
  animation: home-dot-pulse 3.8s var(--ease) infinite 1.6s;
}

.page-home .hero-home__readout {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  max-width: calc(100% - 1.7rem);
  margin: 0;
  padding: 0.7rem 0.85rem;
  list-style: none;
  border-left: 2px solid var(--cyan);
  background: rgba(7, 26, 43, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--mist);
}

.page-home .hero-home__readout li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-home .hero-home__readout span {
  color: var(--cyan);
  font-weight: 600;
}

@keyframes home-ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes home-dot-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---------- 通用小标题 ---------- */

.page-home .sec-head {
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

.page-home .sec-head h2 {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 4.6vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.page-home .sec-head p {
  margin: 0.95rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.76);
}

/* ---------- 平台能力 ---------- */

.page-home .home-cap {
  padding: 3.75rem 0;
  border-bottom: 1px solid var(--grid);
}

.page-home .cap-grid {
  display: grid;
  gap: 1px;
  background: var(--grid);
  border: 1px solid var(--grid);
}

.page-home .cap-card {
  position: relative;
  padding: 1.6rem 1.35rem 1.5rem;
  background: var(--ink-900);
  transition: background-color 0.35s var(--ease);
}

.page-home .cap-card:hover {
  background: var(--ink-800);
}

.page-home .cap-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-home .cap-card h3 {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.3;
}

.page-home .cap-card p {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: rgba(244, 239, 230, 0.72);
}

.page-home .cap-card__list {
  display: grid;
  gap: 0.45rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .cap-card__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.page-home .cap-card__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.5em;
  background: var(--cyan);
}

.page-home .cap-card__media {
  margin-top: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--grid);
}

.page-home .cap-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 专栏与数据预览 ---------- */

.page-home .home-preview {
  padding: 3.75rem 0;
  background: linear-gradient(180deg, var(--ink-900), #05141f);
  border-bottom: 1px solid var(--grid);
}

.page-home .preview-grid {
  display: grid;
  gap: 1px;
  background: var(--grid);
  border: 1px solid var(--grid);
}

.page-home .feed {
  display: grid;
  gap: 1px;
  background: var(--grid);
}

.page-home .feed-card {
  display: block;
  padding: 1.45rem 1.3rem;
  background: var(--ink-900);
  border-left: 3px solid transparent;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.page-home .feed-card:hover,
.page-home .feed-card:focus-visible {
  background: var(--ink-800);
  border-left-color: var(--cyan);
  padding-left: 1.6rem;
}

.page-home .feed-card__tag {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  border: 1px solid rgba(34, 224, 214, 0.45);
}

.page-home .feed-card h3 {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.08rem;
  line-height: 1.42;
}

.page-home .feed-card p {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.7);
}

.page-home .feed-card__by {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .data-panel {
  padding: 1.45rem 1.3rem;
  background: #05141f;
}

.page-home .data-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.3;
}

.page-home .data-panel__media {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--grid);
}

.page-home .data-panel__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .data-panel__note {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  line-height: 1.72;
  color: rgba(244, 239, 230, 0.72);
}

.page-home .field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .field-chips li {
  padding: 0.22rem 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--mist);
  border: 1px solid var(--grid);
}

.page-home .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.9rem 0 0;
  padding: 0.8rem 0 0;
  list-style: none;
  border-top: 1px dashed var(--grid);
  font-size: 0.76rem;
  color: var(--mist);
}

.page-home .legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-home .legend__dot {
  width: 8px;
  height: 8px;
  display: inline-block;
}

.page-home .legend__dot--up { background: var(--orange); }
.page-home .legend__dot--down { background: var(--mist); }
.page-home .legend__dot--flat { background: var(--grid); }

.page-home .data-panel__link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 26, 0.4);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .data-panel__link:hover,
.page-home .data-panel__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 版本通道（纸色面板） ---------- */

.page-home .home-channel {
  padding: 3.75rem 0;
  background: var(--paper-100);
  color: var(--ink-paper);
}

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

.page-home .home-channel .sec-head p {
  color: #3a4753;
}

.page-home .home-channel .sec-head .eyebrow {
  color: #0e6a65;
}

.page-home .channel-grid {
  display: grid;
  gap: 2.5rem;
}

.page-home .channel-timeline {
  margin: 1.9rem 0 0;
  padding: 0 0 0 1.4rem;
  list-style: none;
  border-left: 1px solid var(--paper-shadow);
}

.page-home .channel-timeline li {
  position: relative;
  padding-bottom: 1.55rem;
}

.page-home .channel-timeline li:last-child {
  padding-bottom: 0;
}

.page-home .channel-timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.4rem - 4.5px);
  top: 0.42rem;
  width: 8px;
  height: 8px;
  background: var(--paper-100);
  border: 2px solid var(--orange);
}

.page-home .channel-timeline .mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .channel-timeline h3 {
  margin: 0.3rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--ink-paper);
}

.page-home .channel-timeline p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #3a4753;
}

.page-home .local-card {
  padding: 1.5rem 1.3rem;
  background: #fbf7f0;
  border: 1px solid var(--paper-shadow);
}

.page-home .local-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink-paper);
}

.page-home .local-card > p {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: #3a4753;
}

.page-home .local-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--paper-shadow);
}

.page-home .local-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--paper-shadow);
}

.page-home .local-list span {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: #6b7883;
}

.page-home .local-list b {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-paper);
  word-break: break-all;
}

.page-home .local-card__hint {
  font-size: 0.8rem !important;
  color: #6b7883 !important;
}

.page-home .local-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 1.1rem;
}

.page-home .local-card__link {
  font-size: 0.84rem;
  color: #0e6a65;
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 106, 101, 0.4);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .local-card__link:hover,
.page-home .local-card__link:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 规模与更新 ---------- */

.page-home .home-trust {
  padding: 3.75rem 0 4.25rem;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(34, 224, 214, 0.09), transparent 65%),
    var(--ink-900);
}

.page-home .trust-grid {
  display: grid;
  gap: 1px;
  background: var(--grid);
  border: 1px solid var(--grid);
}

.page-home .trust-cell {
  padding: 1.4rem 1.2rem;
  background: var(--ink-900);
  transition: background-color 0.35s var(--ease);
}

.page-home .trust-cell:hover {
  background: var(--ink-800);
}

.page-home .trust-cell b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .trust-cell span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .trust-notes {
  margin-top: 1.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--orange);
}

.page-home .trust-notes p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.74);
}

.page-home .trust-notes p:last-child {
  margin-bottom: 0;
}

.page-home .trust-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--grid);
}

.page-home .trust-cta__link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .trust-cta__link:hover,
.page-home .trust-cta__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 响应式 ---------- */

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

@media (min-width: 768px) {
  .page-home .cap-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .page-home .cap-card--a { grid-column: span 7; }
  .page-home .cap-card--b { grid-column: span 5; }
  .page-home .cap-card--c { grid-column: span 4; }
  .page-home .cap-card--d { grid-column: span 8; }

  .page-home .cap-card {
    padding: 1.9rem 1.7rem 1.8rem;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-home {
    padding-top: calc(var(--header-h) + 3rem);
  }

  .page-home .hero-home__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 3.5rem;
    padding-bottom: 4rem;
  }

  .page-home .hero-home__visual {
    aspect-ratio: 16 / 11;
    min-height: 0;
  }

  .page-home .home-cap,
  .page-home .home-preview,
  .page-home .home-channel {
    padding: 5rem 0;
  }

  .page-home .home-trust {
    padding: 5rem 0 5.5rem;
  }

  .page-home .preview-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .channel-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3.5rem;
    align-items: start;
  }

  .page-home .local-card {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

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

  .page-home .trust-cell {
    padding: 1.7rem 1.4rem;
  }
}

@media (min-width: 1280px) {
  .page-home .gate {
    padding: 1.8rem 1.7rem 1.6rem;
  }

  .page-home .feed-card {
    padding: 1.7rem 1.6rem;
  }

  .page-home .feed-card:hover,
  .page-home .feed-card:focus-visible {
    padding-left: 1.9rem;
  }

  .page-home .data-panel {
    padding: 1.7rem 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .orbit__ring--b,
  .page-home .orbit__dot {
    animation: none;
  }
  .page-home .gate,
  .page-home .feed-card,
  .page-home .cap-card,
  .page-home .trust-cell {
    transition: none;
  }
}
