.page-home {
  --home-hero-pad: 24px;
  --home-indigo-glass: linear-gradient(135deg, rgba(75, 0, 130, 0.55), transparent 72%);
  --home-scan-color: rgba(57, 255, 20, 0.1);
  overflow-x: hidden;
}

/* ===== 首屏框景 ===== */
.page-home .home-hero {
  padding-top: 8px;
}

.page-home .home-hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--space);
  border: 1px solid var(--border-signal);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

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

.page-home .home-hero-scale {
  position: absolute;
  left: var(--home-hero-pad);
  right: var(--home-hero-pad);
  height: 22px;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    var(--signal) 0,
    var(--signal) 2px,
    transparent 2px,
    transparent 32px
  );
  opacity: 0.28;
  z-index: 3;
}

.page-home .home-hero-scale--top {
  top: 14px;
}

.page-home .home-hero-scale--bottom {
  bottom: 14px;
}

.page-home .home-hero-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--signal);
  border-right: 3px solid var(--signal);
  border-radius: 0 10px 0 0;
  z-index: 3;
}

.page-home .home-hero-scan {
  position: absolute;
  top: -30%;
  left: -15%;
  width: 130%;
  height: 45%;
  background: linear-gradient(100deg, transparent, var(--home-scan-color), transparent);
  transform: rotate(8deg);
  animation: homeScanMove 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes homeScanMove {
  0% {
    transform: translateY(-60%) rotate(8deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(420%) rotate(8deg);
    opacity: 0;
  }
}

.page-home .home-hero-frame:hover .home-hero-scan {
  animation-duration: 1.4s;
}

.page-home .home-hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--home-indigo-glass);
  z-index: 1;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 72px var(--home-hero-pad) 56px;
  flex: 1;
}

.page-home .home-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
}

.page-home .home-hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: homeKickerPulse 2s ease-in-out infinite;
}

@keyframes homeKickerPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

.page-home .home-hero-content h1 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.page-home .home-hero-desc {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--silver);
  max-width: 34em;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-home .home-hero-brand-link {
  display: inline-block;
  padding: 8px 6px;
  font-size: 0.85rem;
  color: var(--azure);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 144, 226, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.page-home .home-hero-brand-link:hover {
  color: var(--signal);
  border-color: var(--border-signal);
}

.page-home .home-hero-console {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.page-home .home-hero-live {
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  backdrop-filter: blur(6px);
}

.page-home .home-hero-live-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.page-home .home-hero-live-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .home-hero-live-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(10, 25, 47, 0.7);
  border-left: 2px solid var(--signal);
}

.page-home .home-hero-live-sport {
  font-size: 0.85rem;
  color: var(--white);
  min-width: 2.4em;
}

.page-home .home-hero-live-score {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--signal);
}

.page-home .home-hero-live-state {
  font-size: 0.75rem;
  color: var(--silver);
}

.page-home .home-hero-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.page-home .home-hero-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-hero-quick-item:hover {
  border-color: var(--border-signal);
  transform: translateY(-3px);
}

.page-home .home-hero-quick-num {
  font-size: 0.78rem;
  color: var(--signal);
}

.page-home .home-hero-quick-label {
  font-size: 0.85rem;
  color: var(--white);
}

.page-home .home-hero-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 var(--home-hero-pad) 40px;
}

.page-home .home-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 6px;
  background: rgba(10, 25, 47, 0.72);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(192, 192, 192, 0.14);
  text-align: center;
}

.page-home .home-hero-stat .data-num {
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  animation: homeNumFlash 0.9s ease-in-out both;
}

.page-home .home-hero-stat-label {
  font-size: 0.68rem;
  color: var(--silver);
}

@keyframes homeNumFlash {
  0% {
    opacity: 0.1;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 0.35;
  }
  100% {
    opacity: 1;
  }
}

/* ===== 章节通用 ===== */
.page-home .home-section-head {
  margin-bottom: 28px;
}

.page-home .home-section-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
}

.page-home .home-section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  color: var(--white);
}

.page-home .home-section-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--silver);
  max-width: 46em;
}

/* ===== 核心功能入口 ===== */
.page-home .home-gateway {
  background: var(--space);
  clip-path: polygon(0 0, 100% 2.4%, 100% 100%, 0 97.2%);
  padding-top: calc(var(--space-unit) * 12);
  padding-bottom: calc(var(--space-unit) * 14);
}

.page-home .home-gateway-grid {
  gap: 20px;
}

.page-home .home-gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
  text-decoration: none;
  background: var(--carbon);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.page-home .home-gateway-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, transparent 50%, rgba(57, 255, 20, 0.08) 50%);
}

.page-home .home-gateway-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-signal);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.page-home .home-gateway-svg {
  width: 56px;
  height: 56px;
  color: var(--azure);
}

.page-home .home-gateway-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--white);
}

.page-home .home-gateway-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--silver);
}

