/* 
 * 小红书营销价值区块独立样式
 * 设计风格保持与其他板块一致
 */

/* 基础容器样式 */
.xhs-value-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.xhs-value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(254, 44, 85, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 90% 80%, rgba(254, 44, 85, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
    animation: gradientPulse 15s infinite alternate ease-in-out;
}

@keyframes gradientPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* 标题样式修改 */
.xhs-value-section .xhs-section-header {
    position: relative;
}

.xhs-value-section .xhs-section-subtitle {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(254, 44, 85, 0.08);
    color: #fe2c55;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards ease-out;
}

.xhs-value-section .xhs-section-title {
    font-size: 40px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards ease-out;
}

.xhs-value-section .xhs-section-desc {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    color: #666;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards ease-out;
}

.xhs-value-section .xhs-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 4px;
}

/* 覆盖默认的divider样式，防止出现多余的横线 */
.xhs-value-section .xhs-divider {
    display: none;
}

/* 内容布局 */
.xhs-value-content {
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.xhs-value-left {
    width: 58%;
    padding-right: 40px;
    position: relative;
}

.xhs-value-right {
    width: 38%;
    padding-left: 30px;
    padding-bottom: 150px;
    border-left: 1px dashed rgba(254, 44, 85, 0.2);
    position: relative;
}

.xhs-value-right::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    width: 9px;
    height: 9px;
    background: #fe2c55;
    border-radius: 50%;
    transform: translateY(-50%);
}

.xhs-value-right::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 20%;
    width: 120px;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fe2c55" opacity="0.05"><path d="M21,12a9,9,0,1,1-9-9A9,9,0,0,1,21,12Z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.2;
}

/* 左侧内容样式 */
.xhs-value-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.5s forwards ease-out;
}

.xhs-value-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 2px;
}

.xhs-value-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.6s forwards ease-out;
}

/* 种草类型样式 */
.xhs-value-types {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.7s forwards ease-out;
}

.xhs-value-type {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(254, 44, 85, 0.05);
}

.xhs-value-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(254, 44, 85, 0.1);
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border-color: rgba(254, 44, 85, 0.15);
}

.xhs-value-icon {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
}

.xhs-icon-circle,
.xhs-icon-square,
.xhs-icon-diamond {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xhs-icon-circle {
    background-color: rgba(254, 44, 85, 0.1);
    border-radius: 50%;
}

.xhs-icon-square {
    background-color: rgba(254, 44, 85, 0.1);
    border-radius: 4px;
}

.xhs-icon-diamond {
    width: 24px;
    height: 24px;
    background-color: rgba(254, 44, 85, 0.1);
    transform: rotate(45deg);
    margin-right: 16px;
}

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

/* 指标数据样式 */
.xhs-value-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.8s forwards ease-out;
}

.xhs-value-metric {
    text-align: center;
    position: relative;
    background: #fff;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.xhs-value-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(254, 44, 85, 0.08);
}

.xhs-value-metric::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 1px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.05);
}

.xhs-value-metric:last-child::after {
    display: none;
}

.xhs-metric-value {
    font-size: 40px;
    font-weight: 700;
    color: #fe2c55;
    display: inline-block;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: numberCount 2s 1s forwards ease-out;
}

.xhs-metric-unit {
    font-size: 20px;
    font-weight: 600;
    color: #fe2c55;
    display: inline-block;
}

.xhs-metric-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 统计数据样式 */
.xhs-value-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.9s forwards ease-out;
}

.xhs-value-stat {
    flex: 1;
    min-width: 150px;
    background: linear-gradient(135deg, #fff2f5 0%, #fff 100%);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(254, 44, 85, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.xhs-value-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(254, 44, 85, 0.1);
}

.xhs-value-stat:hover::before {
    height: 7px;
    opacity: 1;
}

.xhs-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #fe2c55;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.5s 1.2s forwards, numberCount 2s 1.2s forwards ease-out;
}

.xhs-stat-desc {
    font-size: 15px;
    color: #666;
    position: relative;
}

/* 右侧指标样式 */
.xhs-value-indicators {
    padding: 0 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 1s forwards ease-out;
}

.xhs-indicators-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.xhs-indicators-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
}

.xhs-indicators-title:not(:first-child) {
    margin-top: 40px;
}

/* 额外数据卡片样式 */
.xhs-value-extras {
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 1.2s forwards ease-out;
}

.xhs-extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.xhs-extra-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards ease-out;
}

.xhs-extra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #fe2c55, #ff849b);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.xhs-extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(254, 44, 85, 0.1);
}

