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

:root {
    --primary-color: #1a5276;
    --primary-dark: #0e3a56;
    --primary-light: #2980b9;
    --accent-color: #3498db;
    --accent-light: #5dade2;
    --text-color: #2c3e50;
    --text-light: #555;
    --text-lighter: #888;
    --bg-color: #fff;
    --bg-alt: #f8f9fa;
    --border-color: #e0e6ed;
    --shadow: 0 2px 15px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 10px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    font-size: 20px;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-logo:hover {
    color: var(--primary-dark);
}

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

.nav-link {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(26, 82, 118, 0.06);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 22px;
    height: 2px;
    background: var(--text-color);
    border-radius: 4px;
    transition: var(--transition);
}

/* ==================== 首页横幅 ==================== */
.hero {
    padding: 110px 24px 70px;
    background: linear-gradient(135deg, #eaf2f8 0%, #d4e6f1 50%, #c5dbe8 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-photo {
    flex-shrink: 0;
}

.profile-photo {
    width: 260px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(26, 82, 118, 0.2);
    border: 4px solid #fff;
}

.hero-info h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 3px;
    margin-bottom: 2px;
}

.hero-info h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-light);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-affiliation {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-lighter);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

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

.hero-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 3px 12px rgba(26, 82, 118, 0.2);
}

.hero-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(26, 82, 118, 0.3);
    color: #fff;
}

/* ==================== 通用板块 ==================== */
.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ==================== 个人简介 ==================== */
.about-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.0rem;
    text-align: justify;
}

.about-details {
    flex-shrink: 0;
    min-width: 280px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
}

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

.detail-item i {
    color: var(--accent-color);
    font-size: 1rem;
    width: 18px;
    text-align: center;
    margin-top: 3px;
}

.detail-label {
    display: block;
    color: var(--text-lighter);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.detail-value {
    color: var(--text-color);
    font-size: 0.92rem;
}

.detail-value a {
    color: var(--accent-color);
}

/* ==================== 教育经历（时间线） ==================== */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 16px;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.timeline-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(4px);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.timeline-content h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.timeline-org {
    color: var(--text-light);
    font-size: 0.92rem;
    font-weight: 400;
}

.timeline-desc {
    color: var(--text-lighter);
    font-size: 0.88rem;
}

/* ==================== 研究方向 ==================== */
.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.research-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-color);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.research-card h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.research-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.research-topics {
    list-style: none;
    padding: 0;
}

.research-topics li {
    position: relative;
    padding-left: 18px;
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 2;
}

.research-topics li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* ==================== 主持项目 ==================== */
.project-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid var(--accent-color);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}

.project-year {
    color: var(--text-lighter);
    font-size: 0.9rem;
    font-weight: 500;
}

.project-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.6;
}

.project-english {
    color: var(--text-lighter);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 8px;
}

.project-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.project-detail-item i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

.project-abstract {
    margin-bottom: 20px;
}

.project-abstract h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.project-abstract p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.85;
    text-align: justify;
}

.project-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword {
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
    font-size: 0.82rem;
    padding: 4px 14px;
    border-radius: 16px;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* ==================== 学术成果 ==================== */
.pub-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.pub-stat-item {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pub-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.pub-stat-label {
    font-size: 0.82rem;
    color: var(--text-lighter);
}

.pub-category {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.publications-list {
    margin-bottom: 40px;
}

.publication-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.publication-item:hover {
    background: rgba(26, 82, 118, 0.015);
    padding-left: 8px;
}

.pub-year {
    flex-shrink: 0;
    width: 60px;
    height: 34px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.pub-content h3 {
    font-size: 0.98rem;
    color: var(--text-color);
    margin-bottom: 6px;
    line-height: 1.55;
}

.pub-authors {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 4px;
    line-height: 1.5;
}

.pub-journal {
    color: var(--text-lighter);
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.pub-citation {
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 500;
}

.pub-links {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

.pub-link {
    font-size: 0.82rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pub-link:hover {
    color: var(--primary-dark);
}

/* ==================== 学术交流 ==================== */
.conferences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.conference-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.conference-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.conference-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.conference-info {
    padding: 14px 16px;
}

.conference-info h4 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.conference-info p {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

.conference-card-award {
    border: 2px solid #f0c040;
    background: linear-gradient(135deg, #fffef5, #fff9e6);
    display: flex;
    flex-direction: column;
}

.award-pdf-viewer {
    width: 100%;
    height: 160px;
    border: none;
    background: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
}

.conference-card-award .conference-info {
    text-align: center;
    padding: 12px 16px 16px;
}

.award-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 4px 12px;
    transition: var(--transition);
}

.award-link:hover {
    background: var(--accent-color);
    color: #fff;
}

/* ==================== 更多论文 ==================== */
.pub-more {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px dashed var(--border-color);
}

.pub-more p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pub-more a {
    font-weight: 600;
}

.pub-more a i {
    margin-right: 4px;
}

/* ==================== 论文配图 ==================== */
.pub-figure {
    margin-top: 16px;
    text-align: center;
}

.pub-figure-img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.pub-figure-img:hover {
    box-shadow: var(--shadow-hover);
    transform: scale(1.02);
}

.pub-figure-caption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-lighter);
    font-style: italic;
}

/* ==================== 联系方式 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.contact-card h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--accent-color);
}

.contact-message {
    text-align: center;
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-message p {
    color: var(--text-light);
    font-size: 1.0rem;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 28px 24px;
    font-size: 0.88rem;
}

.footer-note {
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ==================== 淡入动画 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 响应式布局 ==================== */
@media (max-width: 1024px) {
    .conferences-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo {
        width: 200px;
        height: 250px;
    }

    .hero-info h1 {
        font-size: 2.2rem;
    }

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

    .about-content {
        flex-direction: column;
    }

    .about-details {
        min-width: auto;
        width: 100%;
    }

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

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pub-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    .conferences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        gap: 4px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

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

    .nav-link {
        font-size: 1.05rem;
        padding: 12px 30px;
    }

    .hero {
        padding: 90px 20px 50px;
        min-height: auto;
    }

    .section {
        padding: 60px 0;
    }

    .publication-item {
        flex-direction: column;
        gap: 10px;
    }

    .pub-year {
        width: fit-content;
    }

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

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

    .project-card {
        padding: 24px;
    }
}
