/* 修复和优化补丁 */

/* 1. 修复Hero区域滚动指示器问题 */
.hero-cta {
    margin-bottom: 80px !important;
}

.scroll-indicator {
    z-index: 10 !important;
    opacity: 0.6 !important;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1 !important;
}

/* 2. 页脚改为亮色主题 */
.footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #333 !important;
    border-top: 1px solid #dee2e6 !important;
}

.footer-section h4 {
    color: #333 !important;
}

.footer-section a {
    color: #666 !important;
}

.footer-section a:hover {
    color: #eb7101 !important;
}

.footer-bottom {
    border-top: 1px solid #dee2e6 !important;
    color: #666 !important;
}

.footer-bottom p {
    color: #666 !important;
}

.footer-beian a {
    color: #777 !important;
}

.footer-beian a:hover {
    color: #eb7101 !important;
}

/* 3. 优化滚动动画，移除不自然的透明度变化 */
.feature-showcase-item {
    opacity: 1 !important;
    transform: translateY(80px) scale(0.9);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-showcase-item.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* 4. 改善功能卡片动画 */
.feature-card {
    opacity: 1 !important;
    transform: translateY(40px) scale(0.92);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* 5. 改善下载区域动画 */
.download-box {
    opacity: 1 !important;
    transform: translateY(60px) scale(0.92);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.download-box.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* 6. 优化区域过渡，让各部分更自然衔接 */
.features-showcase,
.features-grid-section,
.download-section {
    position: relative;
}

.features-showcase::before,
.features-grid-section::before,
.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
    pointer-events: none;
}

/* 7. 简化视差效果，避免过于夸张 */
.feature-image {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.feature-image:hover {
    transform: scale(1.05) translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

/* 8. 优化初始状态，避免闪烁 */
.feature-showcase-item:not(.visible),
.feature-card:not(.visible),
.download-box:not(.visible) {
    visibility: hidden;
}

.feature-showcase-item.visible,
.feature-card.visible,
.download-box.visible {
    visibility: visible !important;
}

/* 9. 改善移动端体验 */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .hero-cta {
        margin-bottom: 40px !important;
    }
}
