/**
 * 小红书营销服务区块样式
 * 专用于营销服务选项卡功能，添加特定前缀避免与其他区块的样式冲突
 */

/* 营销服务区块容器 */
.xhs-marketing-services-section {
    padding: 60px 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(255, 230, 230, 0.4), transparent 60%),
                radial-gradient(circle at bottom left, rgba(230, 240, 255, 0.4), transparent 60%);
    overflow: hidden;
}

/* 区块标题样式 */
.xhs-marketing-services-section .section-title {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.xhs-marketing-services-section .section-title h2 {
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.xhs-marketing-services-section .section-title h2:after {
    content: '';
    height: 4px;
    width: 60%;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #FF4F4F, #FF9999);
    border-radius: 2px;
}

.xhs-marketing-services-section .section-title p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 选项卡导航样式 */
.xhs-marketing-services-tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.xhs-marketing-services-tab-btn {
    padding: 10px 24px;
    margin: 0 8px 12px;
    border: none;
    border-radius: 30px;
    background-color: #f5f5f5;
    color: #555;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.xhs-marketing-services-tab-btn:hover {
    background-color: #ffeaea;
    color: #ff4f4f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 79, 79, 0.1);
}

.xhs-marketing-services-tab-btn.active {
    background: linear-gradient(45deg, #ff4f4f, #ff7777);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 79, 79, 0.2);
}

/* 选项卡内容区域 */
.xhs-marketing-services-tabs-content {
    position: relative;
    min-height: 300px;
}

.xhs-marketing-services-tab-pane {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    transform: translateY(10px);
}

.xhs-marketing-services-tab-pane.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

/* 服务详情卡片样式 */
.xhs-marketing-service-details {
    display: flex;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.xhs-marketing-service-details:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #ff4f4f, #ff7777);
    z-index: 1;
}

.xhs-marketing-service-details:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,79,79,0.05) 0%, rgba(255,119,119,0) 70%);
    z-index: -1;
}

/* 服务内容样式 */
.xhs-marketing-service-content {
    padding: 40px;
    flex: 3;
}
.xhs-marketing-service-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.xhs-marketing-service-details:hover .xhs-marketing-service-title {
    background: linear-gradient(90deg, #ff4f4f, #ff7777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
}

.xhs-marketing-service-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

/* 特点列表样式 */
.xhs-marketing-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.xhs-marketing-feature-list:before {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255,79,79,0.3), rgba(255,119,119,0.1));
    z-index: 0;
}

.xhs-marketing-feature-item {
    display: flex;
    margin-bottom: 16px;
    padding-right: 15px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.xhs-marketing-feature-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.xhs-marketing-feature-icon {
    flex: 0 0 25px;
    height: 25px;
    border-radius: 50%;
    background: #ffeaea;
    color: #ff4f4f;
    text-align: center;
    line-height: 25px;
    font-size: 14px;
    margin-right: 15px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.xhs-marketing-feature-item:hover .xhs-marketing-feature-icon {
    background: #ff4f4f;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(255, 79, 79, 0.3);
}

.xhs-marketing-feature-text {
    flex: 1;
}

.xhs-marketing-feature-text strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #444;
    transition: color 0.3s ease;
}

.xhs-marketing-feature-item:hover .xhs-marketing-feature-text strong {
    color: #ff4f4f;
}

.xhs-marketing-feature-text p {
    font-size: 16px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* 服务统计数据 */
.xhs-marketing-service-stats {
    display: flex;
    margin-top: 30px;
    border-top: 1px dashed #eee;
    padding-top: 25px;
}

.xhs-marketing-service-stat-item {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    animation-fill-mode: forwards;
    transition: all 0.3s ease;
}

.xhs-marketing-service-stat-item.stat-animated {
    animation: xhs-marketing-fadeInUp 0.5s ease forwards;
}

.xhs-marketing-service-stat-item:hover {
    transform: translateY(-5px);
}

.xhs-marketing-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #ff4f4f;
    line-height: 1.2;
    margin-bottom: 5px;
}

.xhs-marketing-stat-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

/* 服务图片 */
.xhs-marketing-service-image {
    flex: 2;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xhs-marketing-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.xhs-marketing-service-details:hover .xhs-marketing-service-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* 动画定义 */
@keyframes xhs-marketing-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes xhs-marketing-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .xhs-marketing-service-details {
        flex-direction: column;
    }
    
    .xhs-marketing-service-image {
        height: 250px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .xhs-marketing-services-section {
        padding: 40px 0;
    }
    
    .xhs-marketing-services-tabs-nav {
        margin-bottom: 30px;
    }
    
    .xhs-marketing-services-tab-btn {
        padding: 8px 18px;
        font-size: 14px;
        margin: 0 5px 10px;
    }
    
    .xhs-marketing-service-content {
        padding: 30px 25px;
    }
    
    .xhs-marketing-service-title {
        font-size: 20px;
    }
    
    .xhs-marketing-service-desc {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .xhs-marketing-services-section .section-title h2 {
        font-size: 24px;
    }
    
    .xhs-marketing-service-stats {
        flex-direction: column;
    }
    
    .xhs-marketing-service-stat-item {
        margin-bottom: 15px;
    }
    
    .xhs-marketing-service-image {
        height: 200px;
    }
}

/* 博主种草选项卡卡片式设计 */
.xhs-marketing-service-card-container {
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

/* 顶部标题和介绍 */
.xhs-marketing-service-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    position: relative;
}

.xhs-marketing-service-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #FF4F4F, #FF9999);
    border-radius: 3px;
}

.xhs-marketing-service-main-title {
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #333, #FF4F4F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.xhs-marketing-service-intro {
    font-size: 24px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    font-weight: 500 !important;
    color: #666;
}

/* 核心数据指标卡片 */
.xhs-marketing-data-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.xhs-marketing-data-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    margin: 0 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.xhs-marketing-data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 79, 79, 0.1);
}

