/* 技术中心页面样式 */

/* 双向流新风系统工作原理优化样式 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    background: #ffffff;
}

.step-number {
    background: #3498db;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.step-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* 工作模式对比优化 */
.mode-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.mode-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mode-item.highlight {
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.mode-item h4 {
    font-size: 16px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.mode-item p {
    font-size: 14px;
    color: #555;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.mode-item ul {
    margin: 0;
    padding-left: 16px;
}

.mode-item ul li {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.3;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .step-item {
        padding: 15px;
    }
    
    .mode-comparison {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mode-item {
        padding: 15px;
    }
}

/* 英雄区域 */
.knowledge-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.knowledge-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.knowledge-hero p {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 32px;
}

/* 知识分类 */
.knowledge-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.knowledge-categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.category-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #95a5a6;
}

.category-link {
    display: inline-block;
    padding: 10px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* 热门文章 */
.popular-articles {
    padding: 80px 0;
    background: white;
}

.popular-articles h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.article-card.featured {
    border: 2px solid #3498db;
    position: relative;
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.article-category {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
}

.article-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid #dee2e6;
}

.article-actions {
    display: flex;
    gap: 15px;
}

/* 技术资源 */
.technical-resources {
    padding: 80px 0;
    background: #ecf0f1;
}

.technical-resources h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.resource-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #3498db;
}

.resource-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.resource-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.resource-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #95a5a6;
}

/* 专家团队 */
.expert-team {
    padding: 80px 0;
    background: white;
}

.expert-team h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 50px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expert-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.expert-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #3498db;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.expert-title {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 15px;
}

.expert-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.expert-specialties {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.specialty {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* 最新资讯 */
.latest-news {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.news-header h2 {
    font-size: 36px;
    color: #2c3e50;
}

.view-all {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #2980b9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-date {
    text-align: center;
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
}

.news-date .month {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
}

.news-content h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-content p {
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.news-category {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.news-views {
    color: #95a5a6;
}

/* 技术咨询 */
.technical-consultation {
    padding: 80px 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.consultation-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.consultation-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.consultation-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.consultation-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.consultation-features .feature-icon {
    font-size: 20px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.contact-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-info span {
    font-size: 14px;
    opacity: 0.8;
}

.consultation-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    color: #333;
}

.consultation-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .knowledge-hero h1 {
        font-size: 36px;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .consultation-features {
        grid-template-columns: 1fr;
    }
    
    .news-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .knowledge-hero {
        padding: 100px 0 60px;
    }
    
    .knowledge-hero h1 {
        font-size: 28px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid,
    .articles-grid,
    .resources-grid,
    .experts-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-actions {
        flex-direction: column;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .consultation-form {
        padding: 20px;
    }
}