/* one-stop-solution page styles */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.one-stop-wave-animation {
    animation: one-stop-wave 8s ease-in-out infinite;
}

@keyframes one-stop-wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25%);
    }
}

@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
    .hero-section {
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    }
    .advantage-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .advantage-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }
    .btn-primary {
        background-color: var(--primary);
        transition: all 0.3s ease;
    }
    .btn-primary:hover {
        background-color: #2563eb;
        transform: translateY(-2px);
    }
    .btn-secondary {
        background-color: var(--secondary);
        transition: all 0.3s ease;
    }
    .btn-secondary:hover {
        background-color: #059669;
        transform: translateY(-2px);
    }
    .logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--primary);
    }
    .wave-animation {
        animation: wave 20s linear infinite;
    }
    @keyframes wave {
        0% {
            transform: translateX(0) translateY(0);
        }
        100% {
            transform: translateX(-100%) translateY(0);
        }
    }
    
    /* 白云动画 */
    .animate-float {
        animation: float 15s ease-in-out infinite;
    }
    .animate-float-delay {
        animation: float 20s ease-in-out infinite 2s;
    }
    .animate-float-slow {
        animation: float 25s ease-in-out infinite 4s;
    }
    @keyframes float {
        0%, 100% {
            transform: translateY(0) translateX(0);
        }
        50% {
            transform: translateY(-15px) translateX(10px);
        }
    }
    
    /* 气球动画 */
    .animate-rise {
        animation: rise 10s linear infinite;
    }
    .animate-rise-delay {
        animation: rise 12s linear infinite 1s;
    }
    .animate-rise-slow {
        animation: rise 15s linear infinite 2s;
    }
    @keyframes rise {
        0% {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
        100% {
            transform: translateY(-100vh) scale(0.5);
            opacity: 0;
        }
    }
    
    /* 轮播样式 */
    .carousel-container {
        position: relative;
    }
    .carousel-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    .carousel-item.active {
        position: relative;
        opacity: 1;
    }
    .carousel-control {
        cursor: pointer;
        z-index: 10;
    }
    .carousel-indicators button {
        cursor: pointer;
        transition: opacity 0.3s ease;
    }
    .carousel-indicators button.active {
        opacity: 1;
    }
    .animate-pulse-slow {
        animation: pulse-slow 4s ease-in-out infinite;
    }
    @keyframes pulse-slow {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* 分页样式 */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 2rem;
        padding: 1rem 0;
    }
    .pagination li {
        display: inline-block;
    }
    .pagination li span,
    .pagination li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2.5rem;
        height: 2.5rem;
        padding: 0 0.75rem;
        border-radius: 0.375rem;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.2s ease;
        text-decoration: none;
    }
    .pagination li a {
        background-color: white;
        color: #1e293b;
        border: 1px solid #e2e8f0;
    }
    .pagination li a:hover {
        background-color: #3b82f6;
        color: white;
        border-color: #3b82f6;
    }
    .pagination li.active span {
        background-color: #3b82f6;
        color: white;
        border: 1px solid #3b82f6;
    }
    .pagination li.disabled span {
        background-color: #f1f5f9;
        color: #94a3b8;
        border: 1px solid #e2e8f0;
        cursor: not-allowed;
    }
}