:root {
            --primary: #7c3aed;
            --primary-light: #a78bfa;
            --primary-dark: #5b21b6;
            --secondary: #2563eb;
            --secondary-light: #60a5fa;
            --accent: #10b981;
            --accent-light: #34d399;
            --dark: #0f172a;
            --darker: #020617;
            --light: #f8fafc;
            --gray: #94a3b8;
            
            /* Animation curves */
            --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
            --ease-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
        }

         * {
            box-sizing: border-box;
        }

        html, body {
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--darker);
            color: var(--light);
            scroll-behavior: smooth;
            line-height: 1.6;
            min-height: 100vh;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 20%);
        }

        /* Enhanced Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--dark);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(to bottom, var(--primary), var(--secondary));
            border-radius: 10px;
            border: 2px solid var(--dark);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(to bottom, var(--primary-light), var(--secondary-light));
        }

        /* Navigation */
        .nav-scrolled {
            background: rgba(0, 0, 0, 0.95);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }

        .nav-link {
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: currentColor;
            transition: width 0.4s var(--ease-smooth);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Text Effects */
        .glow {
            text-shadow: 0 0 10px rgba(124, 58, 237, 0.7);
        }

        .glow-accent {
            text-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
        }

        .glow-box {
            box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
            transition: box-shadow 0.4s var(--ease-smooth);
        }

        .glow-box:hover {
            box-shadow: 0 0 25px rgba(124, 58, 237, 0.8);
        }

        /* Advanced Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-12px); }
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.02); }
        }

        @keyframes gradientFlow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

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

        @keyframes neonGlow {
            0%, 100% { text-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary), 0 0 20px var(--primary); }
            50% { text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary-light); }
        }

        @keyframes scrollIndicator {
            0% { opacity: 1; top: 8px; }
            100% { opacity: 0; top: 24px; }
        }

        .float-anim {
            animation: float 4s var(--ease-smooth) infinite;
        }

        .pulse-anim {
            animation: pulse 2s var(--ease-smooth) infinite;
        }

        .slide-in {
            animation: slideIn 0.8s var(--ease-smooth) forwards;
        }

        .neon-glow {
            animation: neonGlow 3s ease-in-out infinite alternate;
        }

        /* Hero Section */
        .hero-gradient {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
        }

        /* Floating elements */
        .floating-element {
            animation: float 6s ease-in-out infinite;
        }

        /* Section Titles */
        .section-title {
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 2px;
        }

        /* Gradient Effects */
        .gradient-text {
            background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            background-size: 200% auto;
            animation: gradientFlow 5s ease infinite;
        }

        .gradient-bg {
            background: linear-gradient(135deg, var(--dark), var(--darker));
            background-size: 200% 200%;
            animation: gradientFlow 8s ease infinite;
        }

        /* Enhanced Cards */
        .service-card {
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: 12px;
            transition: all 0.4s var(--ease-smooth);
            transform: translateZ(0);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            position: relative;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.6s var(--ease-smooth);
        }

        .service-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: var(--primary);
            box-shadow: 0 15px 30px rgba(109, 40, 237, 0.4);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        /* Card Hover Effects */
        .service-card:hover .card-icon {
            transform: rotateY(180deg);
        }

        /* Scroll Indicator */
        .scroll-indicator {
            width: 30px;
            height: 50px;
            border: 2px solid var(--light);
            border-radius: 15px;
            position: relative;
        }

        .scroll-indicator::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 50%;
            width: 6px;
            height: 6px;
            background: var(--light);
            border-radius: 50%;
            transform: translateX(-50%);
            animation: scrollIndicator 2s infinite;
        }

        /* Logo Styling */
        .logo-text {
            font-family: 'Rubik Doodle Shadow', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            background: linear-gradient(90deg, #fff, #aaa);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
            display: inline-block;
        }

        .logo-text::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transform: scaleX(0);
            transition: transform 0.4s var(--ease-smooth);
        }

        .logo-text:hover::after {
            transform: scaleX(1);
        }

        /* Counter Styles */
        .counter-item {
            background: rgba(39, 39, 42, 0.6);
            border: 1px solid rgba(109, 40, 237, 0.3);
            border-radius: 10px;
            transition: all 0.4s var(--ease-smooth);
            backdrop-filter: blur(5px);
            transform: translateZ(0);
        }

        .counter-item:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 10px 20px rgba(109, 40, 237, 0.3);
            border-color: var(--primary);
        }

        /* Gallery Effects */
        .work-item {
            transition: all 0.5s var(--ease-smooth);
            transform-style: preserve-3d;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }

        .work-item::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg, rgba(124, 58, 237, 0.3), rgba(16, 185, 129, 0.2));
            opacity: 0;
            transition: opacity 0.4s var(--ease-smooth);
        }

        .work-item:hover {
            transform: scale(1.05) rotateY(8deg) rotateX(2deg);
            box-shadow: 0 15px 30px rgba(109, 40, 237, 0.4);
            z-index: 10;
        }

        .work-item:hover::before {
            opacity: 1;
        }

        /* 3D Card Effect */
        .card-3d {
            transform-style: preserve-3d;
            perspective: 1000px;
            transition: transform 0.8s var(--ease-smooth);
        }

        .card-3d-inner {
            transition: transform 0.6s;
            transform-style: preserve-3d;
        }

        .card-3d:hover {
            transform: translateY(-10px);
        }

        .card-3d:hover .card-3d-inner {
            transform: rotateY(15deg) rotateX(5deg);
        }

        /* Button Effects */
        .btn-primary {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            border: none;
            color: white;
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.4s var(--ease-smooth);
            box-shadow: 0 4px 15px rgba(109, 40, 237, 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
            transition: left 0.6s var(--ease-smooth);
            z-index: -1;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(109, 40, 237, 0.5);
        }

        .btn-primary:hover::before {
            left: 0;
        }

        /* Input Fields */
        .input-field, .contact-input {
            background: rgba(15, 23, 42, 0.7);
            border: 1px solid rgba(124, 58, 237, 0.3);
            border-radius: 8px;
            padding: 12px 16px;
            color: var(--light);
            font-size: 16px;
            transition: all 0.3s var(--ease-smooth);
            backdrop-filter: blur(5px);
        }

        .input-field:focus, .contact-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
            background: rgba(15, 23, 42, 0.9);
        }

        .contact-input:focus {
            box-shadow: 0 0 0 2px var(--primary);
        }

        /* Hover Effects */
        .hover-grow {
            transition: transform 0.3s var(--ease-smooth);
        }

        .hover-grow:hover {
            transform: scale(1.05);
        }

        /* Loading Animation */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-spinner {
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-top: 4px solid var(--primary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        /* Contact Form Styles */
        #contact-section {
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s var(--ease-smooth);
        }

        #contact-section:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(109, 40, 237, 0.4);
        }

        #form-message {
            animation: slideIn 0.6s var(--ease-smooth);
        }

        /* Form Success/Error States */
        .bg-green-100 {
            background: rgba(209, 250, 229, 0.1);
        }

        .bg-red-100 {
            background: rgba(254, 226, 226, 0.1);
        }

        .border-green-400 {
            border-color: rgba(52, 211, 153, 0.5);
        }

        .border-red-400 {
            border-color: rgba(248, 113, 113, 0.5);
        }

        .text-green-700 {
            color: #10b981;
        }

        .text-red-700 {
            color: #ef4444;
        }

        /* Footer Styles */
        footer {
            background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
            backdrop-filter: blur(5px);
        }

        footer .logo {
            font-family: 'Rubik Doodle Shadow', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(90deg, #fff, #aaa);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        footer a:hover {
            color: var(--primary-light);
            transform: translateX(5px);
            transition: all 0.3s var(--ease-smooth);
        }

        /* Chat Widgets */
        #talkjs-container {
            border: 1px solid rgba(124, 58, 237, 0.3);
            transition: all 0.4s var(--ease-smooth);
        }

        #chat-toggle {
            box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
            transition: all 0.3s var(--ease-bounce);
        }

        #chat-toggle:hover {
            transform: scale(1.1) rotate(10deg);
        }

        /* Damaged Text Effect */
        .damaged-text {
            font-family: 'Rubik Doodle Shadow', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: relative;
            display: inline-block;
        }

        .damaged-text::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                linear-gradient(transparent 65%, rgba(0,0,0,0.4) 65%),
                linear-gradient(rgba(0,0,0,0.4) 35%, transparent 35%);
            background-size: 2px 2px;
            pointer-events: none;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                background-image: 
                    radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.1) 0%, transparent 30%),
                    radial-gradient(circle at 90% 90%, rgba(37, 99, 235, 0.1) 0%, transparent 30%);
            }
            
            .hero-title {
                font-size: 2.5rem;
                line-height: 1.2;
            }
            
            .section-title::after {
                width: 30%;
            }
            
            #contact-form input,
            #contact-form textarea {
                font-size: 16px;
            }
            
            #contact-section {
                padding: 1.5rem;
                padding-bottom: 20px;
            }
            
            .mobile-stack {
                flex-direction: column;
            }
            
            .service-card, .counter-item, .work-item {
                transform: none !important;
            }
            
            .card-3d:hover .card-3d-inner {
                transform: none;
            }
            
            footer {
                text-align: center;
            }
            
            footer .grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            #chat-toggle {
                bottom: 85px;
                right: 10px;
                width: 65px;
                height: 65px;
            }
        }