/* ============================================================
   客服中心页样式 kefu.css
   移植自 v2_fanscome_official/kefu.html（去掉导航/页脚样式，由 landing.css 提供）
   ============================================================ */

:root {
    --primary: #F5222D;
    --primary-light: #ff4d4f;
    --primary-dark: #cf1322;
    --primary-gradient: linear-gradient(135deg, #F5222D 0%, #ff7875 100%);
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
}

body {
    background: #f5f5f7;
    min-height: 100vh;
}

/* ===== 主内容区 ===== */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* ===== 页面标题 ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 5%;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(245, 34, 45, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 120, 117, 0.1) 0%, transparent 50%);
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== 客服内容 ===== */
.kefu-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 在线客服区域 */
.online-service {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.04);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.online-service h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
}

/* 客服渠道 */
.kefu-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.kefu-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.channel-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.channel-item:hover {
    transform: translateY(-6px);
}
.channel-qr {
    width: 200px;
    height: 200px;
    background: #f5f5f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #999;
    font-size: 0.85rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.channel-item:hover .channel-qr {
    box-shadow: 0 12px 32px -8px rgba(245, 34, 45, 0.2);
    border-color: #fecaca;
}
.channel-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.channel-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}
.channel-id {
    color: #333;
    margin-top: 8px;
    font-size: 0.9rem;
}

/* 官网地址 */
.site-url {
    font-size: 24px;
    margin-top: 30px;
    text-align: center;
    color: var(--text-primary);
}
.site-url a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.site-url a:hover {
    color: var(--primary-light);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header {
        padding: 60px 5%;
    }
    .online-service {
        padding: 24px;
    }
    .service-channels {
        flex-direction: column;
        align-items: center;
    }
    .channel-qr {
        width: 180px;
        height: 180px;
    }
    .channel-item {
        margin: 20px;
    }
    .site-url {
        font-size: 18px;
    }
}