.page-home .home-gateway-link {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--signal);
}

/* ===== 今日焦点 ===== */
.page-home .home-focus {
  background: radial-gradient(circle at 18% 12%, rgba(57, 255, 20, 0.06), transparent 42%), var(--carbon);
  padding-top: calc(var(--space-unit) * 14);
  padding-bottom: calc(var(--space-unit) * 14);
}

.page-home .home-focus-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.page-home .home-focus-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-home .home-focus-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--space);
}

.page-home .home-focus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .home-focus-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--white);
  background: rgba(10, 25, 47, 0.8);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.page-home .home-focus-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-focus-card {
  padding: 20px 20px 18px;
  background: var(--space);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-focus-card:hover {
  border-color: var(--border-signal);
  transform: translateX(4px);
}

.page-home .home-focus-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.page-home .home-focus-card-state {
  font-size: 0.7rem;
  color: var(--silver);
}

.page-home .home-focus-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--white);
}

.page-home .home-focus-score {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--signal);
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-home .home-focus-score .data-num {
  font-size: 1.6rem;
}

.page-home .home-focus-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
}

.page-home .home-focus-metrics div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .home-focus-metrics dt {
  font-size: 0.78rem;
  color: var(--silver);
}

.page-home .home-focus-metrics dd {
  margin: 0;
  font-size: 0.82rem;
  color: var(--white);
}

/* ===== 价目速览 ===== */
.page-home .home-pricing {
  background: var(--space);
  clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--space-unit) * 14);
  padding-bottom: calc(var(--space-unit) * 14);
}

.page-home .home-pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-pricing-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 24px;
  background: var(--carbon);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.page-home .home-pricing-card--feature {
  background: linear-gradient(160deg, rgba(75, 0, 130, 0.35), transparent 60%), var(--carbon);
  border-color: rgba(57, 255, 20, 0.24);
}

.page-home .home-pricing-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 4px;
}

.page-home .home-pricing-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--white);
}

.page-home .home-pricing-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--silver);
}

.page-home .home-pricing-card .data-num {
  font-size: 1.9rem;
  display: inline-block;
  transition: transform 0.25s ease;
}

.page-home .home-pricing-card .data-num:hover {
  transform: scale(1.14);
}

.page-home .home-pricing-card .btn {
  margin-top: 6px;
}

/* ===== 更新动态 ===== */
.page-home .home-updates {
  background: linear-gradient(180deg, var(--space-2) 0%, #0d1424 100%);
  padding-top: calc(var(--space-unit) * 14);
  padding-bottom: calc(var(--space-unit) * 14);
}

.page-home .home-updates-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .home-updates-list {
  display: flex;
  flex-direction: column;
}

.page-home .home-update-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(192, 192, 192, 0.12);
  transition: background 0.25s ease;
}

.page-home .home-update-item:hover {
  background: rgba(57, 255, 20, 0.03);
}

.page-home .home-update-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
}

.page-home .home-update-content h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--white);
}

.page-home .home-update-content p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--silver);
}

.page-home .home-update-arrow {
  flex-shrink: 0;
  margin-top: 6px;
  color: var(--signal);
  font-size: 0.85rem;
}

.page-home .home-updates-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.page-home .home-updates-contact {
  font-size: 0.85rem;
  color: var(--azure);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 144, 226, 0.35);
}

.page-home .home-updates-contact:hover {
  color: var(--signal);
  border-color: var(--border-signal);
}

.page-home .home-updates-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--carbon);
  position: relative;
}

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

.page-home .home-updates-media-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--silver);
  background: var(--carbon-2);
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .home-hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .page-home .home-hero-console {
    flex-direction: row;
  }

  .page-home .home-hero-live {
    flex: 1;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero-frame {
    min-height: 640px;
  }

  .page-home .home-hero-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 88px 40px 64px;
    gap: 40px;
  }

  .page-home .home-hero-content {
    max-width: 620px;
  }

  .page-home .home-hero-console {
    width: 360px;
    flex-shrink: 0;
    flex-direction: column;
  }

  .page-home .home-hero-stats {
    padding: 0 40px 48px;
    gap: 16px;
  }

  .page-home .home-hero-stat {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .page-home .home-focus-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
  }

  .page-home .home-focus-media {
    flex: 1.1;
    aspect-ratio: auto;
    min-height: 420px;
  }

  .page-home .home-focus-list {
    flex: 0.9;
  }

  .page-home .home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .page-home .home-updates-layout {
    flex-direction: row;
    gap: 40px;
  }

  .page-home .home-updates-list {
    flex: 1.2;
  }

  .page-home .home-updates-media {
    flex: 0.8;
    align-self: flex-start;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero-inner {
    padding-left: 56px;
    padding-right: 56px;
  }

  .page-home .home-hero-stats {
    padding-left: 56px;
    padding-right: 56px;
  }

  .page-home .home-focus-card {
    padding: 24px 26px 22px;
  }
}
