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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --black: #0a0a0a;
    --dark: #111111;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #888888;
    --white: #ffffff;
    --accent: #22c55e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--light-gray);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-btn {
    background: var(--white) !important;
    color: var(--black) !important;
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-btn:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-intro {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-roles {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 20px;
}

.role-text {
    color: var(--primary-light);
    font-weight: 600;
}

.role-divider {
    color: var(--medium-gray);
}

.role-static {
    color: var(--light-gray);
}

.hero-description {
    font-size: 18px;
    color: var(--light-gray);
    max-width: 500px;
    line-height: 1.7;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 3px solid var(--medium-gray);
    animation: float 6s ease-in-out infinite;
}

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


/* Expertise Cards */
.expertise-cards {
    padding: 60px 24px;
    background: var(--dark);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--dark-gray);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s;
}

.expertise-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.expertise-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.expertise-card p {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.6;
}

/* Company Banner */
.company-banner {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}

.banner-text {
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.company-name {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.banner-subtext {
    font-size: 16px;
    color: var(--light-gray);
}

/* About Section */
.about-section {
    padding: 100px 24px;
    background: var(--black);
}

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--light-gray);
    font-size: 16px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-lead {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.about-text p {
    color: var(--light-gray);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
}

.about-text strong {
    color: var(--primary-light);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat-item {
    padding: 24px;
    background: var(--dark-gray);
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-gray);
}

/* Skills Section */
.skills-section {
    padding: 100px 24px;
    background: var(--dark);
    overflow: hidden;
}

.skills-marquee {
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.skills-marquee::before,
.skills-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.skills-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark) 0%, transparent 100%);
}

.skills-marquee::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--dark) 100%);
}

.marquee-content {
    display: flex;
    gap: 16px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.skill-tag {
    padding: 12px 24px;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.expertise-item {
    padding: 24px;
    background: var(--dark-gray);
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
}

.expertise-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.expertise-item p {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.6;
}


/* Projects Section */
.projects-section {
    padding: 100px 24px;
    background: var(--black);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--dark-gray);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s;
}

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

.project-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.15);
    padding: 6px 12px;
    border-radius: 6px;
}

.project-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.project-card p {
    font-size: 15px;
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-impact {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.impact-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.impact-label {
    font-size: 14px;
    color: var(--light-gray);
}

/* GitHub Section */
.github-section {
    padding: 100px 24px;
    background: var(--dark);
}

.repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.repo-card {
    background: var(--dark-gray);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.repo-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.repo-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.repo-language {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
}

.repo-card p {
    font-size: 13px;
    color: var(--light-gray);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.repo-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--light-gray);
}

.github-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.github-link:hover {
    color: var(--primary-light);
}

.loading {
    text-align: center;
    color: var(--light-gray);
    padding: 40px;
    grid-column: 1 / -1;
}

/* Contact Section */
.contact-section {
    padding: 120px 24px;
    background: var(--black);
    text-align: center;
}

.contact-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-content > p {
    font-size: 18px;
    color: var(--light-gray);
    max-width: 500px;
    margin: 0 auto 40px;
}

.contact-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.contact-btn {
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

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

.contact-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.contact-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--medium-gray);
}

.contact-btn.secondary:hover {
    border-color: var(--white);
}

.location {
    font-size: 14px;
    color: var(--light-gray);
}

/* Footer */
.footer {
    padding: 24px;
    background: var(--dark);
    text-align: center;
    border-top: 1px solid var(--medium-gray);
}

.footer p {
    font-size: 13px;
    color: var(--light-gray);
}

/* Hamburger - hidden by default on desktop */
.hamburger {
    display: none;
}

/* Responsive */
@media (max-width: 968px) {
    /* Hamburger Menu - show on mobile */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

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

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

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

    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark);
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--medium-gray);
    }

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

    .nav-links a {
        font-size: 18px;
    }

    .nav-btn {
        text-align: center;
    }

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

    .hero-intro {
        font-size: 36px;
    }

    .hero-roles {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

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

    .company-name {
        font-size: 40px;
    }

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

    .stats-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1;
        min-width: 140px;
    }

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

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

    .project-card.featured {
        grid-column: span 1;
    }
}
