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

:root {
    --primary-color: #2563eb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --border: #e5e7eb;
    --hover: #eff6ff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

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

/* Header & Navigation */
header {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Sections */
.section {
    margin-bottom: 4rem;
}

.section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Profile */
.profile {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-photo-container {
    margin-bottom: 1.5rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Bio */
.bio {
    margin-bottom: 2rem;
}

.bio p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* Links */
.links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.link-button:hover {
    background-color: var(--hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.link-button svg {
    flex-shrink: 0;
}

/* Publications */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.publication {
    padding: 0.75rem;
    background-color: var(--background-alt);
    border-radius: 0.25rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.publication:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.publication-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.publication-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.publication-info {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.view-all-publications {
    margin-top: 2rem;
    text-align: center;
}

.view-all-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Contact */
.contact-info {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

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

    .section h2 {
        font-size: 1.5rem;
    }

    nav {
        gap: 1.5rem;
    }

    .publication {
        padding: 0.625rem;
    }

    .publication-title {
        font-size: 0.875rem;
    }

    .publication-info {
        font-size: 0.75rem;
    }
}
