/* ===== 首页样式 - 优化版 (现代感 + 稳重) ===== */

:root {
    --primary-color: #FF4785;
    --primary-gradient: linear-gradient(135deg, #FF4785 0%, #E63670 100%);
    --text-main: #1a202c;
    --text-secondary: #4a5568;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 通用容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 通用区块标题 */
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Hero Section 英雄区域 ===== */
.hero-section {
    background: linear-gradient(180deg, #fff 0%, #FFF0F5 100%);
    padding: 120px 0 100px;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 48px; /* 缩小字体，确保一行显示 */
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
    white-space: nowrap; /* 强制一行显示 */
    overflow: hidden;
    text-overflow: ellipsis; /* 如果实在放不下，显示省略号 */
}

.hero-subtitle {
    font-size: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Hero区域平台图标展示 */
.hero-platforms {
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 600px;
}

.hero-platforms .platform-item {
    flex: 0 0 auto;
}

.hero-platforms .platform-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    position: relative;
}

.hero-platforms .platform-icon {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-platforms .platform-svg-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-platforms .platform-svg-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-platforms .platform-emoji {
    font-size: 36px;
}

.hero-platforms .platform-name {
    font-size: 14px;
    text-align: center;
    color: var(--text-main);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(255, 71, 133, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 71, 133, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
    transform: translateY(-2px);
}

.hero-right {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero图片容器 - 长方形样式 */
.hero-images-stack {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 550px; /* 从450px增加到550px */
    margin: 0 auto;
    transform: scale(0.8); /* 缩小20% */
    transform-origin: center center;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 71, 133, 0.08) 0%, rgba(230, 54, 112, 0.05) 100%);
    border-radius: 28px;
    border: 2px dashed rgba(255, 71, 133, 0.2);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 71, 133, 0.15);
    border-top-color: #FF4785;
    border-right-color: #E63670;
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero单张图片样式 - 长方形，微弱hover效果 */
.hero-image-item-single {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px -15px rgba(0, 0, 0, 0.15),
        0 8px 25px -10px rgba(255, 71, 133, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.hero-image-item-single:hover {
    box-shadow: 
        0 25px 70px -15px rgba(0, 0, 0, 0.18),
        0 10px 30px -10px rgba(255, 71, 133, 0.25);
    transform: translateY(-3px);
}

.hero-image-item-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-item-single:hover img {
    transform: scale(1.02);
}

/* Hero图片切换控制按钮 - 优化版 */
.hero-image-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 60px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(255, 71, 133, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 71, 133, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-image-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 133, 0.1), transparent);
    transition: left 0.6s ease;
}

.hero-image-controls:hover::before {
    left: 100%;
}

.hero-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.hero-control-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.hero-control-btn:hover {
    color: white;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 8px 20px rgba(255, 71, 133, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-control-btn:hover::before {
    width: 100%;
    height: 100%;
}

.hero-control-btn:active {
    transform: scale(1.05) rotate(2deg);
}

.hero-control-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    background: rgba(255, 255, 255, 0.5);
}

.hero-control-btn:disabled::before {
    display: none;
}

.hero-control-btn svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.hero-control-btn:hover svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-image-indicators {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 8px;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 71, 133, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.hero-indicator.active {
    width: 32px;
    height: 10px;
    border-radius: 5px;
    background: var(--primary-gradient);
    box-shadow: 
        0 2px 8px rgba(255, 71, 133, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 71, 133, 0.3);
}

.hero-indicator.active::before {
    width: 100%;
    height: 100%;
}

.hero-indicator:hover:not(.active) {
    background: rgba(255, 71, 133, 0.5);
    transform: scale(1.4);
    border-color: rgba(255, 71, 133, 0.3);
    box-shadow: 0 2px 8px rgba(255, 71, 133, 0.3);
}

.hero-indicator:hover:not(.active)::before {
    width: 100%;
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-images-stack {
        height: 400px;
        max-width: 100%;
    }
    
    .hero-image-controls {
        margin-top: 20px;
        padding: 10px 20px;
        gap: 12px;
    }
    
    .hero-control-btn {
        width: 36px;
        height: 36px;
    }
    
    .hero-control-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== Platforms Section 平台支持区域 ===== */
/* 重新设计，与Hero模块协调，采用渐变背景和现代化卡片设计 */
.platforms-section {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #FFF0F5 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

/* 平台模块特殊调整：减少标题与第一个模块的间距 */
.platforms-section .section-title {
    margin-top: 0;
    margin-bottom: 12px;
}

.platforms-section .section-subtitle {
    margin-bottom: 40px;
}

.platforms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 133, 0.2), transparent);
}

.platforms-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.platform-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
    line-height: 1.2;
}

.platform-item:hover {
    transform: translateY(-8px);
}

.platform-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.platform-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-item:hover .platform-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.platform-item:hover .platform-icon::before {
    opacity: 1;
}

.platform-emoji {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.platform-item:hover .platform-emoji {
    transform: scale(1.1);
}

.platform-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.platform-item:hover .platform-glow {
    opacity: 0.4;
}

.platform-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    line-height: 1.2;
    margin-top: 0;
}

.platform-item:hover .platform-name {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .platforms-grid {
        gap: 24px;
    }
    
    .platform-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .platform-emoji {
        font-size: 36px;
    }
    
    .platform-name {
        font-size: 14px;
    }
}

/* ===== Services Section V2 服务介绍区域 ===== */
/* 优化样式，与Hero和Platforms模块协调 */
.services-section-v2 {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #FFF0F5 100%);
    position: relative;
    overflow: hidden;
}

/* 服务详情包装器：包含左侧内容和右侧背景容器 */
.services-detail-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* 添加小间距，让两个元素更协调 */
    position: relative;
    width: 100%;
    justify-content: space-between; /* 两端对齐，但保持间距 */
    overflow: hidden; /* 防止背景墙超出边界 */
    max-height: 50vh; /* 高度限制为视口高度的50%，内容不缩放 */
}

.services-section-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 133, 0.2), transparent);
}

