/* Global Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004499;
    --accent-color: #ff6b6b;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-alt: #f0f2f5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 60px;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background-color: var(--bg-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: center;
}

.hero-image {
    text-align: center;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-secondary);
    box-shadow: var(--shadow-lg);
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.hero-links {
    display: flex;
    gap: 16px;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 18px;
}

.hero-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* About Section */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

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

.about-section {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

/* Experience & Education */
.experience-compact,
.education-compact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-item,
.edu-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.exp-item:last-child,
.edu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.exp-header,
.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.exp-header h4,
.edu-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.exp-date,
.edu-date {
    font-size: 13px;
    color: var(--text-light);
}

.exp-role,
.edu-degree {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Publications Section */
.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.pub-card {
    background-color: white;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pub-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.pub-card.highlight {
    border-left: 3px solid var(--accent-color);
}

.pub-type {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pub-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.pub-authors {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pub-authors strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Publication Tags */
.pub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.5rem;
}

.pub-tag {
    background: #f0f2f5;
    color: #666666;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.85em;
    white-space: nowrap;
    display: inline-block;
    margin-right: 6px;
    border: 1px solid #e0e0e0;
}

/* Publication Stats */
.pub-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

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

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* News Section */
.news-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 8px 0;
    align-items: flex-start;
}

.news-date {
    min-width: 80px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-content p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.news-content a:hover {
    border-bottom-color: var(--primary-color);
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.contact-item i {
    font-size: 16px;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .publications-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .nav-toggle .bar {
        width: 25px;
        height: 2px;
        background-color: var(--text-primary);
        margin: 3px 0;
        transition: 0.3s;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

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

    .pub-stats {
        gap: 30px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

        .news-item {
        flex-direction: row;
        gap: 12px;
        padding: 6px 0;
    }

    .news-date {
        min-width: 70px;
        font-size: 12px;
    }

    .news-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .about-section {
        padding: 20px;
    }

    .pub-card {
        padding: 20px;
    }
}
