/* HEADER */
.header {
  background: linear-gradient(90deg, #020617, #0f2a5a);
  padding: 15px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* CONTAINER */
.container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  color: #e0f2fe;
  font-size: 20px;
  font-weight: bold;
}

.logo img {
  width: 40px;
  margin-right: 10px;
}

/* MENU */
.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: #93c5fd;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  position: relative;
}

/* hover effect glow biru */
.nav a:hover {
  color: #38bdf8;
}

/* underline animasi */
.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #38bdf8;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

/* CTA DESKTOP */
.cta.desktop {
  display: flex;
  gap: 10px;
}

/* BUTTON */
.btn {
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  font-weight: 600;
}

/* DAFTAR (biru muda terang) */
.daftar {
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
  color: #020617;
}

/* LOGIN (biru tua) */
.login {
  background: #1e3a8a;
  color: #e0f2fe;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 28px;
  color: #e0f2fe;
  cursor: pointer;
  z-index: 1001;
}

/* CTA MOBILE */
.cta-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* MOBILE */
@media (max-width: 768px) {

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: linear-gradient(180deg, #020617, #0f2a5a);
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    transition: 0.3s;
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    padding: 12px 0;
    font-size: 18px;
  }

  .cta.desktop {
    display: none;
  }

  .cta-mobile {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}