/* Lead Generation Enhancements */

/* Sticky Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulsate 2s ease-out infinite;
}

.whatsapp-btn i {
    font-size: 28px;
    z-index: 1;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #FF6B6B, #E81937);
    color: white;
    padding: 12px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.urgency-text {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.urgency-timer {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.urgency-cta {
    background: white;
    color: #E81937;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.urgency-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #E81937;
    text-decoration: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Trust Badges */
.trust-badges {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px 0;
    margin: 40px 0;
}

.trust-badge-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-5px);
}

.trust-badge-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #E81937, #FF6B6B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(232, 25, 55, 0.3);
}

.trust-badge-title {
    font-weight: 700;
    font-size: 24px;
    color: #E81937;
    margin-bottom: 5px;
}

.trust-badge-text {
    font-size: 14px;
    color: #656565;
    margin: 0;
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.exit-popup-overlay.active {
    display: flex;
}

.exit-popup {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    animation: popupSlide 0.4s ease-out;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-popup-close:hover {
    background: #E81937;
    color: white;
    transform: rotate(90deg);
}

.exit-popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #E81937, #FF6B6B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.exit-popup h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.exit-popup p {
    color: #656565;
    font-size: 16px;
    text-align: center;
    margin-bottom: 25px;
}

.exit-popup-offer {
    background: linear-gradient(135deg, #FFE5E5, #FFF0F0);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    border: 2px dashed #E81937;
}

.exit-popup-offer-text {
    font-size: 32px;
    font-weight: 800;
    color: #E81937;
    margin: 0;
}

.exit-popup-cta {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #E81937, #FF6B6B);
    color: white;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.exit-popup-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(232, 25, 55, 0.4);
    color: white;
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Enhanced CTA Section */
.enhanced-cta-section {
    background: linear-gradient(135deg, #004C80, #0066A6);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.enhanced-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.enhanced-cta-content {
    position: relative;
    z-index: 1;
}

.enhanced-cta-title {
    color: white;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.enhanced-cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
}

.enhanced-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.enhanced-cta-btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.enhanced-cta-btn-primary {
    background: white;
    color: #004C80;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.enhanced-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.5);
    color: #004C80;
    text-decoration: none;
}

.enhanced-cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.enhanced-cta-btn-secondary:hover {
    background: white;
    color: #004C80;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-btn i {
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .urgency-text {
        font-size: 14px;
    }
    
    .exit-popup {
        padding: 30px 20px;
    }
    
    .exit-popup h2 {
        font-size: 24px;
    }
    
    .enhanced-cta-title {
        font-size: 32px;
    }
    
    .enhanced-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
