/* InfoExpert Insights Scroll-Triggered Popup - 1:1 Pixel-Perfect Match */
.insights-scroll-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 32, 50, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    font-family: 'Noto Sans Armenian', 'Roboto', Tahoma, sans-serif;
    box-sizing: border-box;
}

.insights-scroll-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.insights-scroll-popup-card {
    position: relative;
    width: 100%;
    max-width: 665px;
    background: linear-gradient(rgba(246, 249, 253, 0.84), rgba(236, 244, 251, 0.86)), 
                url('https://www.infoexpert.am/webroot/myfiles/images/bgg/index.jpg') center 42% / cover no-repeat;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32), 0 0 1px rgba(0, 0, 0, 0.12);
    padding: 44px 44px 38px 44px;
    text-align: center;
    transform: scale(0.95) translateY(14px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.insights-scroll-popup.active .insights-scroll-popup-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.insights-scroll-popup-inner {
    position: relative;
    z-index: 2;
}

/* Close button - subtle and clean */
.insights-scroll-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #647d96;
    opacity: 0.65;
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 4;
    padding: 0;
}

.insights-scroll-popup-close:hover {
    opacity: 1;
    color: #0d2842;
    transform: rotate(90deg);
}

/* Red Label: ՆՈՐՈՒՅԹ */
.insights-scroll-popup-badge {
    color: #c92127;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 6px;
    line-height: 1.2;
}

/* Main Heading: InfoExpert Insights */
.insights-scroll-popup-title {
    font-size: 28px;
    font-weight: 800;
    color: #154e7d;
    line-height: 1.22;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

/* Subtitle: Մեկ պատկեր, առավելագույն հսկողություն */
.insights-scroll-popup-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #1a476f;
    line-height: 1.32;
    margin: 0 0 18px;
}

/* Description text */
.insights-scroll-popup-desc {
    font-size: 15px;
    line-height: 1.55;
    color: #475e77;
    max-width: 505px;
    margin: 0 auto 26px;
    font-weight: 400;
}

/* Call to Action Button: Իմանալ ավելին - Dark to bright blue gradient */
.insights-scroll-popup-btn {
    display: inline-block;
    padding: 12px 44px;
    background: linear-gradient(180deg, #1b639e 0%, #2b95d2 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(27, 99, 158, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.insights-scroll-popup-btn:hover {
    background: linear-gradient(180deg, #17588e 0%, #248ac5 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27, 99, 158, 0.45);
    color: #ffffff !important;
    text-decoration: none;
}

.insights-scroll-popup-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27, 99, 158, 0.3);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .insights-scroll-popup-card {
        padding: 34px 20px 28px;
        max-width: 95%;
    }
    .insights-scroll-popup-badge {
        font-size: 14px;
    }
    .insights-scroll-popup-title {
        font-size: 23px;
    }
    .insights-scroll-popup-subtitle {
        font-size: 17px;
        margin-bottom: 14px;
    }
    .insights-scroll-popup-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .insights-scroll-popup-btn {
        padding: 11px 32px;
        font-size: 14px;
        width: 100%;
        max-width: 260px;
    }
}
