.page-home {
  --home-shadow: 0 34px 70px -48px rgba(0, 0, 0, .92);
  --home-hair: rgba(198, 255, 74, .14);
}

/* ===== 首屏 ===== */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 52px;
  background: var(--ink-950);
}

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

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

.page-home .home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(7, 39, 29, .96) 0%, rgba(7, 39, 29, .84) 46%, rgba(7, 39, 29, .5) 100%),
    linear-gradient(180deg, rgba(7, 39, 29, .9) 0%, rgba(11, 61, 46, .88) 72%, var(--bg) 100%);
}

.page-home .home-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(198, 255, 74, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 74, .07) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-home .home-hero-grid {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: start;
}

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-home .hero-context::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(198, 255, 74, .14);
}

.page-home .home-hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: -.02em;
}

.page-home .home-hero .lead {
  margin: 0 0 26px;
  max-width: 34em;
}

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

.page-home .hero-index {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-hair);
}

.page-home .hero-index a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(198, 255, 74, .1);
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .28s var(--ease), padding-left .28s var(--ease);
}

.page-home .hero-index a:hover,
.page-home .hero-index a:focus-visible {
  color: var(--lime);
  padding-left: 10px;
}

.page-home .hero-index span {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--lime);
}

/* 数据屏 */
.page-home .hero-screen {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(198, 255, 74, .18);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(22, 107, 79, .58), rgba(7, 39, 29, .94) 64%);
  box-shadow: var(--home-shadow);
}

.page-home .hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 255, 74, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 74, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.page-home .screen-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .screen-eyebrow {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--sage);
}

.page-home .screen-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.page-home .screen-body {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 22px 0 6px;
}

.page-home .ring {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: conic-gradient(from -90deg, var(--lime), var(--teal) 58%, rgba(198, 255, 74, .28) 100%);
  box-shadow: 0 26px 60px -38px rgba(198, 255, 74, .8);
}

.page-home .ring::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 26%, #0d4436, #07271d 74%);
}

.page-home .ring-num,
.page-home .ring-unit {
  position: relative;
}

.page-home .ring-num {
  display: block;
  font-family: var(--font-data);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.page-home .ring-unit {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--sage);
}

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

.page-home .screen-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(198, 255, 74, .16);
}

.page-home .screen-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .slist-num {
  flex: 0 0 auto;
  min-width: 40px;
  font-family: var(--font-data);
  font-size: 26px;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.page-home .slist-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.page-home .screen-spark {
  position: relative;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--home-hair);
}

.page-home .spark-svg {
  display: block;
  width: 100%;
  height: 58px;
}

.page-home .spark-svg polyline {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: home-draw 1.1s var(--ease) .2s forwards;
}

.page-home .spark-label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--sage);
}

@keyframes home-draw {
  to { stroke-dashoffset: 0; }
}

/* ===== 通用章节 ===== */
.page-home .section {
  padding: 62px 0;
}

.page-home .section-head {
  margin-bottom: 34px;
}

/* ===== 01 仪表盘 ===== */
.page-home .dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .dash-card {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(16, 73, 58, .92), rgba(11, 61, 46, .7));
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .dash-card::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 34px;
  height: 2px;
  background: var(--lime);
  opacity: .55;
}

.page-home .dash-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 28px 54px -34px rgba(198, 255, 74, .5);
}

.page-home .dash-tag {
  display: inline-block;
  margin: 6px 0 12px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
}

.page-home .dash-card .stat-value {
  margin: 0;
  font-family: var(--font-data);
  font-weight: 600;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  transform-origin: left center;
  transition: transform .3s var(--ease), color .3s var(--ease);
}

.page-home .dash-card:hover .stat-value {
  transform: scale(1.06);
}

.page-home .dash-card .stat-label {
  margin: 8px 0 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-muted);
}

.page-home .dash-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(198, 255, 74, .16);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===== 02 数据入口 ===== */
.page-home .gateway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .gateway-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .gateway-card:hover,
.page-home .gateway-card:focus-visible {
  border-color: var(--lime);
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -44px rgba(198, 255, 74, .55);
}

.page-home .gateway-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-950);
}

.page-home .gateway-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}

.page-home .gateway-card:hover .gateway-visual img {
  opacity: 1;
  transform: scale(1.04);
}

.page-home .gateway-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.page-home .gateway-body .h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.page-home .gateway-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-home .gateway-link {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--lime);
}

.page-home .gateway-link::after {
  content: " →";
}

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

.page-home .pitch-graphic {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  height: 100%;
  background: var(--ink-950);
}

