/* 关于我们页面特定样式 */
.about-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 10%, var(--hero-background-gradient) 0%, transparent 50%);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--hero-h1-start), var(--hero-h1-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-section {
    padding: 80px 0;
}

.about-section:nth-child(even) {
    background-color: var(--secondary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--accent-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-secondary-color);
    max-width: 700px;
    margin: 0;
    /* 去掉 auto，让它从容器左侧开始 */
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
    /* 确保文字靠左 */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background-color: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 5rem;
}

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-primary-color);
}

.team-role {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.team-desc {
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    color: var(--text-secondary-color);
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--accent-primary);
}

.lab-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.lab-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.lab-image img {
    width: 100%;
    height: auto;
    display: block;
}

.lab-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary-color);
}

.lab-content p {
    color: var(--text-secondary-color);
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.feature-list i {
    color: var(--accent-primary);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.research-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.research-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.research-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary-color);
}

.research-card p {
    color: var(--text-secondary-color);
    line-height: 1.7;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--accent-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--primary-bg);
    border: 4px solid var(--accent-primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -13px;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
}

.timeline-date {
    color: var(--accent-primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--text-primary-color);
}

.timeline-content p {
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.partner-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 150px;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary-color);
}

.contact-card p {
    color: var(--text-secondary-color);
    line-height: 1.7;
}

.contact-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }

    .lab-info {
        grid-template-columns: 1fr;
    }
}