/* ============================================================
   ATTENTION DYNAMICS — Navigation Styles
   ============================================================
   Header, nav items, premium CTA, mobile hamburger.
   Executive-grade navigation: minimal, calm, elegant.
   
   Depends on: tokens.css
   ============================================================ */


/* --------------------------------------------------------
   1. FIXED HEADER
   -------------------------------------------------------- */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  background-color: rgba(11, 16, 32, 0.5);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.03);
  transition: var(--transition-slow);
}

#main-header.scrolled {
  background-color: rgba(11, 16, 32, 0.88);
  border-bottom-color: rgba(229, 231, 235, 0.05);
}


/* --------------------------------------------------------
   2. HEADER CONTAINER
   -------------------------------------------------------- */

.header-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}


/* --------------------------------------------------------
   3. LOGO
   -------------------------------------------------------- */

.logo-link {
  display: flex;
  align-items: center;
}

.logo-mark {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.35s ease;
}

.logo-link:hover .logo-mark {
  opacity: 1;
}



/* --------------------------------------------------------
   4. HEADER TELEMETRY BADGE (removed from HTML)
   -------------------------------------------------------- */

.header-telemetry {
  display: none;
}


/* --------------------------------------------------------
   5. NAV MENU
   -------------------------------------------------------- */

#nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-item {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 400;
  color: rgba(156, 163, 175, 0.85);
  letter-spacing: 0.01em;
  position: relative;
  padding: 8px 0;
  text-transform: none;
  transition: color 0.35s ease;
}

.nav-item:hover {
  color: var(--color-pure-white);
}

/* Active underline — subtle, refined */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-blue), rgba(0, 194, 255, 0.5));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-item.active {
  color: var(--color-pure-white);
  font-weight: 500;
}

.nav-item.active::after {
  width: 100%;
  background: linear-gradient(90deg, var(--color-blue), rgba(0, 102, 255, 0.3));
}


/* --------------------------------------------------------
   6. PREMIUM CTA BUTTON — Contact
   --------------------------------------------------------
   Visually isolated from nav items. Feels like
   "schedule a strategic conversation."
   -------------------------------------------------------- */

.contact-cta {
  font-family: var(--font-secondary) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--color-pure-white) !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  background: rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(0, 102, 255, 0.18);
  padding: 8px 20px !important;
  border-radius: 4px;
  margin-left: 8px;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-cta:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.08);
  color: var(--color-pure-white) !important;
  transform: translateY(-0.5px);
}

.contact-cta::after {
  display: none !important;
}

.contact-cta.active {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.3);
  color: var(--color-pure-white) !important;
}

.contact-cta.active::after {
  display: none !important;
}

/* Legacy class support */
.contact-btn {
  background: rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(0, 102, 255, 0.18);
  padding: 8px 20px;
  border-radius: 4px;
  margin-left: 8px;
}

.contact-btn:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.08);
  color: var(--color-pure-white);
}

.contact-btn::after {
  display: none !important;
}

.contact-btn.active {
  border-color: rgba(0, 102, 255, 0.3);
  color: var(--color-pure-white);
}

.contact-btn.active::after {
  display: none !important;
}


/* --------------------------------------------------------
   7. MOBILE HAMBURGER TOGGLE
   -------------------------------------------------------- */

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-nav-toggle);
}

.hamburger-bar {
  width: 100%;
  height: 1.5px;
  background-color: var(--color-white);
  transition: var(--transition-smooth);
  transform-origin: left center;
}