.xhs-marketing-data-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF4F4F, #FF9999);
    border-radius: 4px 4px 0 0;
}

.xhs-marketing-data-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef0f0;
    position: relative;
}

.xhs-marketing-data-icon:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FF4F4F;
    font-size: 1.5rem;
}

.xhs-marketing-data-icon.kol-icon:before {
    content: "\f007"; /* 用户图标 */
}

.xhs-marketing-data-icon.category-icon:before {
    content: "\f0b1"; /* 公文包图标 */
}

.xhs-marketing-data-icon.roi-icon:before {
    content: "\f3d1"; /* 增长图标 */
}

.xhs-marketing-data-number {
    font-size: 36px !important;
    font-weight: 800 !important;
    margin-bottom: 5px;
    color: #333;
}

.xhs-marketing-data-number span {
    font-size: 20px !important;
    color: #FF4F4F;
}

.xhs-marketing-data-label {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #666;
}

/* 核心优势卡片 */
.xhs-marketing-feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.xhs-marketing-feature-card {
    width: calc(50% - 15px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.xhs-marketing-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 79, 79, 0.1);
}

.xhs-marketing-feature-card-header {
    background: linear-gradient(90deg, #FF4F4F, #FF7777);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    color: white;
}

.xhs-marketing-feature-card-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xhs-marketing-feature-card-icon:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    font-size: 1rem;
}

.xhs-marketing-feature-card-icon.pyramid-icon:before {
    content: "\f1e0"; /* 网络图标 */
}

.xhs-marketing-feature-card-icon.data-icon:before {
    content: "\f080"; /* 图表图标 */
}