/* 服务模块特殊调整：减少顶部间距 */
.services-section-v2 .section-title {
    margin-top: 0;
    margin-bottom: 12px;
    text-align: center; /* 标题居中 */
    margin-left: auto; /* 自动左边距 */
    margin-right: auto; /* 自动右边距 */
}

.services-section-v2 .section-subtitle {
    margin-bottom: 50px;
    text-align: center; /* 副标题居中 */
    margin-left: auto; /* 自动左边距 */
    margin-right: auto; /* 自动右边距 */
}

.services-tabs-v2 {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 50px 0 70px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-tab-v2 {
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 24px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 71, 133, 0.1);
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.service-tab-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 71, 133, 0.05) 0%, rgba(230, 54, 112, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-tab-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(255, 71, 133, 0.15);
    border-color: rgba(255, 71, 133, 0.3);
}

.service-tab-v2:hover::before {
    opacity: 1;
}

.service-tab-v2.active {
    background: linear-gradient(135deg, #FF4785 0%, #E63670 100%);
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(255, 71, 133, 0.35);
    transform: translateY(-6px);
}

.service-tab-v2.active::before {
    opacity: 0;
}

.service-tab-emoji {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-tab-icon svg {
    width: 32px;
    height: 32px;
    stroke: #E63670;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.service-tab-v2:hover .service-tab-emoji,
.service-tab-v2:hover .service-tab-icon {
    transform: scale(1.15);
}

.service-tab-v2.active .service-tab-icon svg {
    stroke: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-tab-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.service-tab-v2:hover .service-tab-text {
    color: var(--primary-color);
}

.service-tab-v2.active .service-tab-text {
    color: #fff;
    font-weight: 700;
}

.services-detail-container {
    display: flex;
    gap: 60px;
    align-items: flex-start; /* 改为顶部对齐，往左上角靠 */
    /* 默认背景渐变（当没有背景图片时使用） */
    background-image: linear-gradient(to left, transparent 0%, rgba(255, 255, 255, 0.4) 8%, rgba(255, 255, 255, 0.95) 15%, rgba(255, 240, 245, 0.95) 100%);
    padding: 60px;
    padding-top: 40px; /* 减少顶部内边距，更靠上 */
    padding-left: 20px; /* 减少左侧内边距，往左移动 */
    padding-right: 60px; /* 保持右侧内边距 */
    border-radius: 0 28px 28px 0; /* 只保留右侧圆角，营造立体感 */
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12), 
                inset 4px 0 16px rgba(255, 255, 255, 0.2),
                0 8px 32px rgba(0, 0, 0, 0.08); /* 增强左侧阴影，营造立体感 */
    border: 1px solid rgba(255, 71, 133, 0.12);
    border-left: none; /* 移除左侧边框，与左侧区域无缝衔接 */
    /* 排除背景图片相关的过渡，避免切换时的滚动效果 */
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden; /* 不允许背景墙图片超出边界 */
    min-height: 700px; /* 增加最小高度，确保有足够空间铺满背景墙 */
    height: auto; /* 允许高度自适应内容 */
    backdrop-filter: blur(10px);
    /* 占据右侧一半，稍微缩小 */
    width: 48%; /* 稍微缩小宽度，往左移动 */
    margin-left: 0; /* 移除自动左边距，现在由wrapper控制布局 */
    margin-right: 0; /* 移除右边距 */
    /* 确保内容靠左对齐 */
    justify-content: flex-start; /* 内容靠左 */
}

/* 服务背景平铺图片样式（用于内容种草、短视频制作、数据分析、精准投放、品牌服务） */
.services-detail-container.services-background-image {
    /* 背景图片通过JavaScript内联样式设置backgroundImage */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 背景图片切换时无过渡动画，立即显示 */
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    /* 使用伪元素叠加一层半透明的渐变，确保文字可读性 */
    position: relative;
    transform: translateX(-120px); /* 往左移动120像素 */
}

.services-detail-container.services-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 叠加左侧渐变遮罩，营造从左侧淡入的立体效果 */
    background: linear-gradient(to left, transparent 0%, rgba(255, 255, 255, 0.5) 8%, rgba(255, 255, 255, 0.75) 15%, rgba(255, 240, 245, 0.75) 30%, rgba(255, 240, 245, 0.75) 100%);
    border-radius: 0 28px 28px 0; /* 只保留右侧圆角 */
    z-index: 0;
    pointer-events: none;
}

/* 当有背景文字时，降低::before的透明度，让背景图片更清晰 */
.services-detail-container.services-background-image .services-background-text.active ~ .services-detail-content::before,
.services-detail-container.services-background-image .services-background-text.active + .services-detail-content::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 240, 245, 0.3) 100%);
}

