/* 磁力聚星达人商务平台区块样式 */
.ks-influencer-section {
    padding: 70px 0;
    position: relative;
    background-color: #fff;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
    background-image: linear-gradient(135deg, #fff8f8, #fff);
}

/* 背景元素 */
.ks-influencer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.ks-influencer-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: influencerFloat 15s infinite ease-in-out;
}

@keyframes influencerFloat {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(15px) rotate(-5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.ks-influencer-shape.shape1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: linear-gradient(45deg, #FF2E4D, #FF6232);
    animation-delay: 0s;
}

.ks-influencer-shape.shape2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -100px;
    background: linear-gradient(45deg, #FF2E4D, #FF6232);
    animation-delay: -5s;
}

.ks-influencer-shape.shape3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 15%;
    background: linear-gradient(45deg, #FF2E4D, #FFDC00);
    animation-delay: -10s;
}

/* 标题区域 - 使用相同的标题样式，但确保独立 */
.ks-influencer-section .ks-section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ks-influencer-section .ks-section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(45deg, #FF2E4D, #FF6232);
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 46, 77, 0.25);
    transform: rotate(-2deg);
    text-align: center;
}

.ks-influencer-section .ks-section-title {
    font-size: 34px;
    font-weight: 800;
    color: #333333;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #FF2E4D, #FF6232);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 100%;
    text-align: center;
}

.ks-influencer-section .ks-section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.ks-influencer-section .ks-title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #FF2E4D, #FF6232);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.ks-influencer-section .ks-title-underline:after {
    content: '';
    position: absolute;
    top: -2px;
    left: 15px;
    width: 10px;
    height: 8px;
    background: #FF2E4D;
    border-radius: 50%;
    animation: influencerSlide 3s infinite ease;
}

@keyframes influencerSlide {
    0% { left: 0; }
    50% { left: calc(100% - 10px); }
    100% { left: 0; }
}

/* 平台介绍 */
.ks-influencer-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.intro-content {
    flex: 1;
    max-width: 550px;
    padding-right: 30px;
}

.intro-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.intro-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF2E4D, #FF6232);
    border-radius: 2px;
}

.intro-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.intro-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px 10px;
    background: rgba(255, 46, 77, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 46, 77, 0.1);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #FF2E4D;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* 平台图示 */
.intro-illustration {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-diagram {
    width: 100%;
    height: 380px;
    position: relative;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FF2E4D, #FF6232);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(255, 46, 77, 0.3);
    z-index: 3;
}

.center-icon {
    width: 40px;
    height: 40px;
    fill: white;
    margin-bottom: 5px;
}

.center-text {
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.diagram-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.diagram-node {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.node-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.node-icon svg {
    width: 30px;
    height: 30px;
    fill: #FF2E4D;
}

.node-text {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.diagram-node.node1 {
    top: 15%;
    left: 10%;
}

.diagram-node.node2 {
    top: 15%;
    right: 10%;
}

.diagram-node.node3 {
    bottom: 15%;
    left: 10%;
}

.diagram-node.node4 {
    bottom: 15%;
    right: 10%;
}

.diagram-node.node5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-150px);
}

.diagram-edges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.edge {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 46, 77, 0.2), rgba(255, 98, 50, 0.2));
    border-radius: 50px;
}

.edge.edge1 {
    width: 3px;
    height: 120px;
    top: 40px;
    left: 55px;
    transform: rotate(45deg);
}

.edge.edge2 {
    width: 3px;
    height: 120px;
    top: 40px;
    right: 55px;
    transform: rotate(-45deg);
}

.edge.edge3 {
    width: 3px;
    height: 120px;
    bottom: 40px;
    left: 55px;
    transform: rotate(-45deg);
}

.edge.edge4 {
    width: 3px;
    height: 120px;
    bottom: 40px;
    right: 55px;
    transform: rotate(45deg);
}

.edge.edge5 {
    width: 80px;
    height: 3px;
    top: 50%;
    left: 25%;
}

