/* CSS Variables */
        :root {
            --primary: #9333ea; 
            --primary-light: #c084fc;
            --primary-dark: #6b21a8;
            --secondary: #ec4899; 
            --bg-dark: #0f172a;
            --bg-darker: #020617;
            --text-light: #f8fafc;
            --text-muted: #94a3b8;
            --glass-bg: rgba(30, 41, 59, 0.6);
            --glass-border: rgba(255, 255, 255, 0.1);
            --border-radius: 16px;
            --transition: all 0.3s ease;
        }

        /* Reset & Base Styles */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
        html { scroll-behavior: smooth; overflow-x: hidden; }
        body {
            background-color: var(--bg-darker);
            background-image: 
                radial-gradient(circle at 15% 50%, rgba(147, 51, 234, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15), transparent 25%);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
            width: 100%;
        }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; }
        
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

        /* Scroll Progress Bar */
        #progress-bar {
            position: fixed; top: 0; left: 0; height: 4px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            width: 0%; z-index: 9999; transition: width 0.1s;
        }

        /* Preloader */
        #loader {
            position: fixed; inset: 0; background: var(--bg-darker);
            display: flex; justify-content: center; align-items: center;
            z-index: 10000; transition: opacity 0.5s ease;
        }
        .spinner {
            width: 50px; height: 50px;
            border: 5px solid var(--glass-bg);
            border-top-color: var(--primary); border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin { 100% { transform: rotate(360deg); } }

        /* Typography & Utilities */
        .section-header { text-align: center; margin-bottom: 60px; }
        .section-title {
            font-size: 2.5rem; font-weight: 700; margin-bottom: 15px;
            background: linear-gradient(to right, #fff, var(--primary-light));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .section-subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
        
        .btn {
            display: inline-block; padding: 12px 28px; border-radius: 30px;
            font-weight: 600; cursor: pointer; transition: var(--transition);
            border: none; outline: none; text-align: center;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white; box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
        }
        .btn-primary:hover {
            box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5); transform: translateY(-2px);
        }
        .btn-outline {
            background: transparent; border: 2px solid var(--primary-light); color: var(--text-light);
        }
        .btn-outline:hover {
            background: var(--primary-light); color: var(--bg-darker);
        }

        /* Glassmorphism Card */
        .glass-card {
            background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border); border-radius: var(--border-radius);
            padding: 30px; transition: var(--transition);
        }
        .glass-card:hover {
            transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border-color: var(--primary-light);
        }

        /* Navbar */
        header {
            position: fixed; top: 0; left: 0; width: 100%; padding: 20px 0;
            z-index: 1000; transition: var(--transition); background: transparent;
        }
        header.sticky {
            background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(10px);
            padding: 15px 0; border-bottom: 1px solid var(--glass-border);
        }
        .nav-container { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 1.8rem; font-weight: 800; color: white; letter-spacing: 1px; z-index: 1001; }
        .logo span { color: var(--primary-light); }
        .nav-links { display: flex; gap: 30px; align-items: center; }
        .nav-links li a { color: var(--text-light); font-weight: 500; transition: var(--transition); }
        .nav-links li a:hover { color: var(--primary-light); }
        
        /* Hamburger Icon */
        .mobile-toggle {
            display: none; font-size: 1.8rem; cursor: pointer; color: white;
            z-index: 1001; transition: var(--transition);
        }

        /* Hero Section */
        .hero { padding: 180px 0 100px; min-height: 100vh; display: flex; align-items: center; }
        .hero-content { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
        .hero-text { flex: 1; }
        .hero-text h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
        .hero-text h1 span {
            background: linear-gradient(to right, var(--primary-light), var(--secondary));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }
        .hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
        .hero-img { flex: 1; position: relative; }
        
        .hero-illustration {
            width: 100%; height: 400px; background: linear-gradient(45deg, var(--primary), var(--secondary));
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            animation: morph 8s ease-in-out infinite;
            box-shadow: 0 0 50px rgba(147, 51, 234, 0.4);
            display: flex; align-items: center; justify-content: center;
        }
        .hero-illustration::after {
            content: "\f080"; font-family: "Font Awesome 6 Free"; font-weight: 900;
            font-size: 8rem; color: rgba(255,255,255,0.8);
        }
        @keyframes morph {
            0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
            50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
            100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
        }

        /* Services */
        .services { padding: 100px 0; }
        .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .service-card { position: relative; overflow: hidden; }
        .service-card::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), transparent);
            opacity: 0; transition: var(--transition);
        }
        .service-card:hover::before { opacity: 1; }
        .service-icon { font-size: 2.5rem; color: var(--primary-light); margin-bottom: 20px; display: inline-block; }
        .service-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
        .service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
        .service-link { color: var(--primary-light); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
        .service-link i { transition: transform 0.3s ease; }
        .service-link:hover i { transform: translateX(5px); }

        /* Stats */
        .stats {
            padding: 80px 0;
            background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
        }
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
        .stat-item h3 { font-size: 3rem; font-weight: 800; color: var(--primary-light); margin-bottom: 10px; }
        .stat-item p { font-size: 1.1rem; font-weight: 500; }

        /* Portfolio */
        .portfolio { padding: 100px 0; background: var(--bg-dark); }
        .filter-btns { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
        .filter-btn {
            background: transparent; border: 1px solid var(--glass-border); color: var(--text-light);
            padding: 8px 20px; border-radius: 20px; cursor: pointer; transition: var(--transition);
        }
        .filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); }
        .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .portfolio-item { border-radius: var(--border-radius); overflow: hidden; position: relative; cursor: pointer; }
        .portfolio-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s ease; }
        .portfolio-overlay {
            position: absolute; inset: 0; background: rgba(15, 23, 42, 0.85); display: flex;
            flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: var(--transition);
        }
        .portfolio-item:hover img { transform: scale(1.1); }
        .portfolio-item:hover .portfolio-overlay { opacity: 1; }
        .portfolio-overlay h4 { font-size: 1.4rem; margin-bottom: 10px; color: var(--primary-light); text-align: center; padding: 0 10px;}

        /* About */
        .about { padding: 100px 0; }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
        .about-img { border-radius: var(--border-radius); overflow: hidden; }
        .about-img img { width: 100%; height: auto; display: block; }
        .about-text h2 { margin-bottom: 20px; font-size: 2.2rem; }
        .about-text p { margin-bottom: 20px; color: var(--text-muted); }

        /* Testimonials */
        .testimonials { padding: 100px 0; overflow: hidden; background: var(--bg-dark); }
        .slider-wrapper { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
        .testimonial-slider { display: flex; transition: transform 0.5s ease; }
        .testimonial-slide { min-width: 100%; padding: 20px; }
        .review-card { text-align: center; }
        .stars { color: #fbbf24; margin-bottom: 20px; font-size: 1.2rem; }
        .review-text { font-size: 1.1rem; font-style: italic; margin-bottom: 30px; }
        .client-info h4 { font-size: 1.1rem; color: var(--primary-light); }
        .client-info p { font-size: 0.9rem; color: var(--text-muted); }
        .slider-controls { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
        .ctrl-btn {
            background: var(--glass-bg); border: 1px solid var(--glass-border); color: white;
            width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: var(--transition);
        }
        .ctrl-btn:hover { background: var(--primary); }

        /* Pricing */
        .pricing { padding: 100px 0; }
        .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .pricing-card { text-align: center; position: relative; }
        .pricing-card.popular {
            border-color: var(--primary); transform: scale(1.05);
            background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(147, 51, 234, 0.1));
        }
        .pricing-badge {
            position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
            background: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
        }
        .pricing-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
        .price { font-size: 3rem; font-weight: 700; color: var(--primary-light); margin-bottom: 30px; }
        .price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
        .pricing-features { margin-bottom: 30px; text-align: left; }
        .pricing-features li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
        .pricing-features i { color: #10b981; }

        /* Contact */
        .contact { padding: 100px 0; background: var(--bg-dark); }
        .contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
        .form-group { margin-bottom: 20px; }
        .form-control {
            width: 100%; padding: 15px; background: rgba(255,255,255,0.05);
            border: 1px solid var(--glass-border); border-radius: 8px; color: white;
            outline: none; transition: var(--transition);
        }
        .form-control:focus { border-color: var(--primary-light); background: rgba(255,255,255,0.1); }
        
        /* Dropdown Fix */
        select.form-control option { background-color: var(--bg-darker); color: var(--text-light); padding: 10px; }
        select.form-control { color: var(--text-light); }
        select.form-control:invalid { color: var(--text-muted); }
        
        .map-container { border-radius: var(--border-radius); overflow: hidden; height: 100%; min-height: 400px; }
        .map-container iframe { width: 100%; height: 100%; border: none; }

        /* Newsletter */
        .newsletter { padding: 80px 0; text-align: center; background: linear-gradient(135deg, var(--primary-dark), var(--bg-darker)); }
        .newsletter h2 { font-size: 2rem; margin-bottom: 15px; }
        .newsletter-form { display: flex; max-width: 500px; margin: 30px auto 0; gap: 10px; }
        .newsletter-form input { flex: 1; padding: 12px 20px; border-radius: 30px; border: none; outline: none; }

        /* Footer */
        footer { background: var(--bg-darker); padding: 80px 0 20px; border-top: 1px solid var(--glass-border); }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 60px; }
        .footer-col h3 { font-size: 1.2rem; margin-bottom: 25px; color: white; }
        .footer-col p { color: var(--text-muted); margin-bottom: 20px; }
        .footer-links li { margin-bottom: 15px; }
        .footer-links a { color: var(--text-muted); transition: var(--transition); }
        .footer-links a:hover { color: var(--primary-light); padding-left: 5px; }
        .social-icons { display: flex; gap: 15px; }
        .social-icons a {
            display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px;
            border-radius: 50%; background: var(--glass-bg); color: white; transition: var(--transition);
        }
        .social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }

        /* Floating Buttons */
        .floating-wa {
            position: fixed; bottom: 30px; left: 30px; background: #25D366; color: white;
            width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
            font-size: 2rem; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); z-index: 999; transition: var(--transition);
        }
        .floating-wa:hover { transform: scale(1.1); }
        
        .scroll-top {
            position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: white;
            width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
            font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999;
        }
        .scroll-top.show { opacity: 1; visibility: visible; }
        .scroll-top:hover { background: var(--primary-light); transform: translateY(-5px); }

        /* --- MOBILE RESPONSIVENESS FULL OVERHAUL --- */
        @media (max-width: 992px) {
            .hero-content { flex-direction: column; text-align: center; padding-top: 80px; }
            .hero-text h1 { font-size: 2.8rem; }
            .hero-btns { justify-content: center; }
            .hero-illustration { width: 80%; height: 300px; margin: 0 auto; }
            .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
            .pricing-card.popular { transform: none; }
        }

        @media (max-width: 768px) {
            .services-grid, .portfolio-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
            .mobile-toggle { display: block; }
            .nav-links {
                position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
                background: rgba(2, 6, 23, 0.98); backdrop-filter: blur(15px);
                flex-direction: column; justify-content: center; align-items: center; gap: 40px;
                transition: right 0.4s ease-in-out; z-index: 1000;
            }
            .nav-links.active { right: 0; }
            .nav-links li { width: 100%; text-align: center; }
            .nav-links li a { font-size: 1.5rem; display: block; padding: 10px; }
            .nav-links li a.btn { width: max-content; margin: 0 auto; font-size: 1.2rem; }

            .hero { padding: 130px 0 60px; }
            .hero-text h1 { font-size: 2.2rem; }
            .hero-text p { font-size: 1rem; }
            .hero-img { display: none; }
            
            .section-header { margin-bottom: 40px; }
            .section-title { font-size: 2rem; }
            
            .services, .stats, .portfolio, .about, .testimonials, .pricing, .contact { padding: 60px 0; }
            
            .hero-btns { flex-direction: column; width: 100%; }
            .hero-btns .btn { width: 100%; text-align: center; }
            .hero-illustration::after { font-size: 6rem; }
            
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .newsletter-form { flex-direction: column; }
            
            .map-container { min-height: 300px; }
            
            .floating-wa { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 1.5rem; }
            .scroll-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
        }

        @media (max-width: 480px) {
            .hero-text h1 { font-size: 1.8rem; }
            .stats-grid { grid-template-columns: 1fr; }
            .stat-item h3 { font-size: 2.5rem; }
            .price { font-size: 2.5rem; }
        }