/* =========================================================
SILICONMENTORAI → SILICON VALLEY INDIA GATEWAY POPUP
ULTRA PREMIUM 3D AI GLOSS MODAL (FIXED)
========================================================= */

/* MAIN WRAPPER */
.dr1062popupalerts1 {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: opacity .6s ease, visibility .6s ease;

    z-index: 99999;
}

/* ACTIVE STATE */
.dr1062popupalerts1.active {
    opacity: 1;
    visibility: visible;
}

/* BACKDROP */
.ai-popup-backdrop {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top,
            rgba(0,229,255,.18),
            rgba(5,8,20,.92));

    backdrop-filter: blur(12px);

    z-index: 1;

    pointer-events: all;
}

/* =========================================================
MAIN CARD (FIXED STACKING)
========================================================= */

.ai-popup-card {
    position: relative;

    width: min(560px, 92%);
    padding: 38px 28px;
    border-radius: 24px;

    background:
        linear-gradient(145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03));

    border: 1px solid rgba(255,255,255,.14);

    box-shadow:
        0 40px 120px rgba(0,0,0,.7),
        0 0 90px rgba(0,229,255,.15);

    transform: translateY(50px) scale(.94);
    opacity: 0;

    transition: all .7s cubic-bezier(.2,.9,.2,1);

    overflow: hidden;

    /* 🔥 FIX: ensure card is above glow/backdrop */
    z-index: 2;

    pointer-events: auto;
}

/* ACTIVE ANIMATION */
.dr1062popupalerts1.active .ai-popup-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* =========================================================
AI GLOW ORB (FIXED NOT BLOCKING CLICK)
========================================================= */

.ai-glow-orb {
    position: absolute;

    width: 260px;
    height: 260px;

    top: -80px;
    right: -80px;

    background:
        radial-gradient(circle,
            rgba(0,229,255,.35),
            transparent 70%);

    filter: blur(40px);

    animation: aiFloat 8s ease-in-out infinite;

    z-index: 0;

    /* 🔥 IMPORTANT FIX */
    pointer-events: none;
}

/* =========================================================
CLOSE BUTTON (FIXED CLICK ISSUE)
========================================================= */

.ai-popup-close {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.18);

    background: rgba(255,255,255,.06);
    color: #fff;

    font-size: 20px;

    cursor: pointer;

    transition: all .3s ease;

    /* 🔥 CRITICAL FIX */
    z-index: 10;

    pointer-events: auto;
}

.ai-popup-close:hover {
    transform: rotate(90deg);
    background: rgba(0,229,255,.15);
}

/* =========================================================
CONTENT
========================================================= */

.ai-popup-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

/* BADGE */
.ai-badge {
    display: inline-block;

    padding: 8px 14px;
    border-radius: 999px;

    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: #7df9ff;

    background: rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.25);

    margin-bottom: 16px;
}

/* TITLE */
.ai-popup-content h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 14px;

    background: linear-gradient(90deg, #00e5ff, #7c4dff, #00ffb2);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TEXT */
.ai-popup-content p {
    font-size: 14px;
    line-height: 1.7;

    color: rgba(255,255,255,.8);

    margin-bottom: 24px;
}

/* =========================================================
CTA BUTTON
========================================================= */

.ai-primary-btn {
    display: inline-block;

    padding: 13px 22px;
    border-radius: 14px;

    text-decoration: none;
    font-weight: 800;

    color: #001018;

    background: linear-gradient(90deg, #00e5ff, #00ffb2);

    box-shadow: 0 18px 50px rgba(0,229,255,.25);

    transition: all .3s ease;
}

.ai-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 70px rgba(0,229,255,.35);
}

/* =========================================================
ANIMATION
========================================================= */

@keyframes aiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}