/* 整体美化与细节优化 */

/* 全局动画效果增强 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 按钮动效增强 */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button:after {
    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%);
    transition: all 0.8s ease;
}

.cta-button:hover:after {
    left: 100%;
}

/* 卡片美化 */
.pain-point-card,
.feature-card,
.testimonial-card,
.advantage-card,
.package-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pain-point-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.advantage-card:hover,
.package-card:hover {
    border-color: rgba(0, 0, 0, 0);
}

/* 图标美化 */
.icon-wrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.icon-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.icon-wrapper:hover:before {
    opacity: 1;
}

/* 图片悬停效果增强 */
.image-grid-item img,
.content-image-row .image img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.image-grid-item:hover img,
.content-image-row:hover .image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* 文字渐变效果 */
.main-title,
.highlight-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
    background-clip: text;
    text-fill-color: transparent;
}

/* 滚动平滑效果 */
html {
    scroll-behavior: smooth;
}

/* 表单美化 */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    outline: none;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .content-image-row {
        gap: 20px;
    }
    
    .image-grid {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.3rem;
    }
    
    .content-image-row .content {
        padding: 15px 0;
    }
    
    .image-grid-item {
        aspect-ratio: 1/1;
    }
}

/* 加载动画 */
.fade-in, .slide-in-left, .slide-in-right, .zoom-in {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

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

.fade-in.visible {
    animation-name: fadeIn;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left.visible {
    animation-name: slideInLeft;
}

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

.slide-in-right.visible {
    animation-name: slideInRight;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in.visible {
    animation-name: zoomIn;
}
