.page-home {
  --home-deep: #0A1F33;
  --home-soft-line: rgba(15, 46, 74, 0.1);
  --home-glass: rgba(255, 255, 255, 0.07);
  --home-glass-border: rgba(255, 255, 255, 0.14);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* ===== 首屏控制台 ===== */
.page-home .hero-console {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 40px) var(--container-pad) 64px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--home-deep) 60%, rgba(27, 107, 143, 0.55) 100%);
  color: var(--color-white);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .hero-console::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 200, 87, 0.5), transparent);
  transform: rotate(16deg);
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-console::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(255, 90, 54, 0.25), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-console-inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--container-width) + var(--container-pad) * 2);
  margin: 0 auto;
  display: grid;
  gap: 44px;
}

.page-home .hero-copy {
  max-width: 560px;
}

.page-home .hero-copy .section-tag {
  color: var(--color-gold);
  margin-bottom: 16px;
}

.page-home .hero-copy .display-title {
  margin: 0 0 20px;
  color: var(--color-white);
}

.page-home .hero-title-accent {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-home .hero-sub {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
}

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

.page-home .hero-actions .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.page-home .hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.page-home .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  list-style: none;
  padding: 24px 0 0;
  margin: 40px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-home .hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero-metrics .data-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.page-home .hero-metrics .data-unit {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.72;
}

.page-home .dashboard-panel {
  background: var(--home-glass);
  border: 1px solid var(--home-glass-border);
  border-radius: var(--radius-l);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px;
  box-shadow: var(--shadow-l);
}

.page-home .dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .dashboard-kicker {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.page-home .dashboard-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
}

.page-home .dashboard-tabs .tab-list {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .dashboard-tabs .tab {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.page-home .dashboard-tabs .tab[aria-selected="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.page-home .chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .chart-grid line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-dasharray: 4 4;
}

.page-home .chart-area {
  opacity: 0.9;
}

.page-home .chart-line {
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 8px rgba(255, 90, 54, 0.4));
}

.page-home .chart-line-gold {
  filter: drop-shadow(0 2px 6px rgba(255, 200, 87, 0.35));
}

.page-home .chart-line-blue {
  filter: drop-shadow(0 2px 6px rgba(27, 107, 143, 0.45));
}

.page-home .chart-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: home-dot-pulse 1.6s ease-in-out infinite;
}

@keyframes home-dot-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.page-home .chart-bar-home {
  fill: var(--color-accent);
}

.page-home .chart-bar-away {
  fill: var(--color-primary-light);
}

.page-home .chart-bar-label {
  fill: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 13px;
}

.page-home .chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.page-home .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.page-home .legend-dot-accent {
  background: var(--color-accent);
}

.page-home .legend-dot-blue {
  background: var(--color-primary-light);
}

.page-home .legend-dot-gold {
  background: var(--color-gold);
}

.page-home .dashboard-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.page-home .live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-data-green);
  box-shadow: 0 0 0 0 rgba(0, 217, 166, 0.6);
  animation: home-live-pulse 1.8s ease-out infinite;
}

@keyframes home-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 217, 166, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 217, 166, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 217, 166, 0);
  }
}

.page-home .hero-scroll {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-home .hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 200, 87, 0.8), transparent);
  position: relative;
  overflow: hidden;
}

.page-home .hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  animation: home-scroll-drop 1.8s ease-in-out infinite;
}

@keyframes home-scroll-drop {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* ===== 核心优势 ===== */
.page-home .advantage-section {
  padding: 72px 0;
  background: var(--color-bg);
}

.page-home .advantage-section .section-hd {
  margin-bottom: 36px;
}

.page-home .advantage-ben-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .advantage-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--home-soft-line);
  box-shadow: var(--shadow-s);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-home .advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: rgba(27, 107, 143, 0.28);
}

.page-home .advantage-card-content,
.page-home .advantage-card-inner {
  padding: 24px;
}

.page-home .advantage-card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .advantage-card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

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

.page-home .advantage-card .card-title {
  margin: 0;
}

.page-home .advantage-card .card-body {
  margin: 0;
}

.page-home .advantage-card-media {
  border-top: 1px solid var(--home-soft-line);
}

.page-home .advantage-card-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

.page-home .advantage-speed-num {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-accent);
}

.page-home .advantage-node-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--home-soft-line);
}

.page-home .node-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .node-stat .data-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: var(--color-primary);
}

.page-home .node-stat .data-unit {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(15, 46, 74, 0.6);
}

.page-home .trust-strip {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 18px 20px;
  background: var(--color-primary);
  border-radius: var(--radius-m);
  color: var(--color-white);
}

.page-home .trust-strip .trust-text {
  font-family: var(--font-body);
  font-size: 13px;
  opacity: 0.9;
}