.xhs-extra-card:hover::before {
    width: 6px;
    opacity: 1;
}

.xhs-extra-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    background: rgba(254, 44, 85, 0.1);
    position: relative;
}

.xhs-extra-icon i {
    font-size: 18px;
    color: #fe2c55;
}

/* 自定义图标 */
.xhs-icon-engagement::before {
    content: '👍';
}

.xhs-icon-growth::before {
    content: '📈';
}

.xhs-icon-user::before {
    content: '👥';
}

.xhs-icon-time::before {
    content: '⏱️';
}

.xhs-extra-content {
    flex: 1;
}

.xhs-extra-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
    background: linear-gradient(90deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* 品牌数据样式 */
.xhs-brand-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.xhs-brand-stat-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 12px;
    padding: 15px;
    width: 48%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(254, 44, 85, 0.08);
    transition: all 0.3s ease;
}

.xhs-brand-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 44, 85, 0.1);
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.xhs-brand-stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fe2c55, #ff849b);
    margin-right: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xhs-brand-stat-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.xhs-brand-stat-item:first-child .xhs-brand-stat-icon::after {
    content: '↻';
    position: relative;
    color: #fe2c55;
    font-size: 16px;
    font-weight: bold;
}

.xhs-brand-stat-item:last-child .xhs-brand-stat-icon::after {
    content: '★';
    position: relative;
    color: #fe2c55;
    font-size: 16px;
    font-weight: bold;
}

.xhs-brand-stat-info {
    flex: 1;
}

.xhs-brand-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #fe2c55;
    margin-bottom: 5px;
}

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

/* 行业覆盖分析区块样式 */
.xhs-industry-coverage {
    margin-top: 25px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(254, 44, 85, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 1.2s forwards ease-out;
    margin-bottom: 80px;
    position: relative;
}

.xhs-industry-coverage::after {
    content: '小红书营销 ✨';
    position: absolute;
    bottom: -50px;
    right: 20px;
    font-size: 14px;
    color: rgba(254, 44, 85, 0.3);
    font-style: italic;
    letter-spacing: 1px;
}

.xhs-industry-coverage:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 44, 85, 0.1);
}

.xhs-industry-coverage .xhs-analysis-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 0;
}

.xhs-industry-coverage .xhs-analysis-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 2px;
}

.xhs-industry-coverage .xhs-analysis-title::before {
    display: none;
}

.xhs-industry-segments {
    margin-top: 15px;
}

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

.xhs-industry-segment:last-child {
    margin-bottom: 0;
}

.xhs-industry-segment .xhs-segment-label {
    width: 100px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin-bottom: 0;
}

.xhs-industry-segment .xhs-segment-bar {
    flex: 1;
    height: 26px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 13px;
    overflow: hidden;
    position: relative;
}

.xhs-industry-segment .xhs-segment-fill {
    height: 100%;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    width: auto;
    animation: none;
}

