
/* Sezione WhatsApp CTA */
.whatsapp-cta-section {
    background: linear-gradient(135deg, #c1e5cd 0%, #6caba8 50%, #25D366 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.whatsapp-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="whatsapp-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="20" r="1.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23whatsapp-pattern)"/></svg>');
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.whatsapp-cta-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.whatsapp-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: pulseRing 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.pulse-ring.delay-2 {
    animation-delay: 1s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.whatsapp-main-icon {
    font-size: 50px;
    color: white;
    z-index: 3;
    position: relative;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.whatsapp-text h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.whatsapp-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.whatsapp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: #25D366;
    font-size: 12px;
}

.whatsapp-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.whatsapp-cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: #128C7E;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-background {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #25D366, #128C7E);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-text, .btn-arrow {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.btn-text i {
    font-size: 1.3rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.whatsapp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.whatsapp-cta-btn:hover .btn-background {
    left: 0;
}

.whatsapp-cta-btn:hover .btn-text,
.whatsapp-cta-btn:hover .btn-arrow {
    color: white;
}

.whatsapp-cta-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    font-size: 20px;
    opacity: 0.6;
    animation: floatBubble 8s ease-in-out infinite;
}

.bubble-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.bubble-3 {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.bubble-4 {
    top: 30%;
    right: 10%;
    animation-delay: 6s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .whatsapp-cta-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .whatsapp-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .whatsapp-cta-section {
        padding: 60px 0;
    }
    
    .whatsapp-text h3 {
        font-size: 1.6rem;
    }
    
    .whatsapp-features {
        justify-content: center;
    }
    
    .whatsapp-cta-btn {
        padding: 18px 30px;
        font-size: 1rem;
    }
    
    .whatsapp-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .whatsapp-main-icon {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .whatsapp-content {
        gap: 15px;
    }
    
    .whatsapp-text h3 {
        font-size: 1.4rem;
    }
    
    .whatsapp-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
