:root {
            --bg-base: #0f172a;
            --bg-card: #1e293b;
            --bg-card-hover: #273549;
            --accent: #6366f1;
            --accent-hover: #4f46e5;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --font-main: 'Inter', sans-serif;
            --nav-height: 70px;
        }

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

        html {
            scroll-behavior: smooth;
        }

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

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        .container {
            width: 90%;
            max-width: 1100px;
            margin: 0 auto;
        }

        /* Scroll Progress Bar */
        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), #a5b4fc);
            z-index: 1001;
            transition: width 0.1s ease;
        }

        /* Scroll Reveal Animations */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Navbar */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            height: var(--nav-height);
            background-color: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: -0.5px;
            transition: transform 0.3s;
        }
        
        .logo:hover {
            transform: scale(1.05);
        }

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

        .nav-links a {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-muted);
            transition: color 0.3s;
        }

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

        .menu-btn {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--text-main);
        }

        /* Sections */
        section {
            padding: 100px 0;
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 3.5rem;
            text-align: center;
            position: relative;
            color: var(--text-main);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: var(--accent);
            border-radius: 4px;
        }

        /* Hero Section */
        #hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: var(--nav-height);
        }

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

        .hero-subtitle {
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .hero-title {
            font-size: clamp(3.5rem, 8vw, 5rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
            color: var(--text-main);
        }

        .hero-desc {
            font-size: 1.25rem;
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            max-width: 600px;
        }

        /* Typing Effect Cursor */
        .typing-cursor {
            display: inline-block;
            width: 3px;
            height: 1.1em;
            background-color: var(--accent);
            margin-left: 4px;
            vertical-align: text-bottom;
            animation: blink 0.8s infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        #typing-text {
            color: var(--text-main);
        }

        .btn-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.9rem 1.8rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 2px solid transparent;
            cursor: pointer;
        }

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

        .btn-primary:hover {
            background-color: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
        }

        .btn-outline {
            background-color: transparent;
            border-color: var(--text-muted);
            color: var(--text-main);
        }

        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
        }

        /* About Section */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            color: var(--text-muted);
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .about-text p {
            margin-bottom: 1.2rem;
        }
        
        .highlight {
            color: var(--text-main);
            font-weight: 600;
        }

        /* Skills Section */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
        }

        .skills-category {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.05);
            transition: transform 0.3s ease;
        }

        .skills-category:hover {
            transform: translateY(-5px);
            border-color: rgba(99, 102, 241, 0.2);
        }
        
        .skills-category h3 {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .skill-badge {
            background-color: rgba(255,255,255,0.05);
            color: var(--text-muted);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid transparent;
            transition: all 0.3s;
            cursor: default;
        }

        .skill-badge:hover {
            border-color: var(--accent);
            color: var(--accent);
            background-color: rgba(99, 102, 241, 0.1);
            transform: translateY(-2px);
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background-color: var(--bg-card);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.05);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            border-color: rgba(99, 102, 241, 0.3);
        }

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

        .project-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-main);
        }

        .project-date {
            font-size: 0.85rem;
            color: var(--accent);
            font-weight: 600;
            background: rgba(99, 102, 241, 0.1);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
        }

        .project-desc {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            flex-grow: 1;
            font-size: 1rem;
            line-height: 1.6;
        }

        .project-desc p {
            margin-bottom: 1rem;
        }

        .project-desc ul {
            list-style-type: none;
            padding-left: 0;
        }
        
        .project-desc li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .project-desc li::before {
            content: "▹";
            position: absolute;
            left: 0;
            color: var(--accent);
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-bottom: 2rem;
        }

        .tech-tag {
            font-family: monospace;
            font-size: 0.85rem;
            color: var(--accent);
        }

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

        .project-links a {
            color: var(--text-main);
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

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

        /* Achievements Section */
        .achievement-card {
            background: linear-gradient(135deg, var(--bg-card) 0%, #1e293b 100%);
            border-radius: 20px;
            padding: 4rem 2rem;
            text-align: center;
            border: 1px solid rgba(99, 102, 241, 0.3);
            position: relative;
            overflow: hidden;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .achievement-card::before {
            content: '🏆';
            font-size: 200px;
            position: absolute;
            opacity: 0.03;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(10deg);
            pointer-events: none;
        }

        .achievement-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
            display: inline-block;
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .achievement-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .achievement-subtitle {
            font-size: 1.2rem;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .achievement-desc {
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        /* Contact Section */
        #contact {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Contact Form Styles */
        .contact-form {
            max-width: 500px;
            margin: 0 auto 3rem auto;
            text-align: left;
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.05);
        }

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

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border-radius: 8px;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(255,255,255,0.1);
            color: var(--text-main);
            font-family: var(--font-main);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        .form-submit {
            width: 100%;
            margin-top: 0.5rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
            font-size: 1.1rem;
        }

        .contact-info p {
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .contact-item {
            color: var(--text-main);
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .contact-item a {
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
        }

        .contact-item a::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: var(--accent);
            transform-origin: bottom right;
            transition: transform 0.25s ease-out;
        }

        .contact-item a:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }

        .contact-item a:hover {
            color: var(--accent);
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 2.5rem 0;
            border-top: 1px solid rgba(255,255,255,0.05);
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: var(--nav-height);
                left: 0;
                width: 100%;
                background-color: rgba(15, 23, 42, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                align-items: center;
                padding: 2rem 0;
                gap: 1.5rem;
                box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            }

            .nav-links.active {
                display: flex;
            }

            .menu-btn {
                display: block;
            }

            .hero-title {
                font-size: 2.8rem;
            }
            
            section {
                padding: 80px 0;
            }

            .project-header {
                flex-direction: column;
                gap: 0.5rem;
            }

            .achievement-title {
                font-size: 1.8rem;
            }
        }
