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

        .input-error {
        border: 1.5px solid #ff4d4d !important;
        box-shadow: 0 0 5px rgba(255, 77, 77, 0.3) !important;
        }
        
        :root {
            --primary: #3b82f6;
            --primary-dark: #2563eb;
            --secondary: #14b8a6;
            --accent: #22c55e;
            --success: #10b981;
            --warning: #f59e0b;
            --error: #ef4444;
            --dark: #0f172a;
            --darker: #020617;
            --dark-light: #111827;
            --light: #f8fafc;
            --text: #e2e8f0;
            --text-light: #cbd5e1;
            --text-muted: #64748b;
            --white: #ffffff;
            --gray-400: #94a3b8;
            --border: rgba(148, 163, 184, 0.22);
            --glass: rgba(15, 23, 42, 0.72);
            --glow: rgba(59, 130, 246, 0.3);
            --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
            --shadow-xl: 0 20px 40px rgba(2, 6, 23, 0.45);
            --nav-bg: rgba(2, 6, 23, 0.86);
            --nav-bg-scrolled: rgba(2, 6, 23, 0.95);
            --menu-bg: rgba(2, 6, 23, 0.98);
            --card-bg: rgba(15, 23, 42, 0.72);
            --input-bg: rgba(15, 23, 42, 0.75);
            --input-bg-focus: rgba(15, 23, 42, 0.9);
            --title-color: #f8fafc;
            --heading-color: #f8fafc;
            --section-padding: 7rem;
            --hero-paragraph-width: 720px;
        }

        :root[data-theme='light'] {
            --dark: #0f172a;
            --darker: #f8fafc;
            --dark-light: #eef2ff;
            --light: #ffffff;
            --text: #1e293b;
            --text-light: #334155;
            --text-muted: #64748b;
            --border: rgba(15, 23, 42, 0.12);
            --glass: rgba(255, 255, 255, 0.88);
            --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);
            --nav-bg: rgba(248, 250, 252, 0.92);
            --nav-bg-scrolled: rgba(248, 250, 252, 0.98);
            --menu-bg: rgba(248, 250, 252, 0.98);
            --card-bg: rgba(255, 255, 255, 0.88);
            --input-bg: rgba(255, 255, 255, 0.95);
            --input-bg-focus: rgba(255, 255, 255, 1);
            --title-color: #0f172a;
            --heading-color: #0f172a;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.7;
            color: var(--text);
            overflow-x: hidden;
            background: var(--darker);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            letter-spacing: 0.01em;
        }

        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        textarea:focus-visible,
        select:focus-visible {
            outline: 3px solid rgba(59, 130, 246, 0.35);
            outline-offset: 3px;
        }

        .skip-link {
            position: absolute;
            left: 1rem;
            top: -3rem;
            z-index: 9999;
            padding: 0.85rem 1.2rem;
            background: var(--primary);
            color: white;
            border-radius: 999px;
            text-decoration: none;
            font-weight: 600;
        }

        .skip-link:focus {
            top: 1rem;
        }

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

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

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

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, var(--primary-dark), var(--primary));
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: var(--nav-bg);
            backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            padding: 1.2rem 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        nav.scrolled {
            padding: 0.8rem 0;
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
            background: var(--nav-bg-scrolled);
        }

        nav .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .theme-toggle {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            border: 1px solid var(--border);
            background: var(--card-bg);
            color: var(--text);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }

        .theme-toggle:hover {
            transform: translateY(-1px);
            border-color: var(--primary);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
        }

        nav .logo {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
            position: relative;
        }

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

        nav .logo:hover::after {
            width: 100%;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        nav a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: 0.5rem 0;
        }

        nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        nav a:hover {
            color: var(--dark);
        }

        nav a:hover::before {
            width: 100%;
        }

        nav a.active {
            color: var(--dark);
        }

        :root:not([data-theme='light']) nav a:hover,
        :root:not([data-theme='light']) nav a.active {
            color: var(--light);
        }

        nav a.active::before {
            width: 100%;
        }

        .nav-cta {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white !important;
            padding: 0.7rem 1.5rem !important;
            border-radius: 10px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
        }

        .nav-cta::before {
            display: none;
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: var(--darker);
            position: relative;
            overflow: hidden;
            padding-top: 100px;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 150%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
            animation: float 20s infinite ease-in-out;
            filter: blur(60px);
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 60%;
            height: 100%;
            background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
            animation: float 15s infinite ease-in-out reverse;
            filter: blur(60px);
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(5deg); }
            66% { transform: translate(-20px, 20px) rotate(-5deg); }
        }

        .hero .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
            position: relative;
            z-index: 1;
        }

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

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            background: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: var(--success);
            padding: 0.7rem 1.5rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 2.5rem;
            animation: fadeInUp 0.8s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
        }

        .status-dot {
            width: 10px;
            height: 10px;
            background: var(--success);
            border-radius: 50%;
            animation: pulse 2s infinite;
            box-shadow: 0 0 10px var(--success);
        }

        @keyframes pulse {
            0%, 100% { 
                opacity: 1;
                transform: scale(1);
            }
            50% { 
                opacity: 0.7;
                transform: scale(1.1);
            }
        }

        .hero h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, var(--title-color) 0%, var(--text-light) 60%, var(--text-muted) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1;
            font-weight: 800;
            animation: fadeInUp 0.8s ease 0.2s backwards;
            letter-spacing: -1px;
        }

        .hero .subtitle {
            font-size: clamp(1.2rem, 2.5vw, 1.8rem);
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.1rem;
            font-weight: 600;
            animation: fadeInUp 0.8s ease 0.3s backwards;
        }

        .hero p {
            font-size: clamp(1rem, 1.2vw, 1.2rem);
            color: var(--text-light);
            margin-bottom: 2.5rem;
            max-width: var(--hero-paragraph-width);
            line-height: 1.8;
            animation: fadeInUp 0.8s ease 0.4s backwards;
        }

        .hero-stats {
            display: flex;
            gap: 4rem;
            margin-bottom: 3rem;
            animation: fadeInUp 0.8s ease 0.5s backwards;
            flex-wrap: wrap;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .stat-item::after {
            content: '';
            position: absolute;
            right: -2rem;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 40px;
            background: var(--border);
        }

        .stat-item:last-child::after {
            display: none;
        }

        .stat-number {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2rem, 3vw, 3rem);
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            animation: fadeInUp 0.8s ease 0.6s backwards;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 1.2rem 2.5rem;
            border-radius: 14px;
            text-decoration: none;
            font-weight: 600;
            transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
            cursor: pointer;
            border: none;
            font-size: 1rem;
            position: relative;
            overflow: hidden;
            font-family: inherit;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            box-shadow: 0 10px 26px rgba(59, 130, 246, 0.35);
        }

        .btn-primary:hover {
            transform: translateY(-3px) scale(1.01);
            box-shadow: 0 14px 34px rgba(59, 130, 246, 0.42);
        }

        .btn-secondary {
            background: var(--card-bg);
            color: var(--text);
            border: 2px solid var(--border);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: var(--glass);
            border-color: var(--primary);
            transform: translateY(-3px);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        .placeholder-link {
            position: relative;
        }

        /* Section Styles */
        section {
            padding: var(--section-padding) 40px;
            position: relative;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4.2rem;
        }

        .section-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            color: var(--heading-color);
            margin-bottom: 1rem;
            font-weight: 800;
            line-height: 1.1;
        }

        .section-title-accent {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            color: var(--text-light);
            font-size: clamp(1rem, 1.2vw, 1.15rem);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* About Section */
        .about {
            background: linear-gradient(180deg, var(--darker), var(--dark-light));
        }

        .about-content {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 5rem;
            align-items: center;
        }

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

        .about-text p {
            margin-bottom: 1.8rem;
        }

        .about-text strong {
            color: var(--dark);
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .value-props {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2.5rem;
        }

        .value-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1.5rem;
            background: var(--card-bg);
            border-radius: 16px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .value-item:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
        }

        .value-icon {
            font-size: 1.8rem;
            flex-shrink: 0;
            filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
        }

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

        .about-image {
            height: 520px;
            border-radius: 24px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--border);
            position: relative;
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .about-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
        }

        /* Skills Section */
        .skills {
            background: var(--dark-light);
        }

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

        .skill-card {
            background: var(--card-bg);
            padding: 2.5rem;
            border-radius: 20px;
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
            opacity: 0;
            transition: opacity 0.4s;
        }

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

        .skill-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.22);
        }

        .skill-icon {
            font-size: 3.2rem;
            margin-bottom: 1.5rem;
            display: inline-block;
            filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
        }

        .skill-card h3 {
            color: var(--heading-color);
            margin-bottom: 1rem;
            font-size: 1.4rem;
            font-weight: 700;
        }

        .skill-card p {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 1rem;
        }

        /* Projects Section */
        .projects {
            background: linear-gradient(180deg, var(--dark-light), var(--darker));
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
            gap: 3rem;
            align-items: start;
        }

        .project-card {
            background: var(--card-bg);
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            display: flex;
            flex-direction: column;
            align-self: start;
            height: fit-content;
            backdrop-filter: blur(10px);
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
            opacity: 0;
            transition: opacity 0.4s;
            pointer-events: none;
        }

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

        .project-card:hover {
            transform: translateY(-8px);
            border-color: var(--primary);
            box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
        }

        .project-image {
            height: 260px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            position: relative;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image img {
            transform: scale(1.04);
        }

        .project-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.3), transparent);
        }

        .project-content {
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.2rem;
            gap: 1rem;
        }

        .project-content h3 {
            color: var(--heading-color);
            font-size: 1.5rem;
            font-weight: 700;
            flex: 1;
            line-height: 1.3;
        }

        .project-highlight {
            background: rgba(16, 185, 129, 0.2);
            border: 1px solid rgba(16, 185, 129, 0.4);
            color: var(--success);
            padding: 0.4rem 1rem;
            border-radius: 10px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
        }

        .project-highlight.in-progress {
            background: rgba(245, 158, 11, 0.18);
            border-color: rgba(245, 158, 11, 0.45);
            color: var(--warning);
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18);
        }

        .project-progress {
            margin-bottom: 1.5rem;
        }

        .project-progress-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.55rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        .project-progress-label span:last-child {
            color: var(--warning);
        }

        .project-progress-bar {
            height: 8px;
            background: rgba(59, 130, 246, 0.12);
            border-radius: 999px;
            overflow: hidden;
            border: 1px solid var(--border);
        }

        .project-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--warning));
            border-radius: 999px;
            transition: width 0.8s ease;
            animation: progressPulse 2.5s ease-in-out infinite;
        }

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

        .project-note {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
            margin-top: auto;
            padding: 1rem 1.15rem;
            background: rgba(59, 130, 246, 0.08);
            border: 1px solid rgba(59, 130, 246, 0.2);
            border-radius: 12px;
            color: var(--text-light);
            font-size: 0.92rem;
            line-height: 1.55;
        }

        .project-note i {
            color: var(--primary);
            margin-top: 0.15rem;
            flex-shrink: 0;
        }

        .project-content p {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            line-height: 1.8;
            font-size: 1rem;
            flex: 1;
        }

        .project-metrics {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1.2rem;
            background: rgba(59, 130, 246, 0.12);
            border-radius: 16px;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }

        .metric-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
        }

        .metric-value {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
            margin-bottom: 0.4rem;
        }

        .metric-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.7rem;
            margin-bottom: 1.8rem;
        }

        .tag {
            background: rgba(99, 102, 241, 0.15);
            border: 1px solid rgba(99, 102, 241, 0.3);
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .tag:hover {
            background: rgba(59, 130, 246, 0.24);
            transform: translateY(-2px);
        }

        .project-highlights {
            margin: 0 0 1.5rem 0;
            padding-left: 1.1rem;
            color: var(--text-light);
            display: grid;
            gap: 0.75rem;
        }

        .project-highlights li {
            line-height: 1.7;
        }

        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: auto;
        }

        .project-links .btn {
            flex: 1;
            justify-content: center;
            padding: 1rem 1.5rem;
            font-size: 0.95rem;
        }

        /* Contact Section */
        .contact {
            background: var(--darker);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 10%;
            left: -15%;
            width: 50%;
            height: 60%;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
            pointer-events: none;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1.25fr;
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            align-items: start;
        }

        .quick-contact {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .quick-contact-header h3,
        .form-header h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--heading-color);
            margin-bottom: 0.5rem;
        }

        .quick-contact-header p,
        .form-header p {
            color: var(--text-light);
            font-size: 0.98rem;
            line-height: 1.6;
        }

        .form-header {
            margin-bottom: 0.5rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1.25rem;
            padding: 1.25rem 1.35rem;
            background: var(--card-bg);
            border-radius: 16px;
            border: 1px solid var(--border);
            transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
            backdrop-filter: blur(10px);
            text-decoration: none;
            color: inherit;
        }

        .contact-link:hover {
            transform: translateX(6px);
            border-color: var(--primary);
            box-shadow: 0 12px 28px rgba(59, 130, 246, 0.18);
            background: var(--input-bg-focus);
        }

        .contact-item:not(.contact-link):hover {
            transform: translateX(6px);
            border-color: var(--primary);
            box-shadow: 0 12px 28px rgba(59, 130, 246, 0.12);
        }

        .contact-icon {
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.25rem;
            flex-shrink: 0;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .contact-item:hover .contact-icon {
            transform: scale(1.05);
            box-shadow: 0 10px 28px rgba(59, 130, 246, 0.45);
        }

        .contact-item h4 {
            color: var(--heading-color);
            margin-bottom: 0.35rem;
            font-size: 1rem;
            font-weight: 600;
        }

        .contact-item p {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.55;
        }

        .btn-whatsapp {
            width: 100%;
            justify-content: center;
            margin-top: 0.5rem;
            padding: 1.1rem 2rem;
            background: linear-gradient(135deg, #25d366, #128c7e);
            color: white;
            box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
            font-size: 1.05rem;
        }

        .btn-whatsapp:hover {
            transform: translateY(-3px) scale(1.01);
            box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
        }

        .btn-whatsapp i {
            font-size: 1.35rem;
        }

        .contact-form {
            background: var(--card-bg);
            padding: 2.5rem;
            border-radius: 24px;
            border: 1px solid var(--border);
            backdrop-filter: blur(10px);
            box-shadow: 0 20px 50px rgba(2, 6, 23, 0.2);
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .contact-form:hover {
            border-color: rgba(59, 130, 246, 0.35);
            box-shadow: 0 24px 56px rgba(59, 130, 246, 0.12);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: var(--heading-color);
            margin-bottom: 0.65rem;
            font-size: 0.95rem;
        }

        .form-group label i {
            color: var(--primary);
            font-size: 0.85rem;
            width: 1rem;
            text-align: center;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 1rem 1.15rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-family: inherit;
            font-size: 1rem;
            background: var(--input-bg);
            color: var(--text);
            transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.2s ease;
        }

        .form-group input:hover,
        .form-group textarea:hover,
        .form-group select:hover {
            border-color: rgba(59, 130, 246, 0.45);
            background: var(--input-bg-focus);
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
            background: var(--input-bg-focus);
            transform: translateY(-1px);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: var(--text-muted);
        }

        .form-group select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1.15rem center;
            padding-right: 2.75rem;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 140px;
        }

        .form-status {
            min-height: 0;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            font-weight: 500;
            border-radius: 12px;
            padding: 0;
            transition: all 0.3s ease;
        }

        .form-status:not(:empty) {
            padding: 0.85rem 1.15rem;
        }

        .form-status.success {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.35);
            color: var(--success);
        }

        .form-status.error {
            background: rgba(239, 68, 68, 0.12);
            border: 1px solid rgba(239, 68, 68, 0.35);
            color: var(--error);
        }

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

        .btn-submit:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .hidden {
            display: none;
        }

        /* Footer */
        footer {
            background: var(--darker);
            border-top: 1px solid var(--border);
            color: var(--text-light);
            text-align: center;
            padding: 3rem 40px;
        }
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .social-link {
            width: 56px;
            height: 56px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray-400);
            text-decoration: none;
            font-size: 1.25rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .social-link:hover,
        .social-link:focus-visible {
            background: var(--gradient-primary);
            border-color: transparent;
            color: var(--white);
            transform: translateY(-6px) scale(1.1);
            box-shadow: var(--shadow-xl);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile Menu */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 1001;
            padding: 0.5rem;
        }

        .menu-toggle span {
            width: 28px;
            height: 3px;
            background: var(--heading-color);
            border-radius: 3px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 1024px) {
            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 4rem;
            }

            .value-props {
                grid-template-columns: 1fr;
            }

            .hero-stats {
                gap: 2.5rem;
            }

            .stat-item::after {
                display: none;
            }
        }

         .form-input, .form-textarea {
            width: 100%;
            padding: 1.25rem;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            font-family: inherit;
            font-size: 1rem;
            background: var(--input-bg);
            color: var(--text);
            transition: all 0.3s ease;
        }

        .form-input:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
            background: var(--input-bg-focus);
        }




        @media (max-width: 768px) {
            nav .container,
            .hero .container,
            section {
                padding-left: 20px;
                padding-right: 20px;
            }

            .menu-toggle {
                display: flex;
            }

            nav ul {
                position: fixed;
                top: 80px;
                right: -100%;
                width: 85%;
                max-width: 300px;
                height: calc(100vh - 80px);
                background: var(--menu-bg);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 3rem 2rem;
                box-shadow: -5px 0 30px rgba(15, 23, 42, 0.24);
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                border-left: 1px solid var(--border);
            }

            nav ul.active {
                right: 0;
            }

            nav a {
                display: block;
                padding: 1rem 0;
                font-size: 1.1rem;
            }

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

            .hero .subtitle {
                font-size: 1.05rem;
                line-height: 1.6;
            }

            .hero p {
                font-size: 0.98rem;
                line-height: 1.75;
            }

            .hero-stats {
                gap: 2rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .hero-buttons {
                flex-direction: column;
            }

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

            .section-title {
                font-size: 2rem;
            }

            section {
                padding: 4.5rem 20px;
            }

            .project-metrics {
                flex-direction: column;
                gap: 1rem;
            }

            .project-content {
                padding: 1.7rem;
            }

            .contact-form {
                padding: 1.6rem;
            }

            .theme-toggle {
                width: 38px;
                height: 38px;
                border-radius: 10px;
            }
        }

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Loading Animation */
        .loading-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            z-index: 9999;
            transition: width 0.3s ease;
        }

        /* Portfolio refresh: editorial green, cream, and lime visual system. */
        :root {
            --primary: #164638;
            --primary-dark: #0f3529;
            --secondary: #b9e5c7;
            --accent: #d9f56e;
            --dark: #10231e;
            --darker: #f5f3ed;
            --dark-light: #e7e4db;
            --light: #f5f3ed;
            --text: #263a33;
            --text-light: #52625c;
            --text-muted: #6c7772;
            --border: rgba(16, 35, 30, 0.16);
            --glass: rgba(245, 243, 237, 0.9);
            --card-bg: #fbfaf6;
            --input-bg: #fbfaf6;
            --input-bg-focus: #ffffff;
            --title-color: #10231e;
            --heading-color: #10231e;
            --gradient-primary: linear-gradient(135deg, #164638, #b9e5c7);
        }

        body { font-family: 'Manrope', sans-serif; background: var(--darker); color: var(--text); letter-spacing: 0; }
        h1, h2, h3, .logo, .section-title { font-family: 'Manrope', sans-serif; letter-spacing: -0.055em; }
        nav { background: rgba(22, 70, 56, 0.96); border-bottom: 0; padding: 1.1rem 0; }
        nav.scrolled { background: rgba(16, 35, 30, 0.98); }
        nav .logo { color: var(--light); background: none; -webkit-text-fill-color: initial; }
        nav .logo::after { display: none; }
        nav .logo span { color: var(--accent); }
        nav a { color: var(--light); }
        nav a:hover, nav a.active { color: var(--accent) !important; }
        .theme-toggle { color: var(--light); border-color: rgba(245, 243, 237, 0.3); background: transparent; }
        .nav-cta { color: var(--dark) !important; background: var(--accent); border-radius: 0; box-shadow: none; }
        .hero { background: var(--primary); }
        .hero::before { background: linear-gradient(90deg, rgba(22, 70, 56, 0.1), rgba(217, 245, 110, 0.12)); filter: none; }
        .hero h1 { max-width: 900px; font-size: clamp(3.7rem, 8vw, 8.5rem); line-height: 0.98; }
        .hero h1 span { color: var(--accent) !important; background: none !important; -webkit-text-fill-color: initial !important; }
        .hero .subtitle { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
        .hero p { color: rgba(245, 243, 237, 0.72); }
        .hero-stats { border-color: rgba(245, 243, 237, 0.2); }
        .stat-number { color: var(--accent); }
        .btn { border-radius: 0; font-family: 'Manrope', sans-serif; }
        .btn-primary { color: var(--dark); background: var(--accent); box-shadow: none; }
        .btn-secondary, .btn-outline { color: var(--light); border-color: rgba(245, 243, 237, 0.4); background: transparent; }
        section { padding-top: 7rem; padding-bottom: 7rem; }
        .about { background: var(--darker); }
        .section-title { font-size: clamp(2.8rem, 6vw, 5.6rem); }
        .section-title-accent { color: var(--primary); }
        .skills { background: var(--primary); }
        .skill-card, .project-card, .quick-contact, .contact-form { border-radius: 0; }
        .skill-card { border-color: rgba(245, 243, 237, 0.18); background: transparent; }
        .skill-card:hover { background: rgba(185, 229, 199, 0.08); transform: translateY(-4px); }
        .skill-icon, .project-image { color: var(--primary); background: var(--secondary); border-radius: 0; }
        .projects { background: #e7e4db; }
        .projects-grid { gap: 1.25rem; }
        .project-card { background: #fbfaf6; border: 1px solid var(--border); box-shadow: none; }
        .project-card:hover { box-shadow: 0 18px 35px rgba(16, 35, 30, 0.1); }
        .web-project-slot { border-style: dashed; background: rgba(251, 250, 246, 0.38); }
        .web-project-slot .project-image { background: var(--accent); }
        .project-image-ai { background: #111827 !important; }
        .project-image-cafe { background: #29231e !important; }
        .project-highlight { color: var(--primary); background: var(--secondary); border-radius: 0; }
        .contact { background: var(--primary); }
        .contact h2 { font-size: clamp(3rem, 6vw, 6rem); }
        .contact h2 .section-title-accent { color: var(--accent); }
        .contact-form { background: #f5f3ed; }
        footer { background: var(--dark); }

        @media (max-width: 768px) {
            nav ul { background: var(--dark); }
            .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
            .projects-grid { grid-template-columns: 1fr; }
            .web-project-slot { min-height: auto; }
        }

        /* Explicit theme tokens keep every surface readable in both modes. */
        :root:not([data-theme='light']) {
            --primary: #77d0a0;
            --primary-dark: #4fae7c;
            --secondary: #244c3d;
            --accent: #e3f58a;
            --dark: #081512;
            --darker: #101c19;
            --dark-light: #172a24;
            --light: #f2f7f2;
            --text: #e8f0eb;
            --text-light: #c5d5cc;
            --text-muted: #9cafa4;
            --border: rgba(201, 231, 212, 0.2);
            --card-bg: #182b25;
            --input-bg: #1a3028;
            --input-bg-focus: #203a30;
            --title-color: #f2f7f2;
            --heading-color: #f2f7f2;
        }

        :root[data-theme='light'] {
            --primary: #164638;
            --primary-dark: #0f3529;
            --secondary: #b9e5c7;
            --accent: #c6e858;
            --dark: #10231e;
            --darker: #f5f3ed;
            --dark-light: #e7e4db;
            --light: #f5f3ed;
            --text: #263a33;
            --text-light: #52625c;
            --text-muted: #6c7772;
            --border: rgba(16, 35, 30, 0.16);
            --card-bg: #fbfaf6;
            --input-bg: #fbfaf6;
            --input-bg-focus: #ffffff;
            --title-color: #10231e;
            --heading-color: #10231e;
        }

        :root:not([data-theme='light']) body { background: var(--darker); color: var(--text); }
        :root:not([data-theme='light']) nav { background: rgba(8, 21, 18, 0.96); }
        :root:not([data-theme='light']) nav.scrolled { background: rgba(8, 21, 18, 0.99); }
        :root:not([data-theme='light']) .hero,
        :root:not([data-theme='light']) .skills,
        :root:not([data-theme='light']) .contact { background: #0d2921; }
        :root:not([data-theme='light']) .about { background: #101c19; }
        :root:not([data-theme='light']) .projects { background: #14231f; }
        :root:not([data-theme='light']) .section-title,
        :root:not([data-theme='light']) .skill-card h3,
        :root:not([data-theme='light']) .project-content h3 { color: var(--heading-color); }
        :root:not([data-theme='light']) .section-subtitle,
        :root:not([data-theme='light']) .about-text p,
        :root:not([data-theme='light']) .project-content p,
        :root:not([data-theme='light']) .skill-card p { color: var(--text-light); }
        :root:not([data-theme='light']) .section-title-accent { color: var(--accent); background: none; -webkit-text-fill-color: initial; }
        :root:not([data-theme='light']) .project-card { background: #1a2e27; border-color: var(--border); }
        :root:not([data-theme='light']) .web-project-slot { background: #14231f; }
        :root:not([data-theme='light']) .contact-form { background: #182b25; color: var(--text); }
        :root:not([data-theme='light']) .contact-form input,
        :root:not([data-theme='light']) .contact-form select,
        :root:not([data-theme='light']) .contact-form textarea { color: var(--text); border-color: var(--border); }
        :root:not([data-theme='light']) .contact-form input::placeholder,
        :root:not([data-theme='light']) .contact-form textarea::placeholder { color: #9cafa4; }
        :root:not([data-theme='light']) footer { background: #081512; }

        .hero .subtitle { color: var(--accent); background: none; -webkit-text-fill-color: initial; font-weight: 800; }
        .hero p { color: rgba(245, 243, 237, 0.86); }
        .project-highlight { font-weight: 700; }
        .web-project-slot .project-highlight { background: var(--accent); color: var(--dark); }
   