/* 添加行业细分的颜色样式 */
.xhs-segment-fill.industry-beauty {
    background: linear-gradient(to right, #fe2c55, #ff849b);
}

.xhs-segment-fill.industry-fashion {
    background: linear-gradient(to right, #5e72e4, #825ee4);
}

.xhs-segment-fill.industry-food {
    background: linear-gradient(to right, #ffd166, #ffaa5a);
}

/* 动画效果 */
@keyframes fillBar {
    from { width: 0; }
    to { width: 100%; }
}

.animate-bar .xhs-segment-fill {
    animation: fillBar 1.5s ease-out forwards;
}

/* 转化指标样式 - 恢复删除的样式 */
.xhs-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.xhs-indicator:nth-child(2) {
    animation-delay: 1.1s;
}

.xhs-indicator:nth-child(3) {
    animation-delay: 1.2s;
}

.xhs-indicator:nth-child(4) {
    animation-delay: 1.3s;
}

.xhs-indicator:nth-child(6) {
    animation-delay: 1.4s;
}

.xhs-indicator:nth-child(7) {
    animation-delay: 1.5s;
}

.xhs-indicator:nth-child(8) {
    animation-delay: 1.6s;
}

.xhs-indicator-name {
    width: 25%;
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

.xhs-indicator-bar {
    width: 45%;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    margin: 0 15px;
    overflow: hidden;
    position: relative;
}

.xhs-indicator-progress {
    height: 100%;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.xhs-indicator-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    animation: progressPulse 2s infinite;
}

.xhs-indicator-value {
    width: 25%;
    font-size: 15px;
    font-weight: 600;
    color: #fe2c55;
    text-align: right;
}

/* 动画定义 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes numberCount {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}

@keyframes progressPulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.8;
    }
}

/* 用户分析区块样式 */
.xhs-user-analysis {
    margin-top: 35px;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(254, 44, 85, 0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 1.1s forwards ease-out;
}

.xhs-analysis-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

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

.xhs-user-segments {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.xhs-segment-label {
    width: 100px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.xhs-segment-bar {
    flex: 1;
    height: 26px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 13px;
    overflow: hidden;
    position: relative;
}

.xhs-segment-fill {
    height: 100%;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 响应式样式调整 */
@media (max-width: 992px) {
    .xhs-effects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xhs-user-analysis {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .xhs-effects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .xhs-user-segment {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .xhs-segment-label {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* 响应式布局 */
@media (max-width: 992px) {
    .xhs-value-content {
        flex-direction: column;
    }
    
    .xhs-value-left,
    .xhs-value-right {
        width: 100%;
        padding: 0;
        border: none;
    }

    .xhs-value-right {
        margin-top: 60px;
        padding-top: 40px;
        border-top: 1px dashed rgba(254, 44, 85, 0.2);
    }
    
    .xhs-value-right::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%) translateY(-50%);
    }
    
    .xhs-value-section .xhs-section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .xhs-value-section {
        padding: 60px 0;
    }
    
    .xhs-value-metrics {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .xhs-value-metric {
        width: calc(50% - 10px);
    }
    
    .xhs-value-metric::after {
        display: none;
    }
    
    .xhs-stat-number {
        font-size: 26px;
    }
    
    .xhs-indicator {
        flex-wrap: wrap;
    }
    
    .xhs-indicator-name {
        width: 50%;
    }
    
    .xhs-indicator-bar {
        width: 100%;
        margin: 10px 0;
    }
    
    .xhs-indicator-value {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .xhs-value-section {
        padding: 40px 0;
    }
    
    .xhs-value-types {
        flex-direction: column;
        gap: 15px;
    }
    
    .xhs-value-stat {
        min-width: 100%;
    }
    
    .xhs-metric-value {
        font-size: 32px;
    }
    
    .xhs-value-section .xhs-section-title {
        font-size: 28px;
    }
}

/* 营销效果分析样式 */
.xhs-marketing-effects {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 1s forwards ease-out;
}

.xhs-effects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.xhs-effect-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(254, 44, 85, 0.08);
}

.xhs-effect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.xhs-effect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 44, 85, 0.1);
}

.xhs-effect-card:hover::before {
    height: 5px;
    opacity: 1;
}

.xhs-effect-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background: rgba(254, 44, 85, 0.08);
    transition: all 0.3s ease;
}

.xhs-effect-card:hover .xhs-effect-icon {
    background: rgba(254, 44, 85, 0.15);
    transform: rotate(10deg);
}

.xhs-effect-icon i {
    font-size: 20px;
    color: #fe2c55;
}

/* 自定义图标 */
.xhs-icon-trend::before {
    content: '📈';
}

.xhs-icon-target::before {
    content: '🎯';
}

.xhs-icon-conversion::before {
    content: '💹';
}

.xhs-icon-satisfaction::before {
    content: '⭐';
}

.xhs-effect-info {
    flex: 1;
}

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

.xhs-effect-value {
    font-size: 22px;
    font-weight: 700;
    color: #fe2c55;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 0.5s 1.2s forwards, numberCount 2s 1.2s forwards ease-out;
}

.xhs-effect-progress {
    height: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.xhs-effect-bar {
    height: 100%;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 内容质量评分卡片样式 */
.xhs-content-quality-section {
    padding: 0;
    margin-top: -40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
}

.xhs-content-quality {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(254, 44, 85, 0.08);
    transition: all 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.xhs-content-quality::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.xhs-content-quality .xhs-analysis-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.xhs-content-quality .xhs-analysis-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fe2c55, #ff849b);
    border-radius: 2px;
}

.xhs-quality-meters {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xhs-quality-meter {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xhs-quality-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    width: 80px;
}

.xhs-quality-stars {
    display: flex;
    align-items: center;
}

.xhs-star {
    width: 18px;
    height: 18px;
    margin-right: 3px;
    position: relative;
    display: inline-block;
}

.xhs-star::before {
    content: '★';
    color: #ddd;
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0;
}

.xhs-star.filled::before {
    color: #fe2c55;
}

.xhs-star.half-filled::before {
    background: linear-gradient(to right, #fe2c55 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.xhs-quality-score {
    margin-left: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fe2c55;
} 