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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

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

/* ==================== 头部样式 ==================== */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

header p {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

header .author {
    text-align: right;
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.9;
}

/* ==================== 导航栏样式 ==================== */
nav {
    background: #444;
    color: #fff;
    padding: 0.8rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #fff;
    padding: 0.5rem 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

nav a:hover,
nav a.active {
    background: #555;
    border-radius: 5px;
}

/* ==================== 频道简介横幅 ==================== */
.intro-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    margin: 30px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.intro-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.intro-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 2;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* ==================== 通用区块样式 ==================== */
.section {
    margin: 40px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* ==================== 使命区域 ==================== */
.mission-section {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.mission-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #667eea;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* ==================== 特色列表 ==================== */
.features-section {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 15px;
}

.feature-header h3 {
    font-size: 1.5rem;
    color: #333;
}

.feature-content p {
    margin-bottom: 10px;
    color: #555;
}

.feature-desc {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #666;
    font-style: italic;
}

/* ==================== 内容体系 ==================== */
.content-system {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.content-card {
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.content-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.content-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #667eea;
}

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

.content-card li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.content-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* ==================== 团队介绍 ==================== */
.team-section {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-intro {
    max-width: 800px;
    margin: 0 auto;
}

.team-description {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.member-tag {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* ==================== 发展历程 ==================== */
.timeline-section {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 1;
    text-align: center;
    font-weight: bold;
    color: #667eea;
    padding: 10px;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 时间线圆点 */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #667eea;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #667eea;
}

/* ==================== 社区价值观 ==================== */
.values-section {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #667eea;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* ==================== 联系我们 ==================== */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title::after {
    background: white;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.primary-btn {
    background: white;
    color: #667eea;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.1);
}

.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.contact-info p {
    margin: 10px 0;
    opacity: 0.95;
}

/* ==================== 底部样式 ==================== */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #333;
    color: #fff;
    margin-top: 50px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #667eea;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.95rem;
    }

    nav a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #555;
    }

    .intro-banner {
        padding: 30px 20px;
    }

    .intro-content h2 {
        font-size: 1.6rem;
    }

    .intro-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .mission-grid,
    .content-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-date {
        text-align: left;
        padding: 0 0 10px 0;
    }

    .timeline-item::after {
        left: 20px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .mission-card,
    .content-card,
    .value-card {
        padding: 20px 15px;
    }

    .feature-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.1rem;
    }
}

