
            if (typeof window !== 'undefined') {
              window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.__REACT_DEVTOOLS_GLOBAL_HOOK__ || {};
              window.__REACT_DEVTOOLS_GLOBAL_HOOK__.renderers = window.__REACT_DEVTOOLS_GLOBAL_HOOK__.renderers || new Map();
              window.__REACT_DEVTOOLS_GLOBAL_HOOK__.renderers.set(1, {
                version: '19.1.0',
                rendererPackageName: 'react-dom',
                bundleType: 1
              });
            }
          
/* BULLETPROOF NAVBAR CSS WITH BACKDROP BLUR */
/* Complete rewrite for reliable frosted glass effects */

:root {
  --navbar-blur: blur(24px);
  --navbar-saturate: saturate(180%);
  --navbar-brightness: brightness(1.1);
  --navbar-bg: rgba(0, 0, 0, 0.4);
  --navbar-bg-scrolled: rgba(0, 0, 0, 0.6);
  --navbar-border: rgba(255, 255, 255, 0.15);
  --dropdown-bg: rgba(0, 0, 0, 0.7);
  --dropdown-border: rgba(255, 255, 255, 0.2);
}

/* Critical: Prevent ANY transforms on backdrop-filtered elements */
.glass-nav-modern,
.mega-menu-modern,
.nav-quickaccess {
  transform: none !important;
  will-change: auto !important;
  contain: none !important;
  isolation: auto !important;
  -webkit-backface-visibility: visible !important;
          backface-visibility: visible !important;
}

/* NAVBAR BASE STYLES */
.glass-nav-modern {
  background: var(--navbar-bg) !important;
  backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  -webkit-backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  border: 1px solid var(--navbar-border) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SCROLLED NAVBAR STATE */
.nav-scrolled {
  background: var(--navbar-bg-scrolled) !important;
  backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  -webkit-backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* MEGA MENU - BULLETPROOF BACKDROP BLUR */
.mega-menu-modern {
  background: var(--dropdown-bg) !important;
  backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  -webkit-backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  border: 1px solid var(--dropdown-border) !important;
  border-radius: 1rem !important;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 12px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  
  /* Critical: Position for proper stacking without transforms */
  position: relative;
  z-index: 1000;
  
  /* Ensure content has proper backdrop */
  padding: 1.5rem;
  margin-top: 0.5rem;
}

/* Alternative backdrop layer for extra assurance */
.mega-menu-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  backdrop-filter: inherit;
  -webkit-backdrop-filter: inherit;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

/* Content container inside mega menu */
.mega-menu-modern > * {
  position: relative;
  z-index: 1;
}

/* QUICK ACCESS SECTION */
.nav-quickaccess {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-default);
  padding: 1.25rem;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* DROPDOWN ANIMATIONS - NO TRANSFORMS */
.dropdown-enhanced {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  /* Critical: NO transform animations */
  transform: none !important;
}

.dropdown-enhanced[data-state="open"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-enhanced[data-state="closed"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* TYPOGRAPHY & SPACING */
.nav-text-primary {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
  padding: 0.625rem 1rem;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.9);
}

.nav-logo-text {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-dropdown-header {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.nav-dropdown-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #EC4866, transparent);
  border-radius: 1px;
}

.nav-dropdown-item {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 0.25rem;
}

.nav-dropdown-description {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 0.25rem;
}

/* BADGES */
.nav-badge {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.badge-new {
  background: linear-gradient(135deg, #10b981, #34d399) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.badge-popular {
  background: linear-gradient(135deg, #ec4899, #f472b6) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.25);
  border: 1px solid rgba(236, 72, 153, 0.3) !important;
}

.badge-updated {
  background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

/* ICONS */
.nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  flex-shrink: 0;
  color: #EC4866 !important;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-icon-large {
  width: 1.5rem;
  height: 1.5rem;
  color: #EC4866 !important;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* FOCUS STATES */
.nav-focus-enhanced:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.8);
  outline-offset: 2px;
  border-radius: var(--radius-default);
  background: rgba(255, 255, 255, 0.08);
}

.nav-focus-enhanced:focus {
  outline: none;
}

/* SKIP TO CONTENT */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #EC4866;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 6px;
}

/* MENU ITEMS */
.nav-menu-item {
  position: relative;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9) !important;
}

.nav-menu-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  transform: translateX(0.125rem);
  color: rgba(255, 255, 255, 1) !important;
}

.nav-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #EC4866, #f472b6);
  border-radius: 0 2px 2px 0;
  transition: height 0.2s ease;
}

.nav-menu-item:hover::before {
  height: 70%;
}

/* FEATURED SECTION */
.nav-featured-card {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.05)) !important;
  border: 1px solid rgba(236, 72, 153, 0.2) !important;
  border-radius: var(--radius-default);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.nav-featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #EC4866, transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* CTA BUTTON */
.nav-cta-modern {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #EC4866, #f472b6) !important;
  border-radius: var(--radius-default);
  color: white !important;
  box-shadow: 
    0 4px 14px 0 rgba(236, 72, 153, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-cta-modern::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.nav-cta-modern:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 7px 20px 0 rgba(236, 72, 153, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.nav-cta-modern:hover::before {
  transform: translate(-50%, -50%) scale(2);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-default);
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
  color: white !important;
}

/* ICON BUTTONS */
.icon-button {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  position: relative;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* CHEVRON ROTATION */
.dropdown-chevron {
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: rgba(255, 255, 255, 0.5) !important;
}

.dropdown-chevron[data-state="open"] {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.8) !important;
}

/* LANGUAGE SWITCHER DROPDOWN */
.language-dropdown {
  background: var(--dropdown-bg) !important;
  backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  -webkit-backdrop-filter: var(--navbar-blur) var(--navbar-saturate) var(--navbar-brightness) !important;
  border: 1px solid var(--dropdown-border) !important;
  border-radius: 0.5rem !important;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* ANIMATIONS - NO TRANSFORMS THAT BREAK BACKDROP */
.nav-fade-in {
  animation: fadeInOpacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInOpacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ENHANCED LINK ANIMATIONS */
.nav-link-enhanced {
  position: relative;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link-enhanced::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #EC4866, #f472b6);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link-enhanced:hover::after,
.nav-link-enhanced:focus-visible::after {
  width: 100%;
}

/* ACTIVE ROUTE INDICATOR */
.nav-active-indicator {
  position: relative;
}

.nav-active-indicator::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #EC4866, #f472b6);
  border-radius: 1px;
  transform: translateX(-50%);
  opacity: 1;
}

/* DIVIDERS */
.nav-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1) 20%, 
    rgba(255, 255, 255, 0.1) 80%, 
    transparent);
  margin: 1.5rem 0;
}

/* SCROLLBAR */
.nav-scrollable::-webkit-scrollbar {
  width: 6px;
}

.nav-scrollable::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-xs);
}

