/* Shared Navigation Styles */
nav[role="navigation"] {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.99);
  z-index: 9999;
  border-bottom: 1px solid var(--gray-200, #e2e8f0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Prevent content from going under fixed navigation */
/* This CSS file is only loaded on pages with navigation component */
body {
  padding-top: 76px;
}

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

.logo,
a.logo,
a.logo:hover,
a.logo:visited {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.logo img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--gray-700, #334155);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: -0.01em;
}

.nav-links a.cta-link {
  color: #4f46e5;
  font-weight: 600;
}

.nav-links a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: #4f46e5;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-700, #334155);
  padding: 8px;
}

.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200, #e2e8f0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
  max-height: 450px;
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  display: block;
  padding: 16px 20px;
  color: var(--gray-700, #334155);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100, #f1f5f9);
  transition: all 0.2s;
}

.mobile-nav a:hover {
  background: var(--gray-50, #f8fafc);
  color: var(--primary, #667eea);
  padding-left: 28px;
}

.mobile-nav a:first-child {
  border-top: none;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 52px;
  }

  .nav-container {
    padding: 6px 12px;
  }

  .logo {
    font-size: 20px;
  }

  .logo img {
    height: 40px !important;
  }

  .mobile-nav {
    top: 52px;
  }
}
