/* 社交平台营销页面专用样式 */

/* 社交平台英雄区 */
#social-platform.hero {
    /* 基础样式 - 与智能大屏保持一致 */
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

#social-platform.hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#social-platform.hero .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#social-platform.hero .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

#social-platform.hero .container {
    position: relative;
    z-index: 1;
}

#social-platform.hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

#social-platform.hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Noto Sans SC', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#social-platform.hero .hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #ffffff;
    font-family: 'Noto Sans SC', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

/* 社交平台模块样式 */
.social-platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.social-platform-text {
    position: relative;
}

.social-platform-intro {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
    margin: 0 0 40px;
    font-weight: 500;
}

.social-platform-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.social-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.social-feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: linear-gradient(135deg, #0066cc, #004499);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.social-feature-item:hover .social-feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.3);
}

.social-feature-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.social-feature-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.social-platform-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.social-platform-image:hover {
    transform: scale(1.02);
}

.social-platform-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.social-platform-image:hover img {
    transform: scale(1.05);
}

/* 专业服务模块样式 */
.professional-services-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    overflow: visible;
}

/* 社交平台页面专用的专业服务样式 */
.professional-services-header-section {
    background-color: white;
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    min-height: auto;
    box-sizing: border-box;
}

.professional-services-content-section {
    background-color: #f0f0f0;
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    min-height: auto;
    box-sizing: border-box;
    overflow-y: visible;
}

.professional-services-footer-section {
    background-color: #0a2540;
    width: 100%;
    padding: 20px 0 60px;
    flex: 0 1 auto;
    min-height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* 确保专业服务第三层的resource-advantages-container向上对齐 */
.professional-services-footer-section .resource-advantages-container {
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
}

/* 专业服务标题样式 */
.professional-services-title-container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    margin: 0 !important;
}

.professional-services-header-section .resource-advantages-container {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left !important;
}

.professional-services-main-title {
    color: #0a2540;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.5;
    z-index: 2;
}

.professional-services-main-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -20px;
    width: calc(100% + 40px);
    height: 30%;
    background-color: #20b2aa;
    z-index: -1;
}

/* 我们的服务部分样式 */
.our-services-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.our-services-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Noto Sans SC', sans-serif;
}

.our-services-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Noto Sans SC', sans-serif;
}

/* 服务项样式 */
.service-items {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 10px;
}

.service-item {
    flex: 1 0 350px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: center;
    padding: 20px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 180px;
    max-height: 250px;
    overflow: hidden;
}

/* 确保服务项内容在flex布局中正确分布 */
.service-item > * {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

/* 允许描述行根据内容调整，但不无限扩展 */
.service-desc-line1,
.service-desc-line2 {
    flex-shrink: 1;
    flex-grow: 0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.service-item .service-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #20b2aa;
    margin: -15px 0 15px 0 !important;
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-family: 'Noto Sans SC', sans-serif;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.service-desc-line1,
.service-desc-line2 {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 5px 0;
    font-family: 'Noto Sans SC', sans-serif;
    text-align: center;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    word-wrap: break-word;
    padding: 0;
}

/* 服务描述列表样式 */
.service-description-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
    padding: 0 10px;
    height: 100%;
}

.service-description-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    display: flex;
    align-items: flex-start;
}

.service-description-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    font-family: 'Noto Sans SC', sans-serif;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 社交平台英雄区响应式样式 */
    #social-platform.hero {
        height: 80vh;
        padding-top: 60px;
    }
    
    #social-platform.hero .hero-title {
        font-size: 2.5rem;
    }
    
    #social-platform.hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* 专业服务三层结构响应式样式 */
    .professional-services-wrapper {
        height: auto;
        max-height: none;
        min-height: auto;
    }
    
    .professional-services-header-section,
    .professional-services-content-section,
    .professional-services-footer-section {
        flex: none;
        min-height: auto;
        height: auto;
        padding: 30px 0;
    }
    
    .professional-services-content-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .professional-services-main-title {
        font-size: 2rem;
    }
    
    .service-items {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        overflow-x: visible;
    }
    
    .service-item {
        flex: 1 1 100%;
        min-width: auto;
        width: 100%;
        max-width: 400px;
        margin-bottom: 0;
        padding: 15px 15px;
        min-height: auto;
        max-height: none;
    }
    
    /* 优化服务项内部间距，减少空白 */
    .service-item .service-name {
        min-height: auto;
        margin-bottom: 10px;
    }
    
    .service-item .service-subtitle {
        min-height: auto;
        margin: 0 0 10px 0 !important;
    }
    
    .service-description-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
    }
    
    /* 专注平台模块响应式样式修复图标与图片重叠问题 */
    .focus-title {
        margin: 0 0 30px;
    }
}

/* 专注主流社交媒体种草平台模块样式 */
.social-platform-focus-section {
    background-color: white;
    padding: 120px 20px 80px;
}

.focus-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 80px;
}

/* 左侧平台图标区域 */
.focus-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.platform-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.platform-icon.xiaohongshu {
    background-color: transparent;
    color: #ff4757;
}

.platform-icon.douyin {
    background-color: transparent;
    color: #ff6b35;
}

.platform-icon.bilibili {
    background-color: transparent;
    color: #fb7299;
}

.platform-icon.wechat {
    background-color: transparent;
    color: #07c160;
}

.platform-text {
    text-align: center;
    font-size: 1rem;
    color: #333;
    margin: 0;
    line-height: 1.5;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
}

/* 右侧功能模块区域 */
.focus-right {
    max-width: 600px;
    margin: 0;
    padding: 0;
}

.focus-title {
    font-size: 1.8rem;
    color: #333;
    margin: -150px 0 30px;
    padding: 0;
    text-align: center;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 700;
}

.focus-image-container {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: 0 auto;
}

.focus-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 营销案例模块样式 */
.marketing-cases-section {
    background-color: white;
    padding: 80px 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.marketing-cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.marketing-cases-title {
    color: #0a2540;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 60px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.5;
    z-index: 2;
    text-align: left;
}

.marketing-cases-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -20px;
    width: calc(100% + 40px);
    height: 30%;
    background-color: #20b2aa;
    z-index: -1;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    margin: 0;
}

.case-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



.case-image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.case-image-container:hover {
    transform: scale(1.02);
}

.case-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .focus-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .focus-left {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .platform-icon {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .focus-image-container {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .social-platform-focus-section {
        padding: 60px 15px 60px;
    }
    
    .focus-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .focus-title {
        font-size: 1.5rem;
        margin: 0 0 30px;
    }
    
    .focus-image-container {
        max-width: 100%;
        margin: 0 15px;
    }
    
    .focus-image {
        width: 100%;
    }
    
    /* 营销案例响应式样式 */
    .marketing-cases-section {
        padding: 60px 15px;
    }
    
    .marketing-cases-title {
        font-size: 2rem;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 针对更小屏幕的额外响应式样式 */
@media (max-width: 576px) {
    /* 英雄区域进一步调整 */
    #social-platform.hero .hero-title {
        font-size: 2rem;
    }
    
    #social-platform.hero .hero-subtitle {
        font-size: 1rem;
    }
    
    /* 专业服务标题进一步调整 */
    .professional-services-main-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    /* 专注平台模块进一步调整 */
    .platform-icon {
        width: 80px;
        height: 80px;
    }
    
    .platform-text {
        font-size: 0.9rem;
    }
    
    /* 营销案例标题进一步调整 */
    .marketing-cases-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
}

