:root {
            --primary: #0066ff;
            --primary-dark: #0052cc;
            --secondary: #00d4ff;
            --dark: #000000;
            --dark-gray: #1a1a1a;
            --medium-gray: #2d2d2d;
            --light-gray: #e0e0e0;
            --text: #ffffff;
            --text-dim: #b0b0b0;
            --accent: #00ff88;
            --warning: #ff6b6b;
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--dark);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
        }

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

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

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--text);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

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

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

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

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

        .nav-cta {
            background: var(--primary);
            color: var(--text);
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .nav-cta:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            color: var(--text) !important;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6rem 2rem 4rem;
            position: relative;
            background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
        }

        .hero-content {
            max-width: 1200px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

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

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

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--text-dim);
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .hero-description {
            font-size: 1.125rem;
            color: var(--text-dim);
            margin-bottom: 2.5rem;
            line-height: 1.8;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.05rem;
        }

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

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
        }

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

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

        .hero-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            background: rgba(0, 102, 255, 0.1);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: var(--text-dim);
            font-size: 0.95rem;
        }

        /* Key Achievements Section */
        .achievements {
            padding: 5rem 2rem;
            background: var(--dark-gray);
        }

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

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

        .section-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .section-subtitle {
            font-size: 1.25rem;
            color: var(--text-dim);
        }

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

        .achievement-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 2.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .achievement-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .achievement-card:hover::before {
            transform: translateX(0);
        }

        .achievement-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.05);
        }

        .achievement-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .achievement-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text);
        }

        .achievement-description {
            color: var(--text-dim);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .achievement-metric {
            font-size: 1.125rem;
            color: var(--accent);
            font-weight: 600;
        }

        /* AI Projects Section */
        .ai-projects {
            padding: 5rem 2rem;
            background: var(--dark);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .project-card {
            background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.05));
            border: 1px solid rgba(0, 102, 255, 0.3);
            border-radius: 20px;
            padding: 2.5rem;
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .project-card::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

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

        .project-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
            border-color: var(--primary);
        }

        .project-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .project-icon {
            font-size: 2rem;
        }

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

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .tech-tag {
            background: rgba(0, 102, 255, 0.2);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .project-description {
            color: var(--text-dim);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .project-results {
            display: flex;
            gap: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .result-item {
            text-align: center;
        }

        .result-value {
            display: block;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
        }

        .result-label {
            font-size: 0.875rem;
            color: var(--text-dim);
        }

        /* Experience Timeline */
        .experience {
            padding: 5rem 2rem;
            background: var(--dark-gray);
        }

        .timeline {
            position: relative;
            max-width: 900px;
            margin: 3rem auto;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: linear-gradient(180deg, var(--primary), var(--secondary));
        }

        .timeline-item {
            position: relative;
            width: 50%;
            padding: 2rem;
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }

        .timeline-item:nth-child(odd) {
            left: 0;
            padding-right: 3rem;
            text-align: right;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
            padding-left: 3rem;
        }

        .timeline-dot {
            position: absolute;
            top: 2rem;
            width: 20px;
            height: 20px;
            background: var(--primary);
            border-radius: 50%;
            border: 4px solid var(--dark-gray);
            z-index: 1;
        }

        .timeline-item:nth-child(odd) .timeline-dot {
            right: -10px;
        }

        .timeline-item:nth-child(even) .timeline-dot {
            left: -10px;
        }

        .timeline-content {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 2rem;
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--primary);
        }

        .timeline-date {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .timeline-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .timeline-company {
            color: var(--text-dim);
            margin-bottom: 1rem;
        }

        /* Contact Section */
        .contact {
            padding: 5rem 2rem;
            background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
        }

        .contact-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .contact-item {
            background: rgba(255, 255, 255, 0.08);
            border: 2px solid rgba(0, 102, 255, 0.3);
            border-radius: 12px;
            padding: 2rem;
            transition: all 0.3s ease;
            color: var(--text);
            text-decoration: none;
            display: block;
            text-align: center;
            font-weight: 500;
            font-size: 1.1rem;
        }

        .contact-item:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            background: rgba(0, 102, 255, 0.2);
            color: var(--text);
            text-decoration: none;
        }

        .contact-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .contact-label {
            display: block;
            color: var(--text-dim);
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .contact-value {
            color: var(--text);
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-value:hover {
            color: var(--primary);
        }

        /* Hero Chat Interface */
        .hero-chat-container {
            background: rgba(0, 0, 0, 0.4);
            border: 2px solid rgba(0, 102, 255, 0.3);
            border-radius: 12px;
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            height: 560px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 8px 32px rgba(0, 102, 255, 0.1);
        }

        .hero-chat-container .chat-header {
            text-align: center;
            margin-bottom: 1rem;
            flex-shrink: 0;
        }

        .hero-chat-container .chat-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.25rem;
        }

        .hero-chat-container .chat-title i {
            color: var(--primary);
        }

        .hero-chat-container .chat-subtitle {
            font-size: 0.85rem;
            color: var(--text-dim);
        }

        .hero-chat-container .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 0.5rem;
            margin-bottom: 1rem;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) transparent;
        }

        .hero-chat-container .chat-messages::-webkit-scrollbar {
            width: 4px;
        }

        .hero-chat-container .chat-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .hero-chat-container .chat-messages::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 2px;
        }

        .hero-chat-container .message {
            display: flex;
            margin-bottom: 1rem;
            animation: slideInHero 0.3s ease-out;
        }

        @keyframes slideInHero {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero-chat-container .message.user {
            flex-direction: row-reverse;
        }

        .hero-chat-container .message.user .message-content {
            background: var(--primary);
            color: white;
            margin-left: 0.5rem;
            margin-right: 0;
        }

        .hero-chat-container .message-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
            font-size: 0.8rem;
        }

        .hero-chat-container .message.user .message-avatar {
            background: var(--text-dim);
        }

        .hero-chat-container .message-content {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0.75rem;
            margin-left: 0.5rem;
            max-width: 75%;
            font-size: 0.85rem;
            line-height: 1.4;
        }

        .hero-chat-container .message-text {
            color: var(--text);
        }

        .hero-chat-container .chat-suggestions {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            justify-content: center;
            flex-shrink: 0;
        }

        .hero-chat-container .suggestion-chip {
            background: rgba(0, 102, 255, 0.1);
            border: 1px solid rgba(0, 102, 255, 0.3);
            border-radius: 20px;
            padding: 0.4rem 0.8rem;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            color: var(--text);
        }

        .hero-chat-container .suggestion-chip:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-1px);
            border-color: var(--primary);
        }

        .hero-chat-container .chat-input-container {
            flex-shrink: 0;
        }

        .hero-chat-container .chat-input {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .hero-chat-container .chat-input input {
            flex: 1;
            padding: 0.75rem;
            border: 1px solid rgba(0, 102, 255, 0.3);
            border-radius: 8px;
            font-size: 0.85rem;
            transition: all 0.2s ease;
            background: rgba(0, 0, 0, 0.3);
            color: var(--text);
        }

        .hero-chat-container .chat-input input::placeholder {
            color: var(--text-dim);
        }

        .hero-chat-container .chat-input input:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(0, 0, 0, 0.5);
            box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
        }

        .hero-chat-container .chat-input button {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            border: none;
            background: var(--primary);
            color: white;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-chat-container .chat-input button:hover {
            background: var(--primary-dark);
            transform: scale(1.05);
        }

        .hero-chat-container .chat-input button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        /* Ensure spinner is white */
        .hero-chat-container .chat-input button .fa-spinner {
            color: white !important;
        }

        /* Responsive adjustments for hero chat */
        @media (max-width: 1200px) {
            .hero-chat-container {
                height: 480px;
            }
        }

        @media (max-width: 768px) {
            .hero {
                flex-direction: column;
                text-align: center;
            }
            
            .hero-text, .hero-visual {
                width: 100%;
            }
            
            .hero-chat-container {
                height: 350px;
                margin-top: 2rem;
            }
            
            .hero-chat-container .suggestion-chip {
                font-size: 0.7rem;
                padding: 0.3rem 0.6rem;
            }
        }

        /* Footer */
        footer {
            padding: 2rem;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-dim);
        }

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

        /* Dancing dots loader */
        .loading-dots {
            display: inline-flex;
            gap: 4px;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .loading-dots span {
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
            animation: dotWave 1.4s ease-in-out infinite;
        }

        .loading-dots span:nth-child(1) {
            animation-delay: 0s;
        }

        .loading-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes dotWave {
            0%, 60%, 100% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
            30% {
                transform: translateY(-15px) scale(1.2);
                opacity: 0.7;
            }
        }

        .fade-in {
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

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

            .hero-buttons {
                justify-content: center;
            }

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

            .timeline {
                padding: 0;
                margin: 3rem 0;
                overflow-x: visible;
            }

            .timeline::before {
                left: 20px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 3rem;
                padding-right: 1rem;
                text-align: left;
                left: 0 !important;
            }

            .timeline-item:nth-child(odd) {
                padding-left: 3rem;
                padding-right: 1rem;
            }

            .timeline-item:nth-child(even) {
                padding-left: 3rem;
            }

            .timeline-dot {
                left: 10px !important;
                right: auto !important;
            }

            .timeline-content {
                margin-left: 0;
                max-width: 100%;
            }

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

        /* Insights Section */
        .insights {
            padding: 5rem 2rem;
            background: var(--dark);
        }

        .insights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .insight-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 2rem;
            transition: all 0.3s ease;
            cursor: default;
            position: relative;
            overflow: hidden;
        }

        .insight-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

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

        .insight-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
        }

        .insight-category {
            display: inline-block;
            background: rgba(0, 102, 255, 0.2);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .insight-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .insight-title a {
            color: var(--text);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .insight-title a:hover {
            color: var(--primary);
        }

        .insight-excerpt {
            color: var(--text-dim);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .insight-meta {
            display: flex;
            gap: 2rem;
            color: var(--text-dim);
            font-size: 0.875rem;
        }

        .insights-cta {
            text-align: center;
            margin-top: 3rem;
        }

        /* Smooth scroll */
        html {
            scroll-behavior: smooth;
        }

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

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

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }