/* ===== Scroll Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animation */
.fade-up.visible .category-card,
.fade-up.visible .feature-card,
.fade-up.visible .value-card,
.fade-up.visible .product-card,
.fade-up.visible .contact-card,
.fade-up.visible .brand-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.fade-up.visible .category-card:nth-child(1),
.fade-up.visible .feature-card:nth-child(1),
.fade-up.visible .value-card:nth-child(1),
.fade-up.visible .product-card:nth-child(1),
.fade-up.visible .contact-card:nth-child(1) { animation-delay: 0.05s; }

.fade-up.visible .category-card:nth-child(2),
.fade-up.visible .feature-card:nth-child(2),
.fade-up.visible .value-card:nth-child(2),
.fade-up.visible .product-card:nth-child(2),
.fade-up.visible .contact-card:nth-child(2) { animation-delay: 0.1s; }

.fade-up.visible .category-card:nth-child(3),
.fade-up.visible .feature-card:nth-child(3),
.fade-up.visible .value-card:nth-child(3),
.fade-up.visible .product-card:nth-child(3),
.fade-up.visible .contact-card:nth-child(3) { animation-delay: 0.15s; }

.fade-up.visible .category-card:nth-child(4),
.fade-up.visible .feature-card:nth-child(4),
.fade-up.visible .value-card:nth-child(4),
.fade-up.visible .product-card:nth-child(4),
.fade-up.visible .contact-card:nth-child(4) { animation-delay: 0.2s; }

.fade-up.visible .category-card:nth-child(5),
.fade-up.visible .product-card:nth-child(5),
.fade-up.visible .contact-card:nth-child(5) { animation-delay: 0.25s; }

.fade-up.visible .category-card:nth-child(6),
.fade-up.visible .product-card:nth-child(6) { animation-delay: 0.3s; }

.fade-up.visible .category-card:nth-child(7),
.fade-up.visible .product-card:nth-child(7) { animation-delay: 0.35s; }

.fade-up.visible .category-card:nth-child(8),
.fade-up.visible .product-card:nth-child(8) { animation-delay: 0.4s; }

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

/* Brand items stagger */
.fade-up.visible .brand-item:nth-child(1) { animation-delay: 0.02s; }
.fade-up.visible .brand-item:nth-child(2) { animation-delay: 0.04s; }
.fade-up.visible .brand-item:nth-child(3) { animation-delay: 0.06s; }
.fade-up.visible .brand-item:nth-child(4) { animation-delay: 0.08s; }
.fade-up.visible .brand-item:nth-child(5) { animation-delay: 0.1s; }
.fade-up.visible .brand-item:nth-child(6) { animation-delay: 0.12s; }
.fade-up.visible .brand-item:nth-child(7) { animation-delay: 0.14s; }
.fade-up.visible .brand-item:nth-child(8) { animation-delay: 0.16s; }
.fade-up.visible .brand-item:nth-child(9) { animation-delay: 0.18s; }
.fade-up.visible .brand-item:nth-child(10) { animation-delay: 0.2s; }
.fade-up.visible .brand-item:nth-child(11) { animation-delay: 0.22s; }
.fade-up.visible .brand-item:nth-child(12) { animation-delay: 0.24s; }
.fade-up.visible .brand-item:nth-child(13) { animation-delay: 0.26s; }
.fade-up.visible .brand-item:nth-child(14) { animation-delay: 0.28s; }
.fade-up.visible .brand-item:nth-child(15) { animation-delay: 0.3s; }
.fade-up.visible .brand-item:nth-child(16) { animation-delay: 0.32s; }

/* ===== Hero Shapes Float ===== */
.hero-shapes .shape-1 {
    animation: float1 8s ease-in-out infinite;
}

.hero-shapes .shape-2 {
    animation: float2 10s ease-in-out infinite;
}

.hero-shapes .shape-3 {
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

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

/* ===== Hover Glow ===== */
.category-card::after,
.feature-card::after,
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(230, 126, 34, 0.06), transparent 40%);
    pointer-events: none;
}

.category-card:hover::after,
.feature-card:hover::after,
.product-card:hover::after {
    opacity: 1;
}

/* ===== Pulse for WhatsApp ===== */
.whatsapp-float {
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Page Transition ===== */
body {
    animation: pageIn 0.4s ease;
}

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