/* ============================================
   LEAD GENERATION & CONVERSION OPTIMIZATION
   ============================================ */

/* Sticky WhatsApp/Telefoon CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.sticky-cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
    animation: pulse 2s infinite;
}

.sticky-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sticky-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.sticky-cta-button.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.sticky-cta-button.phone {
    background: linear-gradient(135deg, #0097b2 0%, #007a91 100%);
    color: white;
}

.sticky-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.sticky-cta-button i {
    font-size: 1.3em;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

/* Trust Badge Bar */
.trust-badge-bar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.trust-badge-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 0.95em;
    font-weight: 500;
}

.trust-badge i {
    color: #0097b2;
    font-size: 1.2em;
}

.trust-badge strong {
    color: #0097b2;
    font-weight: 700;
}

/* Social Proof Banner */
.social-proof-banner {
    background: linear-gradient(135deg, #0097b2 0%, #007a91 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-proof-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.social-proof-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-proof-item i {
    font-size: 1.3em;
    color: #ffc107;
}

.social-proof-item strong {
    font-size: 1.1em;
    font-weight: 700;
}

/* Urgency Badge */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    animation: shake 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

/* Enhanced CTA Buttons */
.cta-primary-enhanced {
    background: linear-gradient(135deg, #0097b2 0%, #00d4ff 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 151, 178, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-primary-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-primary-enhanced:hover::before {
    left: 100%;
}

.cta-primary-enhanced:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 151, 178, 0.4);
}

.cta-primary-enhanced i {
    font-size: 1.2em;
}

/* Trust Score Card */
.trust-score-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.trust-score-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #0097b2;
}

.trust-score-number {
    font-size: 3.5em;
    font-weight: 800;
    background: linear-gradient(135deg, #0097b2 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.trust-score-label {
    color: #666;
    font-size: 0.95em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lead Magnet Card */
.lead-magnet-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lead-magnet-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.lead-magnet-content {
    position: relative;
    z-index: 1;
}

.lead-magnet-card h3 {
    color: white;
    font-size: 2em;
    margin-bottom: 15px;
}

.lead-magnet-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* Exit Intent Popup (Optional) */
.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exit-intent-popup.active {
    display: flex;
}

.exit-intent-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.exit-intent-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    color: #666;
    transition: all 0.3s ease;
}

.exit-intent-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

/* Form Improvements */
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    background: white;
    color: #333;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form select:focus {
    outline: none;
    border-color: #0097b2;
    box-shadow: 0 0 0 3px rgba(0, 151, 178, 0.1);
}

.contact-form select:hover {
    border-color: #0097b2;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .sticky-cta {
        bottom: 20px;
        right: 20px;
        gap: 12px;
        flex-direction: column-reverse;
    }
    
    .sticky-cta-button {
        padding: 0;
        min-width: 60px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        font-size: 1.3em;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
    
    .sticky-cta-button span {
        display: none;
    }
    
    .sticky-cta-button i {
        margin: 0;
    }
    
    .sticky-cta-button.whatsapp {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    }
    
    .sticky-cta-button.phone {
        background: linear-gradient(135deg, #0097b2 0%, #007a91 100%);
    }
    
    .sticky-cta-button:hover {
        transform: scale(1.1);
    }
    
    .trust-badge-bar {
        position: relative;
        top: 0;
        padding: 15px 0;
    }
    
    .trust-badge-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .trust-badge {
        font-size: 0.85em;
    }
    
    .social-proof-banner {
        padding: 20px 0;
    }
    
    .social-proof-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .social-proof-item {
        font-size: 0.9em;
    }
    
    .urgency-badge {
        font-size: 0.75em;
        padding: 6px 12px;
    }
    
    .lead-magnet-card {
        padding: 30px 20px;
    }
    
    .lead-magnet-card h3 {
        font-size: 1.5em;
    }
    
    .exit-intent-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .cta-primary-enhanced {
        padding: 16px 35px;
        font-size: 1em;
    }
}

