/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #05070f;
  color: white;
}

/* ================= NAV HEIGHT VARIABLE ================= */
:root {
  --nav-height: 88px;
}

/* ================= NAV WRAPPER ================= */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;

  /* IMPORTANT: no bottom padding */
  padding: 12px 20px 0;
}


/* ================= NAVBAR ================= */
.navbar {
  max-width: 1200px;
  height: var(--nav-height);

  margin: 0 auto;
  padding: 0 36px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(14px);

  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= LOGO ================= */
.logo img {
  height: 28px;
}

/* ================= LINKS ================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a,
.drop-btn {
  background: none;
  border: none;
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links a:hover,
.drop-btn:hover {
  color: white;
}

/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  /* reduced gap */
  left: 50%;
  transform: translateX(-50%) translateY(8px);

  min-width: 240px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);

  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 14px 20px;
  color: white;
  text-decoration: none;
  transition: 0.2s;
}

.dropdown-menu li a:hover {
  background: #141414;
  padding-left: 26px;
}

/* ================= ARROW ================= */
.arrow {
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* ================= CTA ================= */
.cta-btn {
  background: #3f63ff;
  padding: 10px 20px;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.25s;
}

.cta-btn:hover {
  background: white;
  color: black;
}

/* ================= MOBILE BUTTON ================= */
.mobile-btn {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ================= MOBILE MENU ================= */


/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: absolute;
  top: calc(var(--nav-height) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);

  width: calc(100% - 40px);
  max-width: 1200px;

  padding: 18px;
  background: rgba(20, 20, 20, 0.95);

  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  flex-direction: column;
  gap: 6px;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* margin: 8px auto 0; controlled spacing */
/* .mobile-menu {
  max-width: 1200px;
  padding: 18px;

  background: rgba(20, 20, 20, 0.95);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  flex-direction: column;
  gap: 6px;

  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  padding: 14px;
  text-decoration: none;
  color: white;
  font-weight: 600;
} */

/* ================= MOBILE DROPDOWN ================= */
.mobile-drop-btn {
  background: none;
  border: none;
  color: white;
  font-weight: 600;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 16px;
}

.mobile-dropdown-menu.active {
  display: flex;
}

/* .mobile-dropdown-menu a {
  font-size: 14px;
  padding: 12px;
} */

.mobile-menu>a,
.mobile-menu .mobile-dropdown-menu a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: #fff !important;
  font-weight: 600;
  border-radius: 12px;
}


.mobile-menu > a:hover,
.mobile-menu .mobile-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}


.mobile-drop-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: white;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  border-radius: 12px;
}

.mobile-drop-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}


/* ================= MOBILE CTA ================= */
.mobile-cta {
  background: white;
  color: black !important;
  border-radius: 30px;
  text-align: center;
  margin-top: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .nav-links,
  .cta-btn {
    display: none;
  }

  .mobile-btn {
    display: block;
  }
}