/* ====================================
   MODERN MOBILE MENU - 2025
   ==================================== */

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 5, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Container */
.mobile-menu-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-container {
  transform: translateY(0);
}

/* Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 20px;
  border-bottom: 1px solid rgba(128, 0, 255, 0.2);
  margin-bottom: 20px;
}

.mobile-menu-logo {
  height: 32px;
  width: auto;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.mobile-menu-close i {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

/* Language Selector */
.mobile-lang-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-lang-btn i {
  width: 18px;
  height: 18px;
}

.mobile-lang-btn.active {
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.3), rgba(107, 70, 193, 0.3));
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border: 1px solid rgba(128, 0, 255, 0.4);
  box-shadow: 0 4px 12px rgba(128, 0, 255, 0.2);
}

/* Navigation */
.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-menu-section-title i {
  width: 16px;
  height: 16px;
  color: #8000FF;
}

/* Menu Links */
.mobile-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.mobile-menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.1), rgba(107, 70, 193, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-link:hover::before,
.mobile-menu-link.active::before {
  opacity: 1;
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(128, 0, 255, 0.3);
  transform: translateX(4px);
}

.mobile-menu-link.featured {
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.15), rgba(107, 70, 193, 0.15));
  border-color: rgba(128, 0, 255, 0.3);
  box-shadow: 0 4px 16px rgba(128, 0, 255, 0.2);
}

.mobile-menu-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.2), rgba(107, 70, 193, 0.2));
  border-radius: 10px;
  flex-shrink: 0;
}

.mobile-menu-icon i {
  width: 22px;
  height: 22px;
  color: white;
  stroke-width: 2;
}

.mobile-menu-link span {
  flex: 1;
}

.mobile-menu-arrow {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mobile-menu-link:hover .mobile-menu-arrow {
  transform: translateX(4px);
  color: rgba(255, 255, 255, 0.8);
}

/* Service Links */
.mobile-menu-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-service:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(128, 0, 255, 0.2);
  color: white;
  transform: translateX(4px);
}

.mobile-menu-service i {
  width: 20px;
  height: 20px;
  color: #8000FF;
  flex-shrink: 0;
}

/* CTA Button */
.mobile-menu-cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(128, 0, 255, 0.2);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #8000FF 0%, #6B46C1 100%);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(128, 0, 255, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(128, 0, 255, 0.5);
}

.mobile-menu-btn i {
  width: 20px;
  height: 20px;
}

/* Footer */
.mobile-menu-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.mobile-menu-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-menu-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(128, 0, 255, 0.3);
  transform: translateY(-2px);
}

.mobile-menu-social a i {
  width: 20px;
  height: 20px;
}

.mobile-menu-footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  margin: 0;
}

/* Staggered Animation */
.mobile-menu-overlay.active .mobile-menu-link,
.mobile-menu-overlay.active .mobile-menu-service,
.mobile-menu-overlay.active .mobile-menu-btn {
  animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) {
  animation-delay: 0.05s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(2) {
  animation-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) {
  animation-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) {
  animation-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(5) {
  animation-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-menu-service:nth-child(1) {
  animation-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-menu-service:nth-child(2) {
  animation-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-menu-service:nth-child(3) {
  animation-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-menu-btn {
  animation-delay: 0.45s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop - Hide Mobile Menu */
@media (min-width: 992px) {
  .mobile-menu-overlay {
    display: none;
  }
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}
