/* ===== 首页 page-home 页面专属样式 ===== */
.page-home {
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  --home-border: rgba(163, 181, 198, 0.22);
  --home-card-bg: rgba(19, 27, 43, 0.82);
}

.page-home img {
  max-width: 100%;
}

/* ---------- 首屏：实时战报数据大屏 ---------- */
.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 116px 0 72px;
}

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

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 22% 28%, rgba(198, 255, 0, 0.08), transparent 55%),
    radial-gradient(ellipse at 82% 72%, rgba(0, 229, 255, 0.07), transparent 50%),
    linear-gradient(180deg, rgba(11, 15, 26, 0.84) 0%, rgba(11, 15, 26, 0.58) 38%, rgba(11, 15, 26, 0.95) 100%);
}

.page-home .hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 181, 198, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 181, 198, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
}

.page-home .hero-speedline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -35deg,
    transparent 0 18px,
    rgba(0, 229, 255, 0.05) 18px 19px
  );
  mix-blend-mode: screen;
}

.page-home .hero-container {
  position: relative;
  z-index: 2;
}

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-metal);
  padding: 9px 16px;
  background: var(--color-glass);
  border: 1px solid var(--home-border);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-home .ctx-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 0 rgba(198, 255, 0, 0.55);
  animation: homePulse 2.2s infinite;
}

@keyframes homePulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 255, 0, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(198, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 0, 0); }
}

.page-home .hero-eyebrow {
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--color-cyan);
}

.page-home .hero-title {
  max-width: 920px;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.page-home .hero-lead {
  max-width: 840px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-muted);
}

.page-home .hero-dashboard {
  margin-top: 48px;
  display: grid;
  gap: 18px;
}

.page-home .hero-dashboard .card {
  position: relative;
  margin: 0;
  padding: 22px;
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.page-home .dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .dash-body {
  margin-top: 22px;
}

.page-home .dash-number {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-green);
}

.page-home .dash-number--sm {
  font-size: 38px;
}

.page-home .dash-number em {
  font-style: normal;
  font-size: 0.52em;
  font-weight: 700;
  margin-left: 4px;
  color: var(--color-cyan);
}

.page-home .dash-caption {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .dash-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.page-home .dash-fields span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-metal);
  border: 1px solid var(--home-border);
  background: rgba(163, 181, 198, 0.08);
  padding: 5px 10px;
}

.page-home .round-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(163, 181, 198, 0.3);
}

.page-home .round-strip-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-metal);
  white-space: nowrap;
}

.page-home .round-strip-track {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(163, 181, 198, 0.16);
}

.page-home .round-strip-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-green), var(--color-cyan));
}

.page-home .round-strip-pin {
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .round-strip-pin-text {
  transform: rotate(-45deg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #0B0F1A;
}

.page-home .round-strip-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  white-space: nowrap;
}

.page-home .dash-extra {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
  transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.page-home .dashboard-main:hover .dash-extra,
.page-home .dashboard-main:focus-within .dash-extra {
  max-height: 120px;
  opacity: 1;
  margin-top: 16px;
}

.page-home .hero-chart {
  padding: 14px;
}

.page-home .hero-chart img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

.page-home .hero-chart figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-metal);
}

.page-home .hero-metrics {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border-top: 1px solid var(--home-border);
  padding-top: 28px;
}

.page-home .metric {
  position: relative;
  padding: 16px 14px 16px 18px;
  background: rgba(19, 27, 43, 0.66);
  border: 1px solid var(--home-border);
  border-left: 4px solid var(--color-green);
}

.page-home .metric-coord {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(163, 181, 198, 0.6);
}

.page-home .metric strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: var(--color-text);
}

.page-home .metric strong em {
  font-style: normal;
  font-size: 0.58em;
  color: var(--color-green);
}

.page-home .metric-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted);
}

/* ---------- 核心入口 ---------- */
.page-home .home-entries {
  position: relative;
  padding: 96px 0 80px;
  background:
    linear-gradient(rgba(163, 181, 198, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 181, 198, 0.045) 1px, transparent 1px),
    var(--color-bg);
  background-size: 64px 64px, 64px 64px, auto;
}

.page-home .section-head {
  max-width: 680px;
}

.page-home .section-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.16;
  color: var(--color-text);
}

.page-home .section-meta {
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-muted);
}

.page-home .entries-grid {
  margin-top: 48px;
  display: grid;
  gap: 22px;
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  text-decoration: none;
  color: var(--color-text);
  background:
    linear-gradient(145deg, rgba(198, 255, 0, 0.09), transparent 42%),
    var(--color-panel);
  border: 2px solid rgba(198, 255, 0, 0.28);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-home .entry-card--cyan {
  background:
    linear-gradient(145deg, rgba(0, 229, 255, 0.09), transparent 42%),
    var(--color-panel);
  border-color: rgba(0, 229, 255, 0.28);
}

.page-home .entry-card--metal {
  background:
    linear-gradient(145deg, rgba(163, 181, 198, 0.1), transparent 42%),
    var(--color-panel);
  border-color: rgba(163, 181, 198, 0.3);
}

.page-home .entry-card--orange {
  background:
    linear-gradient(145deg, rgba(255, 179, 0, 0.1), transparent 42%),
    var(--color-panel);
  border-color: rgba(255, 179, 0, 0.3);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.5);
}

.page-home .entry-card--green:hover,
.page-home .entry-card--green:focus-visible {
  border-color: var(--color-green);
}

.page-home .entry-card--cyan:hover,
.page-home .entry-card--cyan:focus-visible {
  border-color: var(--color-cyan);
}

.page-home .entry-card--metal:hover,
.page-home .entry-card--metal:focus-visible {
  border-color: var(--color-metal);
}