/* 平台优势 */
.ks-influencer-advantages {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 1); /* 改为不透明白色 */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: calc(100% + 180px); /* 增加了100px */
}

.advantages-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.advantages-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF2E4D, transparent);
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 下面三个卡片往下调整60px - 增加了10px */
.advantage-card:nth-child(4),
.advantage-card:nth-child(5),
.advantage-card:nth-child(6) {
    margin-top: 60px;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 46, 77, 0.15);
}

.advantage-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FF2E4D, #FF6232);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF2E4D, #FF6232);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 15px rgba(255, 46, 77, 0.2);
    transition: all 0.3s ease;
    transform: rotate(-5deg);
}

.advantage-card:hover .advantage-icon {
    transform: rotate(0) scale(1.1);
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.advantage-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.advantage-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 平台合作流程 - 全面优化升级 */
.ks-influencer-process {
    max-width: 1100px;
    margin: 0 auto 80px; /* 增加了底部间距 */
    padding: 30px 20px;
    position: relative;
    z-index: 2;
    background: #ffffff; /* 改为纯白色背景，不再半透明 */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.process-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 50px; /* 增加了间距 */
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 15px; /* 增加了底部间距 */
}

.process-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF2E4D, transparent);
}

.process-container {
    display: flex;
    align-items: center;
    justify-content: center; /* 修改为居中 */
    flex-wrap: wrap;
    position: relative;
    padding: 20px 0;
}

.process-container:before {
    content: '';
    position: absolute;
    top: 40px; /* 调整线的位置 */
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 46, 77, 0.1), rgba(255, 46, 77, 0.5), rgba(255, 46, 77, 0.1));
    border-radius: 4px;
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 160px; /* 增加宽度 */
    margin: 0 15px; /* 增加间距 */
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.process-step:hover {
    transform: translateY(-8px); /* 增加悬停效果 */
}

.step-bubble {
    width: 60px; /* 增加尺寸 */
    height: 60px; /* 增加尺寸 */
    background: linear-gradient(135deg, #FF2E4D, #FF6232);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px; /* 增加字体大小 */
    font-weight: 700;
    margin-bottom: 20px; /* 增加间距 */
    box-shadow: 0 8px 20px rgba(255, 46, 77, 0.3); /* 增强阴影 */
    border: 4px solid white; /* 添加白色边框 */
    transition: all 0.3s ease;
}

.process-step:hover .step-bubble {
    transform: scale(1.1); /* 悬停时放大效果 */
    box-shadow: 0 12px 25px rgba(255, 46, 77, 0.4);
}

.step-content {
    padding: 20px; /* 增加内边距 */
    background: white;
    border-radius: 15px; /* 增加圆角 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* 增强阴影 */
    width: 100%;
    min-height: 120px; /* 增加高度 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    box-shadow: 0 12px 30px rgba(255, 46, 77, 0.15); /* 悬停时增强阴影并带颜色 */
}

.step-content h4 {
    font-size: 18px; /* 增加字体大小 */
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 隐藏原来的箭头 */
.process-arrow {
    display: none;
}

/* 美妆品牌案例优化 */
.ks-influencer-case {
    max-width: 1100px;
    margin: 0 auto 80px; /* 增加底部间距 */
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.case-box {
    background: linear-gradient(135deg, #fff, #fff9f9); /* 添加渐变背景 */
    border-radius: 20px;
    padding: 50px; /* 增加内边距 */
    box-shadow: 0 20px 50px rgba(255, 46, 77, 0.1); /* 增强阴影并带颜色 */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 46, 77, 0.1); /* 添加微妙的边框 */
}

.case-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 46, 77, 0.05), rgba(255, 98, 50, 0.02));
    z-index: -1;
}

/* 添加装饰元素 */
.case-box:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent, rgba(255, 46, 77, 0.05));
    border-radius: 0 0 0 150px;
    z-index: -1;
}

