/* 客户评价区域样式 - 无限滚动版本 */

.testimonials {
    background: #FFFFFF;
    overflow: hidden;
    height: 960px;
    position: relative;
}

.testimonials .container-full {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

/* 标题 */
.testimonials-title {
    width: 844px;
    height: 56px;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #17181A;
    letter-spacing: -1px;
    text-align: center;
    mix-blend-mode: normal;
    margin: 0 auto 56px auto;
    line-height: 56px;
    flex-shrink: 0;
}

/* 滚动容器 */
.testimonials-scroll-wrapper {
    display: flex;
    gap: 24px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* 顶部渐变遮罩效果 */
.testimonials-scroll-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* 底部渐变遮罩效果 */
.testimonials-scroll-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* 评价列 */
.testimonials-column {
    --scroll-length: 0px;
    --scroll-duration: 18s;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: scrollUp var(--scroll-duration) linear infinite;
    will-change: transform;
}

.testimonials-column[data-speed="30"] {
    --scroll-duration: 10s;
}

.testimonials-column[data-speed="35"] {
    --scroll-duration: 18s;
}

.testimonials-column[data-speed="40"] {
    --scroll-duration: 10s;
}

/* 滚动动画 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-1 * var(--scroll-length)));
    }
}

/* 鼠标悬停时暂停滚动 */
.testimonials-scroll-wrapper:hover .testimonials-column {
    animation-play-state: paused;
}

/* 评价卡片 */
.testimonial-card {
    width: 405px;
    border-radius: 8px;
    background: #F7F9FD;
    mix-blend-mode: normal;
    padding: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border: 1px solid #5B7FFF;
}

/* 评价文字 */
.testimonial-text {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #7C7D81;
    margin: 0 0 20px 0;
}

/* 卡片底部用户信息 */
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-user {
    flex: 1;
}

.user-name {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #17181A;
    margin: 0 0 4px 0;
}

.user-title {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    color: #999;
    margin: 0;
}
