/* =====================================================
 * v3.56ol.cn - 渠道合作页视觉增强
 * V1.0 | 2026-08-16 | 招商页精致化：Hero质感 + 卡片浮起 + 渐变徽标 + 流程连接线
 * 仅作用于 .channel-* 相关类，不影响其他页面布局
 * ===================================================== */

/* ---------- Hero 质感升级 ---------- */
.channel-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0e4d82 0%, #1a6fb5 55%, #2f8fd0 100%);
    padding: 64px 0 74px;
}
.channel-hero::before {
    content: '';
    position: absolute;
    right: -110px; top: -130px;
    width: 380px; height: 380px;
    border-radius: 50%;
    border: 42px solid rgba(255, 255, 255, .06);
}
.channel-hero::after {
    content: '';
    position: absolute;
    left: -90px; bottom: -150px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .09) 0%, transparent 70%);
}
.channel-hero-inner { position: relative; z-index: 2; }
.channel-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.channel-hero h1 {
    font-size: 38px;
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.channel-hero p {
    font-size: 16px;
    opacity: .92;
    margin: 0 0 30px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}
.channel-hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.channel-hero-actions .btn {
    padding: 11px 30px;
    font-size: 15px;
    border-radius: 8px;
    font-weight: 600;
}
.channel-hero-actions .btn-primary {
    background: #fff;
    color: #0e4d82;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.channel-hero-actions .btn-primary:hover {
    background: #eaf4ff;
    transform: translateY(-2px);
}
.channel-hero-actions .btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .65);
}
.channel-hero-actions .btn-outline-white:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

