/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

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

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #333;
}

/* 主要内容区域 */
.main-content {
    padding: 60px 0;
}

.profile-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

/* 个人头像区域 */
.profile-image {
    text-align: center;
}

.profile-image img {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    margin-bottom: 20px;
}

.profile-image h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.profile-image .title {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
}

.contact-info {
    text-align: left;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
}

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

/* 个人介绍区域 */
.profile-content {
    padding-left: 20px;
}

.profile-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

.profile-content .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
}

.profile-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

/* 研究兴趣 */
.research-interests {
    margin-top: 40px;
}

.research-interests h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.research-interests ul {
    list-style: none;
    padding-left: 0;
}

.research-interests li {
    padding: 8px 0;
    color: #555;
    border-left: 3px solid #e5e5e5;
    padding-left: 15px;
    margin-bottom: 5px;
}

.research-interests li:hover {
    border-left-color: #0066cc;
    transition: border-left-color 0.3s ease;
}

/* Publications 按钮样式 */
.pub-links {
    margin-top: 6px;
}

.pub-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pub-links a:hover {
    background-color: #f8f9fa;
    border-color: #0066cc;
    color: #0066cc;
}

/* 相邻按钮间距 */
.pub-links a + a {
    margin-left: 8px;
}

/* 社交链接 */
.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #f8f9fa;
    border-color: #0066cc;
    color: #0066cc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .profile-content {
        padding-left: 0;
    }
    
    .profile-content h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .profile-image img {
        width: 170px;
        height: 170px;
    }
    
    .profile-content h1 {
        font-size: 1.8rem;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

/* 页脚 */
.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文本样式 */
::selection {
    background-color: #0066cc;
    color: white;
}