/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

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

/* 顶部导航 */
.header {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    margin-bottom: 30px;
}

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

.nav-brand h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

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

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

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

.nav-links a.active {
    color: #0066cc;
    font-weight: 500;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 2px;
}

/* 主要内容布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* 左侧边栏 */
.sidebar {
    position: sticky;
    top: 100px;
}

.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.profile-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.motto {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

.contact-section {
    padding-left: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.contact-item i {
    width: 16px;
    margin-right: 10px;
    color: #666;
}

/* 右侧主要内容 */
.main-content {
    max-width: 600px;
}

.content-section {
    margin-bottom: 35px;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 5px;
}

.content-section p {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.content-section li em {
    color: #666;
    font-style: italic;
    font-size: 0.95em;
}

.content-section li::before {
    content: "•";
    color: #666;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 论文列表 */
.publication-list {
    margin-top: 15px;
}

.publication-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.publication-item:last-child {
    border-bottom: none;
}

.publication-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.publication-item .authors {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
}

.publication-item .venue {
    font-size: 14px;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 8px;
}

.publication-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.pub-link {
    font-size: 12px;
    color: #0066cc;
    text-decoration: none;
    padding: 3px 8px;
    border: 1px solid #0066cc;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.pub-link:hover {
    background-color: #0066cc;
    color: white;
}

/* 项目列表 */
.project-list {
    margin-top: 15px;
}

.project-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.project-item:last-child {
    border-bottom: none;
}

.project-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.project-period {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.project-item p {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .contact-section {
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .content-section h3 {
        font-size: 16px;
    }
    
    .publication-links {
        flex-wrap: wrap;
    }
}