/* 服务保障页面样式 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* 服务保障Banner */
.service-banner {
    background: url('/web/WWW/img/1.png') no-repeat center center;
    background-size: cover;
    color: #333;
    padding: 100px 0;
    text-align: left;
    position: relative;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.banner-content p {
    font-size: 16px;
    max-width: 800px;
    margin: 0;
    color: #666;
}

/* 导航选项卡 */
.service-tabs {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tabs-container {
    display: flex;
    justify-content: flex-start;
    padding: 0;
}

.tab-item {
    padding: 20px 40px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-item:hover {
    color: #007bff;
}

.tab-item.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

/* 24/7技术支持 */
.tech-support {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.support-item {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.support-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.support-icon.online-service {
    background-color: #e3f2fd;
    background-image: url('/web/WWW/icon/online-service.svg');
}

.support-icon.phone-service {
    background-color: #e8f5e8;
    background-image: url('/web/WWW/icon/phone-service.svg');
}

.support-icon.faq-service {
    background-color: #fff3e0;
    background-image: url('/web/WWW/icon/faq-service.svg');
}

.support-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.faq-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e9ecef;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.faq-link:hover {
    background-color: #dee2e6;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.support-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.support-time {
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 25px !important;
}

.support-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-btn:hover {
    background-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.ticket-links {
    margin-top: 20px;
}

.ticket-link {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 15px;
    background-color: #e9ecef;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ticket-link:hover {
    background-color: #dee2e6;
    color: #007bff;
    transform: translateY(-2px);
}

.phone-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover {
    text-decoration: underline;
}

/* 无忧退款政策 */
.refund-policy {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.policy-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.refund-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.refund-item {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.refund-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.refund-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.refund-icon.policy-icon {
    background-color: #e3f2fd;
    background-image: url('/web/WWW/icon/policy-icon.svg');
}

.refund-icon.process-icon {
    background-color: #e8f5e8;
    background-image: url('/web/WWW/icon/process-icon.svg');
}

.refund-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.refund-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.refund-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.refund-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
}

.refund-process {
    list-style: none;
    padding: 0;
    margin: 0;
}

.refund-process li {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    padding-left: 35px;
}

.refund-process li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.refund-process {
    counter-reset: step-counter;
}

/* 投诉与建议 */
.complaint-section {
    padding: 80px 0;
    background-color: white;
}

.complaint-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.complaint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.complaint-item {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.complaint-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.complaint-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.complaint-icon.feedback-icon {
    background-color: #e3f2fd;
    background-image: url('/web/WWW/icon/feedback-icon.svg');
}

.complaint-icon.report-icon {
    background-color: #ffebee;
    background-image: url('/web/WWW/icon/report-icon.svg');
}

.complaint-item .complaint-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.complaint-item .complaint-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.feedback-link,
.report-link {
    display: inline-block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.feedback-link {
    background-color: #28a745;
}

.feedback-link:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.report-link {
    background-color: #dc3545;
}

.report-link:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* Banner 优化 */
    .service-banner {
        padding: 50px 0;
        background-position: center;
    }
    
    .banner-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .banner-content p {
        font-size: 13px;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    /* 容器优化 */
    .container {
        padding: 0 15px;
    }
    
    /* 标题优化 */
    .section-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    /* 网格布局优化 */
    .support-grid,
    .refund-grid,
    .complaint-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 卡片样式优化 */
    .support-item,
    .refund-item,
    .complaint-item {
        padding: 15px;
        min-height: auto;
        border-radius: 8px;
    }
    
    /* 图标优化 */
    .support-icon,
    .refund-icon,
    .complaint-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    /* 文本优化 */
    .support-item h3,
    .refund-item h3,
    .complaint-item h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .support-item p,
    .refund-item p,
    .complaint-item p {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .policy-desc,
    .complaint-desc {
        font-size: 13px;
        margin-bottom: 30px;
        padding: 0 10px;
        text-align: center;
    }
    
    /* 按钮优化 */
    .support-btn,
    .feedback-link,
    .report-link {
        padding: 10px 15px;
        font-size: 12px;
        align-self: center;
        width: 100%;
        text-align: center;
        border-radius: 4px;
    }
    
    .ticket-link {
        padding: 6px 12px;
        font-size: 12px;
        margin-right: 8px;
        margin-bottom: 8px;
        border-radius: 4px;
    }
    
    /* 选项卡优化 */
    .tabs-container {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px;
    }
    
    .tab-item {
        padding: 10px 15px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* 列表优化 */
    .refund-list li,
    .refund-process li {
        font-size: 12px;
        margin-bottom: 10px;
        padding-left: 18px;
        line-height: 1.4;
    }
    
    .refund-process li {
        padding-left: 25px;
    }
    
    .refund-process li::before {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    /* 服务时间优化 */
    .support-time {
        font-size: 12px;
        margin-bottom: 20px !important;
    }
    
    /* 电话链接优化 */
    .footer-nav-item {
        font-size: 12px !important;
        line-height: 1.4;
    }
    
    /* 技术支持部分优化 */
    .tech-support {
        padding: 60px 0;
    }
    
    /* 退款政策部分优化 */
    .refund-policy {
        padding: 60px 0;
    }
    
    /* 投诉与建议部分优化 */
    .complaint-section {
        padding: 60px 0;
    }
}

/* 小手机屏幕优化 */
@media (max-width: 480px) {
    /* Banner 优化 */
    .service-banner {
        padding: 60px 0;
    }
    
    .banner-content h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .banner-content p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    /* 标题优化 */
    .section-title {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    /* 卡片样式优化 */
    .support-item,
    .refund-item,
    .complaint-item {
        padding: 12px;
    }
    
    /* 图标优化 */
    .support-icon,
    .refund-icon,
    .complaint-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    /* 文本优化 */
    .support-item h3,
    .refund-item h3,
    .complaint-item h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .support-item p,
    .refund-item p,
    .complaint-item p {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    /* 按钮优化 */
    .support-btn,
    .feedback-link,
    .report-link {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .ticket-link {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    /* 选项卡优化 */
    .tab-item {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    /* 列表优化 */
    .refund-list li,
    .refund-process li {
        font-size: 11px;
        margin-bottom: 8px;
        padding-left: 15px;
    }
    
    .refund-process li {
        padding-left: 22px;
    }
    
    .refund-process li::before {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
}