/* ============================================
   PFAR Search Call-to-Action Modal Styles
   ============================================ */

.search-cta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-cta-modal-active {
    opacity: 1;
    visibility: visible;
}

.search-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.search-cta-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.3);
    animation: slideUpFadeIn 0.4s ease;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.search-cta-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
}

.search-cta-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
    color: #333;
}

.search-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
    }
}

.search-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-cta-description {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    text-align: center;
    margin: 0 0 32px;
}

.search-cta-description strong {
    color: #667eea;
    font-weight: 700;
}

.search-cta-features {
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.search-cta-feature i {
    color: #667eea;
    font-size: 20px;
    flex-shrink: 0;
}

.search-cta-feature span {
    color: #475569;
    font-size: 15px;
    font-weight: 500;
}

.search-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
}

.search-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

.search-cta-button i {
    transition: transform 0.3s ease;
}

.search-cta-button:hover i {
    transform: translateX(5px);
}

.search-cta-note {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    margin: 16px 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-cta-content {
        padding: 32px 24px;
        max-width: 95%;
    }

    .search-cta-title {
        font-size: 24px;
    }

    .search-cta-description {
        font-size: 14px;
    }

    .search-cta-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .search-cta-button {
        font-size: 16px;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .search-cta-content {
        padding: 24px 20px;
    }

    .search-cta-title {
        font-size: 20px;
    }

    .search-cta-features {
        gap: 12px;
    }

    .search-cta-feature {
        padding: 12px;
    }
}
