/* ==========================================================
   HERO
========================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 100svh;

  padding: calc(var(--headerHeight) + 2.5rem) 0 4rem;

  overflow: hidden;
  isolation: isolate;

  background: #000;
}

/* ==========================================================
   BACKGROUND VIDEO
========================================================== */

.heroVideo {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.heroVideo iframe {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 177.7778vh;
  height: 56.25vw;

  min-width: 100%;
  min-height: 100%;

  transform: translate(-50%, -50%);

  pointer-events: none;
}

/* ==========================================================
   DARK OVERLAY
========================================================== */

.heroOverlay {
  position: absolute;
  inset: 0;

  z-index: -2;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.42) 35%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

/* ==========================================================
   MAGIC GLOW
========================================================== */

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background: radial-gradient(
    circle at center,
    rgba(109, 40, 217, 0.1) 0%,
    rgba(109, 40, 217, 0.05) 30%,
    transparent 72%
  );

  pointer-events: none;
}

/* ==========================================================
   CONTENT LAYOUT
========================================================== */

.heroWrap {
  width: 100%;
}

.heroContent {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  max-width: 700px;

  margin-inline: auto;

  text-align: center;
}

/* ==========================================================
   CONTENT SPACING
========================================================== */

.heroContent > * {
  width: 100%;
}

.heroHeader {
  margin-bottom: 0.8rem;
}

.heroActions {
  margin-top: 1.6rem;
}

.heroStats {
  margin-top: 2rem;
}

/* ==========================================================
   DESKTOP VIDEO
========================================================== */

