        :root {
            --background: #0d0f14;
            --surface: #161922;
            --surface-hover: #1e222e;
            --surface-card: #151821;
            --text: #f3f4f6;
            --text-secondary: #9ca3af;
            --text-muted: #6b7280;
            --primary: #ff7a00;
            --primary-hover: #ff912a;
            --primary-glow: rgba(255, 122, 0, 0.16);
            --border: #232733;
            --border-hover: #374151;
            --max-width: 1120px;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 18px;
            --nav-bg: rgba(13, 15, 20, 0.85);
            --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
            --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
        }

        [data-theme="light"] {
            --background: #f8fafc;
            --surface: #ffffff;
            --surface-hover: #f1f5f9;
            --surface-card: #ffffff;
            --text: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --primary: #ea580c;
            --primary-hover: #c2410c;
            --primary-glow: rgba(234, 88, 12, 0.12);
            --border: #e2e8f0;
            --border-hover: #cbd5e1;
            --nav-bg: rgba(248, 250, 252, 0.88);
            --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
            --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--background);
            color: var(--text);
            font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            background-image: 
                radial-gradient(ellipse at 50% 0%, var(--primary-glow) 0%, transparent 60%),
                radial-gradient(circle at 100% 30%, rgba(255, 122, 0, 0.04) 0%, transparent 40%);
            background-repeat: no-repeat;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Header & Navbar */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--nav-bg);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
        }

        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 16px 24px;
        }

        .logo {
            font-family: "JetBrains Mono", monospace;
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .logo a {
            text-decoration: none;
            color: inherit;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .highlight {
            color: var(--primary);
            position: relative;
        }

        .navbar__list {
            display: flex;
            align-items: center;
            gap: 28px;
            list-style: none;
        }

        .navbar__link {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 0.92rem;
            font-weight: 500;
            position: relative;
            padding: 4px 0;
        }

        .navbar__link:hover,
        .navbar__link.active {
            color: var(--text);
        }

        .navbar__link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .theme-btn {
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.05rem;
        }

        .theme-btn:hover {
            color: var(--primary);
            border-color: var(--primary);
            background: var(--surface-hover);
        }

        .mobile-toggle {
            display: none;
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 1.15rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            align-items: center;
            justify-content: center;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 11px 22px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.92rem;
            text-decoration: none;
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .btn--primary {
            background: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 14px var(--primary-glow);
        }

        .btn--primary:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 6px 20px var(--primary-glow);
        }

        .btn--outline {
            background: var(--surface);
            border-color: var(--border);
            color: var(--text);
        }

        .btn--outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--surface-hover);
            transform: translateY(-1px);
        }

        .btn--block {
            width: 100%;
            justify-content: center;
        }

        /* Hero Section */
        .hero {
            min-height: 90vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 130px 24px 60px;
            text-align: center;
            position: relative;
        }

        .hero__badge-container {
            margin-bottom: 20px;
        }

        .badge {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 7px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: var(--shadow-subtle);
        }

        .badge-pulse {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #22c55e;
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
            animation: pulse-ring 2s infinite;
        }

        @keyframes pulse-ring {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
        }

        .hero__title {
            font-size: clamp(2.5rem, 5.5vw, 4.2rem);
            font-weight: 800;
            margin: 10px 0 14px;
            line-height: 1.15;
            letter-spacing: -0.03em;
        }

        .hero__subtitle {
            font-family: "JetBrains Mono", monospace;
            font-size: clamp(1.15rem, 2.5vw, 1.45rem);
            color: var(--primary);
            min-height: 2.2rem;
            font-weight: 500;
        }

        .cursor {
            display: inline-block;
            background-color: var(--primary);
            width: 2px;
            height: 1.2em;
            vertical-align: middle;
            margin-left: 2px;
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        .hero__description {
            max-width: 580px;
            margin: 18px auto 32px;
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.65;
        }

        .hero__buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-bottom: 36px;
            flex-wrap: wrap;
        }

        .hero__socials {
            display: flex;
            justify-content: center;
            gap: 16px;
        }

        .hero__social-btn {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            background: var(--surface);
            border: 1px solid var(--border);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 1.25rem;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .hero__social-btn:hover {
            color: var(--primary);
            border-color: var(--primary);
            background: var(--surface-hover);
            transform: translateY(-2px);
        }

        /* Sections General */
        .section {
            padding: 95px 0;
            position: relative;
        }

        .section--alt {
            background-color: var(--surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .section__header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section__pre-title {
            font-family: "JetBrains Mono", monospace;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 8px;
            display: block;
        }

        .section__title {
            font-size: clamp(1.9rem, 3.5vw, 2.5rem);
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        /* Projects Section */
        .project-filters {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 36px;
            flex-wrap: wrap;
        }

        .filter-btn {
            background: var(--background);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            padding: 8px 18px;
            border-radius: 30px;
            font-size: 0.88rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .filter-btn.active, .filter-btn:hover {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
            box-shadow: 0 4px 12px var(--primary-glow);
        }

        .projects__grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
        }

        .project-card {
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 26px;
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-subtle);
            position: relative;
            overflow: hidden;
        }

        .section--alt .project-card {
            background: var(--background);
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .project-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-4px);
            box-shadow: var(--shadow-card);
        }

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

        .project-card__header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
        }

        .project-folder {
            font-size: 1.6rem;
            color: var(--primary);
        }

        .project-links a {
            color: var(--text-secondary);
            font-size: 1.25rem;
            margin-left: 10px;
            text-decoration: none;
            transition: color 0.2s ease;
        }

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

        .project-card__title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text);
            letter-spacing: -0.01em;
        }

        .project-card__desc {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.55;
            margin-bottom: 22px;
            flex-grow: 1;
        }

        .project-card__tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: auto;
        }

        .project-card__tags span {
            font-family: "JetBrains Mono", monospace;
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--primary);
            background: var(--primary-glow);
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid rgba(255, 122, 0, 0.2);
        }

        /* Tech / Skills Section */
        .skills__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
            gap: 20px;
        }

        .skill-card {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 26px 20px;
            border-radius: var(--radius-md);
            text-align: center;
            box-shadow: var(--shadow-subtle);
        }

        .skill-card:hover {
            border-color: var(--primary);
            transform: translateY(-4px);
            box-shadow: 0 10px 24px -6px var(--primary-glow);
        }

        .skill-icon {
            font-size: 2.4rem;
            color: var(--primary);
            margin-bottom: 14px;
            display: inline-block;
        }

        .skill-card h3 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text);
        }

        .skill-card p {
            font-size: 0.84rem;
            color: var(--text-secondary);
            line-height: 1.45;
        }

        /* About Section */
        .about__card {
            max-width: 860px;
            margin: 0 auto;
            background: var(--background);
            border: 1px solid var(--border);
            padding: 40px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-card);
        }

        .about__text p {
            color: var(--text-secondary);
            margin-bottom: 16px;
            font-size: 1.02rem;
            line-height: 1.7;
        }

        .about__info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-top: 30px;
            padding-top: 24px;
            border-top: 1px solid var(--border);
        }

        .info-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .info-title {
            color: var(--text-muted);
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 600;
        }

        .info-value {
            color: var(--text);
            font-weight: 500;
            font-size: 0.96rem;
        }

        .info-value.highlight-val {
            color: var(--primary);
            font-family: "JetBrains Mono", monospace;
        }

        /* Contact Section */
        .contact__wrapper {
            display: grid;
            grid-template-columns: 1fr 1.3fr;
            gap: 44px;
            max-width: 940px;
            margin: 0 auto;
        }

        .contact__info {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .contact__info h3 {
            font-size: 1.4rem;
            margin-bottom: 12px;
            font-weight: 600;
        }

        .contact__info p {
            color: var(--text-secondary);
            margin-bottom: 28px;
            font-size: 0.98rem;
            line-height: 1.6;
        }

        .contact-items {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 14px;
            color: var(--text);
            font-size: 0.95rem;
        }

        .contact-icon-box {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background: var(--surface);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .contact__form {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 32px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-subtle);
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            font-size: 0.84rem;
            color: var(--text-secondary);
            margin-bottom: 6px;
            font-weight: 500;
        }

        .contact__form input,
        .contact__form textarea {
            width: 100%;
            padding: 12px 16px;
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text);
            font-size: 0.94rem;
            font-family: inherit;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .contact__form input:focus,
        .contact__form textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-glow);
        }

        /* Footer */
        .footer {
            text-align: center;
            padding: 30px 24px;
            border-top: 1px solid var(--border);
            color: var(--text-secondary);
            font-size: 0.88rem;
            background: var(--background);
        }

        /* Responsive */
        @media (max-width: 860px) {
            .contact__wrapper {
                grid-template-columns: 1fr;
                gap: 36px;
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: flex;
            }

            .navbar__list {
                position: fixed;
                top: 73px;
                left: -100%;
                flex-direction: column;
                background: var(--surface);
                width: 100%;
                padding: 28px 24px;
                text-align: center;
                border-bottom: 1px solid var(--border);
                transition: left 0.3s ease;
                gap: 20px;
                box-shadow: var(--shadow-card);
            }

            .navbar__list.open {
                left: 0;
            }

            .nav-actions {
                margin-left: auto;
                margin-right: 10px;
            }

            .hero {
                padding-top: 110px;
            }

            .hero__buttons {
                flex-direction: column;
                width: 100%;
                max-width: 320px;
                margin-left: auto;
                margin-right: auto;
            }

            .about__card {
                padding: 24px;
            }
        }
    </style>