.page-home .entry-card--orange:hover,
.page-home .entry-card--orange:focus-visible {
  border-color: var(--color-warn);
}

.page-home .entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-home .entry-index {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-metal);
}

.page-home .entry-icon {
  width: 56px;
  height: 56px;
  color: var(--color-green);
}

.page-home .entry-card--cyan .entry-icon {
  color: var(--color-cyan);
}

.page-home .entry-card--metal .entry-icon {
  color: var(--color-metal);
}

.page-home .entry-card--orange .entry-icon {
  color: var(--color-warn);
}

.page-home .entry-title {
  margin: 32px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.3;
  color: var(--color-text);
}

.page-home .entry-desc {
  flex: 1;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-muted);
}

.page-home .entry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-green);
}

.page-home .entry-card--cyan .entry-link {
  color: var(--color-cyan);
}

.page-home .entry-card--metal .entry-link {
  color: var(--color-metal);
}

.page-home .entry-card--orange .entry-link {
  color: var(--color-warn);
}

/* ---------- 案例亮点 ---------- */
.page-home .home-feature {
  padding: 88px 0;
  background: var(--color-panel);
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}

.page-home .home-feature-inner {
  display: grid;
  gap: 32px;
}

.page-home .feature-media {
  position: relative;
  margin: 0;
}

.page-home .feature-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: saturate(0.92) contrast(1.05);
}

.page-home .feature-media::after {
  content: "CASE / 120+";
  position: absolute;
  left: -10px;
  top: -10px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--color-warn);
  background: var(--color-bg);
  border: 1px solid var(--home-border);
}

.page-home .feature-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.22;
  color: var(--color-text);
}

.page-home .feature-text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-muted);
}

.page-home .feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-home .link-arrow:hover,
.page-home .link-arrow:focus-visible {
  color: var(--color-text);
  border-bottom-color: var(--color-cyan);
}

/* ---------- 平台动态 ---------- */
.page-home .home-updates {
  position: relative;
  padding: 96px 0 88px;
  background: var(--color-bg);
}

.page-home .home-updates::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-green), var(--color-cyan));
  transform: skewY(-1.2deg);
  transform-origin: left;
}

.page-home .updates-list {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .update-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--home-border);
}

.page-home .update-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 5px rgba(198, 255, 0, 0.1);
  margin-top: 6px;
}

.page-home .update-item:nth-child(2) .update-marker {
  background: var(--color-cyan);
  box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.1);
}

.page-home .update-item:nth-child(3) .update-marker {
  background: var(--color-warn);
  box-shadow: 0 0 0 5px rgba(255, 179, 0, 0.1);
}

.page-home .update-item:nth-child(4) .update-marker {
  background: var(--color-metal);
  box-shadow: 0 0 0 5px rgba(163, 181, 198, 0.1);
}

.page-home .update-content {
  min-width: 0;
}

.page-home .update-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text);
}

.page-home .update-desc {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-home .updates-footer {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

/* ---------- 品牌信任 ---------- */
.page-home .home-trust {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}

.page-home .trust-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-home .home-trust .container {
  position: relative;
  z-index: 1;
}

.page-home .trust-grid {
  margin-top: 48px;
  display: grid;
  gap: 22px;
}

.page-home .trust-block {
  padding: 28px;
  border: 1px solid rgba(198, 255, 0, 0.22);
  background: rgba(19, 27, 43, 0.88);
}

.page-home .trust-block:nth-child(2) {
  border-color: rgba(0, 229, 255, 0.25);
}

.page-home .trust-block:nth-child(3) {
  border-color: rgba(255, 179, 0, 0.22);
}

.page-home .trust-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: var(--color-green);
  box-shadow: 0 0 0 7px rgba(198, 255, 0, 0.1);
}

.page-home .trust-block:nth-child(2) .trust-icon {
  background: var(--color-cyan);
  box-shadow: 0 0 0 7px rgba(0, 229, 255, 0.1);
}

.page-home .trust-block:nth-child(3) .trust-icon {
  background: var(--color-warn);
  box-shadow: 0 0 0 7px rgba(255, 179, 0, 0.1);
}

.page-home .trust-title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-text);
}

.page-home .trust-desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-muted);
}

.page-home .trust-note {
  margin: 48px 0 0;
  padding: 20px 24px;
  background: rgba(255, 179, 0, 0.06);
  border-left: 4px solid var(--color-warn);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-metal);
}

@media (min-width: 768px) {
  .page-home .hero-lead {
    font-size: 18px;
  }

  .page-home .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .page-home .entry-card--cyan,
  .page-home .entry-card--orange {
    margin-top: 34px;
  }

  .page-home .update-item {
    grid-template-columns: 28px 1fr;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: 140px;
  }

  .page-home .hero-dashboard {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "main main main main main main side side side side . ."
      ". . chart chart chart chart chart chart sub sub sub .";
    gap: 24px;
  }

  .page-home .dashboard-main {
    grid-area: main;
    transform: rotate(-1deg);
  }

  .page-home .dashboard-side {
    grid-area: side;
    margin-top: 64px;
    transform: rotate(1.6deg);
  }

  .page-home .hero-chart {
    grid-area: chart;
    align-self: start;
  }

  .page-home .dashboard-sub {
    grid-area: sub;
    margin-top: -20px;
    transform: rotate(-1.2deg);
  }

  .page-home .entry-card {
    min-height: 320px;
    padding: 32px;
  }

  .page-home .entry-title {
    font-size: 24px;
  }

  .page-home .home-feature-inner {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 52px;
  }

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

@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;
  }
}

@media (hover: none) {
  .page-home .dash-extra {
    max-height: 120px;
    opacity: 1;
    margin-top: 16px;
  }
}
