/* ==========================================================
   首页专属样式 · .page-home
   移动端优先，桌面端通过 min-width 增强
   ========================================================== */
.page-home {
  --home-hero-pad: 3.5rem 0 3rem;
  --home-section-pad: 3.25rem 0;
  --home-section-pad-lg: 4.5rem 0;
  --home-card-radius: 18px;
  background: var(--slate-100);
  color: var(--text-ink);
  overflow-x: hidden;
}

/* ---------- 首屏 Hero ---------- */
.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--home-hero-pad);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}

.page-home .home-hero-media,
.page-home .home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

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

.page-home .home-hero-overlay {
  background:
    linear-gradient(135deg, rgba(10, 26, 47, 0.96) 0%, rgba(10, 26, 47, 0.74) 45%, rgba(18, 43, 78, 0.52) 100%),
    radial-gradient(ellipse at 80% 18%, rgba(255, 107, 53, 0.16) 0%, transparent 60%);
}

.page-home .home-hero-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-home .home-hero-copy .kicker {
  color: var(--orange-400);
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-home .home-hero-copy h1 {
  margin: 0 0 1.25rem;
  font-family: var(--title-font);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.page-home .home-hero-hl {
  color: var(--gold-400);
}

.page-home .home-hero-desc {
  max-width: 34ch;
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-bottom: 1.6rem;
}

.page-home .home-hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.page-home .home-hero-actions .btn-outline:hover,
.page-home .home-hero-actions .btn-outline:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.page-home .home-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  margin: 0;
  padding: 0;
}

.page-home .home-hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .home-hero-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange-500);
}

/* ---------- 仪表盘 ---------- */
.page-home .home-hero-dash {
  width: 100%;
  max-width: 440px;
}

.page-home .dash-panel {
  background: rgba(10, 26, 47, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--home-card-radius);
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.page-home .dash-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .dash-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.page-home .dash-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-400);
  border: 1px solid rgba(255, 138, 101, 0.36);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
}

.page-home .dash-live-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-500);
}

.page-home .dash-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.75rem;
}

.page-home .dash-grid-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.page-home .dash-chart-line {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .dash-chart-ref {
  vector-effect: non-scaling-stroke;
}

.page-home .dash-panel-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .dash-metric {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.page-home .dash-metric-label {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.58);
}

.page-home .dash-metric-value {
  font-family: var(--title-font);
  font-size: 1.1rem;
  color: #fff;
  white-space: nowrap;
}

/* ---------- 滚动提示（桌面端显示） ---------- */
.page-home .home-scroll-hint {
  display: none;
}

/* ---------- 章节通用 ---------- */
.page-home .home-section {
  padding: var(--home-section-pad);
}

.page-home .home-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.page-home .home-section-index {
  font-family: var(--title-font);
  font-size: 3rem;
  line-height: 1;
  color: var(--navy-900);
  opacity: 0.16;
}

.page-home .home-section-heading .kicker {
  color: var(--orange-500);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.page-home .home-section-heading h2 {
  margin: 0 0 0.6rem;
  font-family: var(--title-font);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy-900);
}

.page-home .home-section-desc {
  max-width: 60ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- 01 核心数据一览 ---------- */
.page-home .home-overview-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.page-home .home-data-card {
  position: relative;
  padding: 1.6rem 1.6rem 1.9rem;
  border-radius: var(--home-card-radius);
  background: linear-gradient(145deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(10, 26, 47, 0.12);
  overflow: hidden;
}

.page-home .home-data-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
  border-radius: 0 999px 999px 0;
}

.page-home .home-data-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(245, 184, 65, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.page-home .home-data-card-accent {
  background: linear-gradient(145deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border-color: rgba(255, 107, 53, 0.28);
}

.page-home .home-data-card-num {
  display: block;
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--orange-400);
  margin-bottom: 0.8rem;
}

.page-home .home-data-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--title-font);
  font-size: 1.3rem;
  color: #fff;
}

.page-home .home-data-card p {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .home-data-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-home .home-data-tags span {
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(245, 184, 65, 0.28);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-400);
}

.page-home .home-visual-wrap {
  margin: 1.5rem 0 0;
  border-radius: var(--home-card-radius);
  overflow: hidden;
  background: var(--navy-900);
  border: 1px solid var(--slate-200);
}

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

.page-home .home-visual-wrap figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #fff;
  border-top: 1px solid var(--slate-200);
}

