/* === Navigation === */
nav#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding: 0 5%;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
  background: var(--blue-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px !important;
  margin-left: 20px;
  background: var(--blue);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: transparent !important;
  color: var(--blue) !important;
  box-shadow: inset 0 0 0 2px var(--blue);
  transform: translateY(-1px);
}

/* === Hamburger === */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* === Mobile Menu === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 32px 5%;
  gap: 8px;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--blue);
  background: var(--blue-light);
  font-weight: 600;
}

.mobile-menu .nav-cta {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

.mobile-menu .btn-primary,
.mobile-menu .btn-primary:hover {
  color: #ffffff;
}

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

  nav#main-nav > .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }
}
