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

body {
    background: white;
    color: black;
    font-family: 'Inter', sans-serif;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    font-stretch: condensed;
}

.logo:hover {
    opacity: 0.8;
}

.contact-btn {
    background: black;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}

.contact-btn:hover {
    background: #1a1a1a;
}

/* Grid background */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, #e5e5e5 1px, transparent 1px),
        linear-gradient(to bottom, #e5e5e5 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    pointer-events: none;
}

/* Section blur overlays */
.section-blur-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
    z-index: 5;
}

.section-blur-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
    z-index: 5;
}

/* Hero section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.avatar {
    width: 24rem;
    height: 24rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

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

.username {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.bio {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 42rem;
    margin: 0 auto;
}

.bio a {
    color: black;
    text-decoration: underline;
}

.bio a:hover {
    text-decoration: none;
}

/* Section common */
.section {
    background: white;
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.container {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

/* Projects grid */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-card {
    display: block;
    padding: 2rem;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: black;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.project-desc {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: black;
}

.github-link span {
    border-bottom: 1px solid black;
}

.project-card:hover .github-link span {
    border-bottom-color: transparent;
}

.github-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s;
}

.project-card:hover .github-link svg {
    transform: translateX(4px);
}

/* Interests section */
.interests-text {
    max-width: 48rem;
}

.intro {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.interest-paragraph {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.interest-paragraph:last-child {
    margin-bottom: 0;
}

.highlight {
    color: black;
    font-weight: 500;
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid #e5e5e5;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 768px) {
    .username {
        font-size: 6rem;
    }
    
    .bio {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3.75rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .avatar {
        width: 30rem;
        height: 30rem;
    }
}