/* ==========================================================================
   MASSTREK — Sections
   ========================================================================== */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-dark-bg);
  background-image: url('../images/banner-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 64px;
}

/* ==========================================================================
   Hero video banner — homepage only.
   Sits behind .hero__inner and the existing .hero::after gradient overlay
   (both already in sections.css from the original build). The video is an
   additional layer, not a replacement for .hero's own background-image —
   that stays in place as a fallback while the video loads, or for browsers/
   connections where video doesn't play.
   ========================================================================== */

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 600px) {
  .hero__video {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.72) 0%, rgba(10, 14, 20, 0.35) 55%, rgba(10, 14, 20, 0.05) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: var(--fs-hero-head);
  line-height: 0.95;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.hero__title span {
  background: var(--gradient-cta-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__strapline {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
  font-size: var(--fs-strapline);
  line-height: 1.3;
  letter-spacing: 0;
  background: var(--gradient-strapline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero__content {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: var(--fs-content);
  line-height: 32px;
  letter-spacing: 0;
  color: var(--color-body-copy);
  max-width: 480px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.55) 0%, rgba(10, 14, 20, 0.85) 100%);
  }

  .hero__inner {
    max-width: 100%;
  }

  .store-badges {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero__title {
    line-height: 1;
  }
}