:root {
    --primary-red: #c60c30;
    --dark-red: #9e0c13;
    --text-main: #2d3748;
    --text-light: #718096;
    --bg-body: #f8fafc;
    --header-height: 80px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    background-image: none;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 0 40px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: var(--primary-red);
    /* 导航栏背景改为红色 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

header.hide {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0;
    color: white;
    /* 标题颜色改为白色以在红色背景上更清晰 */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.site-subtitle {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.8);
    /* 副标题颜色改为浅白色 */
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    gap: 10px;
}

nav a {
    text-decoration: none;
    color: white;
    /* 导航链接颜色改为白色 */
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    /* 悬停时使用半透明白色背景 */
}

nav a.current {
    color: white;
    background: rgba(255, 255, 255, 0.3);
    /* 当前页面链接使用更明显的白色背景 */
    font-weight: 600;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 60px) 20px 80px;
}

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

.page-title {
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

.team-section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin: 0;
    padding-right: 20px;
    background: var(--bg-body);
    white-space: nowrap;
}

.section-line {
    height: 1px;
    background: #e2e8f0;
    width: 100%;
}

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

.team-member {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-red), var(--primary-red));
}

.photo-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    position: relative;
}

.member-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    border-color: #fff1f2;
}

.member-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.member-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--text-main);
}

.member-position {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.member-email {
    font-size: 0.9rem;
    color: var(--text-light);
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 15px;
    font-family: monospace;
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.link-icon:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: rotate(360deg);
}

footer {
    background: var(--primary-red);
    /* 页脚背景改为红色 */
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    /* 提高透明度使文本更清晰 */
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    header {
        height: auto;
        padding: 20px;
    }

    .content {
        padding-top: 40px;
    }

    nav {
        width: 100%;
        overflow-x: auto;
    }

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