/* Mobile: use floating pill-style tab bar; hide original navbar */
@media (max-width: 768px) {
  .navbar { display: none !important; }
  body { 
    padding-bottom: 40px; 
  }
  /* keep footer fully visible above the floating pill bar */
  footer.footer,
  .footer { 
    padding-bottom: calc(env(safe-area-inset-bottom) + 100px) !important; 
  }
  
  /* Ensure regulatory section is always visible on mobile */
  .footer-section.regulatory-col {
    display: block !important;
  }
  
  .footer-section.regulatory-col .footer-links {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    padding-top: 16px !important;
  }
  
  .footer-section.regulatory-col .footer-header,
  .footer-section.regulatory-col .footer-toggle {
    display: none !important;
  }
  
  .footer-section.regulatory-col p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
    color: #9ca3af !important;
  }
  
  /* Position footer toggle buttons to the far right on mobile */
  .footer-section.collapsible .footer-header {
    position: relative !important;
    padding-right: 40px !important;
  }
  
  .footer-section.collapsible .footer-toggle {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-left: auto !important;
  }
}

/* Pill-style bottom tab bar (mobile only) */
@media (max-width: 768px) {
  .pill-tabbar {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom) + 12px);
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 560px;
    padding: 8px 10px;
    border-radius: 28px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 12px 32px rgba(15,23,42,0.15), inset 0 1px 0 rgba(255,255,255,0.7);
    z-index: 10000;
  }
  .pill-tabbar .pill-items {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .pill-tabbar .pill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 10px;
  }
  .pill-tabbar .pill-icon { width: 20px; height: 20px; display: block; }
  .pill-tabbar .pill-item.active { color: #1e40af; }
}
/* ===== MOBILE OPTIMIZATIONS - ENHANCED ===== */

/* Mobile Hamburger Menu Styles */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Base mobile optimizations */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* FIXED: Mobile video visibility and performance */
@media (max-width: 768px) {
  /* Ensure hero videos are visible on mobile */
  .hero-video-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: -3 !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .hero-bg-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    visibility: visible !important;
    /* Optimize for mobile performance */
    preload: metadata !important;
    playsinline: true !important;
    muted: true !important;
    loop: true !important;
    autoplay: true !important;
  }
  
  /* Ensure video sources are properly loaded */
  .hero-bg-video source {
    display: block !important;
  }
  
  /* Fallback image for video loading */
  .hero-bg-video[poster] {
    background-image: var(--fallback-image) !important;
    background-size: cover !important;
    background-position: center !important;
  }
  
  /* Optimize video overlay for mobile */
  .hero-bg-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%) !important;
    opacity: 0.8 !important;
    z-index: -1 !important;
  }
}

/* FIXED: Smooth scrolling optimizations */
@media (max-width: 768px) {
  /* Ensure smooth scrolling works properly on mobile */
  html {
    scroll-behavior: smooth !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  body {
    scroll-behavior: smooth !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    /* Prevent scroll blocking */
    position: relative !important;
    width: 100% !important;
  }
  
  /* Optimize scroll performance */
  .container, .hero, section {
    overflow-x: hidden !important;
    position: relative !important;
    /* Prevent layout shifts during scroll */
    will-change: auto !important;
    transform: translateZ(0) !important;
  }
  
  /* Reduce scroll blocking elements */
  .fade-in, .slide-in-left, .slide-in-right, .scale-in {
    will-change: auto !important;
    transform: translateZ(0) !important;
    /* Prevent scroll blocking during animations */
    pointer-events: auto !important;
  }
}

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {
  /* Optimize animations for mobile performance */
  .fade-in, .slide-in-left, .slide-in-right, .scale-in, .stagger-item {
    animation-duration: 0.4s !important;
    transition-duration: 0.3s !important;
  }
  
  /* Reduce complex shadows on mobile for better performance */
  .card, .solution-card, .security-card, .receive-method,
  .btn, .screenshot-card, .testimonial-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Optimize hover effects for touch devices */
  .card:hover, .solution-card:hover, .security-card:hover, .receive-method:hover,
  .btn:hover, .screenshot-card:hover, .testimonial-card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Touch-friendly button sizes */
  .btn {
    min-height: 48px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
  }
  
  /* ========================================
   NAVIGATION STYLE 1: SLIDE-DOWN OVERLAY
   ======================================== */

/* Hide desktop navigation on mobile */
@media (max-width: 768px) {
  .navbar .nav-menu {
    display: none !important;
  }
}

/* ========================================
   STYLE 1: PREMIUM SLIDE-DOWN OVERLAY (ENHANCED)
   ======================================== */
.nav-menu {
  position: fixed;
  top: -100vh;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.98) 0%, 
    rgba(30, 64, 175, 0.95) 25%, 
    rgba(99, 102, 241, 0.92) 50%, 
    rgba(139, 92, 246, 0.95) 75%, 
    rgba(15, 23, 42, 0.98) 100%);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 9999;
  overflow-y: auto;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

.nav-menu.active {
  top: 0;
}

.nav-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(30, 64, 175, 0.2) 0%, transparent 50%);
  pointer-events: none;
  animation: premiumGlow 8s ease-in-out infinite alternate;
}

