        /* ========== RESET & BASE ========== */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --bg-primary: #0a0a0f;
            --bg-secondary: #12121a;
            --bg-card: #16161f;
            --bg-card-hover: #1c1c28;
            --border: #1e1e2e;
            --border-hover: #2a2a3e;
            --text-primary: #e4e4ef;
            --text-secondary: #8888a4;
            --text-muted: #55556a;
            --accent: #6366f1;
            --accent-light: #818cf8;
            --accent-glow: rgba(99, 102, 241, 0.15);
            --accent-glow-strong: rgba(99, 102, 241, 0.3);
            --green: #34d399;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: var(--font-sans);
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
        a:hover { color: var(--accent); }

        ::selection { background: var(--accent-glow-strong); color: #fff; }

        /* ========== ANIMATED BACKGROUND ========== */
        .bg-grid {
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image:
                linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
        }

        .bg-glow {
            position: fixed;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
            transition: transform 0.3s ease-out, opacity 0.3s;
            opacity: 0.6;
        }

        /* ========== NAVIGATION ========== */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 0 2rem;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            background: rgba(10, 10, 15, 0.8);
            border-bottom: 1px solid var(--border);
            transition: transform 0.3s;
        }

        nav .nav-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }

        nav .logo {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text-primary);
            letter-spacing: -0.02em;
            white-space: nowrap;
        }

        nav .logo span { color: var(--accent); }

        nav .nav-links { display: flex; gap: 2rem; align-items: center; }

        nav .nav-links a {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: color 0.2s;
            position: relative;
        }

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

        nav .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            border-radius: 1px;
            transition: width 0.25s ease;
        }

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

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 4px;
            background: none;
            border: none;
            position: relative;
            z-index: 101;
        }

        .hamburger span {
            width: 22px;
            height: 2px;
            background: var(--text-secondary);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
            transform-origin: center;
        }

        .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

        /* ========== SECTIONS ========== */
        .container {
            position: relative;
            z-index: 1;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        section {
            padding: 6rem 0;
        }

        .section-label {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.15em;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .section-label::before {
            content: '';
            width: 24px;
            height: 1px;
            background: var(--accent);
        }

        .section-title {
            font-size: clamp(1.8rem, 3vw, 2.4rem);
            font-weight: 700;
            letter-spacing: -0.03em;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }

        /* ========== HERO ========== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 64px;
        }

        .hero-content { max-width: 720px; }

        .hero .status {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.35rem 1rem;
            background: rgba(52, 211, 153, 0.08);
            border: 1px solid rgba(52, 211, 153, 0.2);
            border-radius: 100px;
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--green);
            margin-bottom: 2rem;
        }

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

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
            50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5.5vw, 4rem);
            font-weight: 700;
            letter-spacing: -0.04em;
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }

        .hero h1 .gradient {
            background: linear-gradient(135deg, var(--accent-light), #a78bfa, #f472b6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero .subtitle {
            font-size: clamp(1.05rem, 1.8vw, 1.2rem);
            color: var(--text-secondary);
            max-width: 560px;
            line-height: 1.8;
            margin-bottom: 2.5rem;
        }

        .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.75rem;
            font-size: 0.9rem;
            font-weight: 600;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.25s ease;
            border: none;
            font-family: var(--font-sans);
        }

        .btn-primary {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 0 20px var(--accent-glow);
        }

        .btn-primary:hover {
            background: var(--accent-light);
            box-shadow: 0 0 30px var(--accent-glow-strong);
            transform: translateY(-1px);
            color: #fff;
        }

        .btn-ghost {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border);
        }

        .btn-ghost:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
            background: var(--bg-card);
        }

        /* ========== ABOUT ========== */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        .about-text {
            color: var(--text-secondary);
            font-size: 1.02rem;
            line-height: 1.85;
        }

        .about-text p + p { margin-top: 1.25rem; }

        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .stat-card {
            padding: 1.5rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            border-color: var(--border-hover);
            background: var(--bg-card-hover);
            transform: translateY(-2px);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-light);
            line-height: 1;
            margin-bottom: 0.4rem;
        }

        .stat-label {
            font-size: 0.82rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* ========== EXPERIENCE ========== */
        .timeline { position: relative; }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 1px;
            background: linear-gradient(to bottom, var(--accent), var(--border), transparent);
        }

        .timeline-item {
            position: relative;
            padding-left: 2.5rem;
            padding-bottom: 3rem;
        }

        .timeline-item:last-child { padding-bottom: 0; }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -5px;
            top: 6px;
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background: var(--bg-primary);
            border: 2px solid var(--accent);
            z-index: 2;
            transition: all 0.3s;
        }

        .timeline-item:hover::before {
            background: var(--accent);
            box-shadow: 0 0 12px var(--accent-glow-strong);
        }

        .timeline-header {
            display: flex;
            align-items: baseline;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 0.3rem;
        }

        .timeline-role {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .timeline-company {
            font-size: 0.95rem;
            color: var(--accent-light);
            font-weight: 500;
        }

        .timeline-date {
            font-family: var(--font-mono);
            font-size: 0.78rem;
            color: var(--text-muted);
        }

        .timeline-desc {
            color: var(--text-secondary);
            font-size: 0.92rem;
            margin-top: 0.5rem;
            line-height: 1.7;
        }

        /* ========== SKILLS ========== */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .skill-category {
            padding: 2rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            transition: all 0.3s ease;
        }

        .skill-category:hover {
            border-color: var(--border-hover);
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
        }

        .skill-icon {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent-glow);
            border-radius: 10px;
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .skill-category h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .skill-tag {
            padding: 0.3rem 0.75rem;
            font-size: 0.78rem;
            font-weight: 500;
            background: rgba(99, 102, 241, 0.08);
            border: 1px solid rgba(99, 102, 241, 0.15);
            border-radius: 6px;
            color: var(--text-secondary);
            transition: all 0.2s;
        }

        .skill-tag:hover {
            border-color: var(--accent);
            color: var(--accent-light);
            background: var(--accent-glow);
        }

        /* ========== PHILOSOPHY / HIGHLIGHTS ========== */
        .highlights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .highlight-card {
            padding: 2rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .highlight-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .highlight-card:hover::before { opacity: 1; }

        .highlight-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
        }

        .highlight-card h3 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .highlight-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.7;
        }

        /* ========== EDUCATION ========== */
        .edu-card {
            padding: 2rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            max-width: 600px;
        }

        .edu-degree {
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }

        .edu-school {
            font-size: 1rem;
            color: var(--accent-light);
            margin-bottom: 0.3rem;
        }

        .edu-details {
            font-size: 0.88rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .edu-date {
            font-family: var(--font-mono);
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }

        /* ========== CONTACT ========== */
        .contact-section {
            text-align: center;
            padding: 6rem 0 8rem;
        }

        .contact-section .section-label { justify-content: center; }
        .contact-section .section-label::before { display: none; }

        .contact-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .contact-link {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.85rem 1.5rem;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.25s ease;
        }

        .contact-link:hover {
            border-color: var(--accent);
            color: var(--accent-light);
            background: var(--accent-glow);
            transform: translateY(-2px);
            box-shadow: 0 4px 20px var(--accent-glow);
        }

        .contact-link svg {
            width: 18px;
            height: 18px;
        }

        /* ========== FOOTER ========== */
        footer {
            border-top: 1px solid var(--border);
            padding: 2rem;
            text-align: center;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* ========== MOBILE OVERLAY (hidden by default) ========== */
        .mobile-overlay { display: none; }

        /* ========== SCROLL ANIMATIONS ========== */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 900px) {
            section { padding: 4rem 0; }

            .about-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .stats-grid { grid-template-columns: 1fr 1fr; }

            .hero h1 { font-size: 2.2rem; }

            .nav-links { display: none !important; }

            .hamburger { display: flex !important; }

            /* ---- Full-screen mobile overlay ---- */
            .mobile-overlay {
                display: none;
                position: fixed;
                inset: 0;
                background: var(--bg-primary);
                z-index: 99;
                flex-direction: column;
                padding: 5.5rem 1.75rem 2.5rem;
                overflow-y: auto;
            }

            nav.mobile-open ~ .mobile-overlay {
                display: flex;
                animation: overlayFadeIn 0.2s ease forwards;
            }

            @keyframes overlayFadeIn {
                from { opacity: 0; }
                to   { opacity: 1; }
            }

            .mobile-nav-links {
                flex: 1;
                display: flex;
                flex-direction: column;
            }

            .mobile-nav-link {
                display: flex;
                align-items: center;
                gap: 1rem;
                padding: 1.1rem 0.5rem;
                font-size: 1.4rem;
                font-weight: 600;
                color: var(--text-secondary);
                border-bottom: 1px solid var(--border);
                transition: color 0.2s;
                opacity: 0;
            }

            .mobile-nav-link:last-child { border-bottom: none; }

            .mobile-nav-link svg {
                width: 22px;
                height: 22px;
                flex-shrink: 0;
                opacity: 0.55;
                transition: opacity 0.2s;
            }

            .mobile-nav-link:hover { color: var(--text-primary); }
            .mobile-nav-link:hover svg { opacity: 1; }
            .mobile-nav-link::after { display: none !important; }

            nav.mobile-open ~ .mobile-overlay .mobile-nav-link {
                animation: linkSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            }

            nav.mobile-open ~ .mobile-overlay .mobile-nav-link:nth-child(1) { animation-delay: 0.05s; }
            nav.mobile-open ~ .mobile-overlay .mobile-nav-link:nth-child(2) { animation-delay: 0.1s; }
            nav.mobile-open ~ .mobile-overlay .mobile-nav-link:nth-child(3) { animation-delay: 0.15s; }
            nav.mobile-open ~ .mobile-overlay .mobile-nav-link:nth-child(4) { animation-delay: 0.2s; }
            nav.mobile-open ~ .mobile-overlay .mobile-nav-link:nth-child(5) { animation-delay: 0.25s; }
            nav.mobile-open ~ .mobile-overlay .mobile-nav-link:nth-child(6) { animation-delay: 0.3s; }

            @keyframes linkSlideIn {
                from { opacity: 0; transform: translateX(-14px); }
                to   { opacity: 1; transform: translateX(0); }
            }

            .mobile-nav-footer {
                display: flex;
                flex-direction: column;
                gap: 0.75rem;
                padding-top: 1.75rem;
            }

            .mobile-cta-btn {
                width: 100%;
                justify-content: center;
                padding: 1rem 1.5rem;
                font-size: 1rem;
                border-radius: 12px;
            }

            .mobile-social-row {
                display: flex;
                gap: 0.75rem;
            }

            .mobile-social-btn {
                flex: 1;
                justify-content: center;
                padding: 0.85rem;
                font-size: 0.9rem;
            }

            .hero-cta { flex-direction: column; }
            .hero-cta .btn { width: fit-content; }

            .timeline-header { flex-direction: column; gap: 0.25rem; }

            .skills-grid, .highlights-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 520px) {
            .container { padding: 0 1.25rem; }
            .stats-grid { grid-template-columns: 1fr; }
        }
