:root {
            --primary: #4f46e5;
            --secondary: #06b6d4;
            --bg-dark: #0f172a;
            --bg-card: #1e293b;
            --text-light: #f8fafc;
            --text-dim: #94a3b8;
            --glass: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; cursor: none; } /* Hide default cursor */

        body {
            font-family: 'Outfit', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        /* --- CREATIVE UPGRADES --- */
        
        /* Custom Cursor */
        .cursor-dot, .cursor-outline {
            position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
            border-radius: 50%; z-index: 9999; pointer-events: none;
        }
        .cursor-dot { width: 8px; height: 8px; background-color: var(--secondary); }
        .cursor-outline {
            width: 40px; height: 40px; border: 2px solid rgba(6, 182, 212, 0.5);
            transition: width 0.2s, height 0.2s, background-color 0.2s;
        }
        .cursor-outline.hover { width: 60px; height: 60px; background-color: rgba(6, 182, 212, 0.1); border-color: var(--secondary); }

        /* Scroll Progress Bar */
        #progress-bar { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); z-index: 10000; box-shadow: 0 0 10px var(--secondary); }

        /* Text Gradient */
        .text-gradient { background: linear-gradient(to right, var(--primary), var(--secondary)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

        /* Ambient Glow Orbs */
        .glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; opacity: 0.3; }
        .glow-1 { width: 400px; height: 400px; background: var(--primary); top: -10%; left: -10%; }
        .glow-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -10%; right: -10%; }

        /* Background Marquee */
        .marquee-bg {
            position: absolute; top: 50%; left: 0; transform: translateY(-50%);
            white-space: nowrap; font-size: 15vw; font-weight: 900;
            color: rgba(255,255,255,0.02); z-index: 1; pointer-events: none;
            animation: scroll-left 40s linear infinite;
        }
        @keyframes scroll-left { 0% { transform: translate(0, -50%); } 100% { transform: translate(-50%, -50%); } }

        /* 3D Tilt Card Base */
        .tilt-card { transform-style: preserve-3d; transition: transform 0.1s ease; will-change: transform; z-index: 2; position: relative; }

        /* ADVANCED CREATIVE UPGRADES */
        .preloader { position: fixed; inset: 0; background: var(--bg-dark); z-index: 999999; display: flex; align-items: center; justify-content: center; flex-direction: column; transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1); }
        .preloader.hidden { transform: translateY(-100%); }
        .loading-text { font-size: 1.5rem; font-weight: 700; color: var(--primary); font-family: monospace; letter-spacing: 2px; }
        .loading-text::after { content: '|'; animation: blink 1s infinite; }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
        
        #particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.6; }
        
        .reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
        .reveal.active { opacity: 1; transform: translateY(0); }
        
        .typewriter-text { min-height: 4.5rem; } /* reserve space so it doesn't jump */
        
        /* ------------------------- */

        .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

        /* Navigation */
        nav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            padding: 1.5rem 0;
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--glass-border);
        }

        .nav-content {
            display: flex; justify-content: space-between; align-items: center;
        }

        .logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
        .nav-links { display: flex; gap: 2rem; }
        .nav-links a { text-decoration: none; color: var(--text-dim); font-weight: 500; transition: var(--transition); }
        .nav-links a:hover { color: var(--text-light); }

        /* Hero Section - Reference Style */
        header {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 80px;
            position: relative;
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-text h1 {
            font-size: clamp(3rem, 6vw, 4.5rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }

        .hero-text h1 span { color: var(--primary); }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--text-dim);
            margin-bottom: 2.5rem;
            max-width: 500px;
        }

        .hero-image-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .main-portrait {
            width: 80%;
            aspect-ratio: 1;
            border-radius: 50%;
            object-fit: cover;
            border: 10px solid var(--glass-border);
            box-shadow: 0 40px 80px rgba(0,0,0,0.5);
            z-index: 2;
        }

        /* Floating Stats Bubbles */
        .stat-bubble {
            position: absolute;
            background: var(--bg-card);
            padding: 1rem 1.5rem;
            border-radius: 1rem;
            border: 1px solid var(--glass-border);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            z-index: 3;
            animation: float 6s ease-in-out infinite;
        }

        .sb-1 { top: 10%; right: 0; animation-delay: 0s; }
        .sb-2 { bottom: 20%; left: -5%; animation-delay: 2s; }
        .sb-3 { top: 0; left: 0%; animation-delay: 4s; }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        .stat-bubble .value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); }
        .stat-bubble .label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; }

        /* Services Grid ("I'm Special") */
        section { padding: 100px 0; }
        .section-center { text-align: center; margin-bottom: 4rem; }
        .section-tag { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 1rem; }
        .section-title { font-size: 2.5rem; font-weight: 800; }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: var(--glass);
            border: 1px solid var(--glass-border);
            padding: 3rem 2rem;
            border-radius: 2rem;
            transition: var(--transition);
            text-align: center;
        }

        .service-card:hover { transform: translateY(-10px); background: rgba(79, 70, 229, 0.05); border-color: var(--primary); }
        .service-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
        .service-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }

        /* Experience Grid */
        .experience-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        /* Brand Partners - Sliding Logobar */
        .brand-section { padding: 4rem 0; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--glass-border); overflow: hidden; }
        .brand-section { overflow: hidden; width: 100vw; }
        .logo-slider { display: flex; gap: 4rem; width: max-content; animation: slide 20s linear infinite; }
        .logo-slider span { font-size: 1.5rem; font-weight: 700; color: var(--text-dim); opacity: 0.5; filter: grayscale(1); transition: var(--transition); }
        .logo-slider span:hover { opacity: 1; filter: grayscale(0); color: var(--primary); }
        @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

        /* Engineering Process */
        .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
        .process-item { position: relative; padding: 2rem; border-radius: 1.5rem; background: var(--glass); border: 1px solid var(--glass-border); }
        .process-num { position: absolute; top: -1rem; left: 1rem; width: 2.5rem; height: 2.5rem; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; }
        .process-item h3 { margin-top: 0.5rem; font-size: 1.1rem; margin-bottom: 0.75rem; }
        .process-item p { font-size: 0.85rem; color: var(--text-dim); }

        /* FAQ Accordion */
        .faq-accordion { max-width: 800px; margin: 0 auto; }
        .faq-item { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 1rem; margin-bottom: 1rem; overflow: hidden; }
        .faq-question { padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; transition: var(--transition); }
        .faq-question:hover { color: var(--primary); }
        .faq-answer { height: 0; padding: 0 1.5rem; opacity: 0; transition: var(--transition); color: var(--text-dim); font-size: 0.9rem; }
        .faq-item.active .faq-answer { height: auto; padding: 0 1.5rem 1.5rem; opacity: 1; }
        .faq-item.active .faq-toggle { transform: rotate(45deg); }

        /* Solution Image Overlay Reference Styling */
        .solution-image {
            background: linear-gradient(135deg, #1e293b, #0f172a);
            aspect-ratio: 16/9;
            border-radius: 2rem;
            border: 1px solid var(--glass-border);
            display: flex; align-items: center; justify-content: center;
            font-size: 2rem; color: var(--text-dim);
            position: relative; overflow: hidden;
        }

        .exp-card {
            background: var(--bg-card);
            padding: 2.5rem;
            border-radius: 1.5rem;
            border: 1px solid var(--glass-border);
            display: flex; justify-content: space-between; align-items: center;
        }

        .exp-info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
        .exp-info p { color: var(--text-dim); font-size: 0.9rem; }
        .exp-year { background: var(--primary); color: #fff; padding: 0.25rem 0.75rem; border-radius: 0.5rem; font-size: 0.8rem; font-weight: 600; }

        /* Selected Work - Project Cards */
        .work-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .plugin-list-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .plugin-list-card {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 1.5rem;
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }
        
        .plugin-icon-wrap {
            background: rgba(79, 70, 229, 0.1);
            color: var(--primary);
            padding: 1rem;
            border-radius: 8px;
            display: flex;
            flex-shrink: 0;
        }
        
        .plugin-title { margin-bottom: 0.5rem; font-size: 1.2rem; }
        .plugin-desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0.8rem; line-height: 1.4; }
        .plugin-link { color: var(--secondary); text-decoration: none; font-weight: 700; font-size: 0.9rem; }

        .work-card {
            border-radius: 2rem;
            overflow: hidden;
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            transition: var(--transition);
        }
        .work-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
        .work-content { padding: 2rem; }
        .work-content h3 { margin-bottom: 0.5rem; }
        .work-content p { color: var(--text-dim); margin-bottom: 1.5rem; font-size: 0.95rem; }

        /* Testimonials */
        .testimonial-slider {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .testi-card {
            background: var(--glass);
            padding: 2.5rem;
            border-radius: 1.5rem;
            border: 1px solid var(--glass-border);
        }

        .testi-text { font-style: italic; color: var(--text-dim); margin-bottom: 1.5rem; }
        .testi-user { display: flex; align-items: center; gap: 1rem; }
        .testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); }

        /* Contact Section ("Let's Work") */
        .contact-layout {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 4rem;
            background: var(--bg-card);
            padding: 4rem;
            border-radius: 3rem;
            align-items: center;
        }

        /* Developer's Toolbox */
        .toolbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; }
        .tool-card { background: var(--glass); border: 1px solid var(--glass-border); padding: 1.5rem; border-radius: 1rem; display: flex; align-items: center; gap: 1rem; transition: var(--transition); }
        .tool-card:hover { background: var(--primary); color: #fff; transform: translateY(-5px); }
        .tool-icon { font-size: 1.5rem; }

        /* Strategic CTA Banner */
        .cta-banner {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            padding: 5rem 2rem;
            border-radius: 3rem;
            text-align: center;
            margin: 4rem 0;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .cta-upgraded {
            box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.5);
            border: 1px solid rgba(255,255,255,0.2);
            z-index: 10;
        }
        .cta-orb {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
        }
        .cta-orb-1 {
            width: 300px; height: 300px;
            background: rgba(255,255,255,0.15);
            filter: blur(40px);
            top: -100px; left: -50px;
        }
        .cta-orb-2 {
            width: 250px; height: 250px;
            background: rgba(6, 182, 212, 0.3);
            filter: blur(50px);
            bottom: -100px; right: -50px;
        }
        .cta-upgraded h2 { font-size: 3rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 1rem; position: relative; z-index: 2; }
        .cta-upgraded p { font-size: 1.25rem; font-weight: 300; margin-bottom: 2.5rem; opacity: 0.95; position: relative; z-index: 2; max-width: 650px; margin-left: auto; margin-right: auto; }
        .btn-white { background: #fff; color: var(--primary); padding: 1.25rem 2.5rem; border-radius: 0.75rem; text-decoration: none; font-weight: 800; display: inline-block; transition: var(--transition); }
        .btn-white:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
        .btn-pill { border-radius: 100px; font-size: 1.1rem; padding: 1.25rem 3rem; }

        /* Awards & Recognition */
        .awards-bar { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; opacity: 0.6; padding: 2rem 0; }
        .award-badge { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; filter: grayscale(1); transition: var(--transition); }
        .award-badge:hover { opacity: 1; filter: grayscale(0); color: var(--primary); }

        /* Blog Grid */
        .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .blog-card { background: var(--bg-card); border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--glass-border); transition: var(--transition); }
        .blog-card:hover { transform: translateY(-10px); border-color: var(--primary); }
        .blog-info { padding: 1.5rem; }
        .blog-tag { color: var(--primary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
        .blog-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
        .btn-text { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.9rem; }

        .form-group { margin-bottom: 1.5rem; }
        .form-group input, .form-group textarea {
            width: 100%; padding: 1rem; border-radius: 0.75rem; background: var(--bg-dark); border: 1px solid var(--glass-border); color: #fff;
        }

        .btn {
            background: var(--primary); color: #fff; padding: 1rem 2rem; border-radius: 0.75rem; border: none; font-weight: 700; cursor: pointer; transition: var(--transition);
        }
        .btn:hover { box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4); transform: scale(1.05); }

        /* Footer */
        footer { padding: 4rem 0; border-top: 1px solid var(--glass-border); text-align: center; }
        .footer-logo { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 800; display: block; }
        .social-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
        .social-links a { color: var(--text-dim); font-size: 1.25rem; transition: var(--transition); }
        .social-links a:hover { color: var(--primary); }

        
        .contact-layout-enhanced {
            grid-template-columns: 1fr 1.8fr;
            align-items: start;
            padding: 3rem;
            background: var(--bg-card); /* added standard background */
            border-radius: 3rem;
        }
        
        .nav-links {
            /* Enable wrapping on small screens if needed */
            flex-wrap: wrap;
        }

        
        .mobile-menu-btn {
            display: none; background: transparent; border: none; color: #fff; cursor: pointer; z-index: 100;
        }

        @media (max-width: 968px) {
            .hero-grid, .experience-grid, .plugin-list-grid, .testimonial-slider, .contact-layout-enhanced { grid-template-columns: 1fr; }
            .work-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-text { text-align: center; }
            .hero-subtitle { margin: 0 auto 2.5rem; }
            .hero-image-container { margin-top: 4rem; }
            
            .nav-content { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
            .mobile-menu-btn { display: block; }
            .nav-links { 
                position: absolute; top: 100%; left: 0; right: 0; 
                flex-direction: column; background: rgba(15, 23, 42, 0.95); 
                backdrop-filter: blur(20px);
                padding: 2rem; border-bottom: 1px solid var(--glass-border);
                align-items: center; gap: 1.5rem;
                opacity: 0; pointer-events: none; transition: all 0.3s ease;
                transform: translateY(-10px);
            }
            .nav-links.active {
                opacity: 1; pointer-events: auto; transform: translateY(0);
            }

            .process-grid { grid-template-columns: 1fr 1fr; }
            .blog-grid { grid-template-columns: 1fr 1fr; }
            
                        .cursor-dot, .cursor-outline { display: none !important; }
            .stat-bubble-wrapper { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.5rem; padding: 0 1rem; width: 100%; }
            .stat-bubble { position: relative; animation: none; transform: none !important; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 100px; flex: 1; padding: 0.8rem 0.5rem; text-align: center; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; }
            .hero-image-container { display: flex; flex-direction: column; align-items: center; }
            .hero-image-container > div { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; }
        }
        
        @media (max-width: 768px) {
            header { padding-top: 140px; padding-bottom: 60px; min-height: auto; }
            section { padding: 60px 0; }
            .process-grid { grid-template-columns: 1fr; }
            .work-grid { grid-template-columns: 1fr; }
            .blog-grid { grid-template-columns: 1fr; }
            .cta-upgraded h2 { font-size: 2rem; }
            .cta-upgraded { padding: 3rem 1.5rem; }
            .contact-layout-enhanced { padding: 1.5rem; border-radius: 1.5rem; }
            .nav-links { gap: 1rem; font-size: 0.9rem; }
            .awards-bar { gap: 1.5rem; }
            .cta-orb-1, .cta-orb-2 { width: 150px; height: 150px; }
        }

/* Extracted Utility & Component Classes */
.text-left { text-align: left; }
.text-small-dim { color: var(--text-dim); font-size: 0.9rem; }

.work-img-bg { background: linear-gradient(135deg, var(--bg-card), #0f172a); display: flex; align-items: center; justify-content: center; height: 250px; }
.work-img-text { color: var(--text-dim); opacity: 0.5; text-align: center; }
.work-img-text-left { color: var(--text-dim); opacity: 0.5; }
.work-card-title { margin-bottom: 0.5rem; font-size: 1.25rem; }
.work-card-desc { color: var(--text-dim); margin-bottom: 1rem; }
.work-link { color: var(--primary); text-decoration: none; font-weight: 700; }

.content-header-secondary { margin-bottom: 2rem; color: var(--secondary); text-align: center; font-size: 1.5rem; }
.content-header-primary { margin-top: 4rem; margin-bottom: 2rem; color: var(--primary); text-align: center; font-size: 1.5rem; }

.testi-author-name { font-size: 0.9rem; }
.testi-author-role { font-size: 0.75rem; color: var(--text-dim); }
.blog-card-desc { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1rem; }

.badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 5rem; }
.badge-text { margin-left: 0.5rem; }
.badge-icon-pink { color: #d63384; display: flex; }
.badge-icon-purple { color: #a855f7; display: flex; }
.badge-icon-rose { color: #ec4899; display: flex; }
.badge-icon-orange { color: #ea580c; display: flex; }
.badge-icon-magenta { color: #be185d; display: flex; }
.badge-icon-darkpink { color: #9d174d; display: flex; }
.badge-icon-amber { color: #f59e0b; display: flex; }

.contact-portrait { width: 120px; border-radius: 1.5rem; margin-bottom: 1.5rem; border: 3px solid var(--glass-border); }
.contact-pitch-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.contact-pitch-text { color: var(--text-dim); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.6; }
.contact-list { list-style: none; margin-bottom: 2.5rem; padding: 0; }
.contact-list-item { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; color: #fff; }
.contact-btn-wrapper { display: flex; gap: 1rem; align-items: center; }
.btn-outline { background: rgba(255,255,255,0.05); color: #fff; text-decoration: none; border: 1px solid var(--glass-border); text-align: center; }
.calendly-wrapper { background: var(--bg-dark); border-radius: 2rem; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 20px 40px rgba(0,0,0,0.4); margin-top: -1rem; margin-bottom: -1rem; }
.calendly-frame { min-width:320px;height:700px; }
.contact-text-wrap { padding-top: 1rem; }

.gradient-text-inline { background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mb-4 { margin-bottom: 4rem; }

.rel-z2 { position: relative; z-index: 2; }
.bg-primary-tint { background: rgba(79, 70, 229, 0.02); }

.exp-card-expanded { align-items: flex-start; flex-direction: column; gap: 1rem; }
.exp-card-header { display: flex; justify-content: space-between; width: 100%; align-items: center; }
.exp-card-skills { margin-top: 0.5rem; line-height: 1.6; }