.xhs-marketing-feature-card-title {
    margin: 0;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

/* 金字塔式博主矩阵卡片 */
.xhs-marketing-feature-card-levels {
    padding: 20px;
}

.xhs-marketing-level {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.xhs-marketing-level:hover {
    background: #fef0f0;
    transform: translateX(5px);
}

.xhs-marketing-level-badge {
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
}

.xhs-marketing-level.top-level .xhs-marketing-level-badge {
    background: #FF4F4F;
}

.xhs-marketing-level.mid-level .xhs-marketing-level-badge {
    background: #FF7777;
}

.xhs-marketing-level.base-level .xhs-marketing-level-badge {
    background: #FF9999;
}

.xhs-marketing-level-info {
    flex: 1;
}

.xhs-marketing-level-info h5 {
    margin: 0 0 3px;
    font-size: 18px !important;
    font-weight: 600;
    color: #333;
}

.xhs-marketing-level-info p {
    margin: 0;
    font-size: 16px !important;
    color: #666;
}

.xhs-marketing-level-number {
    font-weight: 700;
    color: #FF4F4F;
    font-size: 20px !important;
}

/* 数据驱动精准匹配卡片 */
.xhs-marketing-metrics {
    padding: 20px;
}

.xhs-marketing-metric {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.xhs-marketing-metric-name {
    width: 120px;
    font-size: 18px !important;
    color: #333;
    font-weight: 500;
}

.xhs-marketing-metric-bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 15px;
}

.xhs-marketing-metric-progress {
    height: 100%;
    background: linear-gradient(90deg, #FF4F4F, #FF9999);
    border-radius: 4px;
}

.xhs-marketing-metric-value {
    font-size: 18px !important;
    font-weight: 700;
    color: #FF4F4F;
    width: 50px;
    text-align: right;
}

.xhs-marketing-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.xhs-marketing-tag {
    background: #fef0f0;
    color: #FF4F4F;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 16px !important;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* 种收闭环流程卡片 */
.xhs-marketing-workflow-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.xhs-marketing-workflow-header {
    background: linear-gradient(90deg, #FF4F4F, #FF7777);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    color: white;
}

.xhs-marketing-workflow-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xhs-marketing-workflow-icon:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0ae"; /* 任务列表图标 */
    color: white;
    font-size: 1rem;
}

.xhs-marketing-workflow-title {
    margin: 0;
    font-size: 28px !important;
    font-weight: 700 !important;
}

.xhs-marketing-workflow-steps {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.xhs-marketing-workflow-step {
    width: calc(50% - 15px);
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.xhs-marketing-workflow-step:hover {
    background: #fef0f0;
    transform: translateY(-5px);
}

.xhs-marketing-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FF4F4F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px !important;
    margin-right: 15px;
    flex-shrink: 0;
}

.xhs-marketing-step-content {
    flex: 1;
}

.xhs-marketing-step-content h5 {
    margin: 0 0 5px;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #333;
}

.xhs-marketing-step-content p {
    margin: 0;
    font-size: 22px !important;
    line-height: 1.5 !important;
    color: #666;
}

.xhs-marketing-workflow-statistics {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.xhs-marketing-stat {
    flex: 1;
    text-align: center;
}

.xhs-marketing-stat-value {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #FF4F4F;
    margin-bottom: 5px;
}

.xhs-marketing-stat-label {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .xhs-marketing-feature-card {
        width: 100%;
    }
    
    .xhs-marketing-workflow-step {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .xhs-marketing-data-cards {
        flex-direction: column;
    }
    
    .xhs-marketing-data-card {
        margin: 0 0 20px;
    }
    
    .xhs-marketing-service-main-title {
        font-size: 1.8rem;
    }
    
    .xhs-marketing-service-intro {
        font-size: 1rem;
    }
}

/* 服务优势列表 - 大幅增加 */
.xhs-feature-points li {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
}

/* 营销服务选项卡标签 - 适当调整 */
.xhs-marketing-services-tab-btn {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
}

/* 直播卡片文字大小调整 */
div[style*="padding: 30px;"] div[style*="display: flex; overflow-x: auto;"] div[style*="flex: 0 0 auto; width: 300px;"] h5[style*="font-size: 1.3rem"] {
    font-size: 1.6rem !important;
}

div[style*="padding: 30px;"] div[style*="display: flex; overflow-x: auto;"] div[style*="flex: 0 0 auto; width: 300px;"] strong[style*="font-size: 1.1rem"] {
    font-size: 1.3rem !important;
}

div[style*="padding: 30px;"] div[style*="display: flex; overflow-x: auto;"] div[style*="flex: 0 0 auto; width: 300px;"] p[style*="font-size: 1rem"] {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

/* 话题卡片文字大小调整 */
div[style*="display: flex; flex-wrap: wrap; justify-content: space-between;"] > div[style*="width: calc(50% - 10px)"] > div[style*="font-size: 1.25rem"] {
    font-size: 1.5rem !important;
}

div[style*="display: flex; flex-wrap: wrap; justify-content: space-between;"] > div[style*="width: calc(50% - 10px)"] > div[style*="font-size: 1.25rem"] svg {
    font-size: 1.5rem !important;
}

div[style*="display: flex; flex-wrap: wrap; justify-content: space-between;"] > div[style*="width: calc(50% - 10px)"] > p[style*="font-size: 1.05rem"] {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
}

/* 服务内容区域文字大小调整 */
.xhs-service-intro h4[style*="font-size: 1.4rem"] {
    font-size: 1.8rem !important;
}

.xhs-service-intro li[style*="font-size: 1.1rem"] {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.xhs-service-intro .xhs-step-num[style*="font-size: 1.2rem"] {
    font-size: 1.5rem !important;
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
}

.xhs-service-intro .xhs-step-desc[style*="font-size: 1.1rem"] {
    font-size: 1.4rem !important;
    margin-top: 10px !important;
}

.xhs-process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.xhs-process-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 10px;
    flex: 1;
}

.xhs-node-icon {
    width: 70px;
    height: 70px;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 79, 79, 0.2);
}

.xhs-node-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.xhs-node-info h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 5px;
    font-weight: 600;
}

.xhs-node-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.xhs-node-line {
    position: absolute;
    top: 35px;
    left: 75px;
    width: calc(100% - 75px);
    height: 3px;
    background: #FF4F4F;
    z-index: 1;
}

.xhs-process-node:last-child .xhs-node-line {
    display: none;
}

.xhs-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.xhs-section-title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.xhs-section-title p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .xhs-process-flow {
        flex-direction: column;
        padding: 20px;
    }
    
    .xhs-process-node {
        margin-bottom: 30px;
    }
    
    .xhs-node-line {
        display: none;
    }
} 