/* 小红书营销服务页面样式 */
:root {
    --xhs-primary: #fe2c55;
    --xhs-secondary: #ff849b;
    --xhs-light: #fff2f5;
    --xhs-dark: #333333;
    --xhs-gray: #f5f5f5;
    --card-shadow: 0 10px 30px rgba(254, 44, 85, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: auto;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--xhs-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

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

/* 区块标题样式 */
.xhs-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.xhs-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--xhs-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.xhs-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--xhs-primary);
    border-radius: 2px;
}

.xhs-section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 营销服务区块样式 */
.xhs-marketing-services {
    padding: 60px 0;
    position: relative;
}

.xhs-services-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.xhs-services-cards {
    width: 55%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.xhs-service-card {
    width: calc(50% - 15px);
    background-color: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 25px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.xhs-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
    opacity: 0;
    transition: var(--transition);
}

.xhs-service-card.hover::before,
.xhs-service-card.active::before {
    opacity: 1;
}

.xhs-service-card.active {
    border-color: var(--xhs-primary);
    transform: translateY(-5px);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    z-index: 1;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-content {
    z-index: 1;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--xhs-dark);
}

.card-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-stats {
    display: flex;
    gap: 15px;
}

.card-stats .stat {
    display: flex;
    flex-direction: column;
}

.card-stats .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--xhs-primary);
}

.card-stats .label {
    font-size: 12px;
    color: #999;
}

/* 手机展示区域样式 */
.xhs-phones-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    perspective: 1500px;
    width: 100%;
    max-width: 1600px;
    height: 520px;
    position: relative;
    overflow: visible;
}

.xhs-phone-device {
    position: absolute;
    width: 240px;
    height: 480px;
    background: #000;
    border-radius: 32px;
    padding: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform-origin: center center;
    top: 0;
}

.xhs-phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

/* 笔记内容样式 */
.xhs-note {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.xhs-note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 0.5px solid #f0f0f0;
    margin-top: 20px;
}

.xhs-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.xhs-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
}

.xhs-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 默认头像背景 */
.xhs-avatar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23f5f5f5'/%3E%3Ccircle cx='16' cy='13' r='5' fill='%23ddd'/%3E%3Cpath d='M16 19c-4 0-7 2-7 4v3h14v-3c0-2-3-4-7-4z' fill='%23ddd'/%3E%3C/svg%3E");
    background-size: cover;
}

.xhs-username {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.4;
}

.xhs-verified {
    color: #FF2442;
    font-size: 10px;
}

.xhs-pub-time {
    font-size: 10px;
    color: #999;
}

.xhs-follow-btn {
    padding: 3px 10px;
    border-radius: 13px;
    background: #FF2442;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

/* 笔记内容区域 */
.xhs-note-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.xhs-note-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.xhs-note-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 8px 0;
}

/* 互动区域样式 */
.xhs-note-interaction {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 8px 12px;
    border-top: 0.5px solid #f0f0f0;
    background: #fff;
}

.xhs-interaction-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 12px;
}

