
        :root {
            --bg-primary: #0f172a;
            --bg-secondary: #020617;
            --bg-card: rgba(15, 23, 42, 0.8);
            --accent-cyan: #06b6d4;
            --accent-blue: #3b82f6;
            --accent-purple: #8b5cf6;
            --accent-indigo: #6366f1;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --text-muted: #475569;
            --border-glass: rgba(148, 163, 184, 0.1);
            --border-glow: rgba(6, 182, 212, 0.3);
            --radius-lg: 16px;
            --radius-xl: 24px;
            --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
            --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* ─── SCROLL PROGRESS ─── */
        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
            z-index: 9999;
            width: 0%;
            transition: width 0.1s linear;
        }

        /* ─── PAGE LOADER ─── */
        #page-loader {
            position: fixed;
            inset: 0;
            background: var(--bg-secondary);
            z-index: 9998;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 20px;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

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

        .loader-logo {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .loader-bar {
            width: 200px;
            height: 2px;
            background: var(--border-glass);
            border-radius: 2px;
            overflow: hidden;
        }

        .loader-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
            border-radius: 2px;
            animation: loadFill 1.2s ease forwards;
        }

        @keyframes loadFill {
            from {
                width: 0%;
            }

            to {
                width: 100%;
            }
        }

        /* ─── TYPOGRAPHY ─── */
        .gradient-text {
            background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ─── NAVBAR ─── */
        #navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 16px 0;
            transition: all var(--transition);
        }

        #navbar.scrolled {
            background: rgba(2, 6, 23, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-glass);
            padding: 12px 0;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        }

        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color var(--transition);
            position: relative;
            letter-spacing: 0.02em;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
            transition: width var(--transition);
        }

        .nav-link:hover {
            color: var(--text-primary);
        }

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

        .nav-link.active {
            color: var(--text-primary);
        }

        /* ─── BUTTONS ─── */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
            color: white;
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.03em;
            border-radius: 10px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all var(--transition);
            box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            opacity: 0;
            transition: opacity var(--transition);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
        }

        .btn-primary:hover::before {
            opacity: 1;
        }

        .btn-primary span,
        .btn-primary svg {
            position: relative;
            z-index: 1;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 27px;
            background: transparent;
            color: var(--text-primary);
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.03em;
            border-radius: 10px;
            text-decoration: none;
            border: 1px solid var(--border-glass);
            cursor: pointer;
            transition: all var(--transition);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: rgba(148, 163, 184, 0.1);
            border-color: rgba(6, 182, 212, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(6, 182, 212, 0.1);
        }

        /* ─── GLASS CARD ─── */
        .glass-card {
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-xl);
            transition: all var(--transition);
        }

        /* ─── SECTION TAG ─── */
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: rgba(6, 182, 212, 0.1);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: 100px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--accent-cyan);
            letter-spacing: 0.05em;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .section-tag-dot {
            width: 6px;
            height: 6px;
            background: var(--accent-cyan);
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(1.5);
            }
        }

        /* ─── GRID BACKGROUND ─── */
        .grid-bg {
            background-image:
                linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
            background-size: 60px 60px;
        }

        /* ─── HERO ─── */
        .hero-glow {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            pointer-events: none;
        }

        .hero-glow-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
            top: -200px;
            right: -100px;
        }

        .hero-glow-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
            bottom: 0;
            left: -100px;
        }

        .noise-overlay {
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
            pointer-events: none;
        }

        /* ─── FILTER TABS ─── */
        .filter-btn {
            padding: 9px 22px;
            border-radius: 10px;
            border: 1px solid var(--border-glass);
            background: transparent;
            color: var(--text-secondary);
            font-family: var(--font-body);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
            border-color: var(--accent-cyan);
            color: var(--text-primary);
        }

        .filter-btn.active {
            box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
        }

        /* ─── PORTFOLIO GRID ─── */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
        }

        .portfolio-card {
            border-radius: var(--radius-xl);
            overflow: hidden;
            position: relative;
            cursor: pointer;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid var(--border-glass);
            transition: all var(--transition);
        }

        .portfolio-card:hover {
            border-color: rgba(6, 182, 212, 0.3);
            transform: translateY(-8px);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.1);
        }

        .portfolio-card.featured {
            grid-column: span 2;
        }

        @media (max-width: 1024px) {
            .portfolio-card.featured {
                grid-column: span 1;
            }
        }

        .portfolio-img-wrap {
            position: relative;
            overflow: hidden;
        }

        .portfolio-card.featured .portfolio-img-wrap {
            height: 340px;
        }

        .portfolio-img-wrap {
            height: 240px;
        }

        .portfolio-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .portfolio-card:hover .portfolio-img-wrap img {
            transform: scale(1.08);
        }

        .portfolio-img-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.88), rgba(99, 102, 241, 0.88));
            opacity: 0;
            transition: opacity 0.35s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }

        .portfolio-card:hover .portfolio-img-overlay {
            opacity: 1;
        }

        .overlay-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all var(--transition);
            color: white;
            text-decoration: none;
        }

        .overlay-btn:hover {
            background: rgba(255, 255, 255, 0.35);
            transform: scale(1.1);
        }

        .portfolio-body {
            padding: 24px;
        }

        .portfolio-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 14px;
        }

        .portfolio-tag {
            font-size: 0.72rem;
            padding: 4px 10px;
            border-radius: 6px;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .tag-web {
            background: rgba(6, 182, 212, 0.12);
            border: 1px solid rgba(6, 182, 212, 0.25);
            color: #06b6d4;
        }

        .tag-mobile {
            background: rgba(139, 92, 246, 0.12);
            border: 1px solid rgba(139, 92, 246, 0.25);
            color: #8b5cf6;
        }

        .tag-cyber {
            background: rgba(239, 68, 68, 0.12);
            border: 1px solid rgba(239, 68, 68, 0.25);
            color: #ef4444;
        }

        .tag-cloud {
            background: rgba(34, 197, 94, 0.12);
            border: 1px solid rgba(34, 197, 94, 0.25);
            color: #22c55e;
        }

        .tag-uiux {
            background: rgba(245, 158, 11, 0.12);
            border: 1px solid rgba(245, 158, 11, 0.25);
            color: #f59e0b;
        }

        .tag-seo {
            background: rgba(99, 102, 241, 0.12);
            border: 1px solid rgba(99, 102, 241, 0.25);
            color: #6366f1;
        }

        .portfolio-title {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text-primary);
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .portfolio-desc {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .portfolio-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding-top: 16px;
            border-top: 1px solid var(--border-glass);
        }

        .stack-pill {
            font-size: 0.75rem;
            padding: 3px 10px;
            border-radius: 5px;
            background: rgba(148, 163, 184, 0.08);
            border: 1px solid var(--border-glass);
            color: var(--text-muted);
            font-weight: 500;
        }

        .portfolio-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .portfolio-result {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            color: #22c55e;
            font-weight: 600;
        }

        .portfolio-result svg {
            flex-shrink: 0;
        }

        /* ─── STATS BAND ─── */
        .stats-band {
            padding: 20px 40px;
        }

        /* ─── MODAL ─── */
        #modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.85);
            backdrop-filter: blur(16px);
            z-index: 5000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        #modal-overlay.open {
            opacity: 1;
            visibility: visible;
        }

        #modal-box {
            background: #0f172a;
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: 24px;
            max-width: 780px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            transform: scale(0.92) translateY(20px);
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(6, 182, 212, 0.1);
        }

        #modal-overlay.open #modal-box {
            transform: scale(1) translateY(0);
        }

        #modal-box::-webkit-scrollbar {
            width: 4px;
        }

        #modal-box::-webkit-scrollbar-track {
            background: transparent;
        }

        #modal-box::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
            border-radius: 2px;
        }

        .modal-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 22px 22px 0 0;
        }

        .modal-body {
            padding: 32px;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(15, 23, 42, 0.9);
            border: 1px solid var(--border-glass);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all var(--transition);
            color: var(--text-secondary);
        }

        .modal-close:hover {
            background: rgba(239, 68, 68, 0.2);
            border-color: rgba(239, 68, 68, 0.4);
            color: #ef4444;
        }

        #modal-box {
            position: relative;
        }

        /* ─── FOOTER ─── */
        .footer-link {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color var(--transition);
        }

        .footer-link:hover {
            color: var(--accent-cyan);
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(148, 163, 184, 0.08);
            border: 1px solid var(--border-glass);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: all var(--transition);
            text-decoration: none;
        }

        .social-icon:hover {
            background: rgba(6, 182, 212, 0.15);
            border-color: rgba(6, 182, 212, 0.3);
            color: var(--accent-cyan);
            transform: translateY(-3px);
        }

        /* ─── BACK TO TOP ─── */
        #back-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(20px);
            transition: all var(--transition);
            z-index: 999;
            border: none;
            box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
        }

        #back-to-top.visible {
            opacity: 1;
            transform: translateY(0);
        }

        #back-to-top:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
        }

        /* ─── MOBILE NAV ─── */
        #mobile-menu {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.98);
            backdrop-filter: blur(20px);
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 32px;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #mobile-menu.open {
            transform: translateX(0);
        }

        .mobile-nav-link {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all var(--transition);
        }

        .mobile-nav-link:hover {
            color: var(--accent-cyan);
        }

        /* ─── ANIMATIONS ─── */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-left {
            opacity: 0;
            transform: translateX(-40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal-left.revealed {
            opacity: 1;
            transform: translateX(0);
        }

        .reveal-right {
            opacity: 0;
            transform: translateX(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal-right.revealed {
            opacity: 1;
            transform: translateX(0);
        }

        .delay-1 {
            transition-delay: 0.1s;
        }

        .delay-2 {
            transition-delay: 0.2s;
        }

        .delay-3 {
            transition-delay: 0.3s;
        }

        .delay-4 {
            transition-delay: 0.4s;
        }

        .delay-5 {
            transition-delay: 0.5s;
        }

        /* ─── HIDE/SHOW CARDS ─── */
        .portfolio-card[data-hidden="true"] {
            display: none;
        }

        /* ─── TESTIMONIAL ─── */
        .testimonial-card {
            padding: 32px;
            border-radius: var(--radius-xl);
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid var(--border-glass);
            transition: all var(--transition);
        }

        .testimonial-card:hover {
            border-color: rgba(6, 182, 212, 0.2);
            transform: translateY(-4px);
            box-shadow: var(--shadow-glow);
        }

        .stars {
            color: #f59e0b;
        }

        ::-webkit-scrollbar {
            width: 6px;
        }

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

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
            border-radius: 3px;
        }

        @media (max-width: 768px) {

            .hero-glow-1,
            .hero-glow-2 {
                display: none;
            }

            .stats-band {
                padding: 20px 16px;
            }
        }
