header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--stone);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon { font-size: 1.5rem; }

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  position: relative;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 1px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--stone-light);
}

.nav-link.active {
  color: var(--navy);
  font-weight: 700;
  background: var(--navy-50);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 20%;
  width: 60%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.logout-link:hover {
  color: var(--terra-cotta);
  background: var(--terra-bg);
}
