.kn-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kn-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.kn-popup-container {
    position: relative;
    max-width: 600px;
    width: 90%;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: transform 0.4s ease;
}

.kn-popup-overlay.active .kn-popup-container {
    transform: translateY(0);
}

.kn-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.kn-popup-close:hover {
    background: #fff;
    transform: rotate(90deg);
    color: #000;
}

.kn-popup-content {
    display: flex;
    flex-direction: column;
}

.kn-popup-image {
    width: 100%;
    overflow: hidden;
}

.kn-popup-image img {
    width: 100%;
    height: auto;
    display: block;
}

.kn-popup-text {
    padding: 40px 50px;
    text-align: center;
}

.kn-popup-title {
    font-size: 15px;
    font-weight: 600;
    color: #0433ff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.kn-popup-subtitle {
    font-size: 20px;
    color: #000084;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.kn-popup-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background-color: #00008B;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 139, 0.3);
}

.kn-popup-button:hover {
    background-color: #000066;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 139, 0.4);
    color: #fff;
}

.kn-popup-button svg {
    transition: transform 0.3s ease;
}

.kn-popup-button:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .kn-popup-container {
        max-width: 95%;
        width: 95%;
    }
    
    .kn-popup-text {
        padding: 30px 25px;
    }
    
    .kn-popup-title {
        font-size: 14px;
    }
    
    .kn-popup-subtitle {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .kn-popup-button {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .kn-popup-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .kn-popup-text {
        padding: 25px 20px;
    }
    
    .kn-popup-title {
        font-size: 13px;
    }
    
    .kn-popup-subtitle {
        font-size: 16px;
    }
}