/* 当有背景图片时，确保内容区域有足够的对比度 */
.services-detail-container.services-background-image .services-detail-content {
    position: relative;
    z-index: 2; /* 确保在背景文字之上 */
}

.services-detail-container.services-background-image .services-detail-left {
    position: relative;
    z-index: 2; /* 与content保持一致 */
}

.services-detail-container.services-background-image .services-detail-right {
    position: relative;
    z-index: 2; /* 与content保持一致 */
}

/* 背景墙效果：展示各平台素人账户截图 */
.services-wall-background {
    position: absolute;
    top: 0;
    left: 0; /* 从左侧开始，铺满整个容器 */
    right: 0;
    bottom: 0;
    width: 100%; /* 确保宽度100% */
    height: 100%; /* 确保高度100%，覆盖整个父容器 */
    min-height: 100%; /* 确保最小高度100% */
    opacity: 0.85; /* 稍微降低透明度，让背景墙更明显 */
    pointer-events: none;
    z-index: 0; /* 在背景图片层 */
    overflow: hidden; /* 不允许图片超出边界 */
    border-radius: 0 28px 28px 0; /* 只保留右侧圆角 */
    display: none; /* 默认隐藏，仅在"真实素人资源"tab时显示 */
    /* 添加左侧渐变遮罩，营造立体感 */
    background: linear-gradient(to left, transparent 0%, rgba(255, 255, 255, 0.2) 10%, rgba(255, 255, 255, 0.05) 20%, transparent 100%);
    /* 添加阴影效果，增强立体感 */
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08), 
                inset 4px 0 12px rgba(255, 255, 255, 0.1);
    /* 确保背景墙完全覆盖容器，包括padding区域 */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 当有背景图片时，确保背景墙在背景图片的::before伪元素之上 */
.services-detail-container.services-background-image .services-wall-background {
    z-index: 1; /* 确保在::before伪元素(z-index:0)之上，但在内容层(2)之下 */
}

/* 背景文字：移到立即推广按钮上方 */
.services-background-text {
    position: relative; /* 改为相对定位，跟随文档流 */
    z-index: 2; /* 确保在背景图片之上 */
    pointer-events: none;
    display: none; /* 默认隐藏，通过JS控制显示 */
    padding: 0; /* 移除内边距 */
    margin-top: 0; /* 移除顶部边距，紧挨描述文字 */
    margin-bottom: 20px; /* 与立即推广按钮保持协调的间距 */
    align-items: flex-start; /* 顶部对齐 */
    justify-content: flex-start; /* 左对齐 */
    width: 100%; /* 占据全宽 */
    max-width: 100%; /* 最大宽度不超过父容器 */
    overflow: visible; /* 允许内容横向扩展 */
}

