/* ==========================================================================
   RIGSAFELENS · TIER-1 LIGHT THEME NAVBAR & FOOTER
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}
.nav-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* VIP Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text-group { display: flex; flex-direction: column; }
.logo-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #0F172A;
  line-height: 1.1;
}
.logo-brand span { color: #D97706; }
.logo-tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0284C7;
  font-weight: 700;
}

/* Nav Links - Guaranteed No Wrapping */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.nav-link:hover { color: #0F172A; background: #F1F5F9; }
.nav-link.active { color: #D97706; font-weight: 700; }
.nav-link svg.arrow-icon { width: 12px; height: 12px; transition: transform 0.2s ease; }
.dropdown-wrap:hover .nav-link svg.arrow-icon { transform: rotate(180deg); }

.dropdown-wrap { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 280px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-wrap:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #475569;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-item:hover { background: #F8FAFC; color: #0F172A; }
.dropdown-item svg { width: 18px; height: 18px; color: #D97706; flex-shrink: 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; white-space: nowrap; }

/* Responsive Navigation Bar */
@media (max-width: 1080px) {
  .nav-inner { padding: 0 16px; gap: 12px; }
  .nav-link { padding: 7px 10px; font-size: 0.82rem; }
  .nav-cta .btn { padding: 8px 14px; font-size: 0.82rem; }
}

@media (max-width: 992px) {
  .nav-inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
    gap: 4px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .dropdown-menu {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .nav-cta .btn-secondary { display: none; }
  .nav-cta .btn { padding: 7px 12px; font-size: 0.8rem; }
  .logo-tagline { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}
.btn-secondary {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  transform: translateY(-1px);
}
.btn-lg { height: 50px; padding: 0 26px; font-size: 0.95rem; border-radius: 12px; }

/* Footer */
.footer {
  background: var(--bg-base, #F8FAFC);
  border-top: 1px solid #E2E8F0;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-head {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0F172A;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: #64748B;
  transition: color 0.15s ease;
  text-decoration: none;
}
.footer-links a:hover { color: #0F172A; }
.footer-meta {
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 12px;
}
