/* Shared home/overview nav, lang-dropdown, mobile-nav, hero helpers
   (extracted from index.php inline <style> so overview.php matches). */
        .hero { position: relative; overflow: hidden; margin-bottom: -1px; }
        .hero-bg { z-index: 0; }
        .hero .container { position: relative; z-index: 2; }
        .hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; line-height: 0; }
        .hero-wave svg { display: block; width: 100%; height: auto; }
        .trusted-by { background: white; margin-top: 0; padding-top: 40px; }
        
        /* Language Dropdown Selector */
        .lang-dropdown {
            position: relative;
            margin-left: 15px;
        }
        .lang-dropdown-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            color: rgba(255,255,255,0.9);
            background: rgba(255,255,255,0.15);
            border: none;
            cursor: pointer;
            transition: all 0.2s;
        }
        .lang-dropdown-btn:hover {
            background: rgba(255,255,255,0.25);
        }
        .lang-dropdown-btn i {
            font-size: 10px;
            transition: transform 0.2s;
        }
        .lang-dropdown.open .lang-dropdown-btn i {
            transform: rotate(180deg);
        }
        .lang-dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            min-width: 120px;
            padding: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s;
            z-index: 1000;
        }
        .lang-dropdown.open .lang-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .lang-dropdown-menu a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            color: #64748b;
            transition: all 0.2s;
        }
        .lang-dropdown-menu a:hover {
            background: #f1f5f9;
            color: #1e293b;
        }
        .lang-dropdown-menu a.active {
            background: #1565c0;
            color: #fff;
        }
        .navbar.scrolled .lang-dropdown-btn {
            color: #1e293b;
            background: #f1f5f9;
        }
        .navbar.scrolled .lang-dropdown-btn:hover {
            background: #e2e8f0;
        }
        
        /* Mobile Menu Toggle */
        /* Modern Mobile Toggle Button */
        .mobile-toggle {
            display: none;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            cursor: pointer;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            position: relative;
            z-index: 10001;
            padding: 0;
            transition: all 0.3s ease;
        }
        .mobile-toggle:hover {
            background: rgba(255,255,255,0.2);
        }
        .mobile-toggle .hamburger {
            width: 20px;
            height: 14px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            margin: auto;
        }
        .mobile-toggle .hamburger span {
            display: block;
            height: 2px;
            width: 100%;
            background: #fff;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        .mobile-toggle .hamburger span:nth-child(2) {
            width: 70%;
            margin-left: auto;
        }
        .mobile-toggle.active .hamburger span:nth-child(1) {
            transform: rotate(45deg) translate(4px, 4px);
        }
        .mobile-toggle.active .hamburger span:nth-child(2) {
            opacity: 0;
            transform: translateX(10px);
        }
        .mobile-toggle.active .hamburger span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        .navbar.scrolled .mobile-toggle {
            background: rgba(21, 101, 192, 0.1);
            border-color: rgba(21, 101, 192, 0.2);
        }
        .navbar.scrolled .mobile-toggle .hamburger span {
            background: #1565c0;
        }
        .navbar.scrolled .mobile-toggle:hover {
            background: rgba(21, 101, 192, 0.15);
        }
        .mobile-toggle.active {
            background: rgba(255,255,255,0.2) !important;
            border-color: rgba(255,255,255,0.3) !important;
        }
        .mobile-toggle.active .hamburger span {
            background: #fff !important;
        }
        
        /* Modern Mobile Navigation Overlay */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(4px);
            z-index: 9999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .mobile-nav-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }
        
        /* Modern Slide-in Panel */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: 0;
            width: 300px;
            max-width: 85%;
            height: 100%;
            background: linear-gradient(180deg, #0a1628 0%, #1a365d 50%, #1565c0 100%);
            z-index: 10000;
            display: flex;
            flex-direction: column;
            padding: 100px 30px 40px;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: -10px 0 40px rgba(0,0,0,0.3);
            overflow-y: auto;
        }
        .mobile-nav.active { 
            transform: translateX(0);
        }
        
        /* Mobile Nav Brand */
        .mobile-nav-brand {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .mobile-nav-brand .logo-text {
            font-size: 24px;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.5px;
        }
        
        /* Mobile Nav Links */
        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 5px;
            flex: 1;
        }
        .mobile-nav-links a { 
            color: rgba(255,255,255,0.85); 
            font-size: 16px; 
            font-weight: 500; 
            padding: 14px 16px; 
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .mobile-nav-links a i {
            width: 20px;
            text-align: center;
            font-size: 14px;
            opacity: 0.7;
        }
        .mobile-nav-links a:hover { 
            background: rgba(255,255,255,0.1); 
            color: #fff;
            transform: translateX(5px);
        }
        
        /* Mobile Nav Actions */
        .mobile-nav-actions {
            margin-top: auto;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .mobile-nav-actions .btn { 
            width: 100%;
            justify-content: center;
            padding: 14px 20px;
            font-size: 15px;
            font-weight: 600;
            border-radius: 10px;
        }
        .mobile-nav-actions .btn-ghost {
            background: rgba(255,255,255,0.1);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.2);
        }
        .mobile-nav-actions .btn-ghost:hover {
            background: rgba(255,255,255,0.2);
        }
        .mobile-nav-actions .btn-primary {
            background: #fff;
            color: #1565c0;
        }
        .mobile-nav-actions .btn-primary:hover {
            background: #f1f5f9;
        }
        
        /* Mobile Language Selector */
        .mobile-nav .lang-dropdown { 
            margin-top: 15px; 
        }
        .mobile-nav .lang-dropdown-btn {
            width: 100%;
            justify-content: center;
            color: rgba(255,255,255,0.8);
            background: rgba(255,255,255,0.1); 
            font-size: 14px;
            padding: 12px 15px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .mobile-nav .lang-dropdown-btn:hover {
            background: rgba(255,255,255,0.15);
        }
        .mobile-nav .lang-dropdown-menu {
            position: relative;
            top: 10px;
            background: rgba(255,255,255,0.1);
            box-shadow: none;
            border-radius: 10px;
            padding: 8px;
        }
        .mobile-nav .lang-dropdown-menu a {
            color: rgba(255,255,255,0.8);
            justify-content: center;
            border-radius: 8px;
            padding: 10px 12px;
        }
        .mobile-nav .lang-dropdown-menu a:hover {
            background: rgba(255,255,255,0.15);
            color: #fff;
        }
        .mobile-nav .lang-dropdown-menu a.active { 
            background: #fff; 
            color: #1565c0; 
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .nav-links, .nav-actions { display: none; }
            .mobile-toggle { display: flex; align-items: center; justify-content: center; }
        }
        @media (min-width: 993px) {
            .mobile-nav, .mobile-nav-overlay { display: none !important; }
        }
        
        @media (max-width: 768px) {
            .hero .container { padding: 0 15px; }
            .hero-content h1 { font-size: 36px; }
            .hero-subtitle { font-size: 16px; }
            .hero-cta { flex-direction: column; gap: 10px; }
            .hero-cta .btn { width: 100%; justify-content: center; }
            .hero-stats { flex-wrap: wrap; gap: 20px; justify-content: center; }
            .stat { text-align: center; min-width: 100px; }
            .section-header h2 { font-size: 28px; }
            .features-grid { grid-template-columns: 1fr; }
            .pricing-grid { grid-template-columns: 1fr; }
            .demo-content { grid-template-columns: 1fr; text-align: center; }
            .demo-text { order: 1; }
            .demo-video { order: 0; margin-bottom: 30px; }
            .demo-credentials { text-align: left; }
            .faq-question { font-size: 15px; padding: 15px 20px; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
            .footer-brand { max-width: 100%; }
            .footer-links { text-align: center; }
            .cta-content h2 { font-size: 28px; }
            .trust-logos { gap: 20px; }
            .trust-logo { font-size: 14px; }
        }
        
        @media (max-width: 480px) {
            .hero { padding: 100px 0 60px; }
            .hero-content h1 { font-size: 28px; }
            .hero-badge { font-size: 12px; padding: 6px 12px; }
            .btn-lg { padding: 12px 20px; font-size: 15px; }
            .section-header h2 { font-size: 24px; }
            .pricing-card { padding: 25px 20px; }
            .pricing-price .amount { font-size: 42px; }
            .feature-card { padding: 20px; }
            .feature-icon { width: 50px; height: 50px; font-size: 20px; }
        }
