#nsa-igreen-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

#nsa-igreen-modal.is-visible {
    display: flex;
    opacity: 1;
}

#nsa-igreen-modal .nsa-modal-box {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    overflow: auto;
    border-radius: 18px;
    background: linear-gradient(160deg, #0f1a12 0%, #111827 45%, #0b1220 100%);
    border: 1px solid rgba(76, 175, 80, 0.35);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
    animation: nsaModalIn 0.45s ease;
}

@keyframes nsaModalIn {
    from { transform: translateY(24px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

#nsa-igreen-modal .nsa-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

#nsa-igreen-modal .nsa-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

#nsa-igreen-modal .nsa-modal-image img {
    width: 100%;
    display: block;
    border-radius: 18px 18px 0 0;
    object-fit: cover;
    max-height: 220px;
}

#nsa-igreen-modal .nsa-modal-body {
    padding: 28px 32px 24px;
}

#nsa-igreen-modal .nsa-modal-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a5d6a7;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.35);
    margin-bottom: 12px;
}

#nsa-igreen-modal .nsa-modal-body h2 {
    font-size: 1.55rem;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

#nsa-igreen-modal .nsa-modal-body p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

@media (max-width: 576px) {
    #nsa-igreen-modal .nsa-modal-body h2 {
        font-size: 1.2rem;
    }
}

#nsa-igreen-modal .nsa-modal-body p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 18px;
    line-height: 1.65;
}

#nsa-igreen-modal .nsa-modal-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin-bottom: 22px;
}

#nsa-igreen-modal .nsa-modal-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

#nsa-igreen-modal .nsa-modal-benefits i {
    color: #4caf50;
}

#nsa-igreen-modal .nsa-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

#nsa-igreen-modal .nsa-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 8px;
    background: #25d366;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

#nsa-igreen-modal .nsa-btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-1px);
    color: #fff !important;
}

#nsa-igreen-modal .nsa-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 13px 20px;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#nsa-igreen-modal .nsa-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

#nsa-igreen-modal .nsa-modal-dismiss {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    user-select: none;
}

#nsa-igreen-modal .nsa-modal-dismiss input {
    accent-color: #4caf50;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

@media (max-width: 576px) {
    #nsa-igreen-modal .nsa-modal-body {
        padding: 22px 18px 18px;
    }

    #nsa-igreen-modal .nsa-modal-body h2 {
        font-size: 1.35rem;
    }

    #nsa-igreen-modal .nsa-modal-benefits {
        grid-template-columns: 1fr;
    }

    #nsa-igreen-modal .nsa-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    #nsa-igreen-modal .nsa-btn-whatsapp,
    #nsa-igreen-modal .nsa-btn-secondary {
        justify-content: center;
        width: 100%;
    }
}
