nav {
  width: 100%;
  padding: 18px 6%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

nav.scrolled {
  padding: 15px 6%;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 5px 30px rgba(0, 234, 255, 0.15);
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00eaff, #8a2be2, #ff0080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
  padding: 8px 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00eaff, #8a2be2);
  transition: 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px !important;
  background: linear-gradient(135deg, #00eaff, #0099ff);
  border-radius: 25px;
  color: #000 !important;
  font-weight: 700;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0, 234, 255, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 234, 255, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  padding: 100px 40px 40px;
  transition: 0.4s ease;
  z-index: 999;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  transition: 0.3s;
}

.mobile-menu ul li a:hover {
  color: #00eaff;
  padding-left: 15px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 968px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1.4rem;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 15px 5%;
  }

  .mobile-menu {
    width: 85%;
    padding: 80px 30px 30px;
  }

  .mobile-menu ul li a {
    font-size: 1.1rem;
  }
}

@media (max-width: 400px) {
  .logo {
    font-size: 1.2rem;
  }
}