/* ============================================
   SHARED HEADER STYLES
   ============================================ */
.uv-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}

.uv-header-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.uv-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.uv-header-logo {
  height: 40px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

.uv-header-brand-text {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
}

.uv-header-nav {
  display: flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.uv-header-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  text-decoration: none;
  padding: 10px 14px;
  position: relative;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease, background 0.2s ease, transform 0.2s ease;
}

.uv-header-link i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.uv-header-link:hover i {
  transform: scale(1.15) rotate(-5deg);
}

.uv-header-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1e3a8a;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.uv-header-link:hover {
  color: #1e3a8a;
  background: #f8fafc;
  transform: translateY(-1px);
}

.uv-header-link:hover::after {
  width: 60%;
}

.uv-header-link--active {
  color: #1e3a8a;
  font-weight: 700;
}

.uv-header-link--active i {
  transform: scale(1.1);
  color: #1e3a8a;
}

.uv-header-link--active::after {
  width: 60%;
  background: #1e3a8a;
}

.uv-header-spacer {
  flex: 1;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
body {
  animation: pageFadeIn 0.4s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #facc15, #eab308);
  z-index: 9999;
  transition: width 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.7);
  opacity: 0;
}

.page-progress.active {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .uv-header-nav {
    display: none;
  }
  .uv-header-container {
    padding: 0 16px;
  }
  .uv-header-logo {
    height: 34px;
    max-width: 50px;
  }
  .uv-header-brand-text {
    font-size: 15px;
  }
}