.nav-scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
}

.nav-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .dropdown-enhanced,
  .dropdown-chevron,
  .nav-fade-in,
  .nav-link-enhanced::after,
  .nav-scrolled,
  .nav-interactive,
  .nav-cta-modern,
  .icon-button {
    animation: none;
    transition: none;
  }
  
  .nav-link-enhanced:hover::after,
  .nav-link-enhanced:focus-visible::after {
    width: 100%;
    transition: none;
  }
}

/* TEXT CONTRAST UTILITIES */
.text-high-contrast {
  color: rgba(255, 255, 255, 0.95) !important;
}

.text-medium-contrast {
  color: rgba(255, 255, 255, 0.75) !important;
}

.text-low-contrast {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* INTERACTIVE ELEMENTS */
.nav-interactive {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-interactive:active {
  transform: scale(0.98);
}

/* ENSURE ALL TEXT IS PROPERLY COLORED */
.mega-menu-modern *,
.nav-quickaccess *,
.glass-nav-modern * {
  color: rgba(255, 255, 255, 0.9) !important;
}

.mega-menu-modern h1,
.mega-menu-modern h2,
.mega-menu-modern h3,
.mega-menu-modern h4,
.mega-menu-modern h5,
.mega-menu-modern h6,
.nav-quickaccess h1,
.nav-quickaccess h2,
.nav-quickaccess h3,
.nav-quickaccess h4,
.nav-quickaccess h5,
.nav-quickaccess h6 {
  color: rgba(255, 255, 255, 0.95) !important;
}

.mega-menu-modern a:hover *,
.nav-quickaccess a:hover *,
.nav-menu-item:hover * {
  color: rgba(255, 255, 255, 1) !important;
}

/* Override any conflicting styles */
.mega-menu-dropdown,
.mega-menu-dropdown * {
  background: var(--dropdown-bg) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}
