        :root {
            --bg-primary: #030305;
            --bg-surface: #0A0A0F;
            --border: rgba(255, 255, 255, 0.05);
            --primary: #8B5CF6;
            --secondary: #0EA5E9;
            --text-primary: #F8FAFC;
            --text-muted: #A1A1AA;
            --success: #10B981;
        }

        html {
            font-size: 94%; /* Global Zoom Out effect */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Skeleton Shimmering Effect */
        .skeleton-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: var(--bg-primary);
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 2rem;
            transition: opacity 0.5s ease, visibility 0.5s;
        }

        .skeleton-item {
            background: linear-gradient(90deg, #16161D 25%, #1D1D26 50%, #16161D 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite linear;
            border-radius: 0.75rem;
        }

        @keyframes shimmer {
            from { background-position: -200% 0; }
            to { background-position: 200% 0; }
        }

        .skeleton-hide {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        @media (max-width: 640px) {
            .skeleton-loader {
                padding: 1.5rem;
                gap: 1.5rem;
            }
            .skeleton-loader .py-20 {
                padding-top: 5rem;
            }
        }

        /* Lenis handles smooth scrolling, removed native behavior */

        html.lenis {
            height: auto;
        }

        .lenis.lenis-smooth {
            scroll-behavior: auto;
        }

        .lenis.lenis-smooth [data-lenis-prevent] {
            overscroll-behavior: contain;
        }

        .lenis.lenis-stopped {
            overflow: hidden;
        }

        .lenis.lenis-scrolling iframe {
            pointer-events: none;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
            max-width: 100vw;
        }

        html {
            overflow-x: hidden;
            max-width: 100vw;
        }

        * {
            max-width: 100%;
        }

        /* Noise texture background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            opacity: 0.03;
            pointer-events: none;
            z-index: 1000;
        }

        .font-heading { font-family: 'Space Grotesk', sans-serif; }
        .font-mono { font-family: 'JetBrains Mono', monospace; }

        /* Glass effect */
        .glass {
            background: rgba(10, 10, 15, 0.4);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .glass-card {
            background: rgba(10, 10, 15, 0.3);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--border);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .glass-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 24px 48px -12px rgba(139, 92, 246, 0.15);
            border-color: rgba(139, 92, 246, 0.3);
            background: rgba(10, 10, 15, 0.6);
        }

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

        .gradient-border {
            position: relative;
        }

        .gradient-border::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-primary);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--primary), var(--secondary));
            border-radius: 4px;
        }

        /* Phone mockup 3D */
        .phone-mockup {
            width: 280px;
            height: 560px;
            background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
            border-radius: 40px;
            position: relative;
            transform-style: preserve-3d;
            box-shadow:
                0 50px 100px -20px rgba(124, 58, 237, 0.4),
                0 30px 60px -30px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            animation: float 6s ease-in-out infinite;
            max-width: 90vw;
            margin: 0 auto;
        }

        @media (max-width: 640px) {
            .phone-mockup {
                width: 200px;
                height: 400px;
            }
        }

        @keyframes float {
            0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
            50% { transform: rotateY(-10deg) rotateX(8deg) translateY(-20px); }
        }

        @media (max-width: 1024px) {
            .phone-mockup {
                width: 240px;
                height: 480px;
            }
            @keyframes float {
                0%, 100% { transform: rotateY(0deg) rotateX(5deg) translateY(0); }
                50% { transform: rotateY(0deg) rotateX(8deg) translateY(-15px); }
            }
        }

        .phone-mockup::before {
            content: '';
            position: absolute;
            inset: 4px;
            background: var(--bg-surface);
            border-radius: 36px;
        }

        .phone-screen {
            width: 100%;
            height: 100%;
            background: #000;
            border-radius: 32px;
            overflow: hidden;
            position: relative;
        }

        .phone-notch {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 25px;
            background: #000;
            border-bottom-left-radius: 16px;
            border-bottom-right-radius: 16px;
            z-index: 20;
        }

        .app-scroll-track {
            animation: appScroll 15s linear infinite;
        }

        @keyframes appScroll {
            0% { transform: translateY(0); }
            100% { transform: translateY(-50%); }
        }

        /* Floating icons */
        .floating-icon {
            position: absolute;
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            animation: orbit 12s linear infinite;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        @media (max-width: 768px) {
            .floating-icon {
                width: 35px;
                height: 35px;
                font-size: 16px;
            }
        }

        .floating-icon:nth-child(1) {
            --orbit-radius: 200px;
            --orbit-speed: 15s;
            --start-angle: 0deg;
            background: linear-gradient(135deg, #7C3AED, #A78BFA);
            animation-delay: 0s;
        }

        .floating-icon:nth-child(2) {
            --orbit-radius: 200px;
            --orbit-speed: 18s;
            --start-angle: 120deg;
            background: linear-gradient(135deg, #06B6D4, #22D3EE);
            animation-delay: -6s;
        }

        .floating-icon:nth-child(3) {
            --orbit-radius: 200px;
            --orbit-speed: 21s;
            --start-angle: 240deg;
            background: linear-gradient(135deg, #10B981, #34D399);
            animation-delay: -12s;
        }

        .floating-icon:nth-child(4) {
            --orbit-radius: 280px;
            --orbit-speed: 25s;
            animation-delay: -3s;
            background: linear-gradient(135deg, #F59E0B, #FBBF24);
        }

        .floating-icon:nth-child(5) {
            --orbit-radius: 280px;
            --orbit-speed: 30s;
            animation-delay: -15s;
            background: linear-gradient(135deg, #EC4899, #F472B6);
        }

        /* Sparkle icons */
        .sparkle {
            position: absolute;
            width: 40px;
            height: 40px;
            font-size: 24px;
            animation: sparkle 8s linear infinite;
        }

        .sparkle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
        .sparkle:nth-child(2) { top: 30%; right: 15%; animation-delay: 2s; }
        .sparkle:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 4s; }
        .sparkle:nth-child(4) { bottom: 30%; right: 25%; animation-delay: 6s; }

        @keyframes sparkle {
            0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
            50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
        }

        /* Particles canvas */
        #particles-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        /* Scroll indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            opacity: 0.7;
        }

        .mouse-icon {
            width: 24px;
            height: 38px;
            border: 2px solid var(--text-muted);
            border-radius: 12px;
            position: relative;
        }

        .mouse-icon::after {
            content: '';
            position: absolute;
            top: 6px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 8px;
            background: var(--primary);
            border-radius: 2px;
            animation: scroll-wheel 1.5s ease-in-out infinite;
        }

        @keyframes scroll-wheel {
            0%, 100% { top: 6px; opacity: 1; }
            50% { top: 16px; opacity: 0; }
        }

        /* Custom cursor */
        .cursor {
            position: fixed;
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            mix-blend-mode: difference;
            transition: transform 0.15s ease;
        }

        .cursor-dot {
            position: fixed;
            width: 4px;
            height: 4px;
            background: var(--primary);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9998;
        }

        /* Timeline */
        .timeline-line {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: linear-gradient(180deg, var(--primary), var(--secondary));
        }

        @media (max-width: 768px) {
            .timeline-line {
                left: 20px;
            }
        }

        /* Stats counter */
        .stat-card {
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .stat-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .stat-card:hover::after {
            left: 100%;
        }

        .stat-number {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 3rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }

        @media (min-width: 768px) {
            .stat-number {
                font-size: 3.5rem;
            }
        }

        /* Mobile menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100vh;
            background: var(--bg-primary);
            z-index: 999;
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 100px 40px;
        }

        .mobile-menu.active {
            left: 0;
        }

        /* Available badge */
        .available-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 100px;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: var(--success);
            font-size: 0.875rem;
            font-weight: 500;
        }

        .pulse-dot {
            width: 8px;
            height: 8px;
            background: var(--success);
            border-radius: 50%;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
            50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
        }

        /* Page loader */
        .page-loader {
            position: fixed;
            inset: 0;
            background: var(--bg-primary);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }

        .page-loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-spinner {
            width: 50px;
            height: 50px;
            border: 2px solid var(--border);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        /* Link underline animation */
        .link-underline {
            position: relative;
            text-decoration: none;
        }

        .link-underline::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transition: width 0.3s ease;
        }

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

        /* Button styles */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            font-weight: 600;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
        }

        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            background: transparent;
            color: var(--text-primary);
            font-weight: 600;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-ghost:hover {
            border-color: var(--primary);
            background: rgba(124, 58, 237, 0.1);
        }

        /* Skill tags */
        .skill-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: rgba(124, 58, 237, 0.1);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: 100px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.875rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .skill-tag:hover {
            background: rgba(124, 58, 237, 0.2);
            border-color: var(--primary);
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
        }

        /* Flutter logo CSS */
        .flutter-logo {
            width: 200px;
            height: 240px;
            position: relative;
            animation: rotateFlutter 20s linear infinite;
        }

        @keyframes rotateFlutter {
            from { transform: rotateX(0deg) rotateY(0deg); }
            to { transform: rotateX(360deg) rotateY(360deg); }
        }

        /* Section labels */
        .section-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.875rem;
            color: var(--text-muted);
            text-transform: lowercase;
        }

        /* Project cards */
        .project-card {
            position: relative;
            overflow: hidden;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        /* Hide cursor on touch devices */
        @media (pointer: coarse) {
            .cursor, .cursor-dot { display: none; }
        }

        /* Mobile optimizations */
        @media (max-width: 768px) {
            .floating-icon {
                display: none !important;
            }
            
            .sparkle {
                display: none !important;
            }

            section {
                overflow-x: hidden !important;
            }

            .grid {
                width: 100% !important;
            }

            /* Fix phone mockup container */
            .lg\:col-span-2 {
                overflow: hidden !important;
            }

            /* Ensure all text stays within bounds */
            h1, h2, h3, h4, h5, h6, p {
                word-wrap: break-word;
                overflow-wrap: break-word;
            }
        }

        /* Prevent horizontal scroll */
        .container, section, div {
            max-width: 100%;
        }

        img, video, canvas, svg {
            max-width: 100%;
            height: auto;
        }

        /* Fix for transform scale on mobile */
        @media (max-width: 640px) {
            .transform {
                transform: none !important;
            }

            .phone-mockup {
                position: relative;
                left: 0 !important;
                right: 0 !important;
            }
        }


        /* Accessibility - Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            .cursor, .cursor-dot {
                display: none !important;
            }
            
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
    