/* ========================================
   PUBLIC PAGE NAVIGATION
   Shared styles for landing, login, signup, and learn pages
   ======================================== */

/* Fixed header bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(4, 0, 11, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation container */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

/* Navigation links container */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Individual nav links */
.nav-links a {
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(193, 209, 214, 0.7);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: #c1d1d6;
  background: rgba(255, 255, 255, 0.05);
}

/* Active page indicator */
.nav-links a.active {
  color: #c0f;
  border-bottom: 2px solid #c0f;
  filter: drop-shadow(0 0 6px rgba(204, 0, 255, 0.4));
}

/* Home link separator (used on learn pages) */
.nav-links .nav-home {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  nav {
    padding: 12px 16px;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .nav-links .nav-home {
    margin-left: 8px;
    padding-left: 8px;
  }
}

