/* ============================================================================
 * mrocon Cortex — Site Lock Modal
 *
 * Sperrt die Cortex-Kaufflows (Buy-Buttons + Trial-Form) solange das Produkt
 * im Stripe-Sandbox-Mode laeuft. Status wird vom FYTAHQ-Site-Lock-Worker
 * gesteuert (https://fytahq-site-lock.martin-robausch.workers.dev/admin),
 * Site-Key: "mrocon_cortex", Locks: "buy" + "trial".
 *
 * Look & Feel: mrocon-Brand (Teal #009B8D auf Navy-Card), passt zur globalen
 * mrocon.at-Tonalitaet — siehe website/css/styles.css :root tokens.
 * ============================================================================ */

.cortex-sitelock-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(10, 22, 40, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cortex-sitelock-modal.active {
    display: flex;
}

.cortex-sitelock-card {
    max-width: 480px;
    width: 100%;
    padding: 40px 36px;
    border-radius: 16px;
    text-align: center;
    background: var(--mrocon-navy-light, #1A2B42);
    border: 1px solid rgba(0, 155, 141, 0.30);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.55),
                0 0 0 1px rgba(0, 155, 141, 0.08);
    animation: cortexSitelockPop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cortexSitelockPop {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cortex-sitelock-icon {
    color: var(--mrocon-primary, #009B8D);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.cortex-sitelock-icon svg {
    width: 48px;
    height: 48px;
}

.cortex-sitelock-card h2 {
    font-family: 'Exo 2', system-ui, -apple-system, sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.25;
}

.cortex-sitelock-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    margin: 0 0 12px;
}

.cortex-sitelock-card p:last-of-type {
    margin-bottom: 24px;
}

.cortex-sitelock-card p strong {
    color: #ffffff;
    font-weight: 600;
}

.cortex-sitelock-card .btn-cortex-sitelock-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: 'Exo 2', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg,
                  var(--mrocon-primary, #009B8D),
                  var(--mrocon-primary-dark, #007A6E));
    border: none;
    color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cortex-sitelock-card .btn-cortex-sitelock-ok:hover {
    box-shadow: 0 6px 24px rgba(0, 155, 141, 0.40);
    transform: translateY(-1px);
}

.cortex-sitelock-card .btn-cortex-sitelock-ok:active {
    transform: translateY(0);
}

.cortex-sitelock-card .cortex-sitelock-footer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.32);
    margin-top: 18px;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
    .cortex-sitelock-card {
        padding: 32px 24px;
    }
    .cortex-sitelock-card h2 {
        font-size: 19px;
    }
}
