/* AION Mobile Menu - Shared Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1003;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 100px 2rem 2rem;
  box-sizing: border-box;
}

.mobile-menu.active { right: 0; }

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active { display: block; opacity: 1; }

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-nav-links li { margin-bottom: 1rem; }

.mobile-nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-links a:hover { color: #046bd2; padding-left: 0.5rem; }

.mobile-nav-links .request-demo-btn {
  background: linear-gradient(135deg, #046bd2 0%, #0356a8 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
  border: none;
}

.mobile-submenu { display: none; padding-left: 1rem; margin-top: 0.5rem; }
.mobile-submenu.active { display: block; }
.mobile-submenu a { font-size: 0.95rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  width: 100%;
  text-align: left;
  overflow: visible;
}

.mobile-dropdown-toggle span:first-child { flex: 1; white-space: nowrap; overflow: visible; text-overflow: clip; }

.mobile-dropdown-arrow { transition: transform 0.3s ease; font-size: 0.8rem; margin-left: 1rem; flex-shrink: 0; }
.mobile-dropdown-toggle.active .mobile-dropdown-arrow { transform: rotate(180deg); }

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block !important; }
  .nav-links { display: none !important; }
}