.xhs-icon {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* 手机设备位置 */
.xhs-phone-device.phone1 { 
    left: calc(50% - 520px);
    transform: scale(0.85) rotateY(32deg);
    z-index: 1;
}

.xhs-phone-device.phone2 { 
    left: calc(50% - 260px);
    transform: scale(0.9) rotateY(16deg);
    z-index: 2;
}

.xhs-phone-device.phone3 { 
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 5;
}

.xhs-phone-device.phone4 { 
    left: calc(50% + 260px);
    transform: translateX(-100%) scale(0.9) rotateY(-16deg);
    z-index: 2;
}

.xhs-phone-device.phone5 { 
    left: calc(50% + 520px);
    transform: translateX(-100%) scale(0.85) rotateY(-32deg);
    z-index: 1;
}

/* 响应式调整 */
@media (max-width: 1600px) {
    .xhs-phones-display {
        max-width: 1400px;
        height: 500px;
        margin: 20px auto;
    }
}

@media (max-width: 1400px) {
    .xhs-phones-display {
        max-width: 1200px;
        height: 480px;
        margin: 20px auto;
    }
    
    .xhs-phone-device.phone1 { left: calc(50% - 480px); }
    .xhs-phone-device.phone2 { left: calc(50% - 240px); }
    .xhs-phone-device.phone4 { left: calc(50% + 240px); }
    .xhs-phone-device.phone5 { left: calc(50% + 480px); }
}

@media (max-width: 1200px) {
    .xhs-phones-display {
        max-width: 1000px;
        height: 460px;
        margin: 20px auto;
    }
    
    .xhs-phone-device.phone1 { left: calc(50% - 440px); }
    .xhs-phone-device.phone2 { left: calc(50% - 220px); }
    .xhs-phone-device.phone4 { left: calc(50% + 220px); }
    .xhs-phone-device.phone5 { left: calc(50% + 440px); }
}

/* 系统UI元素 */
.xhs-phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #fff;
    z-index: 10;
}

/* 图片样式 */
.xhs-image-gallery {
    width: 100%;
    height: 260px;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.xhs-image-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Crect width='200' height='200' fill='%23f5f5f5'/%3E%3Cpath d='M80 90h40v20H80z' fill='%23ddd'/%3E%3Ccircle cx='100' cy='70' r='20' fill='%23ddd'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

/* 滚动条美化 */
.xhs-note-content::-webkit-scrollbar {
    width: 4px;
}

.xhs-note-content::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.xhs-note-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* 交互效果 */
.xhs-phone-device:hover {
    transform: none;
}

.xhs-follow-btn:hover {
    background: #ff3957;
}

.xhs-interaction-item:hover {
    color: #FF2442;
    cursor: pointer;
}

/* 转场动画 */
.xhs-note {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 图片加载效果 */
.xhs-image-gallery img {
    transition: opacity 0.3s ease;
}

.xhs-image-gallery img:not([loaded]) {
    opacity: 0;
}

.xhs-image-gallery img[loaded] {
    opacity: 1;
}

/* 数据统计区域样式 */
.xhs-marketing-stats {
    padding: 40px;
    background-color: var(--xhs-light);
    border-radius: 20px;
    margin-top: 60px;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.stat-item {
    width: 23%;
    text-align: center;
    padding: 20px 15px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(254, 44, 85, 0.15);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--xhs-primary);
    margin-bottom: 10px;
}

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

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xhs-section-header,
.xhs-service-card,
.xhs-mobile-showcase,
.stat-item {
    animation: fadeInUp 0.8s ease backwards;
}

.xhs-service-card:nth-child(1) { animation-delay: 0.1s; }
.xhs-service-card:nth-child(2) { animation-delay: 0.2s; }
.xhs-service-card:nth-child(3) { animation-delay: 0.3s; }
.xhs-service-card:nth-child(4) { animation-delay: 0.4s; }
.xhs-service-card:nth-child(5) { animation-delay: 0.5s; }

.stat-item:nth-child(1) { animation-delay: 0.6s; }
.stat-item:nth-child(2) { animation-delay: 0.7s; }
.stat-item:nth-child(3) { animation-delay: 0.8s; }
.stat-item:nth-child(4) { animation-delay: 0.9s; }

/* 笔记内容样式 */
.xhs-note {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    color: #333;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
}

/* 笔记头部样式 */
.xhs-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.xhs-user-info {
    display: flex;
    align-items: center;
}

.xhs-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cccccc' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.xhs-kol-avatar {
    background-color: #ffddee;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fe2c55' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.xhs-celeb-avatar {
    background-color: #ffe8d6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff9500' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.xhs-brand-avatar {
    background-color: #e6f7ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230066ff' d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2z0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
}

.xhs-shop-avatar {
    background-color: #f1f5f9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2334d399' d='M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM7 10.82C5.84 10.4 5 9.3 5 8V7h2v3.82zM19 8c0 1.3-.84 2.4-2 2.82V7h2v1z'/%3E%3C/svg%3E");
}

.xhs-user-meta {
    display: flex;
    flex-direction: column;
}

.xhs-verified {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--xhs-primary);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
    line-height: 14px;
    margin-left: 4px;
}

