/*
 * 文件作用：
 * 首页专属布局。只作用于 body.pmgr-page-home，避免污染产品中心和内容页。
 */

body.pmgr-page-home {
  background: #0b0b0c !important;
}

body.pmgr-page-home .hero,
body.pmgr-page-home .pmgr-home-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #0b0b0c;
  display: flex;
  align-items: center;
}

body.pmgr-page-home .hero-bg,
body.pmgr-page-home .pmgr-home-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.86;
}

body.pmgr-page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0) 74%);
  z-index: 1;
}

body.pmgr-page-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 80px;
}

body.pmgr-page-home .hero-logo {
  width: 300px;
  margin-bottom: 28px;
}

body.pmgr-page-home .hero-title {
  color: #ffffff;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 12px;
}

body.pmgr-page-home .hero-subtitle {
  color: #ffffff;
  font-size: 14px;
  margin: 0 0 32px;
}

body.pmgr-page-home .btn-learn-more {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 28px;
  background: var(--pmgr-red);
  color: #ffffff;
  border-radius: 4px;
  font-weight: 600;
}

body.pmgr-page-home .intro,
body.pmgr-page-home .stats,
body.pmgr-page-home .footer {
  width: 100%;
}

@media (max-width: 639px) {
  body.pmgr-page-home .hero {
    min-height: 86vh;
  }

  body.pmgr-page-home .hero-content {
    padding: 0 24px;
  }

  body.pmgr-page-home .hero-logo {
    width: 220px;
  }
}
