/* 产品页面专用样式 - product.html */

/* 页面头部样式 */
.page-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.page-header-text {
    flex: 1;
    padding-right: 50px;
}


.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--gray);
    line-height: 1.8;
}

.page-header-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.product-showcase {
    width: 100%;
    height: 400px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AOS 动画完成后的产品展示浮动效果 */
.page-header-image.aos-animate .product-showcase {
    animation: productFloat 6s ease-in-out infinite;
}

@keyframes productFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.product-showcase-content {
    text-align: center;
    padding: 30px;
}

.product-showcase i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-showcase h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}


/* 产品特性 */
.product-features {
    background: white;
}

.features-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    background: white;
    border-radius: 50px;
    padding: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-tab {
    padding: 12px 35px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.feature-tab.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.3);
}

.feature-content {
    display: none;
}

.feature-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.feature-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-visual {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-visual-header {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-weight: 600;
    color: white;
}

.feature-visual-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
}

.visual-item {
    height: 10px;
    border-radius: 5px;
    background: #e0e0e0;
}

.visual-item:nth-child(2) {
    width: 80%;
}

.visual-item:nth-child(4) {
    width: 60%;
}

.feature-info {
    flex: 1;
}

.feature-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
}

.feature-info p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--gray);
    line-height: 1.8;
}

.feature-info ul {
    list-style: none;
    margin-bottom: 35px;
}

.feature-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.feature-info li i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1.2rem;
}

/* 使用场景 */
.use-cases {
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
    position: relative;
    overflow: hidden;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.use-case-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    will-change: transform, opacity, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
}

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

.use-case-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.use-case-card:hover::after {
    transform: scaleX(1);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.4s ease, background 0.4s ease;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
    background: rgba(24, 144, 255, 0.2);
}

.use-case-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: transform 0.4s ease;
}

.use-case-card:hover .use-case-icon i {
    transform: scale(1.1);
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.use-case-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* 客户案例 */
.customer-cases {
    background: white;
}

.cases-container {
    max-width: 1000px;
    margin: 0 auto;
}

.case-study {
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    transition: all 0.4s ease;
    will-change: transform, opacity, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.case-study::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.case-study:hover::before {
    transform: scaleY(1);
}

.case-image {
    flex-shrink: 0;
}

.case-logo {
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.case-study:hover .case-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(24, 144, 255, 0.3);
}

.case-content {
    flex: 1;
}

.case-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 700;
}

.industry {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    display: block;
}

.case-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.case-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    position: relative;
}

.case-study:hover .stat-item {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    transition: color 0.4s ease;
}

.case-study:hover .stat-value {
    color: var(--primary-dark);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color 0.4s ease;
}

.case-study:hover .stat-label {
    color: var(--dark);
}

/* 常见问题 */
.faq-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
}


/* 响应式设计 */
@media (max-width: 992px) {
    .page-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header-text {
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .feature-detail {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .case-study {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .features-tabs {
        flex-direction: column;
        width: 100%;
        border-radius: 12px;
    }
    
    .feature-tab {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-stats {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .feature-detail {
        padding: 30px 20px;
    }
    
    .use-case-card {
        padding: 30px 20px;
    }
    
    .case-study {
        padding: 30px 20px;
    }
    
    .case-stats {
        flex-direction: column;
        gap: 15px;
    }
}