.xhs-shop-tag {
    display: inline-block;
    font-size: 10px;
    padding: 1px 4px;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 2px;
    margin-left: 4px;
}

.xhs-pub-time {
    font-size: 11px;
    color: #999;
}

.xhs-follow-btn {
    padding: 4px 12px;
    font-size: 12px;
    color: #fff;
    background-color: var(--xhs-primary);
    border-radius: 15px;
    cursor: pointer;
}

.xhs-follow-btn.followed {
    background-color: #f0f0f0;
    color: #666;
}

/* 图片展示区样式 */
.xhs-image-gallery {
    width: 100%;
    height: 220px;
    margin-bottom: 10px;
    position: relative;
}

.xhs-main-image {
    width: 100%;
    height: 70%;
    background-color: var(--xhs-light);
    border-radius: 8px;
    background-image: linear-gradient(45deg, #fe2c55 25%, #ffddee 25%, #ffddee 50%, #fe2c55 50%, #fe2c55 75%, #ffddee 75%, #ffddee 100%);
    background-size: 20px 20px;
    margin-bottom: 5px;
}

.xhs-image-grid {
    display: flex;
    justify-content: space-between;
    height: 30%;
}

.xhs-small-image {
    width: 32%;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 6px;
    background-image: linear-gradient(45deg, #ffddee 25%, #fe2c55 25%, #fe2c55 50%, #ffddee 50%, #ffddee 75%, #fe2c55 75%, #fe2c55 100%);
    background-size: 15px 15px;
}

/* 视频容器样式 */
.xhs-video-container {
    width: 100%;
    height: 220px;
    position: relative;
    background-color: #000;
    border-radius: 8px;
    margin-bottom: 10px;
}

.xhs-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: linear-gradient(135deg, #fe2c55, #ff849b);
}

.xhs-play-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.xhs-play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 15px solid var(--xhs-primary);
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}

.xhs-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 12px;
}

/* 轮播图样式 */
.xhs-slider-container {
    width: 100%;
    height: 220px;
    position: relative;
    margin-bottom: 10px;
}

.xhs-slide-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 12px;
    z-index: 2;
}

