.navbar-header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: 88%;
  margin: 0;
}



.navbar-wrapper {
  width: 100%;
  margin: 0;
  padding: 0 !important;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(10, 10, 10, 0.70);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
  width: 100%;
  padding: 8px 1.2%;
  gap: 12px;
}

.navbar-logo-link {
  display: flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}

.navbar-logo-img {
  height: 20px;
  width: auto;
}

@media (min-width: 1024px) {
  .navbar-logo-img {
    height: 32px;
  }
}

.navbar-mobile-button {
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .navbar-mobile-button {
    display: none;
  }
}

.navbar-mobile-toggle {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-mobile-toggle img {
  width: 20px;
  height: 20px;
}

.navbar-desktop {
  display: none;
  position: relative;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 0;
}

@media (min-width: 1024px) {
  .navbar-desktop {
    display: block;
  }
}

.navbar-main {
  display: flex;
  flex: 1;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.navbar-item {
  position: relative;
}

.navbar-link {
  display: inline-flex;
  height: auto;
  width: max-content;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  color: #FAFAFA;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
  position: relative;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  transform: scaleX(0);
  width: 100%;
  height: 1px;
  background: rgb(2, 251, 126);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
  opacity: 0;
}

.navbar-link.active::after,
.navbar-item.active .navbar-link::after {
  transform: scaleX(1);
  opacity: 1;
}

.navbar-link.active,
.navbar-item.active .navbar-link {
  color: rgb(2, 251, 126);
  font-weight: 600;
}

.navbar-item-dropdown.active .navbar-link-dropdown::after {
  transform: scaleX(1);
  opacity: 1;
}

.dropdown li a.active {
  color: rgb(2, 251, 126);
  background-color: rgba(2, 251, 126, 0.1);
  position: relative;
  padding-left: 24px;
}

.dropdown li a.active::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgb(2, 251, 126);
  box-shadow: 0 0 6px rgba(2, 251, 126, 0.6);
}

.navbar-link[href="#"] {
  pointer-events: auto;
}

.navbar-link:hover {
  background-color: transparent;
  color: rgb(2, 251, 126);
}

.navbar-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.navbar-chevron {
  position: relative;
  margin-left: 6px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
  color: currentColor;
}

.navbar-item-dropdown:hover .navbar-chevron,
.navbar-item-dropdown[aria-expanded="true"] .navbar-chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  min-width: 600px;
  max-width: 700px;
  border-radius: 16px;
  border: 1px solid rgba(76, 76, 76, 0.5);
  padding: 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  background-color: rgba(25, 25, 25, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  list-style: none;
  margin: 0;
  overflow: hidden;
}

.navbar-item-dropdown:hover > .dropdown {
  visibility: visible;
  opacity: 1;
}

.dropdown-content {
  padding: 24px;
}

.dropdown-categories-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

.dropdown-category {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dropdown-category-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-category-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: rgb(2, 251, 126);
  margin-top: 2px;
}

.dropdown-category-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-category-title {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgb(227, 227, 227);
  line-height: 1.3;
}

.dropdown-category-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgb(170, 170, 170);
  line-height: 1.4;
}

.dropdown-category-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 32px;
}

.dropdown-subitem {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: rgb(200, 200, 200);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-subitem:hover {
  color: rgb(2, 251, 126);
  background-color: rgba(2, 251, 126, 0.1);
  padding-left: 16px;
}

.dropdown-subitem.active {
  color: rgb(2, 251, 126);
  background-color: rgba(2, 251, 126, 0.15);
  font-weight: 500;
}

.dropdown-subitem.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: rgb(2, 251, 126);
  border-radius: 0 2px 2px 0;
}

.navbar-item-dropdown {
  position: relative;
}

.navbar-item-dropdown .dropdown {
  left: 0;
  right: auto;
  transform: translateX(0);
}

@media (max-width: 1023px) {
  .dropdown {
    min-width: 500px;
    max-width: 90vw;
  }

  .dropdown-categories-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }
}

@media (max-width: 768px) {
  .dropdown {
    min-width: 280px;
    max-width: 90vw;
    left: 0;
    right: auto;
    transform: none;
  }

  .dropdown-categories-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dropdown-category-items {
    padding-left: 0;
  }

  .dropdown-category-header {
    flex-direction: column;
    gap: 8px;
  }

  .dropdown-category-icon {
    margin-top: 0;
  }
}

.navbar-cta {
  display: none;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: flex;
  }
}

.navbar-button-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  transition: all 0.2s ease;
  height: 36px;
  border-radius: 6px;
  padding: 0 18px;
  background-color: rgb(2, 251, 126);
  color: rgb(25, 25, 25);
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar-button-cta:hover {
  background-color: rgb(3, 202, 98);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(2, 251, 126, 0.2);
}

.navbar-chevron-right {
  font-size: 16px;
  display: inline-block;
}

.button-solid {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  color: #191919;
  padding: 16px 32px;
  gap: 8px;
  width: 171px;
  height: 56px;
  border-radius: 30px;
  cursor: pointer;
  border: 0;
  background: #02FB7E;
  margin: 5px;
}

.button-solid:hover {
  background: #F2FFF9;
}

.button-solid:disabled {
  background: #333333;
  color: #B0B0B0;
}

.button-solid:disabled .button-solid-icon {
  filter: invert(95%) sepia(0%) saturate(2581%) hue-rotate(0deg) brightness(76%) contrast(89%);
}

.button-stroke {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #02FB7E;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 16px 32px;
  gap: 8px;
  width: 171px;
  height: 56px;
  border: 1px solid #02FB7E;
  border-radius: 30px;
  cursor: pointer;
  background: #000000;
}

.button-stroke .button-stroke-icon {
  filter: invert(77%) sepia(80%) saturate(2895%) hue-rotate(95deg) brightness(105%) contrast(98%);
}

.button-stroke:hover {
  color: #F2FFF9;
  border: 1px solid #F2FFF9;
}

.button-stroke:hover .button-stroke-icon {
  filter: invert(89%) sepia(13%) saturate(281%) hue-rotate(80deg) brightness(110%) contrast(109%);
}

.button-stroke:disabled {
  color: #B0B0B0;
  border: 1px solid #B0B0B0;
}

.button-stroke:disabled .button-stroke-icon {
  filter: invert(94%) sepia(0%) saturate(306%) hue-rotate(209deg) brightness(78%) contrast(79%);
}

.button-solid.max-width {
  width: 208px;
}

li {
  display: block;
  transition-duration: 0.5s;
  position: relative;
}

li:hover {
  cursor: pointer;
}

.dropdown-submenu {
  left: 100%;
  top: 0;
  margin-left: 8px;
}

.has-submenu:hover > .dropdown-submenu {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 1024px) {
  .navbar-header {
    top: 22px;
  }
}

@media (max-width: 1023px) {
  .navbar-header {
    padding-top: 10px;
    width: 92%;
  }
  .navbar {
    padding: 10px 14px;
    gap: 10px;
  }
  .navbar-logo-img {
    height: 22px;
  }
}

@media (max-width: 767px) {
  .navbar-header {
    padding-top: 12px;
    width: 94%;
  }
  .navbar {
    padding: 12px 16px;
    gap: 12px;
    border-radius: 12px;
  }
  .navbar-logo-img {
    height: 28px;
  }
  .navbar-mobile-toggle img {
    width: 28px;
    height: 28px;
  }
}
