        :root {
            --bg: #F8F8F6;
            --bg-alt: #FFFFFF;
            --text-primary: #101010;
            --text-secondary: #707070;
            --accent: #FF5A1F;
            --accent-hover: #E84D15;
            --card-bg: #FFFFFF;
            --border: rgba(0,0,0,0.08);
            --hover: #111111;
            --shadow: 0 1px 3px rgba(0,0,0,0.04);
            --shadow-lg: 0 20px 60px rgba(0,0,0,0.06);
            --radius: 12px;
            --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-display: 'Manrope', 'Inter', sans-serif;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        [data-theme="dark"] {
            --bg: #0A0A0A;
            --bg-alt: #111111;
            --text-primary: #F0F0F0;
            --text-secondary: #999999;
            --card-bg: #1A1A1A;
            --border: rgba(255,255,255,0.08);
            --hover: #FFFFFF;
            --shadow: 0 1px 3px rgba(0,0,0,0.2);
            --shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
        body { font-family: var(--font-primary); background: var(--bg); color: var(--text-primary); font-size: 18px; line-height: 1.6; overflow-x: hidden; transition: background var(--transition), color var(--transition); }

        /* LOADER */
        .loader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px; transition: opacity 0.6s, visibility 0.6s; }
        .loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
        .loader-text { font-family: var(--font-display); font-size: clamp(24px, 5vw, 48px); font-weight: 800; letter-spacing: -1px; overflow: hidden; }
        .loader-text span { display: inline-block; transform: translateY(100%); animation: slideUp 0.6s forwards; }
        .loader-text span:nth-child(1) { animation-delay: 0.1s; }
        .loader-text span:nth-child(2) { animation-delay: 0.15s; }
        .loader-text span:nth-child(3) { animation-delay: 0.2s; }
        .loader-text span:nth-child(4) { animation-delay: 0.25s; }
        .loader-text span:nth-child(5) { animation-delay: 0.3s; }
        .loader-text span:nth-child(6) { animation-delay: 0.35s; }
        .loader-text span:nth-child(7) { animation-delay: 0.4s; }
        .loader-text span:nth-child(8) { animation-delay: 0.45s; }
        .loader-text span:nth-child(9) { animation-delay: 0.5s; }
        .loader-text span:nth-child(10) { animation-delay: 0.55s; }
        .loader-text span:nth-child(11) { animation-delay: 0.6s; }
        .loader-bar { width: 200px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
        .loader-bar::after { content: ''; display: block; width: 0%; height: 100%; background: var(--accent); animation: loadBar 2s forwards cubic-bezier(0.4, 0, 0.2, 1); }
        @keyframes slideUp { to { transform: translateY(0); } }
        @keyframes loadBar { to { width: 100%; } }

        /* NAV - FLOATING PILL */
        :root {
            --pill-glass: rgba(255, 255, 255, 0.35);
            --pill-glass-border: rgba(255, 255, 255, 0.55);
            --pill-glass-hover: rgba(255, 255, 255, 0.25);
            --pill-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
            --pill-shadow-hover: 0 20px 50px -12px rgba(255, 90, 31, 0.35);
        }
        [data-theme="dark"] {
            --pill-glass: rgba(20, 20, 20, 0.45);
            --pill-glass-border: rgba(255, 255, 255, 0.12);
            --pill-glass-hover: rgba(255, 255, 255, 0.06);
            --pill-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        }
        .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 12px 12px; transition: padding 0.3s ease; background: transparent; border: none; backdrop-filter: none; -webkit-backdrop-filter: none; display: block; }
        @media (min-width: 640px) { .nav { padding: 16px 24px; } }
        .nav.scrolled { padding-top: 6px; }
        .pill { position: relative; max-width: 1152px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 9999px; border: 1px solid var(--pill-glass-border); background: var(--pill-glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--pill-shadow), inset 0 1px 0 var(--pill-glass-hover); transition: all 0.5s cubic-bezier(0.4,0,0.2,1); }
        @media (min-width: 640px) { .pill { gap: 16px; padding: 8px 12px; } }
        .pill:hover { transform: translateY(-2px); box-shadow: var(--pill-shadow-hover), inset 0 1px 0 var(--pill-glass-hover); }
        .pill-logo { position: relative; z-index: 10; display: flex; align-items: center; gap: 8px; padding-left: 6px; text-decoration: none; min-width: 0; }
        .pill-logo-mark { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 700; transition: transform 0.3s ease; flex-shrink: 0; }
        @media (min-width: 640px) { .pill-logo-mark { width: 32px; height: 32px; } }
        .pill:hover .pill-logo-mark { transform: rotate(-8deg); }
        .pill-logo-text { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        @media (min-width: 640px) { .pill-logo-text { font-size: 15px; } }
        .pill-nav { position: relative; z-index: 10; display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
        @media (min-width: 900px) { .pill-nav { display: flex; } }
        .pill-nav a { position: relative; padding: 6px 14px; border-radius: 9999px; font-size: 13px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; }
        .pill-nav a:hover { color: var(--text-primary); transform: translateY(-2px); }
        .pill-nav a::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 0; height: 1px; background: var(--accent); transition: width 0.3s ease; }
        .pill-nav a:hover::after { width: 16px; }
        .pill-actions { position: relative; z-index: 10; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
        .theme-toggle { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pill-glass-border); background: var(--pill-glass-hover); color: var(--text-primary); cursor: pointer; transition: all 0.3s ease; padding: 0; }
        @media (min-width: 640px) { .theme-toggle { width: 36px; height: 36px; } }
        .theme-toggle:hover { transform: rotate(12deg); border-color: var(--pill-glass-border); color: var(--text-primary); }
        .theme-toggle svg { width: 15px; height: 15px; }
        .nav-cta { display: none; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 9999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; white-space: nowrap; }
        @media (min-width: 480px) { .nav-cta { display: inline-flex; } }
        .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -8px rgba(255,90,31,0.6); background: var(--accent); }
        .nav-cta-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: transform 0.3s ease; }
        .nav-cta:hover .nav-cta-icon { transform: rotate(45deg); }
        .nav-cta-icon svg { width: 11px; height: 11px; }
        .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pill-glass-border); background: var(--pill-glass-hover); color: var(--text-primary); cursor: pointer; transition: all 0.3s ease; padding: 0; }
        @media (min-width: 640px) { .nav-mobile-toggle { width: 36px; height: 36px; } }
        @media (min-width: 900px) { .nav-mobile-toggle { display: none; } }
        .nav-mobile-toggle svg { width: 18px; height: 18px; }
        .mobile-menu { position: absolute; top: calc(100% + 12px); left: 12px; right: 12px; max-height: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--pill-glass-border); background: var(--pill-glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--pill-shadow); opacity: 0; transform: translateY(-8px); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); z-index: 999; }
        @media (min-width: 900px) { .mobile-menu { display: none; } }
        .mobile-menu.open { max-height: 500px; opacity: 1; transform: translateY(0); padding: 16px; }
        .mobile-menu a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text-primary); text-decoration: none; transition: background 0.2s ease; }
        .mobile-menu a:hover { background: var(--pill-glass-hover); }
        .mobile-menu .mobile-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 12px; border-radius: 9999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }

        /* HERO */
        .hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 48px 80px; position: relative; overflow: hidden; }
        .hero-bg { position: absolute; inset: 0; z-index: 0; }
        #hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }
        /* SIDE RAYS - Dark Mode Only */
        .side-rays-container { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: hidden; display: none; }
        [data-theme="dark"] .side-rays-container { display: block; }
        [data-theme="dark"] #hero-canvas { opacity: 0.15; }
        .side-rays-container canvas { width: 100% !important; height: 100% !important; display: block; }
        .hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
        .hero-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 32px; text-transform: uppercase; letter-spacing: 1px; }
        .hero-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: pulse 2s infinite; }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
        .hero-heading { font-family: var(--font-display); font-size: clamp(48px, 8vw, 110px); font-weight: 800; line-height: 1.3; letter-spacing: -3px; margin-bottom: 32px; }
        .hero-heading .line { display: block; overflow: hidden; }
        .hero-heading .line span { display: inline-block; }
        .hero-heading .accent { color: var(--accent); }
        .hero-description { font-size: clamp(16px, 1.5vw, 20px); color: var(--text-secondary); max-width: 600px; line-height: 1.7; margin-bottom: 48px; }
        .hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .btn-primary { padding: 16px 36px; background: var(--accent); color: #000; font-size: 15px; font-weight: 600; border-radius: 100px; text-decoration: none; border: none; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
        .btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,90,31,0.2); }
        .btn-secondary { padding: 16px 36px; background: transparent; color: var(--text-primary); font-size: 15px; font-weight: 600; border-radius: 100px; text-decoration: none; border: 1px solid var(--border); cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
        .btn-secondary:hover { border-color: var(--text-primary); transform: translateY(-2px); }
        .hero-stats { display: flex; gap: 48px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--border); }
        .hero-stat-number { font-family: var(--font-display); font-size: 42px; font-weight: 800; letter-spacing: -1px; }
        .hero-stat-label { font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
        .scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; animation: float 3s ease-in-out infinite; }
        .scroll-indicator svg { width: 20px; height: 20px; }
        @keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

        /* TRUST STRIP */
        .trust-strip { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
        .trust-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); margin-bottom: 24px; }
        .marquee-wrapper { overflow: hidden; }
        .marquee { display: flex; animation: marquee 30s linear infinite; width: max-content; }
        .marquee-item { padding: 0 48px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; opacity: 0.6; transition: opacity var(--transition); }
        .marquee-item:hover { opacity: 1; }
        @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

        /* SECTIONS */
        .section { padding: 120px 48px; max-width: 1400px; margin: 0 auto; }
        .section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
        .section-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; }
        .section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }
        .section-header { margin-bottom: 64px; }

        /* ABOUT */
        .about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .about-text p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.8; }
        .about-text p:first-of-type { font-size: 22px; color: var(--text-primary); font-weight: 500; line-height: 1.6; }
        .about-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
        .counter-card { padding: 32px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); }
        .counter-number { font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: -1px; }
        .counter-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }
        .about-visual { position: relative; }
        .about-image-wrapper { width: 100%; aspect-ratio: 4/5; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
        .about-image-placeholder { font-family: var(--font-display); font-size: 120px; font-weight: 900; opacity: 0.05; user-select: none; }
        [data-theme="dark"] .about-image-wrapper { background: transparent; border: none; overflow: visible; }
        [data-theme="dark"] .about-image-placeholder { display: none; }

        /* PROFILE CARD IN ABOUT (DARK MODE) */
        .pc-card-wrapper-about { display: none; perspective: 600px; transform: translate3d(0,0,0.1px); position: relative; touch-action: none; width: 100%; height: 100%; }
        [data-theme="dark"] .pc-card-wrapper-about { display: flex; align-items: center; justify-content: center; }
        [data-theme="dark"] .about-image-wrapper { display: flex; align-items: center; justify-content: center; aspect-ratio: 3/4; min-height: 500px; }

        .pc-card-wrapper-about .pc-behind-about { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(125,190,255,0.67) 0%, transparent 50%); filter: blur(50px) saturate(1.1); opacity: calc(0.8 * var(--card-opacity)); transition: opacity 200ms ease; }
        .pc-card-wrapper-about:hover { --card-opacity: 1; }
        .pc-card-wrapper-about .pc-card-shell-about { position: relative; z-index: 1; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

        .pc-card-about { height: 90%; min-height: 420px; max-height: 700px; display: grid; aspect-ratio: 0.718; border-radius: 30px; position: relative; box-shadow: rgba(0,0,0,0.8) 0px 6px 20px -5px; transition: transform 1s ease; transform: translateZ(0) rotateX(0deg) rotateY(0deg); background: rgba(0,0,0,0.9); backface-visibility: hidden; overflow: hidden; }
        .pc-card-about:hover { transition: none; transform: translateZ(0) rotateX(var(--pc-rotate-y)) rotateY(var(--pc-rotate-x)); }
        .pc-card-about * { display: grid; grid-area: 1/-1; border-radius: 30px; pointer-events: none; }

        .pc-inside-about { inset: 0; position: absolute; background-image: linear-gradient(145deg,#60496e8c 0%,#71C4FF44 100%); background-color: rgba(0,0,0,0.9); transform: none; }

        .pc-shine-about { transform: translate3d(0,0,1px); overflow: hidden; z-index: 3; background: transparent; mix-blend-mode: color-dodge; opacity: 0; transition: filter 0.8s ease, opacity 0.5s ease; filter: brightness(0.66) contrast(1.33) saturate(0.33) opacity(0.5); }
        .pc-card-about:hover .pc-shine-about { opacity: 1; filter: brightness(0.85) contrast(1.5) saturate(0.5); }

        .pc-glare-about { transform: translate3d(0,0,1.1px); overflow: hidden; background-image: radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y), hsl(248,25%,80%) 12%, hsla(207,40%,30%,0.8) 90%); mix-blend-mode: overlay; filter: brightness(0.8) contrast(1.2); z-index: 4; opacity: 0; transition: opacity 0.5s ease; }
        .pc-card-about:hover .pc-glare-about { opacity: 1; }

        .pc-avatar-content-about { overflow: visible; transform: translateZ(2px); backface-visibility: hidden; transition: mix-blend-mode 0.3s ease; align-self: end; justify-self: center; width: 92%; height: 78%; border-radius: 0 0 30px 30px; }
        .pc-card-about:hover .pc-avatar-content-about { mix-blend-mode: luminosity; }

        .pc-user-info-about { position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2; display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.2); backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 14px 18px; pointer-events: auto; }
        .pc-user-details-about { display: flex; align-items: center; gap: 12px; }
        .pc-mini-avatar-about { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; background: rgba(255,255,255,0.05); }
        .pc-user-text-about { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; }
        .pc-handle-about { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.9); line-height: 1; }
        .pc-status-about { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1; }
        .pc-contact-btn-about { border: 1px solid rgba(255,255,255,0.1); background: transparent; border-radius: 8px; padding: 12px 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); cursor: pointer; transition: all 0.2s ease; backdrop-filter: blur(10px); }
        .pc-contact-btn-about:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }

        /* PROFILE IMAGE ADDITIONS */
        .about-profile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 1; }
        [data-theme="dark"] .about-profile-img { display: none; }
        .pc-avatar-content-about img.pc-avatar-img-about { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; border-radius: 0 0 28px 28px; display: block; mix-blend-mode: screen; opacity: 0.95; filter: contrast(1.05) brightness(1.05); transition: mix-blend-mode 0.3s ease, opacity 0.3s ease; }
        .pc-card-about:hover .pc-avatar-content-about img.pc-avatar-img-about { mix-blend-mode: luminosity; opacity: 1; }
        .pc-mini-avatar-about img { width: 100%; height: 100%; object-fit: cover; display: block; }


        .pc-content-about { max-height: 100%; overflow: hidden; text-align: center; position: relative; z-index: 5; mix-blend-mode: luminosity; }
        .pc-details-about { width: 100%; position: absolute; top: 2.5em; display: flex; flex-direction: column; }
        .pc-details-about h3 { font-weight: 600; margin: 0; font-size: clamp(1.8em, 4vw, 2.8em); background-image: linear-gradient(to bottom, #fff, #6f6fbe); background-size: 1em 1.5em; -webkit-text-fill-color: transparent; background-clip: text; -webkit-background-clip: text; }
        .pc-details-about p { font-weight: 600; position: relative; top: -8px; white-space: nowrap; font-size: clamp(13px, 1.5vw, 16px); margin: 0 auto; width: min-content; background-image: linear-gradient(to bottom, #fff, #4a4ac0); background-size: 1em 1.5em; -webkit-text-fill-color: transparent; background-clip: text; -webkit-background-clip: text; }

        /* SERVICES */
        .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .service-card { padding: 40px 32px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); cursor: default; position: relative; overflow: hidden; }
        .service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
        .service-card:hover::before { transform: scaleX(1); }
        .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
        .service-number { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 1px; margin-bottom: 20px; }
        .service-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
        .service-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
        .service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
        .service-tag { padding: 4px 12px; background: var(--bg); border-radius: 100px; font-size: 12px; color: var(--text-secondary); font-weight: 500; }
        [data-theme="dark"] .service-tag { background: var(--bg-alt); }

        /* PROJECTS */

        /* TIMELINE */
        .timeline { position: relative; padding-left: 60px; }
        .timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border); }
        .timeline-item { position: relative; margin-bottom: 64px; padding: 32px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
        .timeline-item:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
        .timeline-item::before { content: ''; position: absolute; left: -48px; top: 40px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
        .timeline-date { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
        .timeline-role { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 4px; }
        .timeline-company { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; }
        .timeline-details { list-style: none; padding: 0; }
        .timeline-details li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; padding-left: 16px; position: relative; margin-bottom: 8px; }
        .timeline-details li::before { content: '\25B8'; position: absolute; left: 0; color: var(--accent); }
        .timeline-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

        /* SKILLS */
        .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
        .skill-category { padding: 32px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
        .skill-category:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .skill-category-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
        .skill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
        .skill-chip { padding: 8px 16px; background: var(--bg); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: all var(--transition); border: 1px solid transparent; }
        [data-theme="dark"] .skill-chip { background: var(--bg-alt); }
        .skill-chip:hover { color: var(--accent); border-color: var(--accent); }

        /* WORKFLOW */
        .workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: workflow; }
        .workflow-step { padding: 20px 20px 18px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); position: relative; counter-increment: workflow; transition: all var(--transition); }
        .workflow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .workflow-step::before { content: counter(workflow, decimal-leading-zero); font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--border); line-height: 1; margin-bottom: 8px; display: block; }
        [data-theme="dark"] .workflow-step::before { color: rgba(255,255,255,0.06); }
        .workflow-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
        .workflow-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

        /* WHY ME */
        .why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
        .why-card { padding: 32px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); display: flex; gap: 16px; transition: all var(--transition); }
        .why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
        .why-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 20px; }
        [data-theme="dark"] .why-icon { background: var(--bg-alt); }
        .why-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
        .why-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

        /* TESTIMONIALS */
        .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .testimonial-card { padding: 32px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
        .testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .testimonial-icon { font-size: 32px; margin-bottom: 16px; opacity: 0.6; }
        .testimonial-text { font-size: 16px; line-height: 1.7; margin-bottom: 16px; font-style: italic; color: var(--text-secondary); }
        .testimonial-author { font-size: 14px; font-weight: 600; }
        .testimonial-role { font-size: 12px; color: var(--text-secondary); }

        /* FAQ */
        .faq-list { max-width: 800px; }
        .faq-item { border-bottom: 1px solid var(--border); }
        .faq-question { width: 100%; padding: 24px 0; background: transparent; border: none; text-align: left; font-size: 17px; font-weight: 600; font-family: var(--font-primary); color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color var(--transition); }
        .faq-question:hover { color: var(--accent); }
        .faq-icon { min-width: 20px; width: 20px; height: 20px; transition: transform var(--transition); }
        .faq-item.active .faq-icon { transform: rotate(45deg); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
        .faq-answer-inner { padding-bottom: 24px; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
        .faq-item.active .faq-answer { max-height: 300px; }

        /* CTA */
        .cta-section { padding: 160px 48px; text-align: center; position: relative; overflow: hidden; }
        .cta-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: clamp(80px, 15vw, 200px); font-weight: 900; color: var(--text-primary); opacity: 0.03; white-space: nowrap; pointer-events: none; }
        .cta-title { font-family: var(--font-display); font-size: clamp(48px, 8vw, 100px); font-weight: 900; letter-spacing: -3px; line-height: 1.0; margin-bottom: 24px; position: relative; }
        .cta-subtitle { font-size: 20px; color: var(--text-secondary); margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto; }
        .cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
        .cta-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
        .cta-link { font-size: 15px; color: var(--text-secondary); text-decoration: none; transition: color var(--transition); display: flex; align-items: center; gap: 8px; }
        .cta-link:hover { color: var(--accent); }

        /* FOOTER */
        .footer { padding: 40px 48px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
        .footer-left { font-size: 14px; color: var(--text-secondary); }
        .footer-right { display: flex; gap: 24px; }
        .footer-right a { font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color var(--transition); }
        .footer-right a:hover { color: var(--accent); }

        /* CURSOR */
        .cursor-follower { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent); position: fixed; pointer-events: none; z-index: 9999; transition: width 0.3s, height 0.3s; transform: translate(-50%, -50%); opacity: 0; }
        .cursor-follower.visible { opacity: 1; }
        .cursor-follower.hover { width: 50px; height: 50px; opacity: 0.5; }

        /* RESPONSIVE */
        @media (max-width: 1024px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .about { grid-template-columns: 1fr; gap: 48px; }
            .why-grid { grid-template-columns: 1fr; }
            .testimonials-grid { grid-template-columns: 1fr; }
            .workflow-grid { grid-template-columns: repeat(2, 1fr); }
            [data-theme="dark"] .about-image-wrapper { min-height: 450px; }
            .pc-card-about { min-height: 380px; max-height: 520px; }
        }
        @media (max-width: 768px) {
            .hero { padding: 120px 24px 60px; }
            .hero-stats { flex-direction: column; gap: 24px; }
#hero-stats-div{
        display: grid;
        grid-template-columns: repeat(2, 0.5fr); }
            .section { padding: 80px 24px; }
            .services-grid { grid-template-columns: 1fr; }
            .hero-ctas { flex-direction: column; align-items: flex-start; }
            .cta-section { padding: 100px 24px; }
            .footer { flex-direction: column; gap: 16px; text-align: center; padding: 40px 24px; }
            .workflow-grid { grid-template-columns: 1fr; }
            .about-counters { grid-template-columns: 1fr; }
#about-counter-mob { display: none; }
            .counter-card{ display: none; }
            .cursor-follower { display: none; }
            .scroll-indicator { display: none; }
            .cta-links { flex-direction: column; align-items: center; }
            [data-theme="dark"] .about-image-wrapper { min-height: 400px; aspect-ratio: 3/4; }
            .pc-card-about { min-height: 340px; max-height: 450px; border-radius: 24px; }
            .pc-card-about * { border-radius: 24px; }
            .pc-user-info-about { bottom: 14px; left: 14px; right: 14px; padding: 10px 12px; border-radius: 12px; }
            .pc-mini-avatar-about { width: 36px; height: 36px; }
            .pc-handle-about { font-size: 13px; }
            .pc-status-about { font-size: 11px; }
            .pc-contact-btn-about { padding: 8px 14px; font-size: 11px; }
            .pc-details-about { top: 1.8em; }
            .pc-details-about h3 { font-size: 1.6em; }
            .pc-details-about p { font-size: 12px; top: -6px; }
        }
        @media (max-width: 480px) {
            [data-theme="dark"] .about-image-wrapper { min-height: 350px; }
            .pc-card-about { min-height: 300px; max-height: 380px; border-radius: 20px; }
            .pc-card-about * { border-radius: 20px; }
            .pc-user-info-about { bottom: 12px; left: 12px; right: 12px; padding: 8px 10px; border-radius: 10px; }
            .pc-mini-avatar-about { width: 30px; height: 30px; }
            .pc-user-details-about { gap: 8px; }
            .pc-handle-about { font-size: 12px; }
            .pc-status-about { font-size: 10px; }
            .pc-contact-btn-about { padding: 6px 12px; font-size: 10px; border-radius: 50px; }
            .pc-details-about { top: 1.5em; }
            .pc-details-about h3 { font-size: 1.4em; }
            .pc-details-about p { font-size: 11px; top: -5px; }
        }

        /* REVEAL ANIMATIONS */
        .reveal { opacity: 0; transform: translateY(40px); }
        .reveal.active { opacity: 1; transform: translateY(0); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
    
        /* PERF: mobile tap + smoothing */
        html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
        img, svg, video, canvas { max-width: 100%; height: auto; }
        img { content-visibility: auto; }
        /* PERF: skip rendering work for offscreen sections */
        section, .section, .trust-strip, .footer { content-visibility: auto; contain-intrinsic-size: 1px 800px; }
        /* Respect reduced-motion preferences */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
        }
        /* Safe-area padding for notched devices */
        @supports (padding: env(safe-area-inset-left)) {
            .nav { padding-left: max(48px, env(safe-area-inset-left)); padding-right: max(48px, env(safe-area-inset-right)); }
            .footer { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); padding-bottom: max(0px, env(safe-area-inset-bottom)); }
        }
        /* ═══ PROJECTS — SWIPE STACK ═══ */
        .projects-section { padding: 120px 0; }
        .projects-header { padding: 0 48px; max-width: 1400px; margin: 0 auto 48px; }
        .stack-shell { max-width: 1400px; margin: 0 auto; padding: 0 48px; min-width: 0; }
        .stack-tabs { display: flex; gap: 8px; padding: 8px; border: 1px solid var(--border); background: var(--card-bg); border-radius: 999px; box-shadow: var(--shadow); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 100%; }
        .stack-tabs::-webkit-scrollbar { display: none; }
        .stack-tab { position: relative; z-index: 0; padding: 11px 18px; border: 0; background: transparent; color: var(--text-secondary); font: 600 13px/1 var(--font-primary); border-radius: 999px; cursor: pointer; letter-spacing: 0.2px; white-space: nowrap; transition: color var(--transition); }
        .stack-tab:hover { color: var(--text-primary); }
        .stack-tab.active { color: #fff; }
        .stack-tab .stack-pill { position: absolute; inset: 0; background: var(--accent); border-radius: 999px; z-index: -1; box-shadow: 0 8px 24px -8px rgba(255,90,31,0.5); }

        .stack-stage { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 48px; align-items: stretch; margin-top: 40px; }
        .stack-cards { position: relative; height: 440px; perspective: 1400px; min-width: 0; }
        .stack-card { position: absolute; inset: 0; background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; transition: transform var(--transition-slow), opacity var(--transition-slow), filter var(--transition-slow); will-change: transform, opacity; touch-action: pan-y; }
        .stack-card.dragging { transition: none; }
        .stack-card[data-pos="0"] { transform: translate3d(0,0,0) scale(1); z-index: 3; opacity: 1; filter: blur(0); }
        .stack-card[data-pos="1"] { transform: translate3d(0,24px,0) scale(0.94) rotate(-1.5deg); z-index: 2; opacity: 0.85; filter: blur(0.5px); }
        .stack-card[data-pos="2"] { transform: translate3d(0,48px,0) scale(0.88) rotate(1.5deg); z-index: 1; opacity: 0.55; filter: blur(1.5px); }
        .stack-card[data-pos="out"] { transform: translate3d(-140%,-40px,0) rotate(-18deg); opacity: 0; z-index: 4; pointer-events: none; }
        .stack-frame { position: relative; height: 100%; display: flex; flex-direction: column; }
        .stack-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
        .stack-chrome .browser-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
        .stack-url { margin-left: 10px; font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .stack-canvas { position: relative; flex: 1; overflow: hidden; background: var(--bg); }
        .stack-scroller { position: absolute; inset: 0; overflow: hidden; background: #fff; }
        .stack-canvas .project-preview-img { position: absolute; top: 0; left: 0; width: auto; height: auto; max-width: none; transform-origin: 0 0; will-change: transform; opacity: 0; transition: opacity 0.4s ease; }
        .stack-canvas .project-preview-img.is-loaded { opacity: 1; }
        .stack-canvas.is-empty .stack-scroller { display: none; }
        .stack-placeholder { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; text-align: center; padding: 24px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary); background: linear-gradient(135deg, var(--bg) 0%, var(--card-bg) 55%, rgba(255,90,31,0.10) 100%); }
        .stack-canvas.is-empty .stack-placeholder { display: flex; }
        .stack-hint { position: absolute; right: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: var(--card-bg); border: 1px solid var(--border); font-size: 11px; color: var(--text-secondary); letter-spacing: 0.4px; text-transform: uppercase; pointer-events: none; }
        @media (hover: none) { .stack-hint { display: none; } }

        .stack-info { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
        .stack-info .stack-cat { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
        .stack-info h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; margin-bottom: 14px; overflow-wrap: anywhere; }
        .stack-info p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
        .stack-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
        .stack-meta small { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 4px; }
        .stack-meta b { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
        .stack-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
        .stack-fade { animation: stackFade 0.5s cubic-bezier(0.4,0,0.2,1); }
        @keyframes stackFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

        .stack-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; }
        .stack-navbtns { display: flex; gap: 8px; }
        .stack-iconb { width: 44px; height: 44px; border-radius: 50%; background: var(--card-bg); border: 1px solid var(--border); color: var(--text-primary); display: grid; place-items: center; cursor: pointer; transition: all var(--transition); }
        .stack-iconb:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
        .stack-progress { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
        .stack-progress span { width: 22px; height: 3px; border-radius: 3px; background: var(--border); transition: all var(--transition); }
        .stack-progress span.on { background: var(--accent); width: 36px; }

        @media (max-width: 1024px) {
            .stack-stage { grid-template-columns: 1fr; gap: 32px; }
            .stack-cards { height: 520px; }
        }
        @media (max-width: 768px) {
            .projects-header { padding: 0 24px; }
            .stack-shell { padding: 0 24px; }
            .stack-cards { height: 440px; }
            .stack-controls { margin-top: 24px; flex-wrap: wrap; gap: 14px; }
            .stack-progress { flex: 1 1 100%; order: 2; gap: 5px; }
            .stack-progress span { width: 16px; }
            .stack-progress span.on { width: 28px; }
            .stack-navbtns { order: 1; width: 100%; justify-content: space-between; }
            .stack-iconb { width: 48px; height: 48px; }
            .stack-card[data-pos="out"] { transform: translate3d(-120%,-30px,0) rotate(-14deg); }
        }
        @media (max-width: 400px) {
            .projects-header { padding: 0 16px; }
            .stack-shell { padding: 0 16px; }
            .stack-cards { height: 380px; }
            .stack-tab { padding: 10px 14px; font-size: 12px; }
            .stack-url { font-size: 11px; margin-left: 8px; }
        }

        /* shared badge + link styles (used by projects, timeline, and skills) */
        .project-tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
        .tech-badge { padding: 6px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--text-secondary); }
        [data-theme="dark"] .tech-badge { background: var(--bg-alt); }
        .project-links { display: flex; gap: 12px; }
        .project-link { padding: 13px 24px; font-size: 13px; font-weight: 600; border-radius: 100px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all var(--transition); }
        .project-link-primary { background: var(--accent); color: #fff; }
        .project-link-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(255,90,31,0.55); }
        .project-link-secondary { border: 1px solid var(--border); color: var(--text-primary); }
        .project-link-secondary:hover { border-color: var(--text-primary); }
