/* 发展历程 - 双列网格卡片样式 */

.history-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.history-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.history-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #005BAC 0%, #00A8A8 100%);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.history-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.history-header p {
    font-size: 14px;
    color: #999;
    letter-spacing: 8px;
}

.history-header p span {
    color: #005BAC;
    font-weight: 600;
}

.timeline-wrapper {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #005BAC 0%, #00A8A8 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
}

.timeline-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #005BAC 0%, #00A8A8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-card:hover {
    box-shadow: 0 15px 50px rgba(0, 91, 172, 0.12);
    transform: translateY(-4px);
    border-color: rgba(0, 91, 172, 0.15);
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card-current {
    background: linear-gradient(135deg, rgba(0, 91, 172, 0.03) 0%, #fff 100%);
    border: 2px solid rgba(0, 91, 172, 0.2);
}

.timeline-card-current::before {
    opacity: 1;
    background: linear-gradient(180deg, #ff6b35 0%, #f7931e 100%);
}

.card-year {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #005BAC 0%, #0074D9 100%);
    padding: 8px 18px;
    border-radius: 25px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.timeline-card-current .card-year {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.card-theme {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.timeline-card-current .card-theme {
    color: #005BAC;
}

.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
}

.now-tag {
    display: inline-block;
    background: #fff;
    color: #ff6b35;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 响应式 */
@media (max-width: 992px) {
    .timeline-line {
        display: none;
    }
    
    .timeline-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 50px 0;
    }
    
    .history-section .container {
        padding: 0 20px;
    }
    
    .history-header {
        margin-bottom: 40px;
    }
    
    .history-header h2 {
        font-size: 26px;
    }
    
    .history-header p {
        font-size: 12px;
        letter-spacing: 4px;
    }
    
    .timeline-grid {
        gap: 20px;
    }
    
    .timeline-row {
        gap: 16px;
    }
    
    .timeline-card {
        padding: 24px;
    }
    
    .card-year {
        font-size: 13px;
        padding: 6px 14px;
        margin-bottom: 12px;
    }
    
    .card-theme {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .card-desc {
        font-size: 13px;
    }
}