/* 确保背景文字在有背景图片时也正确显示 */
.services-detail-container.services-background-image .services-background-text {
    z-index: 2; /* 确保在内容层之上 */
    position: relative; /* 保持相对定位 */
}

.services-background-text.active {
    display: block; /* 显示时使用block布局 */
    pointer-events: auto; /* 允许鼠标交互（如果需要） */
}

.services-bg-text-content {
    font-size: 17px;
    line-height: 1.85; /* 与 services-desc-text 保持一致 */
    color: #2d3748; /* 黑色字体，与 services-desc-text 一致 */
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.2px; /* 与 services-desc-text 保持一致 */
    text-shadow: none; /* 移除文字阴影，因为背景是浅色 */
    max-width: 80%; /* 最多不超过父容器的80%，超过就换行 */
    width: fit-content; /* 根据内容自适应宽度，但不超过max-width */
    min-width: 0; /* 允许收缩 */
    margin: 0;
    margin-left: 0; /* 确保左对齐 */
    /* 使用与 services-desc-wrapper 相同的背景样式 */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 250, 0.98) 100%);
    padding: 18px 24px; /* 减少左右内边距：从36px改为24px，往左移动 */
    border-radius: 12px; /* 减少圆角：从24px改为12px，更方正 */
    backdrop-filter: blur(20px); /* 与 services-desc-wrapper 保持一致 */
    /* 使用与 services-desc-wrapper 相同的阴影系统 */
    box-shadow: 0 8px 32px rgba(255, 71, 133, 0.08), 
                0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 71, 133, 0.15); /* 与 services-desc-wrapper 保持一致 */
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* 与 services-desc-wrapper 保持一致 */
    overflow: hidden; /* 隐藏超出部分，防止超出容器底部 */
    display: inline-block; /* 改为inline-block，使其根据内容自适应 */
    white-space: normal; /* 允许文字换行 */
    word-wrap: break-word; /* 允许长单词换行 */
    word-break: break-word; /* 允许在任意字符间换行 */
    box-sizing: border-box; /* 包含padding和border在宽度计算内 */
}

/* 移除顶部装饰条，与 services-desc-wrapper 保持一致 */
.services-bg-text-content::before {
    display: none;
}

/* 使用与 services-desc-wrapper 相同的装饰性光晕效果 */
.services-bg-text-content::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 71, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

/* 移除左侧装饰性竖线，与 services-desc-text 保持一致 */
.services-bg-text-content p {
    position: relative;
    z-index: 2;
    margin: 0;
    padding-left: 0; /* 移除左侧内边距 */
}

.services-bg-text-content p::before {
    display: none; /* 移除左侧装饰线 */
}

/* 悬停效果：与 services-desc-wrapper 保持一致 */
.services-bg-text-content:hover {
    transform: translateY(-2px); /* 与 services-desc-wrapper 保持一致 */
    box-shadow: 0 12px 40px rgba(255, 71, 133, 0.12), 
                0 4px 12px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 71, 133, 0.25); /* 与 services-desc-wrapper 保持一致 */
}

/* 添加微妙的渐变叠加效果，增强层次感 */
.services-bg-text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
}

.services-bg-text-content p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.services-wall-item {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.1); /* 增强阴影，更立体 */
    overflow: hidden;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    pointer-events: auto; /* 允许鼠标交互 */
    opacity: 0.95; /* 稍微降低不透明度，营造层次感 */
    filter: brightness(1) contrast(1.05) saturate(1.1); /* 增强对比度和饱和度，更生动 */
    /* 允许图片稍微超出边界 */
    transform-origin: center center;
}

.services-wall-item:hover {
    transform: scale(1.15) rotate(0deg) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 71, 133, 0.3);
    z-index: 10;
    opacity: 1 !important;
    filter: brightness(1.1) contrast(1.05);
}

.services-wall-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1; /* 图片本身100%不透明 */
    filter: brightness(1) contrast(1) saturate(1); /* 确保图片清晰，不模糊 */
}

.services-wall-item:hover img {
    transform: scale(1.05);
}

