/* ===== Premium SaaS Offers Hero Section ===== */
.byanati-offers-hero {
    background: transparent;
    margin-top: 60px;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    font-family: inherit;
    direction: rtl; 
}

/* Deep immersive background glow */
.offers-bg-glow {
    position: absolute;
    top: -10%;
    left: 10%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(17, 143, 166, 0.1) 0%, rgba(2, 6, 23, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.offers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Slider Wrap */
.offers-slider-wrap {
    position: relative;
    width: 100%;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(6, 16, 25, 0.8), rgba(2, 8, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

/* Top Left Controls */
.offers-slider-controls {
    position: absolute;
    top: 30px;
    left: 40px; /* Logical left side of the widget */
    display: flex;
    gap: 10px;
    z-index: 30;
}

.offers-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.offers-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Track */
.offers-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-y pinch-zoom;
    -ms-overflow-style: none;
    scrollbar-width: none; 
}
.offers-track::-webkit-scrollbar {
    display: none;
}

/* Single Slide */
.hero-slide-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    position: relative;
}

.hero-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 460px;
    padding: 60px 80px;
    gap: 50px;
}

/* Content Area */
.hero-slide-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* Animation triggers for Content */
.hero-slide-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-active .hero-slide-content .hero-top-labels     { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.slide-active .hero-slide-content .hero-product-title   { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.slide-active .hero-slide-content .hero-product-excerpt { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.slide-active .hero-slide-content .hero-product-price   { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.slide-active .hero-slide-content .hero-product-action  { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

.byanati-offers-hero.is-user-scrolling .slide-active .hero-slide-content > * {
    transition-delay: 0s !important;
    transition-duration: 0.18s;
}

/* Top Labels */
.hero-top-labels {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-section-tag {
    background: rgba(95, 201, 223, 0.1);
    color: #5fc9df;
    border: 1px solid rgba(95, 201, 223, 0.2);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
}

.sale-badge-premium {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
}

.sale-badge-premium svg {
    color: #22c55e;
}

.hero-product-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.hero-product-title a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.hero-product-title a:hover {
    color: #5fc9df;
}

.hero-product-excerpt {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 35px 0;
}

/* Price Stack */
.hero-product-price {
    margin-bottom: 45px;
}

.price-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-stack .regular-price {
    color: #94a3b8; /* Gray as requested */
    font-size: 20px;
    text-decoration: line-through;
    font-weight: 600;
}

.price-stack .sale-price {
    color: #22c55e; /* Green bold */
    font-size: 38px;
    font-weight: 800;
}

/* Actions */
.hero-product-action {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 420px;
}

.hero-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #118fa6, #5fc9df) !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    width: 100%;
    height: 54px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(17, 143, 166, 0.3) !important;
    opacity: 1 !important;
    transform: none !important;
}

.hero-add-to-cart:hover {
    background: linear-gradient(135deg, #16a7c2, #7ce4f2) !important;
    box-shadow: 0 15px 35px rgba(17, 143, 166, 0.4) !important;
    transform: translateY(-3px) !important;
}

.hero-view-product {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.hero-view-product:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Image Area */
.hero-slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    opacity: 0;
    transform: scale(0.9) translateX(-30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-active .hero-slide-image {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.byanati-offers-hero.is-user-scrolling .hero-slide-image {
    transition-duration: 0.2s;
}

.image-glow-backdrop {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(95, 201, 223, 0.1) 0%, transparent 65%);
    z-index: 0;
}

.hero-slide-image a {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 450px;
}

.hero-img.premium-shadow {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 25px 40px rgba(0,0,0,0.4));
    transition: transform 0.5s ease;
}

.hero-slide-card:hover .hero-img.premium-shadow {
    transform: scale(1.05) translateY(-5px);
}

/* Indicators */
.offers-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.offer-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.offer-dot.active {
    background: #5fc9df;
    width: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .offers-slider-controls {
        top: 20px;
        left: 20px;
    }
    .hero-slide-inner {
        flex-direction: column-reverse;
        padding: 60px 30px 70px 30px;
        text-align: center;
    }
    .hero-slide-content {
        max-width: 100%;
        align-items: center;
    }
    .hero-top-labels {
        justify-content: center;
    }
    .hero-product-action {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .hero-product-action {
        grid-template-columns: 1fr; /* Stack vertically on small phones */
    }
    .hero-product-title {
        font-size: 28px;
    }
    .price-stack .sale-price {
        font-size: 28px;
    }
}