.xhs-main-slide {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 8px;
    background-image: linear-gradient(135deg, #ccf4ff 0%, #0099ff 100%);
}

/* 品牌海报样式 */
.xhs-brand-poster {
    width: 100%;
    height: 220px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    background-image: linear-gradient(135deg, #ffe6cc 0%, #ff9500 100%);
}

/* 网格图片样式 */
.xhs-grid-gallery {
    width: 100%;
    height: 220px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    margin-bottom: 10px;
}

.xhs-grid-image {
    background-color: #f0f0f0;
    border-radius: 6px;
}

.xhs-grid-image:nth-child(1) {
    background-image: linear-gradient(135deg, #e6ffe6 0%, #00cc00 100%);
}

.xhs-grid-image:nth-child(2) {
    background-image: linear-gradient(135deg, #e6f7ff 0%, #0099ff 100%);
}

.xhs-grid-image:nth-child(3) {
    background-image: linear-gradient(135deg, #fff2e6 0%, #ff9900 100%);
}

.xhs-grid-image:nth-child(4) {
    background-image: linear-gradient(135deg, #ffcccc 0%, #ff6666 100%);
}

/* 店铺链接样式 */
.xhs-shop-link {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 15px;
}

.xhs-shop-icon {
    width: 20px;
    height: 20px;
    background-color: var(--xhs-primary);
    border-radius: 4px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.xhs-shop-link span {
    font-size: 13px;
    color: #666;
}

/* 互动区域样式 */
.xhs-note-interaction {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #f0f0f0;
    padding: 0 15px;
}

.xhs-interaction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xhs-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.xhs-like {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999999' d='M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z'/%3E%3C/svg%3E");
}

.xhs-like.active {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fe2c55' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.xhs-comment {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999999' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E");
}

.xhs-star {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999999' d='M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z'/%3E%3C/svg%3E");
}

.xhs-star.active {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fe2c55' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.xhs-share {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999999' d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z'/%3E%3C/svg%3E");
}

.xhs-interaction-item span {
    font-size: 11px;
    color: #999;
}

.xhs-interaction-item .active + span {
    color: var(--xhs-primary);
}

/* 背景效果修复 */
.xhs-main-image {
    width: 100%;
    height: 70%;
    background-color: var(--xhs-light);
    border-radius: 8px;
    background-image: linear-gradient(45deg, #fe2c55 25%, #ffddee 25%, #ffddee 50%, #fe2c55 50%, #fe2c55 75%, #ffddee 75%, #ffddee 100%);
    background-size: 20px 20px;
    margin-bottom: 5px;
}

/* 为不同的案例设置不同的主图背景，增强视觉效果 */
.screenshot[data-service="review"] .xhs-main-image {
    background-image: linear-gradient(45deg, #ffddee 25%, #fe2c55 25%, #fe2c55 50%, #ffddee 50%, #ffddee 75%, #fe2c55 75%, #fe2c55 100%);
    background-size: 20px 20px;
}

.screenshot[data-service="kol"] .xhs-video-placeholder {
    background-image: linear-gradient(135deg, #ff6b8b, #fe2c55);
}

.screenshot[data-service="celebrity"] .xhs-main-slide {
    background-image: linear-gradient(135deg, #ffcccc 0%, #ff6666 100%);
}

.screenshot[data-service="brand"] .xhs-brand-poster {
    background-image: linear-gradient(135deg, #ffe6cc 0%, #ff9500 100%);
}

.screenshot[data-service="account"] .xhs-grid-image:nth-child(1) {
    background-image: linear-gradient(135deg, #e6ffe6 0%, #00cc00 100%);
}

.screenshot[data-service="account"] .xhs-grid-image:nth-child(2) {
    background-image: linear-gradient(135deg, #e6f7ff 0%, #0099ff 100%);
}

.screenshot[data-service="account"] .xhs-grid-image:nth-child(3) {
    background-image: linear-gradient(135deg, #fff2e6 0%, #ff9900 100%);
}

.screenshot[data-service="account"] .xhs-grid-image:nth-child(4) {
    background-image: linear-gradient(135deg, #ffcccc 0%, #ff6666 100%);
}

/* 确保案例标签正确显示 */
.xhs-case-label {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--xhs-primary);
    color: white;
    padding: 3px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(254, 44, 85, 0.3);
}

/* 确保手机屏幕中的图片内容可见 */
.mobile-screen .xhs-image-gallery,
.mobile-screen .xhs-video-container,
.mobile-screen .xhs-slider-container,
.mobile-screen .xhs-brand-poster,
.mobile-screen .xhs-grid-gallery {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 手机屏幕特有样式 */
.mobile-screen {
    position: relative;
    z-index: 1;
}

.mobile-screen:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #f8f8f8;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    z-index: 5;
}

.mobile-screen:after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 3px;
    z-index: 6;
}

.xhs-phone-system-ui {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 7;
}

.xhs-phone-time {
    font-size: 10px;
    color: #666;
    font-weight: 600;
}

.xhs-phone-icons {
    display: flex;
    gap: 4px;
}

.xhs-phone-icon {
    width: 10px;
    height: 10px;
    background-color: #666;
    border-radius: 2px;
}

/* 账号代运营展示样式 */
#showcase-account .xhs-brand-profile {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow-y: auto;
}

/* 品牌主页头部 */
#showcase-account .xhs-brand-header {
    position: relative;
    padding-bottom: 12px;
}

#showcase-account .xhs-brand-cover {
    width: 100%;
    height: 100px;
    background: linear-gradient(45deg, var(--xhs-primary) 0%, var(--xhs-secondary) 100%);
}

#showcase-account .xhs-brand-info {
    padding: 0 12px;
    margin-top: -25px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

#showcase-account .xhs-brand-avatar {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border: 2px solid #fff;
    background: #f5f5f5;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#showcase-account .xhs-brand-meta {
    flex: 1;
    padding: 0 0 4px;
}

#showcase-account .xhs-brand-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
}

#showcase-account .xhs-verified {
    color: var(--xhs-primary);
    font-size: 10px;
}

#showcase-account .xhs-brand-stats {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #666;
}

#showcase-account .xhs-brand-follow {
    padding: 4px 10px;
    background: var(--xhs-primary);
    color: #fff;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

#showcase-account .xhs-brand-desc {
    padding: 12px;
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    white-space: pre-line;
}

/* 品牌主页标签栏 */
#showcase-account .xhs-brand-tabs {
    display: flex;
    border-top: 0.5px solid #f0f0f0;
    border-bottom: 0.5px solid #f0f0f0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

#showcase-account .xhs-tab {
    flex: 1;
    padding: 8px 0;
    font-size: 12px;
    color: #666;
    text-align: center;
    position: relative;
    cursor: pointer;
}

#showcase-account .xhs-tab.active {
    color: #333;
    font-weight: 500;
}

#showcase-account .xhs-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--xhs-primary);
    border-radius: 1px;
}

/* 品牌主页内容区 */
#showcase-account .xhs-brand-content {
    padding: 10px;
}

#showcase-account .xhs-note-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

#showcase-account .xhs-note-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#showcase-account .xhs-note-cover {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: #f5f5f5;
}

#showcase-account .xhs-note-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(254, 44, 85, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

#showcase-account .xhs-note-title {
    padding: 6px;
    font-size: 11px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#showcase-account .xhs-note-stats {
    padding: 0 6px 6px;
    font-size: 10px;
    color: #999;
}