/* ---------- 区块卡片精致化 ---------- */
.channel-section {
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 2px 14px rgba(13, 79, 133, .06);
    border: 1px solid #eef2f7;
}
.channel-section .section-title {
    font-size: 20px;
    font-weight: 800;
    color: #12203a;
    margin-bottom: 20px;
}
.channel-section .section-title i {
    font-style: normal;
    background: linear-gradient(135deg, #1a6fb5, #2f8fd0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* ---------- A/B 渠道卡 ---------- */
.channel-mode-grid { gap: 18px; }
.channel-mode-card {
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e8eef5;
    background: linear-gradient(180deg, #fff 0%, #fafcfe 100%);
    transition: all .25s ease;
}
.channel-mode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 111, 181, .12);
    border-color: #cfe4f7;
}
.channel-mode-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}
.channel-mode-card:nth-child(1) .channel-mode-icon {
    background: linear-gradient(135deg, #1a6fb5, #3d9be0);
    box-shadow: 0 6px 14px rgba(26, 111, 181, .3);
}
.channel-mode-card:nth-child(2) .channel-mode-icon {
    background: linear-gradient(135deg, #0e8a5f, #3cc08c);
    box-shadow: 0 6px 14px rgba(14, 138, 95, .3);
}
.channel-mode-card h3 { font-size: 18px; margin: 0 0 10px; color: #12203a; font-weight: 700; }
.channel-mode-card p { color: #5a6b82; line-height: 1.7; }
.channel-mode-card li { color: #4d5e75; }
.channel-mode-card li::before { color: #1a6fb5; }

/* ---------- 品类区副标题 ---------- */
.channel-section-sub {
    font-size: 13px;
    color: #8a94a6;
    margin: -10px 0 18px;
    line-height: 1.6;
}

/* ---------- 产品卡（品类卡） ---------- */
.channel-product-grid { gap: 16px; grid-template-columns: repeat(4, 1fr); }
.channel-product-card {
    border-radius: 14px;
    padding: 20px 20px 18px;
    border: 1px solid #e8eef5;
    background: #fff;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    padding-top: 26px;
}
.channel-product-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #1a6fb5, #2f8fd0);
    opacity: 0;
    transition: opacity .25s;
}
.channel-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 111, 181, .12);
    border-color: #cfe4f7;
}
.channel-product-card:hover::before { opacity: 1; }
.channel-product-logo.channel-cat-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
.channel-product-card:nth-child(8n+1) .channel-cat-logo { background: linear-gradient(135deg, #e8f2fc, #d4e7fa); }
.channel-product-card:nth-child(8n+2) .channel-cat-logo { background: linear-gradient(135deg, #e6f7ee, #d3f0e0); }
.channel-product-card:nth-child(8n+3) .channel-cat-logo { background: linear-gradient(135deg, #fdf1e4, #fbe6cd); }
.channel-product-card:nth-child(8n+4) .channel-cat-logo { background: linear-gradient(135deg, #f3eafb, #e9dcf7); }
.channel-product-card:nth-child(8n+5) .channel-cat-logo { background: linear-gradient(135deg, #e4f7fb, #d2eff7); }
.channel-product-card:nth-child(8n+6) .channel-cat-logo { background: linear-gradient(135deg, #fdeaea, #fad8d8); }
.channel-product-card:nth-child(8n+7) .channel-cat-logo { background: linear-gradient(135deg, #f2f5fc, #e3e9f7); }
.channel-product-card:nth-child(8n+8) .channel-cat-logo { background: linear-gradient(135deg, #fbf3e2, #f7e9c9); }
.channel-product-card .tag {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 6px;
}
.channel-product-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 4px 0 6px;
    color: #12203a;
}
.channel-product-card p { color: #6b7a90; line-height: 1.6; }
.channel-product-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}
.channel-product-link a { color: #1a6fb5; }
.channel-product-link a:hover { text-decoration: none; color: #0e4d82; }

/* ---------- 合作服务商 ---------- */
.channel-provider-list { gap: 12px; }
.channel-provider-item {
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e8eef5;
    background: #fff;
    transition: all .2s ease;
}
.channel-provider-item:hover {
    border-color: #cfe4f7;
    box-shadow: 0 8px 20px rgba(26, 111, 181, .08);
    transform: translateY(-2px);
}
.channel-provider-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6fb5, #3d9be0);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(26, 111, 181, .25);
}
.channel-provider-item:nth-child(2) .channel-provider-logo { background: linear-gradient(135deg, #0e8a5f, #3cc08c); }
.channel-provider-item:nth-child(3) .channel-provider-logo { background: linear-gradient(135deg, #d46b08, #ff9a3d); }
.channel-provider-item:nth-child(4) .channel-provider-logo { background: linear-gradient(135deg, #7b1fa2, #b06be0); }
.channel-provider-info h3 { font-size: 15px; margin: 0 0 6px; color: #12203a; }

/* ---------- 合作流程步骤条 ---------- */
.channel-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    padding: 8px 0;
}
.channel-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #b9d9f2 0 10px, transparent 10px 18px);
}
.channel-step {
    position: relative;
    text-align: center;
    padding: 0 10px;
    background: transparent;
    border: none;
    box-shadow: none;
}
.channel-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6fb5, #3d9be0);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(26, 111, 181, .3);
    position: relative;
    z-index: 2;
    border: 4px solid #fff;
}
.channel-step h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: #12203a; }
.channel-step p { font-size: 12.5px; color: #8a94a6; line-height: 1.6; margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .channel-hero { padding: 44px 0 50px; }
    .channel-hero h1 { font-size: 26px; }
    .channel-steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .channel-steps::before { display: none; }
    .channel-section { padding: 20px 18px; }
    .channel-product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 产品详情页统一 ---------- */
.pd-card {
    border-radius: 16px;
    border-color: #e8eef5;
    box-shadow: 0 2px 14px rgba(13, 79, 133, .06);
    padding: 30px 32px;
}
.pd-badge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1a6fb5, #3d9be0);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 6px 14px rgba(26, 111, 181, .28);
}
.pd-head h1 { color: #12203a; }
.pd-price {
    border-radius: 12px;
    border: 1px solid #cfe4f7;
    background: linear-gradient(135deg, #f0f7fc, #e6f2fb);
}
.pd-price .pt { color: #0d4f85; }
.pd-wx { border-radius: 12px; }
.pd-detail { border-radius: 12px; }

/* ---------- 渠道申请页统一 ---------- */
.ch-apply-card {
    border-radius: 16px;
    border-color: #e8eef5;
    box-shadow: 0 2px 14px rgba(13, 79, 133, .06);
    padding: 28px 32px;
}
.ch-apply-head h1 { color: #12203a; }
.ch-type-opt { border-radius: 14px; }
.ch-type-opt.selected {
    border-color: #1a6fb5;
    background: linear-gradient(135deg, #f0f7fc, #e8f3fb);
}
.ch-type-opt .t-badge {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}
.ch-type-opt:nth-child(1) .t-badge {
    background: linear-gradient(135deg, #1a6fb5, #3d9be0);
    color: #fff;
}
.ch-type-opt:nth-child(2) .t-badge {
    background: linear-gradient(135deg, #0e8a5f, #3cc08c);
    color: #fff;
}
.ch-type-opt h3 { color: #12203a; }
.ch-wechat { border-radius: 12px; }
.ch-agree { border-radius: 12px; }
.ch-status-box { border-radius: 12px; }

/* ---------- 询价/报价页统一 ---------- */
.inq-card {
    border-radius: 16px;
    border-color: #e8eef5;
    box-shadow: 0 2px 14px rgba(13, 79, 133, .06);
}
.inq-card h3 { color: #12203a; }
.quote-item { border-radius: 12px; }
.inq-tabs a { font-weight: 500; }
.inq-tabs a.active { color: #1a6fb5; font-weight: 700; }