@keyframes premiumGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.nav-menu ul {
  max-width: 450px;
  padding: 3rem 2rem;
  position: relative;
  z-index: 2;
}

.nav-menu li {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin: 1rem 0;
}

.nav-menu.active li {
  opacity: 1;
  transform: translateY(0);
}

.nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.nav-menu li:nth-child(3) { transition-delay: 0.3s; }
.nav-menu li:nth-child(4) { transition-delay: 0.4s; }
.nav-menu li:nth-child(5) { transition-delay: 0.5s; }
.nav-menu li:nth-child(6) { transition-delay: 0.6s; }
.nav-menu li:nth-child(7) { transition-delay: 0.7s; }

.nav-menu .nav-link {
  padding: 1.8rem 2.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  border-radius: 16px;
  margin: 0.8rem 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  display: block;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-menu .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.nav-menu .nav-link:hover::before {
  left: 100%;
}

.nav-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.nav-menu .nav-link.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 
    0 20px 40px rgba(59, 130, 246, 0.3),
    0 0 0 1px rgba(59, 130, 246, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-hamburger {
  position: fixed;
  top: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(99, 102, 241, 0.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 
    0 8px 32px rgba(30, 64, 175, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-hamburger:hover {
  transform: scale(1.1);
  box-shadow: 
    0 12px 40px rgba(30, 64, 175, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-hamburger .hamburger-line {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger .hamburger-line::before,
.nav-hamburger .hamburger-line::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger .hamburger-line::before {
  top: -10px;
}

.nav-hamburger .hamburger-line::after {
  bottom: -10px;
}

.nav-hamburger.active .hamburger-line {
  transform: rotate(45deg);
  background: #ffffff;
}

.nav-hamburger.active .hamburger-line::before {
  transform: rotate(-90deg);
  top: 0;
  opacity: 0;
}

.nav-hamburger.active .hamburger-line::after {
  transform: rotate(-90deg);
  bottom: 0;
  opacity: 0;
}

/* Dropdown styling for overlay */
.nav-menu .dropdown-menu {
  position: static !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: none !important;
  border-radius: 8px !important;
  margin: 0.5rem 0 !important;
  padding: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease !important;
}

.nav-menu .dropdown.active .dropdown-menu {
  max-height: 300px !important;
  padding: 1rem 0 !important;
}

.nav-menu .dropdown-item {
  padding: 1rem 2rem !important;
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
  border: none !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
}

.nav-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

/* Mobile dropdown arrow */
.nav-menu .dropdown::after {
  content: '▾' !important;
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-left: 0.5rem !important;
  transition: transform 0.3s ease !important;
}

.nav-menu .dropdown.active::after {
  transform: rotate(180deg) !important;
  color: #ffffff !important;
}

/* Close button for overlay */
.nav-menu .close-btn {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.nav-menu .close-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.1) !important;
}

/* Body scroll lock */
body.drawer-open {
  overflow: hidden !important;
}

/* Desktop version - horizontal menu */
@media (min-width: 768px) {
  .nav-menu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    transition: none !important;
    z-index: auto !important;
    overflow: visible !important;
  }
  
  .nav-menu ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .nav-menu li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    margin: 0 0.5rem !important;
  }
  
  .nav-menu .nav-link {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    color: var(--navbar-text-primary) !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }
  
  .nav-menu .nav-link:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  .nav-hamburger {
    display: none !important;
  }
}

/* Enhanced mobile hero section */
.hero {
  min-height: 100vh !important;
  padding: 80px 20px 40px !important;
  /* Ensure proper positioning for video background */
  position: relative !important;
  overflow: visible !important;
}

/* Featured In Section - Mobile */
.featured-in-section {
  text-align: center !important;
  margin: 16px 0 4px !important;
  padding: 0 16px !important;
}

.featured-in-text {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #6b7280 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Fix press bar positioning on mobile */
.press-bar {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  left: 0 !important;
  transform: none !important;
  margin: 0 !important;
  border: none !important;
  background: #ffffff !important;
  padding: 12px 0 !important;
  overflow: visible !important;
  /* Remove any potential visual separation */
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Increase press bar content size on mobile */
.press-bar .press-logo,
.press-bar svg.press-logo,
.press-bar img.press-logo {
  height: 60px !important;
  width: auto !important;
  min-width: 120px !important;
}

.press-bar .press-track {
  gap: 48px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.press-bar .press-ticker {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Override the media query in main CSS */
@media (max-width: 768px) {
  .press-bar .press-logo,
  .press-bar svg.press-logo,
  .press-bar img.press-logo {
    height: 60px !important;
    width: auto !important;
    min-width: 120px !important;
  }
  
  .press-bar .press-track {
    gap: 48px !important;
  }
  
  /* Increase padding for better spacing */
  .press-bar {
    padding: 20px 0 !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .press-bar .press-logo,
  .press-bar svg.press-logo,
  .press-bar img.press-logo {
    height: 50px !important;
    min-width: 100px !important;
  }
  
  .press-bar .press-track {
    gap: 36px !important;
  }
}

/* Enhanced press bar styling for better visibility */
.press-bar.press-clean {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 20px 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  /* Ensure no visual separation from hero section */
  border-top: none !important;
  border-bottom: none !important;
  outline: none !important;
}

/* Mobile-specific press bar fixes */
@media (max-width: 768px) {
  .press-bar.press-clean {
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
    /* Remove any potential top border/shadow */
    border-top: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  
  /* Ensure no dark edges from parent containers */
  .press-bar.press-clean * {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  /* Remove any potential spacing issues */
  .press-bar.press-clean::before,
  .press-bar.press-clean::after {
    display: none !important;
    content: none !important;
    border: none !important;
    box-shadow: none !important;
  }
}

.press-bar .press-logo {
  filter: none !important;
  transition: all 0.3s ease !important;
}

.press-bar .press-logo:hover {
  transform: scale(1.05) !important;
  filter: none !important;
}

/* Improve animation smoothness */
.press-track {
  animation: press-slide 40s linear infinite !important;
}

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

/* Fix "We Are Here For" section background */
.we-are-here-for {
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #ffffff 10%, 
    #e6f3ff 50%, 
    #ffffff 90%, 
    #ffffff 100%
  ) !important;
}

.we-are-here-for.section-bg-light {
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #ffffff 10%, 
    #e6f3ff 50%, 
    #ffffff 90%, 
    #ffffff 100%
  ) !important;
}

.hero-title {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
}

.hero-subtitle {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 30px !important;
}

.hero-features {
  grid-template-columns: 1fr !important;
  gap: 20px !important;
  margin: 30px 0 !important;
}

.feature-item {
  padding: 20px !important;
  text-align: center !important;
}

/* Mobile-optimized app buttons */
.app-buttons {
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
}

/* Navbar Controls Mobile */
.nav-controls {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.nav-toggle {
  display: block !important;
  background: none !important;
  border: none !important;
  color: var(--white) !important;
  font-size: 24px !important;
  cursor: pointer !important;
  padding: 8px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
}

/* Mobile-optimized sections */
.section-header h2 {
  font-size: 2rem !important;
  line-height: 1.3 !important;
}

.section-header p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Mobile grid layouts */
.solutions-grid,
.security-grid,
.testimonials-grid {
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

/* Mobile-optimized cards */
.solution-card,
.security-card,
.testimonial-card {
  padding: 24px !important;
  margin-bottom: 20px !important;
}

/* Mobile exchange calculator */
.exchange-form {
  padding: 20px !important;
}

.exchange-selects {
  flex-direction: column !important;
  gap: 20px !important;
}

.amount-row,
.currency-row {
  width: 100% !important;
}

.input-group {
  width: 100% !important;
}

/* Mobile-optimized flow diagram */
.flow-diagram {
  flex-direction: column !important;
  gap: 2rem !important;
}

.flow-arrow {
  transform: rotate(90deg) !important;
  margin: 1rem 0 !important;
}

.flow-arrow svg {
  width: 60px !important;
  height: 15px !important;
}

.flow-step {
  max-width: 100% !important;
}

.step-content h3 {
  font-size: 1.25rem !important;
}

/* Mobile-optimized images */
.currency-showcase img {
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
}

/* Mobile-optimized newsletter form */
.newsletter-form {
  flex-direction: column !important;
  gap: 16px !important;
}

.newsletter-form input[type="email"] {
  width: 100% !important;
  min-height: 48px !important;
}

.newsletter-form button {
  width: 100% !important;
  min-height: 48px !important;
}

/* Mobile-optimized app store buttons */
.receive-app-buttons {
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
}

.btn-app-store,
.btn-google-play {
  width: 100% !important;
  min-height: 60px !important;
  padding: 16px 24px !important;
}

/* Mobile-optimized QR code */
.qr-download {
  text-align: center !important;
  margin: 30px 0 !important;
}

.qr-download img {
  width: 120px !important;
  height: 120px !important;
}

/* Mobile-optimized testimonials */
.testimonial-card {
  padding: 24px !important;
}

.testimonial-author {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 12px !important;
}

/* Mobile-optimized stats */
.proof-stats {
  grid-template-columns: 1fr !important;
  gap: 20px !important;
}

.stat-card {
  padding: 24px !important;
  text-align: center !important;
}

/* Mobile-optimized compliance badges */
.compliance-badges {
  flex-direction: column !important;
  gap: 16px !important;
}

.badge {
  width: 100% !important;
  justify-content: center !important;
  padding: 16px !important;
}

/* Mobile Typewriter Optimizations */
@media (max-width: 768px) {
  #typewriter-subtitle {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
  }
  
  #typewriter-subtitle .Typewriter__cursor {
    font-size: 1.1rem !important;
  }
  
  /* Reduce animation complexity on mobile for better performance */
  #typewriter-subtitle {
    animation: none !important;
  }
  
  #typewriter-subtitle.completed {
    animation: glow 3s ease-in-out infinite alternate !important;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .section-header h2 {
    font-size: 1.75rem !important;
  }
  
  .flow-diagram {
    gap: 1.5rem !important;
  }
  
  .icon-circle {
    width: 60px !important;
    height: 60px !important;
  }
  
  .step-emoji {
    font-size: 1.5rem !important;
  }
  
  .step-number {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
  }
  
  .btn {
    font-size: 14px !important;
    padding: 12px 16px !important;
  }
  
  .container {
    padding: 0 16px !important;
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh !important;
    padding: 60px 20px 30px !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .flow-diagram {
    flex-direction: row !important;
    gap: 1rem !important;
  }
  
  .flow-arrow {
    transform: none !important;
    margin: 0 1rem !important;
  }
}

/* High DPI mobile devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .icon-circle,
  .btn,
  .card {
    border-radius: 8px !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .card:hover,
  .nav-link:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }
  
  .btn:active,
  .card:active,
  .nav-link:active {
    transform: scale(0.98) !important;
  }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
  /* Ensure sufficient color contrast */
  .text-secondary {
    color: #6b7280 !important;
  }
  
  /* Improve focus indicators */
  .btn:focus,
  .nav-link:focus,
  input:focus,
  select:focus {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px !important;
  }
  
  /* Ensure readable font sizes */
  body {
    font-size: 16px !important;
  }
  
  /* Improve touch targets */
  .nav-link,
  .btn,
  .feature-item {
    min-height: 44px !important;
    min-width: 44px !important;
  }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
  /* Reduce animation complexity */
  .fade-in {
    animation: fadeInMobile 0.4s ease-out !important;
  }
  
  @keyframes fadeInMobile {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Optimize images */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Reduce layout shifts */
  .container {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}

/* ========================================
   STYLE 5: PREMIUM SIDE PANEL WITH TABS (ENHANCED)
   ======================================== */
.nav-menu-style5 {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.98) 0%, 
    rgba(30, 41, 59, 0.95) 50%, 
    rgba(51, 65, 85, 0.92) 100%);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  transition: right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
}

.nav-menu-style5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
  pointer-events: none;
  animation: premiumGlow 10s ease-in-out infinite alternate;
}

.nav-menu-style5.active {
  right: 0;
}

.nav-menu-style5 .nav-header {
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.nav-menu-style5 .nav-header h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu-style5 .nav-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.nav-menu-style5 .nav-tab {
  flex: 1;
  padding: 1.5rem 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.nav-menu-style5 .nav-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.nav-menu-style5 .nav-tab:hover::before {
  left: 100%;
}

.nav-menu-style5 .nav-tab.active {
  color: #ffffff;
  border-bottom-color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.nav-menu-style5 .nav-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  position: relative;
  z-index: 2;
}

.nav-menu-style5 .nav-link {
  display: block;
  padding: 1.5rem 2rem;
  margin: 1rem 0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-menu-style5 .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.nav-menu-style5 .nav-link:hover::before {
  left: 100%;
}

.nav-menu-style5 .nav-link:hover,
.nav-menu-style5 .nav-link.active {
  background: rgba(59, 130, 246, 0.2);
  border-left-color: #3b82f6;
  transform: translateX(8px);
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.2),
    0 0 0 1px rgba(59, 130, 246, 0.3);
  color: #ffffff;
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.nav-hamburger-style5 {
  position: fixed;
  top: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 
    0 8px 32px rgba(30, 41, 59, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-hamburger-style5:hover {
  transform: scale(1.05);
  box-shadow: 
    0 12px 40px rgba(30, 41, 59, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.nav-hamburger-style5 .hamburger-line {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style5 .hamburger-line::before,
.nav-hamburger-style5 .hamburger-line::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style5 .hamburger-line::before {
  top: -8px;
}

.nav-hamburger-style5 .hamburger-line::after {
  bottom: -8px;
}

.nav-hamburger-style5.active .hamburger-line {
  transform: rotate(45deg);
}

.nav-hamburger-style5.active .hamburger-line::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-hamburger-style5.active .hamburger-line::after {
  transform: rotate(-90deg);
  bottom: 0;
}

/* ========================================
   STYLE 6: PREMIUM FLOATING CARDS (ENHANCED)
   ======================================== */
.nav-menu-style6 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu-style6::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.2) 0%, transparent 50%);
  pointer-events: none;
  animation: premiumGlow 12s ease-in-out infinite alternate;
}

.nav-menu-style6.active {
  opacity: 1;
  visibility: visible;
}

.nav-menu-style6 .nav-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 500px;
  padding: 3rem;
  position: relative;
  z-index: 2;
}

.nav-menu-style6 .nav-card {
  background: linear-gradient(135deg, 
    rgba(30, 64, 175, 0.9) 0%, 
    rgba(99, 102, 241, 0.9) 50%, 
    rgba(139, 92, 246, 0.9) 100%);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0) rotate(180deg);
  opacity: 0;
  box-shadow: 
    0 20px 40px rgba(30, 64, 175, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-menu-style6 .nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.nav-menu-style6.active .nav-card {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.nav-menu-style6 .nav-card:nth-child(1) { transition-delay: 0.1s; }
.nav-menu-style6 .nav-card:nth-child(2) { transition-delay: 0.2s; }
.nav-menu-style6 .nav-card:nth-child(3) { transition-delay: 0.3s; }
.nav-menu-style6 .nav-card:nth-child(4) { transition-delay: 0.4s; }

.nav-menu-style6 .nav-card:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 
    0 30px 60px rgba(30, 64, 175, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-menu-style6 .nav-card .nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.nav-menu-style6 .nav-card .nav-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

/* Style 6 Controls */
.nav-menu-style6 .nav-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.nav-menu-style6 .nav-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
}

.nav-menu-style6 .nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.nav-menu-style6 .nav-btn svg {
  width: 20px;
  height: 20px;
}

.nav-menu-style6 .nav-language-selector {
  position: relative;
}

.nav-menu-style6 .nav-language-dropdown {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 150px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-menu-style6 .nav-language-selector:hover .nav-language-dropdown {
  display: flex;
}

.nav-menu-style6 .nav-language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  font-size: 0.875rem;
}

.nav-menu-style6 .nav-language-option:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
}

.nav-menu-style6 .flag-icon {
  font-size: 1rem;
}

.nav-hamburger-style6 {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, 
    rgba(30, 64, 175, 0.95) 0%, 
    rgba(99, 102, 241, 0.95) 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 
    0 12px 40px rgba(30, 64, 175, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-hamburger-style6:hover {
  transform: scale(1.15);
  box-shadow: 
    0 16px 50px rgba(30, 64, 175, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.nav-hamburger-style6 .hamburger-line {
  width: 32px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style6 .hamburger-line::before,
.nav-hamburger-style6 .hamburger-line::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style6 .hamburger-line::before {
  top: -10px;
}

.nav-hamburger-style6 .hamburger-line::after {
  bottom: -10px;
}

.nav-hamburger-style6.active .hamburger-line {
  transform: rotate(45deg);
}

.nav-hamburger-style6.active .hamburger-line::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-hamburger-style6.active .hamburger-line::after {
  transform: rotate(-90deg);
  bottom: 0;
}

/* ========================================
   STYLE 7: MINIMAL SLIDE-UP
   ======================================== */
.nav-menu-style7 {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  padding: 2rem 0;
}

.nav-menu-style7.active {
  bottom: 0;
}

.nav-menu-style7 ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 2rem;
  margin: 0;
  list-style: none;
}

.nav-menu-style7 .nav-link {
  padding: 1rem 1.5rem;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu-style7 .nav-link:hover {
  background: rgba(30, 64, 175, 0.1);
  color: #1e40af;
  transform: translateX(5px);
}

.nav-menu-style7 .nav-link::after {
  content: '→';
  font-size: 1.2rem;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.nav-menu-style7 .nav-link:hover::after {
  color: #1e40af;
  transform: translateX(3px);
}

.nav-hamburger-style7 {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  background: #1e40af;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
}

.nav-hamburger-style7:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
}

.nav-hamburger-style7 .hamburger-line {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-hamburger-style7 .hamburger-line::before,
.nav-hamburger-style7 .hamburger-line::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav-hamburger-style7 .hamburger-line::before {
  top: -6px;
}

.nav-hamburger-style7 .hamburger-line::after {
  bottom: -6px;
}

.nav-hamburger-style7.active .hamburger-line {
  transform: rotate(45deg);
}

.nav-hamburger-style7.active .hamburger-line::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-hamburger-style7.active .hamburger-line::after {
  transform: rotate(-90deg);
  bottom: 0;
}

/* ========================================
   STYLE 8: PREMIUM GLASSMORPHISM GRID (ENHANCED)
   ======================================== */
.nav-menu-style8 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.85) 0%, 
    rgba(30, 64, 175, 0.75) 25%, 
    rgba(99, 102, 241, 0.7) 50%, 
    rgba(139, 92, 246, 0.75) 75%, 
    rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(40px) saturate(1.3);
  -webkit-backdrop-filter: blur(40px) saturate(1.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.nav-menu-style8::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.3) 0%, transparent 50%);
  pointer-events: none;
  animation: premiumGlow 15s ease-in-out infinite alternate;
}

.nav-menu-style8.active {
  opacity: 1;
  visibility: visible;
}

.nav-menu-style8 ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  max-height: 600px;
  width: 100%;
  height: 100%;
  padding: 2rem;
  margin: 0;
  list-style: none;
  position: relative;
  z-index: 2;
}

.nav-menu-style8 li {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0) rotate(180deg);
  opacity: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  min-height: 120px;
}

.nav-menu-style8 li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  border-radius: 20px;
}

.nav-menu-style8 li::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  border-radius: 19px;
  pointer-events: none;
  z-index: -1;
}

.nav-menu-style8.active li {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.nav-menu-style8 li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu-style8 li:nth-child(2) { transition-delay: 0.15s; }
.nav-menu-style8 li:nth-child(3) { transition-delay: 0.2s; }
.nav-menu-style8 li:nth-child(4) { transition-delay: 0.25s; }
.nav-menu-style8 li:nth-child(5) { transition-delay: 0.3s; }
.nav-menu-style8 li:nth-child(6) { transition-delay: 0.35s; }
.nav-menu-style8 li:nth-child(7) { transition-delay: 0.4s; }
.nav-menu-style8 li:nth-child(8) { transition-delay: 0.45s; }
.nav-menu-style8 li:nth-child(9) { transition-delay: 0.5s; }

.nav-menu-style8 li:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.08);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-menu-style8 li:hover::before {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.1) 100%);
}

.nav-menu-style8 .nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  padding: 1rem;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.nav-menu-style8 .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.nav-menu-style8 li:hover .nav-link::before {
  left: 100%;
}

.nav-menu-style8 .nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Add icons to grid items */
.nav-menu-style8 .nav-link::after {
  content: '';
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Specific icons for different menu items */
.nav-menu-style8 li:nth-child(1) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(2) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(3) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(4) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(5) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(6) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(7) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(8) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8 li:nth-child(9) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

/* Hide dropdown menus in grid style */
.nav-menu-style8 .dropdown-menu {
  display: none !important;
}

.nav-menu-style8 .dropdown::after {
  display: none !important;
}

/* Hide nav controls in grid style */
.nav-menu-style8 .nav-controls {
  display: none !important;
}

/* Responsive grid adjustments */
@media (max-width: 480px) {
  .nav-menu-style8 ul {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .nav-menu-style8 li {
    min-height: 100px;
  }
  
  .nav-menu-style8 .nav-link {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .nav-menu-style8 .nav-link::after {
    width: 20px;
    height: 20px;
  }
}

.nav-hamburger-style8 {
  position: fixed;
  top: 25px;
  left: 25px;
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-hamburger-style8::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  border-radius: 20px;
  pointer-events: none;
}

.nav-hamburger-style8:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-hamburger-style8 .hamburger-line {
  width: 28px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style8 .hamburger-line::before,
.nav-hamburger-style8 .hamburger-line::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style8 .hamburger-line::before {
  top: -10px;
}

.nav-hamburger-style8 .hamburger-line::after {
  bottom: -10px;
}

.nav-hamburger-style8.active .hamburger-line {
  transform: rotate(45deg);
}

.nav-hamburger-style8.active .hamburger-line::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-hamburger-style8.active .hamburger-line::after {
  transform: rotate(-90deg);
  bottom: 0;
}

/* ========================================
   STYLE 8: LIQUID GLASS EFFECT VARIANT
   ======================================== */
.nav-menu-style8-liquid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.6) 0%, 
    rgba(30, 64, 175, 0.5) 25%, 
    rgba(99, 102, 241, 0.4) 50%, 
    rgba(139, 92, 246, 0.5) 75%, 
    rgba(15, 23, 42, 0.6) 100%);
  backdrop-filter: blur(60px) saturate(1.8);
  -webkit-backdrop-filter: blur(60px) saturate(1.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.nav-menu-style8-liquid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(30, 64, 175, 0.4) 0%, transparent 50%);
  pointer-events: none;
  animation: liquidFlow 20s ease-in-out infinite;
}

@keyframes liquidFlow {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  25% { 
    transform: translate(20px, -20px) scale(1.2);
    opacity: 1;
  }
  50% { 
    transform: translate(-15px, 25px) scale(0.8);
    opacity: 0.5;
  }
  75% { 
    transform: translate(25px, 10px) scale(1.1);
    opacity: 0.9;
  }
}

.nav-menu-style8-liquid.active {
  opacity: 1;
  visibility: visible;
}

.nav-menu-style8-liquid ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  max-height: 600px;
  width: 100%;
  height: 100%;
  padding: 2rem;
  margin: 0;
  list-style: none;
  position: relative;
  z-index: 2;
}

.nav-menu-style8-liquid li {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0) rotate(180deg);
  opacity: 0;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.nav-menu-style8-liquid li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
  border-radius: 25px;
  animation: liquidRipple 3s ease-in-out infinite;
}

@keyframes liquidRipple {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.3;
  }
  50% { 
    transform: scale(1.15);
    opacity: 0.8;
  }
}

.nav-menu-style8-liquid li::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  border-radius: 23px;
  pointer-events: none;
  z-index: -1;
  animation: liquidGlow 4s ease-in-out infinite alternate;
}

@keyframes liquidGlow {
  0% { 
    opacity: 0.3;
    transform: scale(1);
  }
  100% { 
    opacity: 0.7;
    transform: scale(1.02);
  }
}

.nav-menu-style8-liquid.active li {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.nav-menu-style8-liquid li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu-style8-liquid li:nth-child(2) { transition-delay: 0.15s; }
.nav-menu-style8-liquid li:nth-child(3) { transition-delay: 0.2s; }
.nav-menu-style8-liquid li:nth-child(4) { transition-delay: 0.25s; }
.nav-menu-style8-liquid li:nth-child(5) { transition-delay: 0.3s; }
.nav-menu-style8-liquid li:nth-child(6) { transition-delay: 0.35s; }
.nav-menu-style8-liquid li:nth-child(7) { transition-delay: 0.4s; }
.nav-menu-style8-liquid li:nth-child(8) { transition-delay: 0.45s; }
.nav-menu-style8-liquid li:nth-child(9) { transition-delay: 0.5s; }

.nav-menu-style8-liquid li:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-menu-style8-liquid li:hover::before {
  animation: liquidRipple 1s ease-in-out infinite;
}

.nav-menu-style8-liquid li:hover::after {
  animation: liquidGlow 1s ease-in-out infinite alternate;
}

.nav-menu-style8-liquid .nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  padding: 1rem;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.nav-menu-style8-liquid .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.8s ease;
  pointer-events: none;
  border-radius: 25px;
}

.nav-menu-style8-liquid li:hover .nav-link::before {
  left: 100%;
}

.nav-menu-style8-liquid .nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
}

/* Add icons to grid items */
.nav-menu-style8-liquid .nav-link::after {
  content: '';
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: liquidIcon 2s ease-in-out infinite;
}

@keyframes liquidIcon {
  0%, 100% { 
    transform: scale(1);
  }
  50% { 
    transform: scale(1.1);
  }
}

/* Specific icons for different menu items */
.nav-menu-style8-liquid li:nth-child(1) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(2) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(3) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(4) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(5) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(6) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(7) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(8) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.nav-menu-style8-liquid li:nth-child(9) .nav-link::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

/* Hide dropdown menus in grid style */
.nav-menu-style8-liquid .dropdown-menu {
  display: none !important;
}

.nav-menu-style8-liquid .dropdown::after {
  display: none !important;
}

/* Hide nav controls in grid style */
.nav-menu-style8-liquid .nav-controls {
  display: none !important;
}

.nav-hamburger-style8-liquid {
  position: fixed;
  top: 25px;
  left: 25px;
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: liquidButton 4s ease-in-out infinite;
}

@keyframes liquidButton {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  50% { 
    transform: scale(1.02);
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(255, 255, 255, 0.2);
  }
}

.nav-hamburger-style8-liquid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  border-radius: 25px;
  pointer-events: none;
  animation: liquidRipple 3s ease-in-out infinite;
}

.nav-hamburger-style8-liquid:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
  animation: none;
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.nav-hamburger-style8-liquid .hamburger-line {
  width: 28px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style8-liquid .hamburger-line::before,
.nav-hamburger-style8-liquid .hamburger-line::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-hamburger-style8-liquid .hamburger-line::before {
  top: -10px;
}

.nav-hamburger-style8-liquid .hamburger-line::after {
  bottom: -10px;
}

.nav-hamburger-style8-liquid.active .hamburger-line {
  transform: rotate(45deg);
}

.nav-hamburger-style8-liquid.active .hamburger-line::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-hamburger-style8-liquid.active .hamburger-line::after {
  transform: rotate(-90deg);
  bottom: 0;
}

/* ========================================
   HIDE ORIGINAL HAMBURGER FOR CUSTOM STYLES
   ======================================== */
/* This is now handled by JavaScript in script.js */

/* ========================================
   DESKTOP OVERRIDES FOR ALL STYLES
   ======================================== */
@media (min-width: 768px) {
  .nav-menu-style4,
  .nav-menu-style5,
  .nav-menu-style6,
  .nav-menu-style7,
  .nav-menu-style8,
  .nav-menu-style8-liquid {
    display: none !important;
  }
  
  .nav-hamburger-style4,
  .nav-hamburger-style5,
  .nav-hamburger-style6,
  .nav-hamburger-style7,
  .nav-hamburger-style8,
  .nav-hamburger-style8-liquid {
    display: none !important;
  }
}

/* ========================================
   REMITTANCE CALCULATOR MOBILE ENHANCEMENTS
   ======================================== */
@media (max-width: 768px) {
  .remittance-calculator {
    padding: 1rem 0;
  }
  
  .remittance-calculator .calculator-header h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .toggle-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .toggle-tab {
    width: 100%;
    text-align: center;
  }
  
  .calculator-container {
    margin: 0 1rem;
    padding: 1.5rem;
  }
  
  .amount-input {
    font-size: 1.3rem;
    padding: 1rem;
  }
  
  .currency-dropdown {
    width: 100%;
    text-align: center;
  }
  
  .result-amount {
    font-size: 2rem;
  }
  
  .result-currency {
    font-size: 1.3rem;
  }
  
  .payout-methods {
    gap: 1rem;
  }
  
  .method-icon {
    flex: 1;
    min-width: 80px;
  }
  
  .method-emoji {
    font-size: 1.5rem;
  }
  
  .method-label {
    font-size: 0.7rem;
  }
  
  .speed-badge {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   SOCIAL MEDIA SECTION MOBILE LAYOUT
   ======================================== */
@media (max-width: 768px) {
  .social-links-compact {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .footer-controls {
    justify-content: center;
    width: 100%;
  }
  
  .social-media-group {
    justify-content: center;
  }
}