/* 滚动条美化 */
#showcase-account .xhs-brand-profile::-webkit-scrollbar {
    width: 3px;
}

#showcase-account .xhs-brand-profile::-webkit-scrollbar-track {
    background: transparent;
}

#showcase-account .xhs-brand-profile::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

/* 品牌特色样式 */
#showcase-account .phone1 .xhs-brand-cover {
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 100%);
}

#showcase-account .phone2 .xhs-brand-cover {
    background: linear-gradient(45deg, #a18cd1 0%, #fbc2eb 100%);
}

#showcase-account .phone3 .xhs-brand-cover {
    background: linear-gradient(45deg, #84fab0 0%, #8fd3f4 100%);
}

#showcase-account .phone4 .xhs-brand-cover {
    background: linear-gradient(45deg, #fad0c4 0%, #ffd1ff 100%);
}

#showcase-account .phone5 .xhs-brand-cover {
    background: linear-gradient(45deg, #ffecd2 0%, #fcb69f 100%);
}

/* 手机设备位置调整 */
#showcase-account .xhs-phones-display {
    margin: 30px auto;
    height: 520px;
}

#showcase-account .xhs-phone-device {
    width: 220px;
    height: 440px;
    border-radius: 28px;
    padding: 3px;
    background: #000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

#showcase-account .xhs-phone-screen {
    border-radius: 25px;
}

#showcase-account .phone1 {
    left: calc(50% - 520px);
    transform: scale(0.85) rotateY(32deg);
    z-index: 1;
}

#showcase-account .phone2 {
    left: calc(50% - 260px);
    transform: scale(0.9) rotateY(16deg);
    z-index: 2;
}

#showcase-account .phone3 {
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 5;
}

#showcase-account .phone4 {
    left: calc(50% + 260px);
    transform: translateX(-100%) scale(0.9) rotateY(-16deg);
    z-index: 2;
}