@media (min-width: 1600px) {
  .heroContent {
    max-width: 760px;
  }
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {
  .hero {
    padding: calc(var(--headerHeight) + 2rem) 0 3rem;
  }

  .heroContent {
    max-width: 620px;
  }

  .heroVideo iframe {
    width: 220vw;
    height: 124vw;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {
  .hero {
    padding: calc(var(--headerHeight) + 1.5rem) 0 2.5rem;
  }

  .heroContent {
    max-width: 100%;
  }

  .heroVideo iframe {
    width: 320vw;
    height: 180vw;
  }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 575px) {
  .heroVideo iframe {
    width: 420vw;
    height: 236vw;
  }
}
/* ==========================================================
   HERO BADGE
========================================================== */

.heroBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  width: auto;

  margin: 0 auto 0.75rem;

  padding: 0.32rem 0.75rem;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;

  background: rgba(109, 40, 217, 0.16);

  backdrop-filter: blur(12px);

  user-select: none;
}

.heroBadge i {
  color: var(--clrSecondary);

  font-size: 0.65rem;
}

.heroBadge span {
  color: #fff;

  font-size: 0.7rem;
  font-weight: 500;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================
   HERO HEADER
========================================================== */

.heroHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================
   MAIN HEADING
========================================================== */

.heroHeader h1 {
  max-width: 900px;

  margin: 0 0 0.65rem;

  color: #fff;

  font-size: clamp(2.15rem, 3.4vw, 3.1rem);

  font-weight: 600;

  line-height: 1.15;

  letter-spacing: -0.02em;

  text-wrap: balance;

  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ==========================================================
   SUBTITLE
========================================================== */

.heroSubtitle {
  margin-bottom: 0.8rem;

  color: #6ec3ff;

  font-size: 0.85rem;

  font-weight: 500;

  letter-spacing: 0.02em;

  line-height: 1.6;
}

/* ==========================================================
   DESCRIPTION
========================================================== */

.heroDescription {
  max-width: 540px;

  margin: 0 auto;

  color: rgba(255, 255, 255, 0.82);

  font-size: 0.82rem;

  font-weight: 400;

  line-height: 1.8;

  text-wrap: pretty;
}

/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width: 1600px) {
  .heroHeader h1 {
    font-size: 3.35rem;
  }
}

/* ==========================================================
   LAPTOP
========================================================== */

@media (max-width: 1200px) {
  .heroHeader h1 {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
  }
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {
  .heroBadge {
    margin-bottom: 0.65rem;
  }

  .heroHeader h1 {
    font-size: 2.45rem;
  }

  .heroSubtitle {
    font-size: 0.82rem;
  }

  .heroDescription {
    max-width: 520px;

    font-size: 0.8rem;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {
  .heroHeader h1 {
    font-size: 1.9rem;

    line-height: 1.2;
  }

  .heroSubtitle {
    font-size: 0.8rem;
  }

  .heroDescription {
    max-width: 100%;

    font-size: 0.78rem;

    line-height: 1.7;
  }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 575px) {
  .heroBadge {
    padding: 0.3rem 0.65rem;
  }

  .heroBadge span {
    font-size: 0.65rem;
  }

  .heroHeader h1 {
    font-size: 1.7rem;
  }
}

/* ==========================================================
   HERO HIGHLIGHTS
========================================================== */

.heroHighlights {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 0.55rem;

  margin: 1rem 0 1.75rem;

  padding: 0;

  list-style: none;
}

.heroHighlights li {
  display: flex;
  align-items: center;

  color: rgba(255, 255, 255, 0.88);

  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
}

.heroHighlights li i {
  margin-right: 0.35rem;

  color: var(--clrSecondary);

  font-size: 0.72rem;
}

.heroHighlights li:not(:last-child)::after {
  content: "";

  width: 4px;
  height: 4px;

  margin-left: 0.55rem;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================
   CTA
========================================================== */

.heroActions {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0.8rem;

  margin-bottom: 1.8rem;
}

.heroActions .btn {
  min-width: 165px;
  height: 34px;

  padding: 0 1rem;

  font-size: 0.82rem;
  font-weight: 600;

  border-radius: 999px;
}

.heroActions .btnPrimary {
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.25);
}

.heroActions .btnPrimary:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 26px rgba(109, 40, 217, 0.35);
}

.heroActions .btnOutline {
  color: #fff;

  border-color: rgba(255, 255, 255, 0.28);

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(12px);
}

.heroActions .btnOutline:hover {
  color: #fff;

  border-color: #fff;

  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================
   HERO STATS
========================================================== */

.heroStats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 1.75rem;
}

.heroStat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.heroStat strong {
  color: #fff;

  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.heroStat span {
  color: rgba(255, 255, 255, 0.68);

  font-size: 0.72rem;
  font-weight: 500;

  white-space: nowrap;
}

.heroStat:not(:last-child)::after {
  content: "";

  width: 1px;
  height: 14px;

  margin-left: 1rem;

  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {
  .heroHighlights {
    margin: 0.9rem 0 1.6rem;
  }

  .heroActions {
    margin-bottom: 1.6rem;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {
  .heroHighlights {
    gap: 0.5rem;
  }

  .heroHighlights li {
    font-size: 0.72rem;
  }

  .heroHighlights li:not(:last-child)::after {
    display: none;
  }

  .heroActions {
    flex-direction: column;

    gap: 0.65rem;
  }

  .heroActions .btn {
    width: 100%;
    max-width: 240px;
  }

  .heroStats {
    flex-direction: column;

    gap: 0.8rem;
  }

  .heroStat::after {
    display: none;
  }
}

/* ==========================================================
   SCROLL INDICATOR
========================================================== */

.heroScroll {
  position: absolute;

  left: 50%;
  bottom: 1.5rem;

  width: 22px;
  height: 38px;

  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;

  transform: translateX(-50%);

  transition: var(--transitionBase);
}

.heroScroll:hover {
  border-color: rgba(255, 255, 255, 0.65);
}

.heroScroll span {
  position: absolute;

  top: 6px;
  left: 50%;

  width: 4px;
  height: 7px;

  border-radius: 999px;

  background: #fff;

  transform: translateX(-50%);

  animation: heroScroll 2s ease infinite;
}

/* ==========================================================
   ENTRANCE ANIMATION
========================================================== */

.heroBadge,
.heroHeader,
.heroHighlights,
.heroActions,
.heroStats {
  opacity: 0;

  transform: translateY(18px);

  animation: heroFadeUp 0.75s ease forwards;
}

.heroHeader {
  animation-delay: 0.1s;
}

.heroHighlights {
  animation-delay: 0.2s;
}

.heroActions {
  animation-delay: 0.3s;
}

.heroStats {
  animation-delay: 0.4s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

/* ==========================================================
   VISUAL POLISH
========================================================== */

.heroHeader h1,
.heroSubtitle,
.heroDescription {
  text-rendering: optimizeLegibility;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.heroDescription {
  text-wrap: pretty;
}

.heroHeader h1 {
  text-wrap: balance;
}

.heroVideo iframe {
  filter: brightness(0.82) contrast(1.08) saturate(0.95);
}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {
  .heroBadge,
  .heroHeader,
  .heroHighlights,
  .heroActions,
  .heroStats {
    opacity: 1;

    transform: none;

    animation: none;
  }

  .heroScroll span {
    animation: none;
  }
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991px) {
  .heroScroll {
    bottom: 1.2rem;
  }
}

@media (max-width: 767px) {
  .heroScroll {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero {
    min-height: 95svh;
  }
}
