
        /* General Styling */
        :root {
            --primary-color: #4cd137;
            --primary-light: #7eff5d;
            --danger-color: #ff4757;
            --warning-color: #fdbb2d;
            --bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
            --card-bg: rgba(255, 255, 255, 0.08);
            --card-border: 1px solid rgba(255, 255, 255, 0.2);
            --text-color: #fff;
            --text-muted: #bdc3c7;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
        body { 
            background: var(--bg-gradient); 
            color: var(--text-color); 
            min-height: 100vh; 
            overflow-x: hidden; 
            position: relative;
        }
        
        /* Animated Background Elements */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .bg-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            animation: float 15s infinite ease-in-out;
        }
        
        .bg-circle:nth-child(1) {
            width: 300px;
            height: 300px;
            background: var(--primary-color);
            top: 10%;
            left: 5%;
            animation-delay: 0s;
            animation-duration: 20s;
        }
        
        .bg-circle:nth-child(2) {
            width: 200px;
            height: 200px;
            background: var(--danger-color);
            top: 70%;
            left: 80%;
            animation-delay: 2s;
            animation-duration: 15s;
        }
        
        .bg-circle:nth-child(3) {
            width: 150px;
            height: 150px;
            background: var(--warning-color);
            top: 30%;
            left: 90%;
            animation-delay: 4s;
            animation-duration: 18s;
        }
        
        .bg-circle:nth-child(4) {
            width: 250px;
            height: 250px;
            background: var(--primary-light);
            top: 60%;
            left: 10%;
            animation-delay: 6s;
            animation-duration: 22s;
        }
        
        .container { max-width: 1400px; margin: 0 auto; padding: 20px; }

        /* Header & Navigation */
        header { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 20px 0; 
            animation: fadeIn 1s ease; 
        }
        
        .logo { 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .logo:hover {
            transform: scale(1.05);
        }
        
        .logo i { 
            font-size: 2.5rem; 
            color: var(--primary-color); 
            animation: pulse 2s infinite; 
        }
        
        .logo h1 { 
            font-size: 2.2rem; 
            background: linear-gradient(to right, var(--primary-color), var(--primary-light));
            -webkit-background-clip: text; 
            -webkit-text-fill-color: transparent; 
        }
        
        nav ul { 
            display: flex; 
            list-style: none; 
            gap: 30px; 
        }
        
        nav a { 
            color: var(--text-color); 
            text-decoration: none; 
            font-weight: 500; 
            transition: all 0.3s; 
            font-size: 1.1rem; 
            position: relative; 
            padding: 8px 0;
        }
        
        nav a:after { 
            content: ''; 
            position: absolute; 
            width: 0; 
            height: 2px; 
            bottom: 0; 
            left: 0; 
            background-color: var(--primary-color); 
            transition: width 0.3s; 
        }
        
        nav a:hover { 
            color: var(--primary-color); 
        }
        
        nav a:hover:after { 
            width: 100%; 
        }
        
        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Live Alert Ticker */
        .alert-ticker {
            background-color: rgba(0,0,0,0.3);
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 20px;
            overflow: hidden;
            white-space: nowrap;
            position: relative;
            border-left: 4px solid var(--danger-color);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        
        .alert-ticker:before {
            content: 'LIVE';
            position: absolute;
            top: 0;
            left: 0;
            background: var(--danger-color);
            color: white;
            font-size: 10px;
            padding: 2px 8px;
            border-radius: 4px 0 4px 0;
            font-weight: bold;
            z-index: 1;
        }
        
        .alert-ticker-content {
            display: inline-block;
            padding-left: 100%;
            animation: ticker-scroll 30s linear infinite;
        }
        
        .alert-item { 
            margin-right: 50px; 
            display: inline-block; 
        }
        
        .alert-item i { 
            color: var(--danger-color); 
            margin-right: 10px; 
        }
        
        @keyframes ticker-scroll { 
            0% { transform: translateX(0); } 
            100% { transform: translateX(-100%); } 
        }

        /* Hero Section */
        .hero { 
            text-align: center; 
            margin: 20px 0 40px; 
            animation: slideUp 1s ease; 
            position: relative;
        }
        
        .hero h2 { 
            font-size: 2.8rem; 
            margin-bottom: 15px; 
            animation: fadeIn 1.5s ease;
        }
        
        .hero p { 
            font-size: 1.2rem; 
            max-width: 800px; 
            margin: 0 auto; 
            line-height: 1.6; 
            color: var(--text-muted); 
            animation: fadeIn 2s ease;
        }
        
        .hero-cta {
            margin-top: 30px;
            animation: fadeIn 2.5s ease;
        }

        /* Controls: City Selector & Timestamp */
        .controls { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            margin-bottom: 30px; 
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .city-selector { 
            position: relative;
        }

        .city-selector select { 
    padding: 12px 45px 12px 20px; 
    border-radius: 25px; 
    border: 2px solid var(--primary-color); 
    background: var(--card-bg);
    color: var(--text-color);     
    font-size: 1.1rem; 
    cursor: pointer; 
    transition: all 0.3s; 
    appearance: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
        .city-selector select option {
    color: #000;
    background-color: #fff;
}
        .city-selector:after {
            content: '\f078';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-color);
            pointer-events: none;
        }
        
        .city-selector select:hover { 
            background: rgba(76, 209, 55, 0.1); 
            transform: translateY(-2px);
        }
        
        .timestamp { 
            font-size: 1rem; 
            color: var(--text-muted); 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            background: rgba(0,0,0,0.2);
            padding: 10px 15px;
            border-radius: 25px;
            transition: all 0.3s;
        }
        
        .timestamp:hover {
            background: rgba(0,0,0,0.3);
            transform: translateY(-2px);
        }
        
        .timestamp i { 
            color: var(--primary-color); 
            animation: spinClockwise 4s linear infinite; 
        }
        
        .live-indicator { 
            display: inline-block; 
            width: 10px; 
            height: 10px; 
            background: var(--danger-color); 
            border-radius: 50%; 
            margin-left: 8px; 
            animation: blink 2s infinite; 
        }
        
        .view-controls {
            display: flex;
            gap: 10px;
        }
        
        .view-btn {
            background: var(--card-bg);
            border: 1px solid rgba(255,255,255,0.1);
            color: var(--text-color);
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .view-btn.active {
            background: rgba(76, 209, 55, 0.2);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .view-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        /* Dashboard Grid & Cards */
        .dashboard-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
            gap: 25px;
            transition: all 0.5s ease;
        }
        
        .card { 
            background: var(--card-bg); 
            backdrop-filter: blur(15px); 
            border-radius: 15px; 
            padding: 25px; 
            border: var(--card-border); 
            animation: fadeIn 1.5s ease; 
            transition: transform 0.3s ease, box-shadow 0.3s ease; 
            position: relative; 
            overflow: hidden; 
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }
        
        .card:before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(to bottom right, rgba(255,255,255,0.1), rgba(255,255,255,0));
            transform: rotate(45deg);
            z-index: 0;
        }
        
        .card:hover { 
            transform: translateY(-5px) scale(1.01); 
            box-shadow: 0 12px 40px rgba(0,0,0,0.3); 
        }
        
        .card-header { 
            font-size: 1.5rem; 
            margin-bottom: 20px; 
            display: flex; 
            align-items: center; 
            gap: 10px; 
            position: relative; 
            z-index: 1; 
        }
        
        .card-header i { 
            color: var(--primary-color); 
        }
        .card > * {
    position: relative;
    z-index: 2;
}
        
        /* Details View Layout */
        .dashboard-grid.details-view .card {
            grid-column: 1 / -1; /* Each card takes full width */
        }
        .dashboard-grid.details-view .chart-container {
            height: 350px;
        }

        /* Chart Container */
        .chart-container {
            height: 250px;
            position: relative;
            transition: height 0.5s ease;
        }

        /* Map Card */
        #map { 
            height: 450px; 
            border-radius: 10px; 
            background-color: #333; 
            margin-top: 20px; 
            z-index: 0; 
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }
        
        .leaflet-popup-content-wrapper { 
            background: #2c3e50; 
            color: #fff; 
            border-radius: 8px; 
        }
        
        .leaflet-popup-tip { 
            background: #2c3e50; 
        }
        
        /* Legend for map */
        .map-legend {
            position: absolute;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            background: rgba(0,0,0,0.7);
            padding: 10px;
            border-radius: 5px;
            font-size: 12px;
            backdrop-filter: blur(5px);
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }
        
        .legend-color {
            width: 20px;
            height: 10px;
            margin-right: 5px;
            border-radius: 2px;
        }
        
        /* Business Model Section */
        .business-model-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
            gap: 20px; 
        }
        
        .business-card { 
            text-align: center; 
            padding: 20px; 
            background: rgba(255,255,255,0.05); 
            border-radius: 10px; 
            transition: all 0.3s; 
            position: relative; 
            overflow: hidden; 
            animation: fadeIn 1s ease;
        }
        
        .business-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, var(--primary-color), transparent);
            transform: translateX(-100%);
            transition: transform 0.5s;
        }
        
        .business-card:hover { 
            transform: translateY(-5px); 
            background: rgba(255,255,255,0.1); 
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .business-card:hover:before { 
            transform: translateX(0); 
        }
        
        .business-card i { 
            font-size: 2.5rem; 
            color: var(--primary-color); 
            margin-bottom: 15px; 
            transition: all 0.3s; 
        }
        
        .business-card:hover i { 
            transform: scale(1.2) rotate(5deg); 
        }
        
        .business-card h4 { 
            font-size: 1.2rem; 
            margin-bottom: 10px; 
        }
        
        .business-card p { 
            font-size: 0.9rem; 
            color: var(--text-muted); 
            line-height: 1.5; 
        }
        
        /* Pricing Table */
        .pricing-table { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 20px; 
            margin-top: 30px; 
        }
        
        .pricing-card { 
            background: rgba(255,255,255,0.05); 
            border-radius: 10px; 
            padding: 25px; 
            text-align: center; 
            transition: all 0.3s; 
            position: relative; 
            overflow: hidden; 
            animation: fadeIn 1s ease;
        }
        
        .pricing-card.featured { 
            border: 2px solid var(--primary-color); 
            transform: scale(1.05); 
            z-index: 1;
        }
        
        .pricing-card.featured:before { 
            content: 'POPULAR'; 
            position: absolute; 
            top: 10px; 
            right: -25px; 
            background: var(--primary-color); 
            color: white; 
            padding: 5px 25px; 
            transform: rotate(45deg); 
            font-size: 12px; 
        }
        
        .pricing-card:hover { 
            transform: translateY(-10px); 
            background: rgba(255,255,255,0.1); 
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .pricing-card h4 { 
            font-size: 1.5rem; 
            margin-bottom: 15px; 
        }
        
        .price { 
            font-size: 2.5rem; 
            color: var(--primary-color); 
            margin: 15px 0; 
        }
        
        .price span { 
            font-size: 1rem; 
            color: var(--text-muted); 
        }
        
        .pricing-features { 
            list-style: none; 
            margin: 20px 0; 
            text-align: left; 
        }
        
        .pricing-features li { 
            margin-bottom: 10px; 
            padding-left: 20px; 
            position: relative; 
            transition: transform 0.3s;
        }
        
        .pricing-features li:hover {
            transform: translateX(5px);
        }
        
        .pricing-features li:before { 
            content: '✓'; 
            color: var(--primary-color); 
            position: absolute; 
            left: 0; 
        }
        
        .btn { 
            display: inline-block; 
            padding: 12px 25px; 
            background: var(--primary-color); 
            color: white; 
            border-radius: 25px; 
            text-decoration: none; 
            font-weight: bold; 
            transition: all 0.3s; 
            border: none; 
            cursor: pointer; 
            box-shadow: 0 4px 15px rgba(76, 209, 55, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .btn:after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        
        .btn:hover:after {
            left: 100%;
        }
        
        .btn:hover { 
            background: var(--primary-light); 
            transform: translateY(-3px); 
            box-shadow: 0 8px 20px rgba(76, 209, 55, 0.4); 
        }
        
        .btn-outline { 
            background: transparent; 
            border: 2px solid var(--primary-color); 
            color: var(--primary-color); 
            box-shadow: none;
        }
        
        .btn-outline:hover { 
            background: var(--primary-color); 
            color: white; 
        }
        
        /* Notification Toast */
        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 2000;
            transform: translateX(120%);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            backdrop-filter: blur(10px);
        }
        
        .toast.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .toast i {
            color: var(--primary-color);
        }

        /* Demo Request Modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(5px);
            z-index: 1500;
            display: none;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
        }

        .modal-content {
            background: var(--bg-gradient);
            padding: 40px;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            position: relative;
            animation: slideUp 0.4s ease;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.3s, transform 0.3s;
        }
        
        .modal-close:hover {
            color: var(--danger-color);
            transform: rotate(90deg);
        }
        
        .modal-content h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            text-align: center;
            color: var(--primary-color);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-muted);
        }
        
        .form-group input {
            width: 100%;
            padding: 12px;
            background: rgba(0,0,0,0.2);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 8px;
            color: var(--text-color);
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus {
            outline: none;
            border-color: var(--primary-color);
        }
        
        /* Animations */
        @keyframes fadeIn { 
            from { opacity: 0; } 
            to { opacity: 1; } 
        }
        
        @keyframes slideUp { 
            from { transform: translateY(50px); opacity: 0; } 
            to { transform: translateY(0); opacity: 1; } 
        }
        
        @keyframes pulse { 
            0% { transform: scale(1); } 
            50% { transform: scale(1.1); } 
            100% { transform: scale(1); } 
        }
        
        @keyframes blink { 
            0%, 100% { opacity: 1; } 
            50% { opacity: 0.5; } 
        }
        
        @keyframes spinClockwise { 
            0% { transform: rotate(0deg); } 
            100% { transform: rotate(360deg); } 
        }
        
        @keyframes float { 
            0%, 100% { transform: translateY(0) rotate(0deg); } 
            50% { transform: translateY(-20px) rotate(5deg); } 
        }
        
        @keyframes wave {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }
        
        /* Real-time data pulse effect */
        .data-updating { 
            animation: dataPulse 0.5s; 
        }
        
        @keyframes dataPulse { 
            0% { background-color: transparent; } 
            50% { background-color: rgba(76, 209, 55, 0.1); } 
            100% { background-color: transparent; } 
        }
        
        /* Chart tooltip animation */
        .chart-tooltip {
            animation: popIn 0.2s ease-out;
        }
        
        @keyframes popIn {
            0% { transform: scale(0.8); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }
        
        /* Footer */
        footer { 
            text-align: center; 
            padding: 30px 0; 
            margin-top: 40px; 
            border-top: 1px solid rgba(255, 255, 255, 0.2); 
            animation: fadeIn 1s ease;
        }
        
        /* Loading Animation */
        .loader {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .dashboard-grid { 
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
            }
            
            .hero h2 {
                font-size: 2.2rem;
            }
        }
        
        @media (max-width: 768px) { 
            .controls { 
                flex-direction: column; 
                align-items: flex-start;
            } 
            
            .dashboard-grid,
            .dashboard-grid.details-view { 
                grid-template-columns: 1fr; 
            }
            
            .business-model-grid { 
                grid-template-columns: 1fr; 
            }
            
            .pricing-table { 
                grid-template-columns: 1fr; 
            }
            
            .pricing-card.featured { 
                transform: scale(1); 
            }
            
            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 80px;
                right: 20px;
                background: rgba(0,0,0,0.9);
                padding: 20px;
                border-radius: 10px;
                backdrop-filter: blur(10px);
                z-index: 100;
                width: 200px;
                box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            }
            
            nav ul.show {
                display: flex;
                animation: slideDown 0.3s ease;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        }
        
        @media (max-width: 576px) {
            .logo h1 {
                font-size: 1.8rem;
            }
            
            .hero h2 {
                font-size: 1.8rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .card {
                padding: 20px;
            }

        }
