/* Interactive demo launch card — case study / solution / framework detail pages */
.za-interactive-demo {
    margin: 3rem 0;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.04) 0%, rgba(59, 130, 246, 0.06) 100%);
    overflow: hidden;
    box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.25);
}

.za-interactive-demo--post-article {
    margin-top: 4rem;
    padding-top: 0.5rem;
    border-top: 2px solid rgba(59, 130, 246, 0.18);
}

.za-interactive-demo__launch-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
}

.za-interactive-demo__launch-copy {
    flex: 1 1 360px;
    min-width: 0;
}

.za-interactive-demo__eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3b82f6;
    margin-bottom: 0.35rem;
}

.za-interactive-demo__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--clr-heading, #0f172a);
}

.za-interactive-demo__lead {
    margin: 0.6rem 0 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--clr-text-muted, #64748b);
    max-width: 58ch;
}

.za-interactive-demo__launch-points {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.86rem;
    color: var(--clr-heading, #0f172a);
}

.za-interactive-demo__launch-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.za-interactive-demo__launch-points li::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 0.5rem;
    border-radius: 50%;
    background: #3b82f6;
}

.za-interactive-demo__launch-cta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    max-width: 320px;
}

.za-interactive-demo__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: #fff;
    color: #1e40af;
    text-decoration: none;
    min-height: 44px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.za-interactive-demo__btn:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: #3b82f6;
}

.za-interactive-demo__btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.za-interactive-demo__btn--primary {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.za-interactive-demo__btn--primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}

.za-interactive-demo__btn--large {
    padding: 0.85rem 1.5rem;
    font-size: 0.92rem;
    border-radius: 12px;
    width: 100%;
    justify-content: center;
}

.za-interactive-demo__hint {
    margin: 0;
    font-size: 0.74rem;
    color: var(--clr-text-muted, #64748b);
}

.za-interactive-demo__fullapp-fallback {
    margin: 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.76rem;
    color: var(--clr-text-muted, #64748b);
    background: rgba(59, 130, 246, 0.06);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.za-interactive-demo__fullapp-fallback code {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
    word-break: break-all;
}

@media (max-width: 640px) {
    .za-interactive-demo__launch-card {
        padding: 1.5rem;
    }
    .za-interactive-demo__launch-cta {
        max-width: none;
        width: 100%;
    }
}