#showcase-account .phone5 {
    left: calc(50% + 520px);
    transform: translateX(-100%) scale(0.85) rotateY(-32deg);
    z-index: 1;
}

/* 响应式调整 */
@media screen and (max-width: 1600px) {
    #showcase-account .xhs-phones-display {
        transform: scale(0.9);
    }
}

@media screen and (max-width: 1400px) {
    #showcase-account .xhs-phones-display {
        transform: scale(0.85);
    }
}

@media screen and (max-width: 1200px) {
    #showcase-account .xhs-phones-display {
        transform: scale(0.8);
    }
}

/* 小红书玩法区块样式 - 更新版本 */
.xhs-play-methods {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.xhs-play-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 5% 10%, rgba(255, 36, 66, 0.05) 0%, rgba(255, 36, 66, 0) 50%),
        radial-gradient(circle at 95% 90%, rgba(255, 36, 66, 0.05) 0%, rgba(255, 36, 66, 0) 50%);
    pointer-events: none;
    z-index: -1;
}

.xhs-methods-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.xhs-method-category {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.xhs-method-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.xhs-method-header {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.xhs-method-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.xhs-method-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.content-icon {
    background: linear-gradient(135deg, #FF2442 0%, #FF6B88 100%);
}

.scene-icon {
    background: linear-gradient(135deg, #8A2BE2 0%, #A16AFF 100%);
}

.interact-icon {
    background: linear-gradient(135deg, #FF8A00 0%, #FFB366 100%);
}

.user-icon {
    background: linear-gradient(135deg, #00B4DB 0%, #6CD4FF 100%);
}

.xhs-method-title-group {
    flex: 1;
}

.xhs-method-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.xhs-method-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.xhs-method-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 36, 66, 0.1);
    color: #FF2442;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.xhs-method-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.xhs-method-item {
    margin-bottom: 20px;
    padding-left: 10px;
    position: relative;
}

.xhs-method-item:last-child {
    margin-bottom: 0;
}

.xhs-method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 36, 66, 0.2);
    border-radius: 3px;
}

.xhs-method-item-content {
    padding-left: 10px;
}

.xhs-method-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
}

.xhs-method-item-icon {
    margin-right: 8px;
    font-size: 18px;
}

.xhs-method-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.xhs-method-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.xhs-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f8f9fa;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
}

.xhs-tag:hover {
    background: #FF2442;
    color: #fff;
}

.xhs-method-stats {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px 20px;
}

.xhs-stat-item {
    text-align: center;
}

.xhs-stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #FF2442;
    display: block;
    margin-bottom: 5px;
}

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

/* 达人招募区块样式 - 更新版本 */
.xhs-recruit-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafd 0%, #eef3f8 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.xhs-recruit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(255, 36, 66, 0.05) 0%, rgba(255, 36, 66, 0) 60%),
        radial-gradient(circle at 85% 85%, rgba(255, 36, 66, 0.05) 0%, rgba(255, 36, 66, 0) 60%);
    pointer-events: none;
    z-index: -1;
}

.xhs-recruit-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.xhs-recruit-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff2442 0%, #ff8b9c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.xhs-recruit-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 数据统计卡片 */
.xhs-recruit-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.xhs-recruit-stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 280px;
}

.xhs-recruit-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff2442 0%, #ff8b9c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.xhs-recruit-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.xhs-recruit-stat-card:hover::before {
    opacity: 1;
}

.xhs-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #ff2442;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xhs-stat-plus {
    color: #ff2442;
    margin-left: 2px;
    font-size: 24px;
    font-weight: 600;
}

.xhs-stat-unit {
    font-size: 18px;
    margin-left: 2px;
    color: #666;
}

.xhs-stat-label {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.xhs-stat-trend {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 36, 66, 0.1);
    color: #ff2442;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* 优势展示 */
.xhs-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.xhs-advantage-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.xhs-advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.xhs-advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    color: #ff2442;
    transition: all 0.3s ease;
}

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