.page-home .pz {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .pz--front {
  background: linear-gradient(180deg, rgba(198, 255, 74, .3), rgba(22, 107, 79, .5));
}

.page-home .pz--mid {
  background: linear-gradient(180deg, rgba(63, 191, 160, .32), rgba(22, 107, 79, .46));
}

.page-home .pz--back {
  background: linear-gradient(180deg, rgba(255, 122, 61, .28), rgba(11, 61, 46, .72));
}

.page-home .pz i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mist);
}

.page-home .score-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: linear-gradient(158deg, rgba(22, 107, 79, .5), rgba(7, 39, 29, .96));
}

.page-home .sp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(198, 255, 74, .18);
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .sp-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .sp-score {
  font-family: var(--font-data);
  font-size: 19px;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* ===== 03 客场胜率曲线 ===== */
.page-home .curve-panel {
  padding: 22px 16px 20px;
  border: 1px solid var(--home-hair);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 73, 58, .72), rgba(7, 39, 29, .9));
  box-shadow: var(--home-shadow);
}

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

.page-home .curve-grid line {
  stroke: rgba(198, 255, 74, .12);
  stroke-width: 1;
}

.page-home .curve-bars rect {
  fill: rgba(198, 255, 74, .1);
}

.page-home .curve-area {
  fill: url(#curveGrad);
}

.page-home .curve-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: home-draw 1.5s var(--ease) .1s forwards;
}

.page-home .curve-dots circle {
  fill: var(--ink-950);
  stroke: var(--lime);
  stroke-width: 2;
}

.page-home .curve-values text {
  fill: var(--lime);
  font-family: var(--font-data);
  font-size: 12px;
}

.page-home .curve-axis text {
  fill: var(--sage);
  font-size: 11px;
}

.page-home .curve-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(198, 255, 74, .16);
  max-width: 62em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===== 04 更新节奏 ===== */
.page-home .home-rhythm {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
}

.page-home .rhythm-bg {
  position: absolute;
  inset: 0;
}

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

.page-home .rhythm-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 39, 29, .94) 0%, rgba(7, 39, 29, .74) 46%, rgba(11, 61, 46, .96) 100%);
}

.page-home .rhythm-inner {
  position: relative;
}

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

.page-home .rhythm-list li {
  position: relative;
  margin-left: 6px;
  padding: 20px 0 20px 26px;
  border-left: 1px solid rgba(198, 255, 74, .24);
}

.page-home .rhythm-list li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(198, 255, 74, .12);
}

.page-home .rhythm-time {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--lime);
}

.page-home .rhythm-list p {
  margin: 0;
  max-width: 54em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-home .rhythm-more {
  margin: 26px 0 0;
}

/* ===== 05 场景 ===== */
.page-home .scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .scene-card {
  padding: 24px 22px;
  border: 1px solid rgba(11, 61, 46, .14);
  border-radius: var(--r-md);
  background: #FFFFFF;
  box-shadow: 0 22px 46px -40px rgba(11, 61, 46, .6);
}

.page-home .scene-num {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(11, 61, 46, .08);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-900);
}

.page-home .scene-card h3 {
  margin: 14px 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-950);
}

.page-home .scene-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--coal);
}

/* ===== 06 团队与服务 ===== */
.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .trust-copy .lead {
  margin: 0 0 16px;
}

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

.page-home .trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.page-home .trust-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-left: 2px solid var(--lime);
  background: linear-gradient(90deg, rgba(16, 73, 58, .82), rgba(11, 61, 46, .35));
}

.page-home .trust-num {
  flex: 0 0 auto;
  min-width: 74px;
  font-family: var(--font-data);
  font-size: 30px;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.page-home .trust-label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .page-home .hero-screen {
    padding: 26px;
  }

  .page-home .curve-panel {
    padding: 30px 26px 26px;
  }
}

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

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 56px 0 76px;
  }

  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
  }

  .page-home .section {
    padding: 88px 0;
  }

  .page-home .section-head {
    margin-bottom: 44px;
  }

  .page-home .hero-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .page-home .screen-body {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
  }

  .page-home .ring {
    margin: 0;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .spark-svg polyline,
  .page-home .curve-line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .page-home .dash-card,
  .page-home .gateway-card,
  .page-home .gateway-visual img,
  .page-home .dash-card .stat-value {
    transition: none;
  }

  .page-home .dash-card:hover,
  .page-home .gateway-card:hover {
    transform: none;
  }

  .page-home .dash-card:hover .stat-value {
    transform: none;
  }

  .page-home .gateway-card:hover .gateway-visual img {
    transform: none;
  }
}
