{%- import '../../css/variable/_variables.css' -%}

{# =============================================
   Hero Section — RoamGuard Theme
   Mobile-first: base → mobilept → md → lg → xl
   ============================================= #}

.hero-section {
  position: relative;
  overflow: hidden;
  background-color: ;
  padding-bottom: 0;
}

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

{# ---- Floating decoration (right-side abstract vectors) ---- #}
.hero-section__floating-decoration {
  position: absolute;
  top: -87px;
  right: 0;
  width: 50%;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.hero-section__floating-decoration img {
  width: 100%;
  height: auto;
  display: block;
}

{# ---- Background image + gradient overlay at bottom ---- #}
.hero-section__bg-image-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 601px;
  z-index: 0;
  pointer-events: none;
}

.hero-section__bg-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-section__bg-image img {
  width: 115.42%;
  height: 184.31%;
  max-width: none;
  position: absolute;
  top: -52.14%;
  left: -7.71%;
  object-fit: cover;
}

.hero-section__bg-gradient {
  position: absolute;
  inset: 0;
}

{# ---- Inner layout — centered column ---- #}
.hero-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

{# ---- Heading container ---- #}
.hero-section__heading-container {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-section__heading-container h1 {
  color: ;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

{# ---- Subtitle ---- #}
.hero-section__subtitle {
  width: 100%;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-section__subtitle p {
  color: #616161;
  line-height: 1.4;
  margin-bottom: 0;
}

{# ---- Button row ---- #}
.hero-section__btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-section__btn-secondary-wrap .cta-btn.btn2 {
  background-color: ;
  color: #ffffff;
  border-radius: 32px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.hero-section__btn-secondary-wrap .cta-btn.btn2:hover {
  opacity: 0.88;
}

{# ---- Dashboard image ---- #}
.hero-section__image-container {
  width: 100%;
  max-width: 1062px;
  margin: 0 auto;
  position: relative;
}

.hero-section__image-container img {
  width: 100%;
  height: auto;
  display: block;
}

{# ---- pt utility classes used in annotations ---- #}
.pt-10 { padding-top: 10px; }
.pt-15 { padding-top: 15px; }
.pt-30 { padding-top: 30px; }


{# ====================== MOBILE (max-width: 767px) ====================== #}
@media (max-width: 767px) {
  .hero-section__floating-decoration {
    display: none;
  }

  .hero-section__bg-image-wrap {
    height: 300px;
  }

  .hero-section__heading-container h1 {
    font-size: 36px;
    line-height: 43px;
  }

  .hero-section__subtitle p {
    font-size: 16px;
  }

  .hero-section__btn-row {
    flex-direction: column;
    gap: 16px;
  }

  .hero-section__btn-row .cta-btn,
  .hero-section__btn-secondary-wrap .cta-btn.btn2 {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


{# ====================== TABLET (min-width: 768px) ====================== #}
@media (min-width: 768px) {
  .hero-section__heading-container h1 {
    font-size: 48px;
    line-height: 57px;
  }

  .hero-section__btn-row {
    flex-direction: row;
  }
}


{# ====================== LG (min-width: 992px) ====================== #}
@media (min-width: 992px) {
  .hero-section__floating-decoration {
    width: 972px;
    height: 861px;
  }

  .hero-section__heading-container h1 {
    font-size: 56px;
    line-height: 67px;
  }
}


{# ====================== XL (min-width: 1200px) ====================== #}
@media (min-width: 1200px) {
  .hero-section__heading-container h1 {
    font-size: 60px;
    line-height: 72px;
  }

  .hero-section__subtitle p {
    font-size: 20px;
    line-height: 28px;
  }
}