.xhs-advantage-icon svg {
    width: 100%;
    height: 100%;
}

.xhs-advantage-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.xhs-advantage-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 72px;
}

.xhs-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.xhs-advantage-tag {
    padding: 6px 14px;
    background: #f8f9fa;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.xhs-advantage-tag:hover {
    background: #ff2442;
    color: #fff;
    transform: translateY(-3px);
}

/* 入驻流程 */
.xhs-recruit-process {
    margin-bottom: 60px;
}

.xhs-process-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.xhs-process-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #ff2442, #ff8b9c);
    border-radius: 2px;
}

.xhs-process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.xhs-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
    transition: all 0.3s ease;
}

.xhs-process-step:hover {
    transform: translateY(-5px);
}

.xhs-step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    color: #ff2442;
    transition: all 0.3s ease;
}

.xhs-step-icon svg {
    width: 100%;
    height: 100%;
}

.xhs-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

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

.xhs-process-arrow {
    width: 40px;
    height: 24px;
    margin: 0 15px;
    color: #ff2442;
}

.xhs-process-arrow svg {
    width: 100%;
    height: 100%;
}

/* 立即入驻按钮 */
.xhs-recruit-action {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 50;
}

.xhs-recruit-btn {
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, #ff2442 0%, #ff6b88 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 36, 66, 0.3);
}

.xhs-recruit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 36, 66, 0.4);
}

.xhs-recruit-btn:active {
    transform: translateY(2px) !important;
    transition: transform 0.1s ease !important;
}

/* 达人入驻弹窗 - 新设计 */
.xhs-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.xhs-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out !important;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xhs-modal-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    margin: 40px auto;
    overflow: hidden;
    animation: contentScale 0.3s ease-out;
}

@keyframes contentScale {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}

.xhs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #ff6b88 0%, #ff2442 100%);
    color: white;
}

.xhs-modal-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    position: relative;
}

.xhs-modal-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

.xhs-modal-close {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.8;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.xhs-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: rotate(90deg);
}

.xhs-modal-body {
    padding: 0;
}

.xhs-form-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    position: relative;
}

.xhs-nav-item {
    flex: 1;
    padding: 20px 15px;
    text-align: center;
    font-size: 15px;
    color: #777;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.xhs-nav-item::before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    background: #ddd;
    color: white;
    border-radius: 50%;
    display: inline-block;
    line-height: 24px;
    margin-right: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.xhs-nav-item:hover {
    color: #ff2442;
}

.xhs-nav-item.active {
    color: #ff2442;
    border-bottom-color: #ff2442;
}

.xhs-nav-item.active::before {
    background: #ff2442;
}

.xhs-nav-item.completed::before {
    background: #36b37e;
    content: "✓";
}

.xhs-form-sections {
    padding: 30px;
    counter-reset: step;
}

.xhs-form-section {
    display: none;
    animation: sectionFadeIn 0.5s ease;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.xhs-form-section.active {
    display: block;
}

.xhs-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    position: relative;
}

.xhs-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff2442, #ff6b88);
    border-radius: 3px;
}

.xhs-form-group {
    margin-bottom: 20px;
}

.xhs-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.xhs-form-group input[type="text"],
.xhs-form-group input[type="email"],
.xhs-form-group input[type="tel"],
.xhs-form-group input[type="date"],
.xhs-form-group input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
    background: #f9f9f9;
}

.xhs-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    min-height: 100px;
    resize: vertical;
    transition: all 0.3s;
    background: #f9f9f9;
}

.xhs-form-group input:focus,
.xhs-form-group textarea:focus {
    border-color: #ff6b88;
    box-shadow: 0 0 0 3px rgba(255, 107, 136, 0.2);
    outline: none;
    background: #fff;
}

.required {
    color: #ff2442;
    margin-left: 3px;
}

.xhs-checkbox-group,
.xhs-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
}