/* 内容层：确保在背景墙和背景文字之上 */
.services-detail-content {
    position: relative;
    z-index: 2; /* 确保在背景文字之上 */
    display: flex;
    gap: 60px;
    align-items: flex-start; /* 改为顶部对齐，避免内容少时居中显示 */
    justify-content: flex-start; /* 左对齐，往左上角靠 */
    width: 48%; /* 稍微缩小宽度，往右移动 */
    flex-wrap: wrap; /* 允许换行，适应不同内容长度 */
    margin-left: 0; /* 确保靠左 */
    padding-left: 0; /* 移除左侧内边距 */
    padding-right: 20px; /* 减少右侧内边距 */
    margin-right: 0; /* 移除右边距 */
    transform: translateX(30px); /* 往右移动30像素（左移20像素） */
}

.services-detail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF4785, #E63670);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-detail-container:hover {
    box-shadow: 0 12px 40px rgba(255, 71, 133, 0.12);
    transform: translateX(-120px) translateY(-2px);
}

.services-detail-container:hover::before {
    opacity: 1;
}

.services-detail-left {
    flex: 0 1 auto; /* 改为根据内容自适应，不强制占据所有空间 */
    min-width: 0; /* 允许收缩 */
    max-width: 100%; /* 最大不超过容器宽度 */
    width: fit-content; /* 根据内容自适应宽度 */
    position: relative;
    z-index: 2; /* 确保在背景文字之上 */
    align-self: flex-start; /* 顶部对齐，往左上角靠 */
    margin-top: 0; /* 移除顶部边距 */
    margin-left: 100px; /* 向右移动100像素 */
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 垂直排列 */
    align-items: flex-start; /* 子元素左对齐，确保按钮和描述框对齐 */
    justify-content: flex-start; /* 顶部对齐 */
}

.services-main-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px; /* 减少底部边距，更紧凑 */
    margin-top: 0; /* 移除顶部边距 */
    line-height: 1.2;
    color: #1a202c; /* 标题保持深色，确保清晰 */
}

/* 描述文字包装器：现代化专业设计 - 根据内容自适应 */
.services-desc-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 250, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 18px 24px; /* 减少左右内边距：从36px改为24px，往左移动 */
    border-radius: 12px; /* 减少圆角：从24px改为12px，更方正 */
    margin-bottom: 24px; /* 减少底部边距，让按钮紧挨着 */
    margin-top: 0; /* 移除顶部边距 */
    margin-left: 0; /* 确保左对齐 */
    border: 1px solid rgba(255, 71, 133, 0.15);
    box-shadow: 0 8px 32px rgba(255, 71, 133, 0.08), 
                0 2px 8px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    /* 根据内容自适应宽度 */
    width: fit-content;
    min-width: 280px; /* 最小宽度，确保短文本也有合适的显示 */
    max-width: 100%; /* 最大不超过父容器 */
    display: inline-block; /* 改为inline-block，使其根据内容自适应 */
}

/* 移除顶部装饰线 */
.services-desc-wrapper::before {
    display: none; /* 取消上边框线条 */
}

/* 添加装饰性光晕效果 */
.services-desc-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 71, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.services-desc-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 71, 133, 0.12), 
                0 4px 12px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 71, 133, 0.25);
}

.services-desc-subtitle {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF4785 0%, #E63670 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4; /* 减少行高，更紧凑 */
    margin-bottom: 10px; /* 减少底部间距：从16px改为10px */
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
    padding-bottom: 0; /* 移除底部内边距 */
}

/* 移除横线装饰 */
.services-desc-subtitle::after {
    display: none;
}

.services-desc-subtitle:empty {
    display: none;
}

.services-desc-text {
    font-size: 17px;
    color: #2d3748; /* 深灰色，提高可读性 */
    line-height: 1.7; /* 减少行高：从1.85改为1.7，更紧凑 */
    margin-bottom: 0;
    margin-top: 0; /* 移除顶部边距，紧挨副标题 */
    font-weight: 400; /* 正常字重，更专业 */
    letter-spacing: 0.2px; /* 适中的字间距 */
    text-align: left; /* 左对齐，更现代 */
    word-break: break-word; /* 长单词自动换行 */
    position: relative;
    padding-left: 0; /* 移除左侧内边距，因为不再有装饰线 */
    /* 确保文本不会超出容器 */
    max-width: 100%;
    box-sizing: border-box;
}

/* 移除左侧装饰线 */
.services-desc-text::before {
    display: none;
}

.services-desc-text:empty {
    display: none;
}

.services-desc-text:not(:empty) {
    margin-top: 0; /* 移除顶部边距，紧挨副标题 */
}

/* 针对"内容种草"的长文本优化 */
.services-desc-wrapper.has-long-text {
    padding: 22px 24px; /* 减少左右内边距：从36px改为24px，往左移动 */
    max-width: 90%; /* 长文本时允许更宽 */
}

