/* ========================================
   PROMOTIONAL PRICING STYLES
   Discount display on service pages
   ======================================== */

/* ---------- Promo Price Wrapper ---------- */
.promo-price-wrapper {
    position: relative;
}

/* ---------- Original Price (Strikethrough) ---------- */
.price-original {
    font-size: 1.35rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 80, 80, 0.7);
    text-decoration-thickness: 2px;
    display: inline-block;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

/* ---------- Discounted Price ---------- */
.price-discounted {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: inline-block;
    animation: priceGlow 3s ease-in-out infinite;
}

/* The actual number inherits from .pricing-price or .display-3 */
.price-discounted .display-3,
.price-discounted .pricing-amount {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Promo Badge ---------- */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
    animation: badgePulse 2.5s ease-in-out infinite;
}

.promo-badge i {
    font-size: 0.7rem;
}

/* Badge variant for positioning next to pricing-price */
.promo-badge--inline {
    position: relative;
    top: -0.1rem;
    margin-left: 0.5rem;
}

/* Badge variant for positioning above the price */
.promo-badge--top {
    margin-bottom: 0.5rem;
}

/* ---------- First Month Discount (Maintenance) ---------- */
.promo-first-month {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #f59e0b;
    margin-top: 0.25rem;
}

.promo-first-month i {
    font-size: 0.7rem;
}

.promo-first-month-price {
    color: #f59e0b;
    font-weight: 800;
}

.promo-then-price {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-weight: 500;
    display: block;
    margin-top: 0.15rem;
}

/* ---------- Animations ---------- */
@keyframes priceGlow {

    0%,
    100% {
        text-shadow: 0 0 0 transparent;
    }

    50% {
        text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    }
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
    }

    50% {
        box-shadow: 0 2px 20px rgba(245, 158, 11, 0.6), 0 0 30px rgba(245, 158, 11, 0.2);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .price-original {
        font-size: 1.1rem;
    }

    .promo-badge {
        font-size: 0.72rem;
        padding: 0.25rem 0.55rem;
    }
}
