/**
 * Banners Style
 * banners.css
 */

/* ==========================================================================
   Common Banner Styles
   ========================================================================== */

.promo-banner {
    background-color: #F1F5F9;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 40px 0;
}

.promo-banner__wrapper {
    background-color: #F1F5F9;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0;
    width: 100%;
    box-sizing: border-box;
}

.promo-banner__inner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 30px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.promo-banner__content {
    position: relative;
    z-index: 5;
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.promo-banner__badge {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.promo-banner__title {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 10px 0;
    font-weight: 900;
    color: #fff;
}

.promo-banner__title .gold {
    color: #FFD700;
}

.promo-banner__title .white {
    color: #ffffff;
}

.promo-banner__title .italic {
    font-style: italic;
}

.promo-banner__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 25px 0;
    max-width: 450px;
}

.promo-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Shine effect (inherited from hero logic) */
.promo-banner__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.promo-banner__btn:hover::before {
    left: 100%;
}

/* ==========================================================================
   Premium Banner Specific
   ========================================================================== */

.promo-banner--premium .promo-banner__inner {
    background: radial-gradient(circle at 30% center, #0a143d 0%, #050b25 100%);
    min-height: 320px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.promo-banner--premium .promo-banner__badge {
    color: #FFD700;
    border-color: #FFD700;
}

/* Interface Image on the Right */
.promo-banner__image {
    position: relative;
    z-index: 4;
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
}


.promo-banner__image img {
    width: 550px;
    max-width: 130%;
    height: auto;
    border-radius: 0;
    transform: perspective(1000px) rotateY(-5deg) translate(10px, 0);
    position: relative;
    z-index: 2;
}

.promo-banner__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -45%);
    width: 130%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(20px);

}


.promo-banner__decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.12;
}

.promo-banner__svg {
    position: absolute;
    width: 60px;
    height: 60px;
}


.promo-banner__svg--qgis {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
    width: 70px;
}

.promo-banner__svg--toolbox {
    top: 65%;
    left: 8%;
    transform: rotate(10deg);
    width: 60px;
}

.promo-banner__svg--mobile {
    top: 15%;
    left: 45%;
    transform: rotate(15deg);
    width: 55px;
}

.promo-banner__svg--data {
    bottom: 10%;
    left: 35%;
    transform: rotate(-10deg);
    width: 70px;
}

.promo-banner__svg--rrtools {
    top: 45%;
    left: 25%;
    transform: rotate(-5deg);
    width: 45px;
}

/* Golden Button */
.promo-banner__btn--gold {
    background: linear-gradient(45deg, #FFD700, #F8A726);
    color: #3d2b0e !important;
    box-shadow: 0 4px 15px rgba(248, 167, 38, 0.3);
}

.promo-banner__btn--gold:hover {
    background: linear-gradient(45deg, #F8A726, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 167, 38, 0.5);
}

/* ==========================================================================
   Black Friday Specific (Refactored)
   ========================================================================== */

.promo-banner--bf .promo-banner__inner {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 40%, #2d0b3a 100%);
    border-bottom: 3px solid #ff5c1f;
    align-items: center;
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 20px 40px;
}

.promo-banner--bf .promo-banner__info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.promo-banner--bf .promo-banner__badge {
    margin-bottom: 0;
    color: #ff5c1f;
    border-color: #ff5c1f;
    text-shadow: 0 0 12px rgba(255, 92, 31, 0.8);
}

.promo-banner--bf .promo-banner__title {
    font-size: 24px;
    margin-bottom: 0;
}

/* ==========================================================================
   Responsiveness
   ========================================================================== */

@media (max-width: 1440px) {
    .promo-banner__wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .promo-banner__wrapper {
        padding: 0 20px;
    }

    .promo-banner__inner {
        padding: 30px 40px;
    }

    .promo-banner__image img {
        width: 380px;
    }
}

@media (max-width: 1024px) {
    .promo-banner__title {
        font-size: 32px;
    }

    .promo-banner__subtitle {
        font-size: 16px;
    }

    .promo-banner__image {
        display: none;
    }


    .promo-banner__content {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 20px 0;
    }

    .promo-banner__wrapper {
        padding: 0 14px;
    }


    .promo-banner__inner {
        padding: 25px 20px;
        border-radius: 8px;
    }

    .promo-banner__title {
        font-size: 26px;
    }

    .promo-banner__subtitle {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .promo-banner__title {
        font-size: 22px;
    }

    .promo-banner__btn {
        width: 50%;
    }
}