.case-badge {
    position: absolute;
    top: 30px; /* 调整位置 */
    right: 30px; /* 调整位置 */
    background: linear-gradient(45deg, #FF2E4D, #FF6232);
    color: white;
    font-size: 16px; /* 增加字体大小 */
    font-weight: 600;
    padding: 8px 20px; /* 增加内边距 */
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(255, 46, 77, 0.25); /* 增强阴影 */
    letter-spacing: 1px; /* 增加字间距 */
}

.case-title {
    font-size: 28px; /* 增加字体大小 */
    font-weight: 700;
    color: #333;
    margin-bottom: 25px; /* 增加间距 */
    max-width: 80%;
    line-height: 1.4; /* 增加行高 */
    position: relative;
    padding-bottom: 15px; /* 添加底部间距供下划线使用 */
}

.case-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FF2E4D, #FF6232);
    border-radius: 3px;
}

.case-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8; /* 增加行高 */
    margin-bottom: 40px; /* 增加间距 */
    max-width: 90%;
}

.case-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding: 20px; /* 添加内边距 */
    background: rgba(255, 255, 255, 0.8); /* 添加背景 */
    border-radius: 15px; /* 添加圆角 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* 添加阴影 */
}

.metric-item {
    text-align: center;
    transition: all 0.3s ease;
    padding: 15px; /* 添加内边距 */
    border-radius: 10px; /* 添加圆角 */
}

.metric-item:hover {
    transform: translateY(-10px); /* 添加悬停动画 */
    background: white; /* 悬停时添加背景 */
    box-shadow: 0 15px 30px rgba(255, 46, 77, 0.1); /* 悬停时添加阴影 */
}

.metric-circle {
    position: relative;
    width: 120px; /* 增加尺寸 */
    height: 120px; /* 增加尺寸 */
    margin: 0 auto 15px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 8;
}

.circle-fill {
    fill: none;
    stroke: #FF2E4D;
    stroke-width: 8;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 1s ease;
}

.circle-text {
    font-size: 18px; /* 增加字体大小 */
    font-weight: 700;
    fill: #333;
}

.metric-label {
    font-size: 16px; /* 增加字体大小 */
    color: #666;
    display: block;
    margin-top: 15px; /* 增加间距 */
    font-weight: 600; /* 增加字重 */
}

/* 行动号召 */
.ks-influencer-cta {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.ks-btn-consult {
    background: linear-gradient(45deg, #FF2E4D, #FF6232);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 46, 77, 0.3);
    position: relative;
    overflow: hidden;
}

.ks-btn-consult:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s ease;
}

.ks-btn-consult:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 46, 77, 0.4);
}

.ks-btn-consult:hover:before {
    left: 100%;
}

.cta-note {
    font-size: 14px;
    color: #999;
    margin-top: 15px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .ks-influencer-intro {
        flex-direction: column;
    }
    
    .intro-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .intro-illustration {
        max-width: 100%;
    }
    
    .advantages-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-container {
        justify-content: center;
    }
    
    .process-step {
        margin: 0 10px 20px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .ks-influencer-section {
        padding: 50px 0;
    }
    
    .ks-influencer-section .ks-section-title {
        font-size: 28px;
    }
    
    .intro-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .platform-diagram {
        height: 300px;
    }
    
    .case-title {
        font-size: 20px;
        max-width: 100%;
    }
    
    .case-desc {
        max-width: 100%;
    }
    
    .case-metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .metric-item {
        margin-bottom: 30px;
    }
    
    .ks-btn-consult {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .advantages-container {
        grid-template-columns: 1fr;
    }
    
    .ks-influencer-section .ks-section-title {
        font-size: 24px;
    }
    
    .intro-title {
        font-size: 22px;
    }
    
    .intro-text {
        font-size: 15px;
    }
    
    .case-box {
        padding: 30px 20px;
    }
    
    .case-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: 15px;
    }
} 