#main-nav.open {
  display: flex !important;
}
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #152028 -1.33%, #0e121a 0%, #241c2d 3.61%, #162836 9.35%, #181e2b 15.34%, #241c2d 27%, #1f2131 34.53%, #162836 47.28%, #241c2d 54.45%, #181e2b 64.92%, #132431 72.78%, #241c2d 86.03%, #1f1f2c 91.98%, #01060c 100%);
  position: relative;
  overflow-x: hidden;
}
.nebula-background {
  transform: translateY(-10px);
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scale: 1.3;
}

@media (min-width: 768px) {
  .nebula-background {
    object-fit: cover;
    scale: 1;
  }
}

@media (max-width: 767px) {
  .nebula-background {
    transform: translateY(-250px);
  }
}

.nebula-container {
  overflow: hidden;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.texture-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url("/assets/texture-desktop-1x.webp");
  background-repeat: repeat-y;
  background-size: contain;
}

@media (max-width: 767px) {
  .texture-bg {
    background-size: contain;
    opacity: 0.5;
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  #main-nav {
    gap: 12px;
  }

  #main-nav .flex.items-center.gap-24 {
    gap: 8px;
  }

  #main-nav > a[href="#login"] {
    margin-left: 12px;
  }

  #main-nav a {
    font-size: 14px;
    padding-left: 4px;
    padding-right: 4px;
    white-space: nowrap;
  }
}

#mobile-nav {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 55;
}

#mobile-nav.open {
  display: flex !important;
}

body.mobile-menu-open {
  overflow: hidden;
}

.header-logo,
#burger-menu {
  position: relative;
  z-index: 60;
}

#burger-menu span {
  transition:
    transform 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
}

#burger-menu.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#burger-menu.open span:nth-child(2) {
  opacity: 0;
}

#burger-menu.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#mobile-nav::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: inherit;
  z-index: -1;
}

#mobile-nav {
  width: 100vw;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
}

#mobile-nav > div {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Section 5 - Testimonials */
.testimonial-text-glow {
  color: #cdffff;
  text-shadow:
    0px 0px 7px #cdffff,
    0px 0px 25px #cdffff,
    0px 0px 50px #cdffff,
    0px 0px 85px #cdffff,
    0px 0px 150px #cdffff;
}

.testimonial-text {
  color: #cdffff;
  text-shadow:
    0px 0px 7px #cdffff,
    0px 0px 25px #cdffff,
    0px 0px 50px #cdffff,
    0px 0px 85px #cdffff,
    0px 0px 150px #cdffff;
  height: 100px;
  min-height: 100px;
  display: block;
}

.test-shadow {
  color: #cdffff;
  text-shadow:
    0px 0px 25.01px 0px #cdffff,
    0px 0px 50.03px 0px #cdffff,
    0px 0px 85.76px 0px #cdffff;
}

@media (max-width: 767px) {
  .testimonial-text {
    height: 120px;
    min-height: 120px;
  }
}

#section-5 .separator-container img {
  max-width: 100%;
  height: auto;
}

#section-5 .partner-link {
  transition: color 0.3s ease;
}

#section-5 .partner-link:hover {
  color: #cdffff;
  text-shadow: 0px 0px 8px #cdffff;
}

#section-5 .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
}

@media (min-width: 768px) {
  #section-5 .testimonial-card {
    width: 439px;
    height: 232px;
    align-items: flex-start;
  }

  #section-5 .testimonial-card .flex.md\:flex-row {
    flex-direction: row;
    align-items: center;
  }

  #section-5 .testimonial-card .flex.flex-col.flex-1.min-w-0.items-center.md\:items-start {
    align-items: flex-start;
  }

  #section-5 .testimonial-text {
    text-align: left;
  }

  #section-5 .testimonial-card img {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  #section-5 .testimonial-card {
    text-align: center;
  }

  #section-5 .testimonial-card .flex.md\:flex-row.flex-col {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  #section-5 .testimonial-card .flex.flex-col.flex-1.min-w-0.items-center.md\:items-start {
    text-align: center;
    align-items: center;
  }

  #section-5 .testimonial-text {
    margin-bottom: 8px;
  }

  #section-5 .testimonial-card .flex.md\:flex-row.flex-col img {
    margin-bottom: 12px;
  }
  #section-5 .partners-container {
    gap: 12px;
  }
}

/* Section 6 - Pricing Plans */
#pricing {
  position: relative;
  overflow: hidden;
}

#pricing .blue-stroke-background {
  background-image: url("/assets/blue-stroke-background-4x.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 120% 120%;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
  left: 0;
  transform: none;
  filter: blur(15px);
  mix-blend-mode: color-dodge;
}

#pricing .pricing-card-container:hover .pricing-card {
  box-shadow:
    0px 0px 30px 0px #cdffff,
    0px 0px 76px 19px #3d5a78 inset !important;
}

@media (max-width: 767px) {
  #pricing .pricing-card-container {
    max-width: 280px;
    margin-bottom: 24px;
  }

  #pricing .pricing-card {
    height: auto;
    min-height: 360px;
  }
}

#pricing.pricing-card img[src*="pricing-frame"] {
  height: auto;
  max-height: 95px;
}

@media (max-width: 767px) {
  #pricing.blue-stroke-background {
    display: none;
  }
}
