.navbar {
  background-color: #030814;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand .brand-link {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-brand .brand-link:hover {
  color: #e0e0e0;
}

.navbar-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: white;
}

.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-burger:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.navbar-burger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
  position: relative;
}

.navbar-burger span:nth-child(1) {
  margin-bottom: 6px;
}

.navbar-burger span:nth-child(2) {
  margin-bottom: 6px;
}

.navbar-burger span:nth-child(3) {
  margin-bottom: 0;
}

.navbar-burger.is-active {
  background: rgba(255, 255, 255, 0.15);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background-color: #ff6b6b;
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.navbar-burger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: #ff6b6b;
}

@media (max-width: 768px) {
  .navbar-burger {
    display: flex;
  }
  
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #030814 0%, #1a1a2e 100%);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 0 0 15px 15px;
    backdrop-filter: blur(10px);
  }
  
  .navbar-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-nav {
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.5s ease forwards;
  }
  
  .nav-link:nth-child(1) { animation-delay: 0.1s; }
  .nav-link:nth-child(2) { animation-delay: 0.2s; }
  .nav-link:nth-child(3) { animation-delay: 0.3s; }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
  }
  
  .nav-link:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .nav-link.active::after {
    display: none;
  }
}

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}