/* ==================== 基础设置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 学术暗红 */
    --primary-color: #7f1c21;
    --primary-light: #a52329;
    --primary-dark: #5a1418;
    --primary-accent: #982227;

    /* 辅助色 - 学术风 */
    --accent-blue: #1e40af;
    --accent-gray: #64748b;
    --accent-slate: #475569;

    /* 背景色 - 浅色系 */
    --bg-light: #ffffff;
    --bg-lighter: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-section: #f8fafc;

    /* 文字色 - 深色系 */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* 边框和装饰 */
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-focus: #3b82f6;

    /* 阴影 - 柔和阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* 其他 */
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-lighter);
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==================== 开屏页面 ==================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.splash-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    font-size: 60px;
    color: white;
    box-shadow: var(--shadow-xl);
    animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.splash-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.splash-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.typewriter-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.typewriter-text {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

.typewriter-cursor {
    font-size: 20px;
    color: var(--primary-color);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 24px;
    color: var(--primary-color);
}

.scroll-indicator p {
    font-size: 14px;
    margin: 0;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 背景装饰 ==================== */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    opacity: 0.5;
}

#particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    font-size: 22px;
    color: white;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== Hero 区域 ==================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-main {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.title-sub {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-description p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* Hero 亮点展示 */
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 固定2列 */
    gap: 25px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.highlight-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    font-size: 26px;
    color: white;
    transition: var(--transition);
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-content {
    flex: 1;
    text-align: left;
}

.highlight-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.highlight-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero 装饰元素 - 简化版 */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.1;
}

.deco-circle {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.deco-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: -5%;
}

.deco-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -5%;
}

.deco-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 40%;
}

/* ==================== 通用 Section 样式 ==================== */
.section {
    padding: 80px 0;
    position: relative;
    background: var(--bg-light);
}

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

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

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* ==================== 概况区域 ==================== */
.overview-section {
    position: relative;
    overflow: hidden;
}

/* 背景图片容器 */
.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.overview-section .container {
    position: relative;
    z-index: 1;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.overview-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.overview-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: white;
    transition: var(--transition);
}

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

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==================== 简介区域 ==================== */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    margin-bottom: 40px;
}

.lead-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 12px;
    font-size: 24px;
    color: white;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.feature-content li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.feature-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* About 视觉卡片 */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.visual-card,
.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.visual-header h3,
.timeline-card h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.visual-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-lighter);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.visual-stat:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    font-size: 20px;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 兼容旧样式（如果需要） */
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-name {
    font-size: 13px;
    color: var(--text-muted);
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 15px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
}

.timeline-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== 成员区域 ==================== */
.members-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 成员卡片 - 学术风格 */
.member-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.member-card:hover::before {
    transform: scaleX(1);
}

.member-photo {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-lighter), var(--bg-section));
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.member-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.member-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.member-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.member-name-en {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.member-position {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.member-research {
    margin-bottom: 15px;
}

.research-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.research-tag {
    padding: 4px 12px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 11px;
    color: var(--primary-color);
}

/* 个人简介 */
.member-bio {
    margin-bottom: 15px;
    flex: 1;
}

.bio-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.bio-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 0;
}

.bio-text.empty {
    display: none;
}

.member-contact {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.contact-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.contact-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ==================== 新闻区域（预留） ==================== */
.news-placeholder {
    text-align: center;
    padding: 100px 40px;
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.placeholder-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 25px;
    opacity: 0.5;
}

.news-placeholder h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.news-placeholder p {
    font-size: 16px;
    color: var(--text-muted);
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ==================== 二维码模态框 ==================== */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.qr-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-modal-content {
    position: relative;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
}

.qr-modal.active .qr-modal-content {
    transform: scale(1);
}

.qr-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.qr-modal-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.qr-modal-header {
    margin-bottom: 30px;
}

.qr-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    font-size: 32px;
    color: white;
    box-shadow: var(--shadow-md);
}

.qr-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.qr-modal-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.qr-code-container {
    background: var(--bg-lighter);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-placeholder {
    width: 220px;
    height: 220px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.qr-code-placeholder i {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.5;
}

.qr-code-image {
    width: 220px;
    height: 220px;
    border-radius: var(--radius);
}

.qr-modal-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 20px;
    background: var(--bg-lighter);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius);
}

.qr-modal-description i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .splash-title {
        font-size: 36px;
    }

    .splash-subtitle {
        font-size: 24px;
    }

    .title-main {
        font-size: 42px;
    }

    .title-sub {
        font-size: 32px;
    }

    .hero-highlights {
        grid-template-columns: 1fr; /* 移动端改为1列 */
        gap: 15px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ==================== 装修中样式 ==================== */
.construction-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
}

.construction-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-lighter), var(--bg-section));
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    font-size: 50px;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.construction-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.construction-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* 概况区域 - 功能预览 */
.construction-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.feature-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: left;
}

.feature-preview:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.preview-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    font-size: 22px;
    color: white;
}

.preview-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.preview-text p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 进度条 */
.progress-container {
    max-width: 600px;
    margin: 0 auto;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-percent {
    color: var(--primary-color);
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    transition: width 1s ease-out;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* 简介区域 - 时间线预览 */
.timeline-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
}

.preview-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.preview-section-title i {
    color: var(--primary-color);
}

.timeline-placeholder {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 20px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

.timeline-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-dot:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color), var(--primary-color), var(--border-color));
    transform: translateY(-50%);
}

.preview-hint {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    transition: var(--transition);
}

.info-preview:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    font-size: 24px;
    color: white;
}

.info-preview h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-preview p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 成员区域 - 成员占位符 */
.members-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.member-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
}

.member-placeholder:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.placeholder-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-lighter), var(--bg-section));
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary-color);
}

.placeholder-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.placeholder-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 状态提示 */
.status-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.status-note i {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .construction-features {
        grid-template-columns: 1fr;
    }

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

    .members-preview-grid {
        grid-template-columns: 1fr;
    }

    .construction-icon-large {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .construction-title {
        font-size: 24px;
    }

    .feature-preview {
        flex-direction: column;
        text-align: center;
    }

    .preview-text {
        text-align: center;
    }
}