.services-desc-wrapper.has-long-text .services-desc-text {
    font-size: 19px; /* 稍微增大字体 */
    line-height: 2; /* 进一步增加行高 */
    color: #2d3748; /* 稍微加深颜色，提高对比度 */
}

.services-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px; /* 减少左右内边距：从36px改为32px，往左移动 */
    background: var(--primary-gradient);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(255, 71, 133, 0.25);
    position: relative;
    overflow: hidden;
    margin-top: 0; /* 移除顶部边距，紧挨着描述框 */
    margin-left: 0; /* 左对齐 */
    margin-right: auto; /* 自动右边距，确保左对齐 */
    align-self: flex-start; /* 顶部对齐 */
    width: fit-content; /* 根据内容自适应宽度 */
}

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

.services-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 71, 133, 0.35);
}

.services-action-btn:hover::before {
    left: 100%;
}

.services-detail-right {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.services-display-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-display-img:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Influencers Section 素人数据展示区域 ===== */
.influencers-section {
    padding: 100px 0;
    background: #1a202c;
    color: white;
}

.influencers-section .section-title {
    color: white;
}

.influencers-section .section-subtitle {
    color: #a0aec0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF4785 0%, #F687B3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: #cbd5e0;
    font-weight: 500;
}

/* ===== Strategies Section 营销策略区域 ===== */
.strategies-section {
    padding: 100px 0;
    background: #fff;
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.strategy-card {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #edf2f7;
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: transparent;
}

.strategy-card.pink-card { border-top: 5px solid #FF4785; }
.strategy-card.blue-card { border-top: 5px solid #3b82f6; }
.strategy-card.purple-card { border-top: 5px solid #9333ea; }

.strategy-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 20px;
    background: #f7fafc;
    padding: 14px;
}

.strategy-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: #1a202c;
}

.strategy-features li {
    padding: 12px 0;
    font-size: 15px;
    color: #4a5568;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
}

.strategy-features li::before {
    content: '✓';
    color: #48bb78;
    margin-right: 12px;
    font-weight: bold;
}

.strategy-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 20px 0;
    background: #f8fafc;
    border-radius: 12px;
}

.mini-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
}

/* 修复按钮宽度和点击区域 */
.strategy-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: #1a202c;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.strategy-btn:hover {
    background: #2d3748;
    transform: translateY(-2px);
}

/* ===== Features Section 数据特色区域 ===== */
.features-section {
    padding: 100px 0;
    background: #F9FAFB;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.feature-card:hover {
    background: white;
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF0F5 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #E63670;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature-icon img {
    width: 32px;
    height: 32px;
    filter: none;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a202c;
}

/* ===== Pricing Section 价格 ===== */
.pricing-section {
    padding: 100px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    padding: 48px 32px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid #edf2f7;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.pricing-card.featured {
    border: 2px solid #FF4785;
    position: relative;
    top: -20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 修复：恢复缺失的 Pricing 样式 */
.pricing-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-badge.popular {
    background: #FFF0F5;
    color: #FF4785;
}

.pricing-name {
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
}

.pricing-desc {
    font-size: 14px;
    color: #718096;
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-symbol {
    font-size: 20px;
    font-weight: 600;
    color: #FF4785;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
}

.price-unit {
    font-size: 14px;
    color: #718096;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    color: #4a5568;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #48bb78;
    margin-right: 10px;
    font-weight: bold;
}

.pricing-btn {
    display: block; /* 确保按钮宽度正常 */
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 14px 0;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pricing-btn:hover {
    border-color: #2d3748;
    color: #2d3748;
}

.pricing-btn.primary {
    background: #1a202c;
    color: white;
    border: none;
}

.pricing-btn.primary:hover {
    background: #2d3748;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: #1a202c;
    color: white;
    text-align: center;
}

.cta-btn-white {
    background: white;
    color: #1a202c;
    font-weight: 700;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-detail-container {
        flex-direction: column;
        padding: 40px 24px;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        top: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px; /* 移动端进一步缩小 */
        white-space: normal; /* 移动端允许换行 */
        line-height: 1.3;
    }
    
    /* 移动端：服务详情区域自适应 */
    .services-detail-left {
        width: 100%;
        max-width: 100%;
    }
    
    .services-desc-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .services-detail-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 28px; /* 小屏幕进一步缩小 */
        white-space: normal; /* 小屏幕允许换行 */
        line-height: 1.3;
    }
}