/* ===== 实时更新提示 ===== */
.page-home .live-stream-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--home-deep) 100%);
  padding: 72px 0;
}

.page-home .live-stream-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .live-stream-copy .section-tag {
  color: var(--color-gold);
}

.page-home .live-stream-copy .section-title {
  color: var(--color-white);
  margin-bottom: 14px;
}

.page-home .live-stream-desc {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
}

.page-home .live-stream-status {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.page-home .status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-s);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-data-green);
  box-shadow: 0 0 0 rgba(0, 217, 166, 0.5);
  animation: home-status-pulse 2s ease-in-out infinite;
}

.page-home .status-dot-gold {
  background: var(--color-gold);
  box-shadow: 0 0 0 rgba(255, 200, 87, 0.5);
}

@keyframes home-status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 217, 166, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 217, 166, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 217, 166, 0);
  }
}

.page-home .status-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .status-value {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
}

.page-home .live-stream-visual {
  position: relative;
  min-height: 200px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(27, 107, 143, 0.2) 0%, rgba(15, 46, 74, 0.1) 100%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .stream-canvas {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .stream-line-svg {
  width: 90%;
  height: 100%;
}

.page-home .stream-line-path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  animation: home-dash-flow 1.2s linear infinite;
}

@keyframes home-dash-flow {
  to {
    stroke-dashoffset: -14;
  }
}

.page-home .stream-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-data-green);
  box-shadow: 0 0 12px rgba(0, 217, 166, 0.5);
  animation: home-node-pulse 2s ease-in-out infinite;
}

.page-home .stream-node-1 {
  top: 24%;
  left: 12%;
}

.page-home .stream-node-2 {
  top: 60%;
  left: 38%;
  animation-delay: 0.5s;
}

.page-home .stream-node-3 {
  top: 38%;
  left: 64%;
  animation-delay: 1s;
}

.page-home .stream-node-4 {
  top: 70%;
  left: 86%;
  animation-delay: 1.5s;
}

@keyframes home-node-pulse {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

/* ===== 浏览指引 ===== */
.page-home .wayfinding-section {
  padding: 72px 0;
  background: var(--color-bg);
}

.page-home .wayfinding-grid {
  display: grid;
  gap: 40px;
}

.page-home .wayfinding-main .section-hd {
  margin-bottom: 28px;
}

.page-home .guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .guide-card {
  position: relative;
  display: block;
  padding: 24px;
  text-decoration: none;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid var(--home-soft-line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-home .guide-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.page-home .guide-card-story::before {
  background: var(--color-primary-light);
}

.page-home .guide-card-product::before {
  background: var(--color-accent);
}

.page-home .guide-card-support::before {
  background: var(--color-gold);
}

.page-home .guide-card-news::before {
  background: var(--color-data-green);
}

.page-home .guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: rgba(27, 107, 143, 0.28);
}

.page-home .guide-card .card-title {
  margin: 0 0 6px;
}

.page-home .guide-card .card-body {
  margin: 0;
}

.page-home .guide-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: rgba(15, 46, 74, 0.14);
  margin-bottom: 16px;
}

.page-home .guide-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-size: 20px;
  color: var(--color-primary-light);
  transition: transform var(--transition);
}

.page-home .guide-card:hover .guide-arrow {
  transform: translateX(6px);
}

.page-home .wayfinding-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .wayfinding-media .media {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--home-soft-line);
  box-shadow: var(--shadow-m);
}

.page-home .wayfinding-media .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .wayfinding-quote {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-l);
  padding: 28px 24px;
}

.page-home .wayfinding-quote::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(ellipse at center, rgba(255, 90, 54, 0.35), transparent 70%);
}

.page-home .wayfinding-quote-text {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
}

.page-home .wayfinding-quote .caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== 移动端增强以上，桌面端渐进 ===== */
@media (min-width: 640px) {
  .page-home .guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  .page-home .advantage-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .bento .span-2 {
    grid-column: span 2;
  }

  .page-home .live-stream-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .live-stream-visual {
    min-height: 280px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-console {
    padding-top: var(--header-height);
  }

  .page-home .hero-console-inner {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    gap: 48px;
  }

  .page-home .hero-console::after {
    bottom: -40px;
  }

  .page-home .hero-scroll {
    display: flex;
  }

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

  .page-home .wayfinding-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .page-home .wayfinding-media .media {
    height: 100%;
  }

  .page-home .wayfinding-quote {
    margin-top: auto;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-sub {
    font-size: 17px;
  }

  .page-home .dashboard-panel {
    padding: 28px;
  }

  .page-home .advantage-card-content,
  .page-home .advantage-card-inner {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .chart-dot,
  .page-home .live-pulse,
  .page-home .status-dot,
  .page-home .stream-node,
  .page-home .stream-line-path,
  .page-home .hero-scroll-line::after {
    animation: none;
  }
}
