/* Popup de conversion OurDream AI */

.conversion-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.conversion-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.popup-container {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.conversion-popup.active .popup-container {
    transform: scale(1);
    animation: popupBounce 0.5s ease;
}

@keyframes popupBounce {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10001;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-content {
    text-align: center;
}

.popup-icon {
    font-size: 60px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff6b6b, #7873f5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.popup-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.popup-title .gradient-text {
    background: linear-gradient(90deg, #ff6b6b, #7873f5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.popup-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-description strong {
    color: #ff6b6b;
    font-weight: 600;
}

.popup-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.popup-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
}

.popup-feature i {
    color: #4ade80;
    font-size: 18px;
}

.popup-cta {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(90deg, #ff6b6b, #7873f5);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.popup-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.popup-cta i {
    transition: transform 0.3s ease;
}

.popup-cta:hover i {
    transform: translateX(5px);
}

.popup-note {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .popup-container {
        padding: 30px 20px;
        max-width: 95%;
    }

    .popup-title {
        font-size: 26px;
    }

    .popup-subtitle {
        font-size: 20px;
    }

    .popup-description {
        font-size: 14px;
    }

    .popup-icon {
        font-size: 50px;
    }

    .popup-cta {
        font-size: 16px;
        padding: 16px 25px;
    }

    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        padding: 25px 15px;
    }

    .popup-title {
        font-size: 22px;
    }

    .popup-subtitle {
        font-size: 18px;
    }

    .popup-features {
        gap: 10px;
    }

    .popup-feature {
        font-size: 14px;
    }
}
