/* 服务支持页面特定样式 */

/* 主体内容 */
.support-main {
    padding: 120px 0 40px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 80px - 200px); /* 减去导航栏和页脚的高度 */
}

.support-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.support-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 15px;
}

.support-header p {
    font-size: 18px;
    color: #4E5969;
    max-width: 600px;
    margin: 0 auto;
}

/* 支持内容区域 */
.support-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 支持板块样式 */
.support-section {
    margin-bottom: 50px;
}

.support-section:last-child {
    margin-bottom: 0;
}

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

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #00A67E;
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: #4E5969;
    max-width: 600px;
    margin: 15px auto 0;
}

/* 帮助项目网格 */
.help-items,
.download-items,
.training-items,
.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* 帮助项目卡片 */
.help-item,
.download-item,
.training-item,
.service-item {
    background: #ffffff;
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.help-item:hover,
.download-item:hover,
.training-item:hover,
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #00A67E;
}

.help-item h3,
.download-item h3,
.training-item h3,
.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 15px;
}

.help-item p,
.download-item p,
.training-item p,
.service-item p {
    font-size: 15px;
    color: #4E5969;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

/* 下载链接 */
.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-links .btn {
    width: 100%;
}

/* 二维码和软件下载图片展示 */
.qr-container,
.software-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.qr-item,
.software-item {
    text-align: center;
}

.qr-item img,
.software-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.qr-item img:hover,
.software-item img:hover {
    transform: scale(1.05);
    border-color: #00A67E;
}

.qr-item p,
.software-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #4E5969;
}

/* 响应式图片展示 */
@media (max-width: 768px) {
    .qr-container,
    .software-container {
        gap: 15px;
    }
    
    .qr-item img,
    .software-item img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .qr-container,
    .software-container {
        gap: 10px;
    }
    
    .qr-item img,
    .software-item img {
        width: 80px;
        height: 80px;
    }
    
    .qr-item p,
    .software-item p {
        font-size: 12px;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .support-main {
        padding: 110px 0 30px 0;
    }
    
    .support-header h1 {
        font-size: 28px;
    }
    
    .support-header p {
        font-size: 16px;
    }
    
    .support-content {
        padding: 25px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .help-items,
    .download-items,
    .training-items,
    .service-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .help-item,
    .download-item,
    .training-item,
    .service-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .support-main {
        padding: 100px 0 20px 0;
    }
    
    .support-header {
        margin-bottom: 30px;
    }
    
    .support-header h1 {
        font-size: 24px;
    }
    
    .support-content {
        padding: 20px 15px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .help-items,
    .download-items,
    .training-items,
    .service-items {
        grid-template-columns: 1fr;
    }
    
    .help-item,
    .download-item,
    .training-item,
    .service-item {
        padding: 20px;
    }
    
    .help-item h3,
    .download-item h3,
    .training-item h3,
    .service-item h3 {
        font-size: 18px;
    }
    
    .help-item p,
    .download-item p,
    .training-item p,
    .service-item p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .support-main {
        padding: 90px 0 15px 0;
    }
    
    .support-header h1 {
        font-size: 22px;
    }
    
    .support-header p {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .help-item,
    .download-item,
    .training-item,
    .service-item {
        padding: 15px;
    }
}