.xhs-checkbox,
.xhs-radio {
    position: relative;
    padding-left: 30px;
    margin: 6px 0;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    display: inline-flex;
    align-items: center;
    min-width: 110px;
}

.xhs-checkbox input,
.xhs-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark,
.radio-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    transition: all 0.2s;
}

.radio-mark {
    border-radius: 50%;
}

.checkmark {
    border-radius: 4px;
}

.xhs-checkbox:hover .checkmark,
.xhs-radio:hover .radio-mark {
    background-color: #e6e6e6;
}

.xhs-checkbox input:checked ~ .checkmark,
.xhs-radio input:checked ~ .radio-mark {
    background-color: #ff2442;
    border-color: #ff2442;
}

.checkmark:after,
.radio-mark:after {
    content: "";
    position: absolute;
    display: none;
}

.xhs-checkbox input:checked ~ .checkmark:after,
.xhs-radio input:checked ~ .radio-mark:after {
    display: block;
}

.xhs-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.xhs-radio .radio-mark:after {
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.xhs-price-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.xhs-price-item {
    flex: 1;
    min-width: 130px;
}

.xhs-price-item label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.xhs-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.xhs-prev-btn,
.xhs-next-btn,
.xhs-submit-btn {
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.xhs-prev-btn {
    background: #f0f0f0;
    color: #555;
    border: none;
}

.xhs-prev-btn:hover {
    background: #e0e0e0;
    transform: translateX(-3px);
}

.xhs-next-btn {
    background: linear-gradient(135deg, #5186ff 0%, #3e71e8 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(81, 134, 255, 0.3);
}

.xhs-next-btn:hover {
    background: linear-gradient(135deg, #3e71e8 0%, #2b60da 100%);
    transform: translateX(3px);
}

.xhs-submit-btn {
    background: linear-gradient(135deg, #ff6b88 0%, #ff2442 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 36, 66, 0.3);
}

.xhs-submit-btn:hover {
    background: linear-gradient(135deg, #ff2442 0%, #e01b38 100%);
    transform: translateY(-3px);
}

/* 轮播控制按钮 */
.xhs-showcase-controls {
    position: relative;
    z-index: 5;
}

.xhs-showcase-controls .xhs-control-btn {
    position: relative;
    z-index: 10;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* 表单成功消息样式 */
.xhs-form-success {
    text-align: center;
    padding: 50px 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.xhs-success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ff6b88 0%, #ff2442 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 15px 40px rgba(255, 36, 66, 0.25);
    animation: iconPop 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.49);
    position: relative;
    overflow: hidden;
}

@keyframes iconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.xhs-success-icon::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    top: -25%;
    left: -25%;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.xhs-form-success h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff2442, #ff6b88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.xhs-form-success p {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.7;
}

.xhs-success-details {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease 0.3s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xhs-success-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 16px;
    min-width: 120px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.xhs-success-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: white;
    border-color: rgba(255, 36, 66, 0.15);
}

.xhs-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #ff2442;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.xhs-stat-value sup {
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    top: 2px;
    right: -12px;
}

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

.xhs-close-btn {
    padding: 14px 45px;
    background: linear-gradient(135deg, #5186ff 0%, #3e71e8 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(81, 134, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.xhs-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    animation: btnShine 2s infinite;
}

@keyframes btnShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.xhs-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(81, 134, 255, 0.4);
    background: linear-gradient(135deg, #3e71e8 0%, #2b5fd3 100%);
}

@media (max-width: 768px) {
    .xhs-success-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .xhs-success-stat {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* 表单验证样式 */
.xhs-form-group input:invalid:focus,
.xhs-form-group textarea:invalid:focus {
    border-color: #ff6347;
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.2);
}

.xhs-form-error {
    color: #ff6347;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.xhs-form-group input:invalid:focus + .xhs-form-error,
.xhs-form-group textarea:invalid:focus + .xhs-form-error {
    display: block;
    animation: fadeIn 0.3s ease;
}