/* 技术能力页面样式 */

/* 主内容区 */
.main-content {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* 页面标题 */
.main-content h1 {
    color: #2c3e50;
    font-weight: 700;
}

/* 技能卡片 */
.skill-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.skill-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px) !important;
    border-color: #007bff;
}

.skill-icon {
    font-size: 2rem;
}

.skill-title {
    color: #2c3e50;
    font-weight: 600;
}

.skill-features li {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
}

.skill-badge {
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-badge {
    background-color: #0056b3;
}

/* 技术栈标签云 */
.tech-stack-section {
    border: 1px solid #e9ecef;
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    background-color: #0056b3 !important;
}

/* 统计数据 */
.stats-section {
    border: 1px solid #e9ecef;
}

.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    color: #2c3e50;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
    }
    
    .skill-card {
        padding: 1.5rem !important;
    }
    
    .tech-stack-section,
    .stats-section {
        padding: 1.5rem !important;
    }
    
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    .stat-item:last-child {
        margin-bottom: 0;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

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

.skill-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }
.skill-card:nth-child(7) { animation-delay: 0.7s; }
.skill-card:nth-child(8) { animation-delay: 0.8s; }
.skill-card:nth-child(9) { animation-delay: 0.9s; }