/* Final Mobile Navigation Fix */
@media (max-width: 1024px) {
  /* Force arrow visibility by adding it to the link text */
  .sc-nav-link-enterprise.has-mega-menu {
    position: relative !important;
  }
  
  /* Add arrow as inline element for better compatibility */
  .sc-nav-link-enterprise.has-mega-menu::after {
    content: '\203A' !important; /* Modern single chevron › */
    position: absolute !important;
    right: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.5rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: Arial, sans-serif !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    text-align: right !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
  }
  /* Force full-width mobile menu */
  .sc-nav-enterprise {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    width: 100vw !important;
    max-width: 100% !important;
    max-width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%) !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .sc-nav-enterprise.active {
    transform: translateX(0) !important;
  }
  
  /* Full width nav list */
  .sc-nav-list-enterprise {
    width: 100% !important;
    width: 100vw !important;
    max-width: 100% !important;
    padding: 80px 0 0 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  
  /* Full width nav items */
  .sc-nav-item-enterprise {
    width: 100% !important;
    width: 100vw !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Full width links with arrow */
  .sc-nav-link-enterprise {
    display: block !important;
    width: 100% !important;
    width: 100vw !important;
    padding: 1.5rem 2rem !important;
    font-size: 1.2rem !important;
    color: var(--sc-white) !important;color: var(--sc-white) !important;
    position: relative !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  /* Add arrow for mega menu items */
  .sc-nav-link-enterprise.has-mega-menu {
    padding-right: 4rem !important;
  }
  
  /* Keep arrow styles in one place - defined above */
  
  .sc-nav-item-enterprise.active .sc-nav-link-enterprise.has-mega-menu::after {
    color: var(--nav-accent) !important;
    transform: translateY(-50%) rotate(90deg) !important;
  }
  
  /* Remove any ::before arrows */
  .sc-nav-link-enterprise.has-mega-menu::before {
    display: none !important;
  }
  
  /* Active state */
  .sc-nav-link-enterprise:active {
    background: rgba(107, 70, 193, 0.1) !important;
  }
  
  /* Full width CTA */
  .sc-nav-cta {
    width: 100% !important;
    padding: 2rem !important;
    margin: 0 !important;
  }
  
  .sc-nav-cta-button {
    display: block !important;
    width: 100% !important;
    padding: 1.25rem !important;
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-hover) 100%) !important;
    color: var(--sc-white) !important;
    text-align: center !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
  }
  
  /* Full-screen mega menu */
  .sc-mega-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    display: none !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%) !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
  }
  
  .sc-nav-item-enterprise.active .sc-mega-menu {
    display: block !important;
  }
  
  /* Back button */
  .sc-mega-menu::after {
    content: '‹ Back to Menu' !important;
    position: fixed !important;
    top: 90px !important; /* Moved down below header/logo area */
    left: 20px !important;
    right: 20px !important;
    padding: 15px !important;
    background: rgba(107, 70, 193, 0.2) !important;
    border: 1px solid rgba(107, 70, 193, 0.4) !important;
    border-radius: 12px !important;
    color: var(--sc-white) !important;
    text-align: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    z-index: 10001 !important;
  }
  
  .sc-mega-menu-inner {
    padding: 160px 20px 40px !important; /* More space for back button */
  }
  
  /* Nice mega menu styling */
  .sc-mega-menu-section {
    margin-bottom: 2rem !important;
  }
  
  .sc-mega-menu-title {
    color: var(--nav-accent) !important;
    color: var(--sc-gray) !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid rgba(107, 70, 193, 0.3) !important;
  }
  
  .sc-mega-menu-link {
    display: flex !important;
    align-items: flex-start !important;
    padding: 1rem !important;
    margin-bottom: 0.75rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    color: var(--sc-white) !important;
    text-decoration: none !important;
  }
  
  .sc-mega-menu-link:active {
    background: rgba(107, 70, 193, 0.2) !important;
    border-color: rgba(107, 70, 193, 0.4) !important;
  }
  
  .sc-mega-menu-icon {
    width: 24px !important;
    height: 24px !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
   /* color: var(--nav-accent) !important; */
  }
  
  .sc-mega-menu-description {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 4px !important;
  }
}