/* =============================================
   页面专属 CSS — 首页 (.page-home)
   作用域限定，移动端优先
   ============================================= */
.page-home {
  --hero-overlay: rgba(13, 13, 13, 0.60);
  --card-glow: 0 0 30px rgba(215, 0, 29, 0.15);
  --gold-glow: 0 0 20px rgba(255, 215, 0, 0.20);
  --bento-radius: 20px;
  --stat-min-height: 80px;
}

/* ---------- 面包屑 ---------- */
.page-home .ml-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--ml-text-secondary, #B0B0B0);
  letter-spacing: 0.03em;
  flex-wrap: wrap;
}
.page-home .ml-breadcrumb__current {
  color: var(--ml-red, #D7001D);
  font-weight: 700;
  text-transform: uppercase;
}
.page-home .ml-breadcrumb__sep {
  opacity: 0.5;
}
.page-home .ml-breadcrumb__tagline {
  font-style: italic;
  opacity: 0.7;
  font-size: 0.8rem;
}

/* ---------- 首屏分屏 ---------- */
.page-home .ml-hero-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 3rem;
  min-height: auto;
  position: relative;
}
.page-home .ml-hero-split__text {
  flex: 1 1 auto;
  z-index: 2;
  position: relative;
}
.page-home .ml-hero-split__title {
  font-size: clamp(2.2rem, 10vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ml-text-primary, #FFFFFF);
}
.page-home .ml-hero-split__sub {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  color: var(--ml-text-secondary, #B0B0B0);
  margin: 0 0 1.5rem;
  line-height: 1.4;
  max-width: 30em;
}
.page-home .ml-hero-split__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
  margin-bottom: 2rem;
}
.page-home .ml-hero-split__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.page-home .ml-hero-split__stat .ml-data-highlight {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--ml-gold-gradient, linear-gradient(135deg, #FFD700, #FFA500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.page-home .ml-hero-split__stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ml-text-secondary, #B0B0B0);
  opacity: 0.8;
}
.page-home .ml-hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-home .ml-hero-split__visual {
  flex: 1 1 auto;
  position: relative;
  min-height: 280px;
  border-radius: var(--bento-radius);
  overflow: hidden;
  background: var(--ml-surface-dark, #1E1E1E);
  border: 1px solid var(--ml-border-subtle, #333333);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .ml-hero-split__visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(215, 0, 29, 0.18), transparent 70%),
              radial-gradient(ellipse at 70% 50%, rgba(255, 215, 0, 0.08), transparent 60%);
  z-index: 0;
}
.page-home .ml-hero-split__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}
.page-home .ml-hero-split__visual-data {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}
.page-home .ml-hero-split__data-num {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ml-red, #D7001D);
  text-stroke: 1.5px var(--ml-red, #D7001D);
  opacity: 0.6;
  animation: ml-data-float 3s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.4s);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@keyframes ml-data-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-12px) scale(1.05); opacity: 1; }
}
.page-home .ml-hero-split__visual-curve {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ml-gold, #FFD700), var(--ml-red, #D7001D), transparent);
  z-index: 1;
  opacity: 0.3;
  border-radius: 50%;
  filter: blur(2px);
}

/* ---------- 章节通用 ---------- */
.page-home .ml-section {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}
.page-home .ml-section__header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.page-home .ml-section__title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  font-style: italic;
  margin: 0;
  line-height: 1.1;
  color: var(--ml-text-primary, #FFFFFF);
}
.page-home .ml-section--narrow {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Bento 网格 ---------- */
.page-home .ml-grid--bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ml-gap, 1rem);
}
@media (min-width: 640px) {
  .page-home .ml-grid--bento {
    grid-template-columns: repeat(12, 1fr);
  }
}
.page-home .ml-grid__item {
  border-radius: var(--bento-radius);
  background: var(--ml-surface-dark, #1E1E1E);
  border: 1px solid var(--ml-border-subtle, #333333);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  min-height: var(--stat-min-height);
}
.page-home .ml-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-glow);
}
.page-home .ml-grid__item--span-7 { grid-column: span 1; }
.page-home .ml-grid__item--span-5 { grid-column: span 1; }
.page-home .ml-grid__item--span-4 { grid-column: span 1; }
.page-home .ml-grid__item--span-8 { grid-column: span 1; }
@media (min-width: 640px) {
  .page-home .ml-grid__item--span-7 { grid-column: span 7; }
  .page-home .ml-grid__item--span-5 { grid-column: span 5; }
  .page-home .ml-grid__item--span-4 { grid-column: span 4; }
  .page-home .ml-grid__item--span-8 { grid-column: span 8; }
}
.page-home .ml-card--gold {
  border-color: rgba(255, 215, 0, 0.25);
  background: linear-gradient(145deg, #1E1E1E, #2A1F0A);
}
.page-home .ml-card__inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}
.page-home .ml-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ml-text-secondary, #B0B0B0);
  font-weight: 600;
}
.page-home .ml-card__value {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  font-style: italic;
  background: var(--ml-gold-gradient, linear-gradient(135deg, #FFD700, #FFA500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}
.page-home .ml-card__value--sm {
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 800;
  font-style: italic;
  color: var(--ml-red, #D7001D);
  line-height: 1;
}
.page-home .ml-card__sub {
  font-size: 0.8rem;
  color: var(--ml-text-secondary, #B0B0B0);
  opacity: 0.75;
}
.page-home .ml-card__link {
  color: var(--ml-gold, #FFD700);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
  align-self: flex-start;
  margin-top: auto;
}
.page-home .ml-card__link:hover {
  opacity: 0.7;
}
.page-home .ml-card__row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.page-home .ml-card__stat {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-size: 1rem;
  color: var(--ml-text-primary, #FFFFFF);
}
.page-home .ml-card__chart {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.page-home .ml-card__chart span {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: var(--ml-red, #D7001D);
  width: calc(var(--w, 0.5) * 100%);
  font-size: 0.65rem;
  color: var(--ml-text-secondary, #B0B0B0);
  padding-left: 0.3rem;
  line-height: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-home .ml-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-home .ml-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  background: rgba(215, 0, 29, 0.15);
  border: 1px solid rgba(215, 0, 29, 0.25);
  font-size: 0.78rem;
  color: var(--ml-text-primary, #FFFFFF);
  font-weight: 500;
}

/* ---------- 主队套餐卡片 ---------- */
.page-home .ml-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 680px) {
  .page-home .ml-plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.page-home .ml-plan-card {
  border-radius: var(--bento-radius);
  overflow: hidden;
  background: var(--ml-surface-dark, #1E1E1E);
  border: 1px solid var(--ml-border-subtle, #333333);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-home .ml-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-glow);
}
.page-home .ml-plan-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.page-home .ml-plan-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.page-home .ml-plan-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  margin: 0;
  color: var(--ml-text-primary, #FFFFFF);
}
.page-home .ml-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-home .ml-plan-card__features li {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--ml-text-secondary, #B0B0B0);
  line-height: 1.4;
}
.page-home .ml-plan-card__features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ml-gold, #FFD700);
  font-weight: 600;
}
.page-home .ml-plan-card__note {
  font-size: 0.75rem;
  color: var(--ml-text-secondary, #B0B0B0);
  opacity: 0.6;
  font-style: italic;
}
.page-home .ml-plan-card .ml-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- 优势网格 ---------- */
.page-home .ml-advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 600px) {
  .page-home .ml-advantage-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .page-home .ml-advantage-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.page-home .ml-advantage-card {
  background: var(--ml-surface-dark, #1E1E1E);
  border: 1px solid var(--ml-border-subtle, #333333);
  border-radius: var(--bento-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-home .ml-advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-glow);
}
.page-home .ml-advantage-card--wide {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
}
@media (min-width: 600px) {
  .page-home .ml-advantage-card--wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
  }
}
.page-home .ml-advantage-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.page-home .ml-advantage-card__num {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
}
.page-home .ml-advantage-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--ml-text-primary, #FFFFFF);
}
.page-home .ml-advantage-card__desc {
  font-size: 0.86rem;
  color: var(--ml-text-secondary, #B0B0B0);
  line-height: 1.5;
  margin: 0;
}
.page-home .ml-advantage-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--ml-radius-sm, 8px);
}
@media (min-width: 600px) {
  .page-home .ml-advantage-card--wide .ml-advantage-card__img {
    width: 240px;
    height: 180px;
    flex-shrink: 0;
  }
}
.page-home .ml-advantage-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.page-home .ml-advantage-card .ml-note {
  font-size: 0.7rem;
  color: var(--ml-text-secondary, #B0B0B0);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- 信任声明与CTA ---------- */
.page-home .ml-section--trust {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}
.page-home .ml-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: 40px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.page-home .ml-trust-badge__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ml-data-highlight, #00FF88);
  color: var(--ml-black, #1A1A1A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.page-home .ml-trust-badge__text {
  font-size: 0.88rem;
  color: var(--ml-text-secondary, #B0B0B0);
  text-align: center;
  line-height: 1.4;
}
.page-home .ml-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- 按钮覆盖（作用域限定） ---------- */
.page-home .ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.page-home .ml-btn-primary {
  background: var(--ml-red, #D7001D);
  color: var(--ml-text-primary, #FFFFFF);
}
.page-home .ml-btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(215, 0, 29, 0.35);
}
.page-home .ml-btn-gold {
  background: var(--ml-gold-gradient, linear-gradient(135deg, #FFD700, #FFA500));
  color: var(--ml-black, #1A1A1A);
}
.page-home .ml-btn-gold:hover {
  transform: scale(1.03);
  box-shadow: var(--gold-glow);
}

/* ---------- 数据高亮变体 ---------- */
.page-home .ml-data-highlight--green {
  color: var(--ml-data-highlight, #00FF88);
  font-weight: 700;
}

/* ---------- 纵向小注 ---------- */
.page-home .ml-note--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ml-text-secondary, #B0B0B0);
  opacity: 0.6;
  text-transform: uppercase;
}

/* =============================================
   桌面端增强
   ============================================= */
@media (min-width: 800px) {
  .page-home .ml-hero-split {
    flex-direction: row;
    align-items: center;
    min-height: 70vh;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  .page-home .ml-hero-split__text {
    flex: 1 1 50%;
    padding-right: 2rem;
  }
  .page-home .ml-hero-split__visual {
    flex: 1 1 50%;
    min-height: 400px;
  }
  .page-home .ml-advantage-card--wide {
    flex-direction: row;
    align-items: center;
  }
  .page-home .ml-advantage-card--wide .ml-advantage-card__img {
    width: 240px;
    height: 180px;
    flex-shrink: 0;
  }
}

/* ---------- 大规模屏幕间距微调 ---------- */
@media (min-width: 1200px) {
  .page-home .ml-hero-split__title {
    font-size: 4.8rem;
  }
  .page-home .ml-hero-split__visual {
    min-height: 480px;
  }
}
</PAGE_CSS>

.page-home {
  --i: inherit;
  --w: 1rem;
}