/* ---------- 02 产品入口 ---------- */
.page-home .home-product-grid {
  display: grid;
  gap: 1.25rem;
}

.page-home .home-product-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--home-card-radius);
  background: #fff;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
}

.page-home .home-product-card-main {
  border-left: 5px solid var(--orange-500);
}

.page-home .home-product-kicker {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
}

.page-home .home-product-copy h3 {
  margin: 0 0 0.6rem;
  font-family: var(--title-font);
  font-size: 1.4rem;
  color: var(--navy-900);
}

.page-home .home-product-copy p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.page-home .home-product-features {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0;
}

.page-home .home-product-features li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-ink);
}

.page-home .home-product-features li::before {
  content: "✓";
  font-weight: 700;
  color: var(--orange-500);
}

.page-home .home-product-media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy-900);
}

.page-home .home-product-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 03 最新战报 ---------- */
.page-home .home-news-list {
  display: grid;
  border-top: 1px solid var(--slate-200);
}

.page-home .home-news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--slate-200);
  transition: background 0.25s var(--ease);
}

.page-home .home-news-time {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
}

.page-home .home-news-round {
  font-family: var(--title-font);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--navy-900);
}

.page-home .home-news-label {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange-500);
}

.page-home .home-news-main h3 {
  margin: 0 0 0.4rem;
  font-family: var(--title-font);
  font-size: 1.02rem;
  color: var(--navy-900);
}

.page-home .home-news-main p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.page-home .home-news-more {
  margin-top: 1.75rem;
}

/* ---------- 04 品牌信任 ---------- */
.page-home .home-trust {
  position: relative;
  padding: var(--home-section-pad-lg);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}

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

.page-home .home-trust-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 26, 47, 0.9) 0%, rgba(10, 26, 47, 0.94) 100%);
}

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

.page-home .home-trust .home-section-index {
  color: #fff;
  opacity: 0.3;
}

.page-home .home-trust .home-section-heading h2 {
  color: #fff;
}

.page-home .home-trust .home-section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.page-home .home-trust .kicker {
  color: var(--orange-400);
}

.page-home .home-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  margin: 2.5rem 0;
}

.page-home .home-trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.4rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.page-home .home-trust-value {
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: -0.01em;
  color: #fff;
}

.page-home .home-trust-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

.page-home .home-trust-foot {
  display: grid;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .home-trust-foot p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 768px) {
  .page-home {
    --home-section-pad: 4.5rem 0;
    --home-section-pad-lg: 6rem 0;
  }

  .page-home .home-section-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 0 1.5rem;
    margin-bottom: 2.5rem;
  }

  .page-home .home-section-index {
    font-size: 3.5rem;
  }

  .page-home .home-overview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .page-home .home-visual-wrap {
    margin-top: 2rem;
  }

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

  .page-home .home-news-item {
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
  }

  .page-home .home-trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .page-home .home-product-grid {
    grid-template-columns: 1.7fr 1fr;
    align-items: stretch;
  }

  .page-home .home-product-card {
    padding: 1.75rem;
  }

  .page-home .home-product-card-main {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 100vh;
    padding: 5rem 0 4rem;
  }

  .page-home .home-hero-body {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0 4rem;
  }

  .page-home .home-hero-copy h1 {
    font-size: clamp(3rem, 5.6vw, 5.25rem);
  }

  .page-home .home-hero-desc {
    font-size: 1.125rem;
  }

  .page-home .home-hero-dash {
    justify-self: end;
  }

  .page-home .home-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    z-index: 2;
    transition: color 0.25s, border-color 0.25s;
  }

  .page-home .home-scroll-hint:hover,
  .page-home .home-scroll-hint:focus {
    color: #fff;
    border-color: rgba(255, 107, 53, 0.6);
  }
}

/* ---------- 动画：仪表盘入场 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .page-home .dash-panel {
    animation: homeFadeUp 0.7s var(--ease) both;
  }

  @keyframes homeFadeUp {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
