/* 客服页面样式 */

/* 客服页面容器 */
.service-page-container {
    width: 100%;
    min-height: calc(100vh - 60px);
    background: #111827;
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    overflow-y: visible !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

/* Header部分 */
.service-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px);
    padding: calc(40px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 30px max(20px, env(safe-area-inset-left));
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.service-header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Logo图标 */
.service-logo {
    margin-bottom: 20px;
}

.service-logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4),
                0 0 40px rgba(251, 191, 36, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4),
                    0 0 40px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 8px 24px rgba(251, 191, 36, 0.6),
                    0 0 60px rgba(251, 191, 36, 0.5);
    }
}

.service-logo-circle i {
    font-size: 48px;
    color: white;
}

/* 标题 */
.service-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 描述 */
.service-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

/* 统计容器 */
.service-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    gap: 0;
}

.service-stat-item {
    text-align: center;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.service-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 4px;
    flex-shrink: 0;
}

.service-stat-value {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #fbbf24;
    line-height: 1.3;
    white-space: nowrap;
}

.service-stat-label {
    font-size: 9px;
    opacity: 0.9;
    color: white;
    line-height: 1.3;
    white-space: nowrap;
}

/* 主内容区 */
.service-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* 章节标题 */
.service-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    margin: 0 0 8px 0;
}

.service-section-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.service-section-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
}

/* 专属服务通道 */
.service-channel-section {
    margin-bottom: 32px;
}

/* 淘宝官方店铺卡片 */
.taobao-store-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.taobao-store-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
}

.store-card-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.store-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-icon i {
    font-size: 24px;
    color: #1f2937;
}

.store-info {
    flex: 1;
}

.store-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.store-slogan {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    line-height: 1.5;
}

.store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

.store-badge i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.store-card-right {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    flex-shrink: 0;
}

/* 进入店铺按钮 */
.enter-store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.enter-store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.enter-store-btn i {
    font-size: 12px;
}

/* FAQ部分 */
.faq-section {
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
}

.faq-question i.fa-question-circle {
    color: #fbbf24;
    font-size: 18px;
    flex-shrink: 0;
}

.faq-question span {
    flex: 1;
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.faq-question .faq-toggle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 16px 50px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* 没找到答案部分 */
.no-answer-section {
    text-align: center;
    padding: 20px 0;
}

.no-answer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

/* 直接咨询客服按钮 */
.direct-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    transition: all 0.3s;
}

.direct-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.direct-service-btn:active {
    transform: translateY(0);
}

.direct-service-btn i {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-header {
        padding: 30px 16px 24px;
    }
    
    .service-logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .service-logo-circle i {
        font-size: 40px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .service-description {
        font-size: 13px;
    }
    
    .service-stats {
        padding: 10px 12px;
        max-width: 100%;
    }
    
    .service-stat-value {
        font-size: 13px;
    }
    
    .service-stat-label {
        font-size: 8px;
    }
    
    .service-main-content {
        padding: 20px 16px;
    }
    
    .service-section-title {
        font-size: 18px;
    }
    
    .taobao-store-card {
        padding: 16px;
    }
    
    .store-icon {
        width: 44px;
        height: 44px;
    }
    
    .store-icon i {
        font-size: 20px;
    }
    
    .store-name {
        font-size: 15px;
    }
    
    .store-slogan {
        font-size: 11px;
    }
    
    .store-badges {
        gap: 10px;
    }
    
    .store-badge {
        font-size: 10px;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question span {
        font-size: 13px;
    }
    
    .faq-answer {
        padding: 0 16px 14px 46px;
        font-size: 12px;
    }
}

