/* CCC Website Popup Styles */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.show .popup-container {
    transform: scale(1) translateY(0);
}

.popup-content {
    position: relative;
    padding: 30px 40px;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.popup-body {
    margin-bottom: 25px;
}

.popup-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.feature-item svg {
    color: #3b82f6;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.popup-footer {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 15px;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    flex: 1;
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.popup-btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.popup-btn-secondary:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.popup-footer-note {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.popup-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
}

.popup-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        margin: 20px;
        max-width: 600px;
    }
    
    .popup-content {
        padding: 25px 20px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .popup-subtitle {
        font-size: 14px;
    }
    
    .popup-icon {
        width: 50px;
        height: 50px;
    }
    
    .popup-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .popup-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-item {
        padding: 10px;
    }
    
    .popup-footer {
        flex-direction: column;
    }
    
    .popup-btn-primary {
        padding: 12px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 25px 15px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .popup-features {
        gap: 12px;
    }
    
    .feature-item {
        padding: 10px;
        font-size: 13px;
    }
}
