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

        :root {
            --primary: #1e293b;
            --secondary: #f59e0b;
            --tertiary: #64748b;
            --background: #fafafa;
            --success: #10b981;
            --white: #ffffff;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        [data-theme="dark"] {
            --primary: #f1f5f9;
            --secondary: #fbbf24;
            --tertiary: #94a3b8;
            --background: #0f172a;
            --success: #34d399;
            --white: #1e293b;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
        }

        body {
            font-family: 'Source Sans Pro', sans-serif;
            background: var(--background);
            color: var(--primary);
            line-height: 1.6;
            overflow-x: hidden;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

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

        .logo {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary);
            text-decoration: none;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--primary);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

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

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: width 0.3s ease;
        }

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

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

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

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

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

        /* Dark Mode Toggle */
        .theme-toggle {
            position: relative;
            width: 60px;
            height: 30px;
            background: var(--tertiary);
            border-radius: 30px;
            cursor: pointer;
            transition: background 0.3s ease;
            flex-shrink: 0;
        }

        .theme-toggle::before {
            content: '🌙';
            position: absolute;
            top: 50%;
            left: 5px;
            transform: translateY(-50%);
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        [data-theme="dark"] .theme-toggle::before {
            content: '☀️';
            left: 30px;
        }

        [data-theme="dark"] .theme-toggle {
            background: var(--secondary);
        }

        /* Dark mode fixes for navbar */
        [data-theme="dark"] .navbar {
            background: rgba(30, 41, 59, 0.95);
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        }

        [data-theme="dark"] .nav-links a {
            color: var(--primary);
        }

        [data-theme="dark"] .nav-links a:hover,
        [data-theme="dark"] .nav-links a.active {
            color: var(--secondary);
        }

        [data-theme="dark"] .logo {
            color: var(--primary);
        }

        /* Dark mode fixes for buttons */
        [data-theme="dark"] .cta-button {
            background: var(--secondary);
            color: var(--background);
        }

        [data-theme="dark"] .cta-button.secondary {
            background: transparent;
            color: var(--primary);
            border-color: var(--primary);
        }

        [data-theme="dark"] .cta-button.secondary:hover {
            background: var(--primary);
            color: var(--background);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            overflow: hidden;
            padding-top: 80px;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('../assets/images/hero-workspace.png') center/cover;
            opacity: 0.3;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            color: white;
            max-width: 800px;
        }

        .hero h1 {
            font-family: 'Inter', sans-serif;
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero .typed-text {
            font-size: clamp(1.2rem, 2.5vw, 1.8rem);
            margin-bottom: 2rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .cta-button {
            display: inline-block;
            background: var(--secondary);
            color: white;
            padding: 1rem 2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .cta-button.secondary {
            background: white;
            color: var(--primary);
            border: 2px solid white;
        }

        .cta-button.secondary:hover {
            background: transparent;
            color: white;
        }

        /* About Section */
        .about {
            padding: 5rem 0;
            background: var(--white);
        }

        .section-title {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary);
        }

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

        .about-image {
            width: 100%;
            max-width: 300px;
            border-radius: 50%;
            box-shadow: var(--shadow-lg);
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--tertiary);
        }

        /* Skills Section */
        .skills {
            padding: 5rem 0;
            background: var(--background);
            position: relative;
            overflow: visible;
        }

        .skills .section-title {
            margin-bottom: 4rem;
            position: relative;
            z-index: 10;
        }

        .skills-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: start;
            margin-bottom: 2rem;
            margin-top: 2rem;
        }

        .skills-chart {
            height: 400px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 2rem;
            position: relative;
            z-index: 1;
        }

        [data-theme="dark"] .skills-chart {
            background: #1e293b;
            border: 1px solid rgba(148, 163, 184, 0.2);
        }

        .skills-list {
            display: grid;
            gap: 1.5rem;
            position: relative;
            z-index: 1;
        }

        .skill-category {
            background: var(--white);
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }

        .skill-category h3 {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary);
        }

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

        .skill-tag {
            background: var(--secondary);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Timeline Section */
        .timeline {
            padding: 5rem 0;
            background: var(--white);
        }

        .timeline-container {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }

        .timeline-line {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--secondary);
            transform: translateX(-50%);
        }

        .timeline-item {
            position: relative;
            margin: 3rem 0;
            opacity: 0;
            transform: translateY(30px);
        }

        .timeline-item.animate {
            animation: slideUp 0.6s ease forwards;
        }

        @keyframes slideUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .timeline-content {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
            width: 45%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .timeline-item:nth-child(odd) .timeline-content {
            margin-left: auto;
        }

        .timeline-item:nth-child(even) .timeline-content {
            margin-right: auto;
        }

        .timeline-dot {
            position: absolute;
            left: 50%;
            top: 2rem;
            width: 20px;
            height: 20px;
            background: var(--secondary);
            border-radius: 50%;
            transform: translateX(-50%);
            z-index: 2;
        }

        .timeline-title {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--primary);
        }

        .timeline-company {
            color: var(--secondary);
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .timeline-description {
            color: var(--tertiary);
            line-height: 1.6;
        }

        .timeline-metrics {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .metric {
            background: var(--success);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* Metrics Section */
        .metrics {
            padding: 5rem 0;
            background: linear-gradient(135deg, var(--primary) 0%, #334155 100%);
            color: white;
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
        }

        .metric-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .metric-number {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }

        .metric-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .metric-description {
            font-size: 0.9rem;
            opacity: 0.7;
            margin-top: 0.5rem;
        }

        /* Dark Mode - Metrics Section */
        [data-theme="dark"] .metrics {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }

        [data-theme="dark"] .metric-card {
            background: rgba(148, 163, 184, 0.1);
            border: 1px solid rgba(148, 163, 184, 0.2);
        }

        [data-theme="dark"] .metric-number {
            color: #fbbf24;
        }

        [data-theme="dark"] .metric-label,
        [data-theme="dark"] .metric-description {
            color: #f1f5f9;
        }

        /* Footer */
        .footer {
            background: var(--primary);
            color: white;
            padding: 2rem 0;
            text-align: center;
        }

        .footer p {
            opacity: 0.8;
        }

        /* Dark mode footer fix */
        [data-theme="dark"] .footer {
            background: #1e293b;
            border-top: 1px solid rgba(148, 163, 184, 0.2);
        }

        [data-theme="dark"] .footer p {
            color: #f1f5f9;
            opacity: 0.9;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            /* Prevent horizontal overflow on mobile */
            body {
                overflow-x: hidden;
            }

            .container {
                max-width: 100%;
                padding: 0 1rem;
                overflow-x: hidden;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                right: -100%;
                width: 100%;
                max-width: 300px;
                background: var(--background);
                flex-direction: column;
                padding: 2rem;
                box-shadow: var(--shadow-lg);
                transition: right 0.3s ease;
                height: calc(100vh - 70px);
                gap: 1rem;
                z-index: 999;
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links li {
                width: 100%;
            }

            .nav-links a {
                display: block;
                padding: 0.8rem 0;
                font-size: 1.1rem;
            }

            .hero {
                padding-top: 100px;
                padding-bottom: 3rem;
            }

            .hero-content {
                padding: 0 1rem;
            }

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

            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

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

            .timeline-line {
                left: 20px;
            }

            .timeline-content {
                width: calc(100% - 60px);
                margin-left: 60px !important;
                margin-right: 0 !important;
            }

            .timeline-dot {
                left: 20px;
            }

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

            .leetcode-container {
                display: grid !important;
                grid-template-columns: 1fr !important;
                gap: 1.5rem;
            }

            .leetcode-stats,
            .leetcode-chart-section {
                width: 100%;
            }

            .leetcode-card {
                padding: 1.5rem;
                width: 100%;
                box-sizing: border-box;
            }

            .leetcode-card h3 {
                font-size: 1.1rem;
                word-wrap: break-word;
            }

            .leetcode-metrics {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
            }

            .leetcode-metric {
                padding: 0.75rem;
            }

            .leetcode-metric .metric-number {
                font-size: 1.3rem;
            }

            .leetcode-metric .metric-label {
                font-size: 0.8rem;
            }

            .leetcode-metric .metric-sublabel {
                font-size: 0.7rem;
            }

            .difficulty-stats {
                flex-wrap: wrap;
                gap: 0.5rem;
            }

            .skill-chip {
                font-size: 0.75rem;
                padding: 0.4rem 0.7rem;
            }

            .leetcode-chart-container {
                padding: 1rem;
            }

            #leetcode-chart {
                height: 300px !important;
                width: 100% !important;
            }

            .about-image {
                max-width: 200px;
                margin: 0 auto;
            }

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

            .hero .typed-text {
                font-size: 1.1rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .cta-button {
                width: 100%;
                text-align: center;
            }

            .skills-radar {
                height: 300px !important;
            }
        }

        /* LeetCode Section */
        .leetcode-section {
            padding: 5rem 0;
            background: var(--white);
        }

        .leetcode-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .leetcode-card {
            background: var(--background);
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }

        .leetcode-card h3 {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--primary);
            font-size: 1.3rem;
        }

        .leetcode-metrics {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .leetcode-metric {
            text-align: center;
            padding: 1rem;
            background: var(--white);
            border-radius: 8px;
            box-shadow: var(--shadow);
        }

        .leetcode-metric .metric-number {
            font-family: 'Inter', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }

        .leetcode-metric .metric-label {
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.3rem;
        }

        .leetcode-metric .metric-sublabel {
            font-size: 0.8rem;
            color: var(--tertiary);
        }

        .leetcode-breakdown {
            margin-bottom: 2rem;
        }

        .difficulty-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1.5rem;
        }

        .difficulty-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .difficulty {
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            color: white;
        }

        .difficulty.easy {
            background: var(--success);
        }

        .difficulty.medium {
            background: var(--secondary);
        }

        .difficulty.hard {
            background: #ef4444;
        }

        .leetcode-skills h4 {
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .skill-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }

        .skill-chip {
            background: var(--secondary);
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .leetcode-link {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .leetcode-link:hover {
            background: #334155;
            transform: translateY(-2px);
        }

        [data-theme="dark"] .leetcode-link {
            background: var(--secondary);
            color: var(--background);
        }

        [data-theme="dark"] .leetcode-link:hover {
            background: #fcd34d;
            transform: translateY(-2px);
        }

        /* Dark mode - LeetCode section */
        [data-theme="dark"] .leetcode-section {
            background: #0f172a;
        }

        [data-theme="dark"] .leetcode-card {
            background: #1e293b;
            border: 1px solid rgba(148, 163, 184, 0.2);
        }

        [data-theme="dark"] .leetcode-card h3 {
            color: #f1f5f9;
        }

        [data-theme="dark"] .difficulty-item .count {
            color: #f1f5f9;
        }

        [data-theme="dark"] .leetcode-skills h4 {
            color: #f1f5f9;
        }

        [data-theme="dark"] .leetcode-breakdown {
            color: #f1f5f9;
        }

        .leetcode-chart-container {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 2rem;
        }

        [data-theme="dark"] .leetcode-chart-container {
            background: #1e293b;
            border: 1px solid rgba(148, 163, 184, 0.2);
        }

        .chart-title {
            font-family: 'Inter', sans-serif;
            font-size: 1.3rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 2rem;
            color: var(--primary);
        }

        [data-theme="dark"] .chart-title {
            color: #f1f5f9;
        }

        .donut-chart {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .chart-legend {
            display: flex;
            gap: 2rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
        }

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

        [data-theme="dark"] .legend-text {
            color: #f1f5f9;
        }

        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

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