/* 新区域样式 - 品牌故事和客户评价 */

/* 品牌故事区域 */
.brand-story {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0EEE9 0%, white 100%);
    position: relative;
    overflow: hidden;
}

/* 优化：去除大面积动画背景，改为静态SVG装饰 */
.brand-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23FF7A00" opacity="0.05"/><circle cx="80" cy="40" r="3" fill="%23FF7A00" opacity="0.05"/><circle cx="40" cy="80" r="2" fill="%23FF7A00" opacity="0.05"/></svg>');
    /* animation: float 15s ease-in-out infinite; */
    pointer-events: none;
}

.story-content {
    position: relative;
    z-index: 2;
}

/* 标签栏样式 */
.story-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.8);
    /* 优化：去除毛玻璃 */
    /* backdrop-filter: blur(10px); */
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 2px solid transparent;
}

.tab-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: rgba(255, 122, 0, 0.2);
}

.tab-item.active {
    background: linear-gradient(135deg, #FF7A00, #FF9AA2);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.18);
}

.tab-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.tab-text {
    font-family: "阿里妈妈数黑体", "Alibaba PuHuiTi", sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 内容显示区域 */
.story-display {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    /* 优化：只在这里保留轻微毛玻璃 */
    /* backdrop-filter: blur(10px); */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.story-frame {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-frame.active {
    display: block;
    opacity: 1;
}

.story-frame iframe {
    border-radius: 25px;
    transition: transform 0.3s ease;
    border: none;
    overflow: hidden;
    scrolling: no;
    -webkit-overflow-scrolling: no;
}

.story-frame iframe::-webkit-scrollbar {
    display: none;
}

.story-frame:hover iframe {
    transform: scale(1.02);
}

/* 客户评价区域 */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, white 0%, #F0EEE9 100%);
    position: relative;
}

/* 优化：去除大面积动画背景，改为静态SVG装饰 */
.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,0 Q80,20 50,40 Q20,20 50,0" fill="%23FF7A00" opacity="0.03"/></svg>');
    background-size: 100px 100px;
    /* animation: float 20s ease-in-out infinite; */
    pointer-events: none;
}

.testimonials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* 文字内容区域 */
.testimonial-text h3 {
    font-family: "阿里妈妈数黑体", "Alibaba PuHuiTi", sans-serif;
    font-weight: bold;
    background: linear-gradient(135deg, #FF7A00, #FF9AA2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.testimonial-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 40px;
}

/* 统计数据 */
.testimonial-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    /* 优化：去除毛玻璃 */
    /* backdrop-filter: blur(10px); */
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-number {
    display: block;
    font-family: "阿里妈妈数黑体", "Alibaba PuHuiTi", sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FF7A00, #FF9AA2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
}

/* 视频区域 */
.testimonial-image {
    background: rgba(255, 255, 255, 0.96);
    /* 优化：去除毛玻璃 */
    /* backdrop-filter: blur(10px); */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.testimonial-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.testimonial-image iframe,
.testimonial-image img {
    border-radius: 25px;
    transition: transform 0.3s ease;
    border: none;
    overflow: hidden;
    scrolling: no;
    -webkit-overflow-scrolling: no;
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.testimonial-image iframe::-webkit-scrollbar,
.testimonial-image img::-webkit-scrollbar {
    display: none;
}

.testimonial-image:hover iframe,
.testimonial-image:hover img {
    transform: scale(1.02);
}

/* 动画效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* 响应式调整（虽然您说不需要，但保留基础兼容性） */
@media (max-width: 768px) {
    .story-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonial-stats {
        flex-direction: column;
        gap: 20px;
    }
} 