/* AEM Labs Limited - CSS Module: JNXPC Promo Banner */
/* ================================================= */

#jnxpc.feature-banner {
    position: relative;
    width: 100%;
    max-width: min(85%, var(--section-max-width));
    margin: 40px auto;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

#jnxpc .promo-card {
    width: 100%;
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, var(--accent-color) 100%);
    border-radius: 18px;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    gap: 30px;
}

#jnxpc .promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

#jnxpc .promo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center,
            rgba(120, 0, 0, 0.2) 0%,
            rgba(80, 0, 0, 0.2) 20%,
            rgba(50, 0, 0, 0.3) 40%,
            rgba(30, 0, 0, 0.4) 60%,
            rgba(20, 0, 0, 0.5) 80%,
            rgba(10, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

#jnxpc .promo-left {
    flex: 1;
    position: relative;
    z-index: 2;
}

#jnxpc .promo-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
}

#jnxpc .promo-logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

#jnxpc .promo-left p {
    font-size: 16px;
    margin: 0;
    color: white;
    max-width: 65%;
    position: relative;
    z-index: 2;
}

#jnxpc .promo-left p strong {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

#jnxpc .promo-cta-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

#jnxpc .promo-cta-button {
    display: inline-block;
    background-color: white;
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#jnxpc .promo-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: #f8f8f8;
}

@media (max-width: 1440px) {
    #jnxpc.feature-banner {
        max-width: min(95%, var(--section-max-width));
    }

    #jnxpc .promo-left p {
        max-width: 80%;
    }
}

@media (max-width: 992px) {
    #jnxpc .promo-logo img {
        max-width: 180px;
    }

    #jnxpc .promo-left p {
        font-size: 14px;
        max-width: 100%;
    }

    #jnxpc .promo-left p strong {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #jnxpc .promo-card {
        padding: 24px;
    }

    #jnxpc .promo-logo img {
        max-width: 160px;
    }

    #jnxpc .promo-left p strong {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #jnxpc .promo-card {
        padding: 16px;
    }

    #jnxpc .promo-logo img {
        max-width: 120px;
    }

    #jnxpc .promo-left p {
        font-size: 11px;
    }

    #jnxpc .promo-left p strong {
        font-size: 13px;
    }

    #jnxpc .promo-cta-container {
        flex-direction: column;
        gap: 10px;
    }

    #jnxpc .promo-cta-button {
        font-size: 10px;
        padding: 6px 12px;
        border-radius: 10px;
    }
}