:root {
    --kinem-purple: #6E5C7B;
    --kinem-dark: #19151c;
    --kinem-light: #ffffff;
    --kinem-soft: rgba(255, 255, 255, .88);
}

.product-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.product-hero__viewport {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-hero__slides {
    position: relative;
    width: 100%;
    height: clamp(340px, 60vh, 640px);
}

.product-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.product-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

/* Dedicated Media Area (Top) */
.product-hero__media-area {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0d12;
    overflow: hidden;
    z-index: 2;
}

/* Atmospheric Extension Background Layer for Desktop (Derived from same slide image) */
.product-hero__bg-blur {
    position: absolute;
    inset: -40px;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(36px) brightness(0.60) contrast(0.95);
    transform: scale(1.15);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

/* Subtle Product-Tinted Bottom Shadow (Soft Elevation over White Controls Area) */
.product-hero__media-area::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(var(--hero-product-rgb, 28, 25, 23), 0.24) 0%,
            rgba(var(--hero-product-rgb, 28, 25, 23), 0.08) 50%,
            rgba(255, 255, 255, 0) 100%);
    filter: drop-shadow(0 6px 12px rgba(var(--hero-product-rgb, 28, 25, 23), 0.12));
}

.product-hero__media-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(var(--hero-product-rgb, 240, 206, 74), 0.18) 0%, rgba(10, 8, 12, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.product-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 12s ease;
    filter: none !important;
    opacity: 1 !important;
}

.product-hero__slide.is-active .product-hero__bg {
    transform: scale(1.02);
}

.product-hero__blur,
.product-hero__media-glow {
    display: none !important;
}

/* ===== Isolated Hero Lighting Overlay ===== */
.product-hero__glow-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    direction: ltr !important;
}

.product-hero__glow-band {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(110deg,
            transparent 0%,
            transparent 34%,
            rgba(255, 255, 255, 0.35) 48%,
            rgba(255, 244, 210, 0.55) 52%,
            transparent 66%,
            transparent 100%);
    mix-blend-mode: screen;
    filter: blur(2px);
    transform: translate3d(100vw, 0, 0);
    will-change: transform, opacity;
}

.product-hero__slide.is-active .product-hero__glow-band {
    animation: kinemIsolatedLightSweep 10s ease-in-out 1s infinite;
}

@keyframes kinemIsolatedLightSweep {
    0% {
        opacity: 0;
        transform: translate3d(100vw, 0, 0);
    }

    18% {
        opacity: .95;
    }

    48% {
        opacity: .78;
    }

    72%,
    100% {
        opacity: 0;
        transform: translate3d(-100vw, 0, 0);
    }
}

/* Modern Minimal White Control Area Below Image with Visible Product-Tinted Elevation Shadow */
.product-hero__controls {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 -12px 28px rgba(var(--hero-product-rgb, 28, 25, 23), 0.30);
}

/* Visible Soft Shadow Originating Directly Under Image Edge */
.product-hero__controls::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 24px;
    z-index: 8;
    pointer-events: none;
    background: linear-gradient(0deg,
            rgba(var(--hero-product-rgb, 28, 25, 23), 0.45) 0%,
            rgba(var(--hero-product-rgb, 28, 25, 23), 0.18) 50%,
            rgba(0, 0, 0, 0) 100%);
}

.product-hero__cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Product-Colored CTA Button */
.product-hero__primary {
    min-height: 48px;
    min-width: 180px;
    padding: 0 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff !important;
    background: var(--hero-product-color, #1c1917);
    border: none;
    box-shadow: 0 8px 22px var(--hero-product-glow, rgba(0, 0, 0, 0.20));
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.product-hero__primary:hover {
    transform: translateY(-2px);
    opacity: 0.94;
    box-shadow: 0 12px 28px var(--hero-product-glow, rgba(0, 0, 0, 0.28));
}

/* Clean Individual Pagination Dots directly on White Background */
.product-hero__nav {
    position: relative;
    z-index: 6;
    width: 100%;
    margin-top: 4px;
    padding: 0;
    display: contents;
    justify-content: center;
    align-items: center;
    background: transparent !important;
}

.product-hero__dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.product-hero__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d1d5db;
    transition: all 0.28s ease;
    cursor: pointer;
    box-shadow: none;
}

.product-hero__dot.is-active {
    width: 24px;
    height: 10px;
    border-radius: 999px;
    background: var(--hero-product-color, #1c1917);
}

.product-hero__arrows {
    display: flex;
    gap: 8px;
}

.product-hero__arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(0, 0, 0, .20);
    color: #fff;
    backdrop-filter: blur(10px);
}

/* ==================================================
   2026 ATMOSPHERIC DESKTOP & LAPTOP HERO PRESENTATION
   ================================================== */

/* Mobile (< 768px): KEEP UNCHANGED APPROVED MOBILE DESIGN */
@media (max-width: 767px) {
    .product-hero__bg-blur {
        display: none !important;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) {
    .product-hero {
        padding: 0;
        background: #ffffff;
    }

    .product-hero__slides {
        height: clamp(440px, 58vh, 560px);
    }

    .product-hero__bg {
        max-width: 480px;
        margin: 0 auto;
    }

    .product-hero__controls {
        padding: 22px 24px 26px;
        gap: 14px;
    }
}

/* Laptop (1024px - 1439px) */
@media (min-width: 1024px) {
    .product-hero {
        padding: 0;
        background: #ffffff;
    }

    .product-hero__viewport {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .product-hero__slides {
        height: clamp(480px, 62vh, 620px);
    }

    .product-hero__bg {
        max-width: 540px;
        margin: 0 auto;
    }

    .product-hero__controls {
        padding: 24px 32px 28px;
        gap: 16px;
    }

    .product-hero__primary {
        min-height: 52px;
        min-width: 220px;
        padding: 0 40px;
        font-size: 0.96rem;
    }
}

/* Desktop & 4K Displays (1440px+) */
@media (min-width: 1440px) {
    .product-hero__slides {
        height: clamp(520px, 64vh, 680px);
    }

    .product-hero__bg {
        max-width: 600px;
        margin: 0 auto;
    }

    .product-hero__controls {
        padding: 26px 40px 32px;
        gap: 16px;
    }

    .product-hero__primary {
        min-height: 54px;
        min-width: 240px;
        padding: 0 44px;
        font-size: 0.98rem;
    }
}

.product-ticker {
    display: none;
}

.products-header-legacy h2 {
    font-size: 1.85rem;
    margin-bottom: 12px;
    color: #2f2735;
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.faq-preview {
    display: grid;
    gap: 14px;
}

@media (max-width: 767px) {

    .product-hero,
    .product-hero__viewport,
    .product-hero__slides {
        min-height: 60svh;
    }

    .product-hero__shell {
        position: absolute;
        bottom: 64px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        width: 100%;
        margin: 0;
        padding: 0 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 0 !important;
        height: auto !important;
    }

    .product-hero__bg {
        background-size: cover;
        background-position: center;
        transform: scale(1);
    }

    .product-hero__slide.is-active .product-hero__bg {
        transform: scale(1.04);
    }

    .product-hero__veil {
        background:
            linear-gradient(180deg,
                rgba(10, 8, 12, .12) 0%,
                rgba(10, 8, 12, .30) 38%,
                rgba(10, 8, 12, .76) 100%);
    }

    .product-hero__copy {
        width: 100%;
        margin-top: 18px;
    }

    .product-hero__eyebrow {
        font-size: 8.5px;
        padding: 7px 11px;
        letter-spacing: .1em;
    }

    .product-hero__headline {
        margin: 14px auto 10px;
        max-width: 10ch;
        font-size: 30px;
        line-height: 1;
        letter-spacing: -.045em;
    }

    .product-hero__summary {
        max-width: 30ch;
        font-size: .88rem;
        line-height: 1.48;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-hero__shell {
        bottom: 68px;
    }

    .product-hero__primary {
        min-width: 160px;
        min-height: 44px;
        padding: 0 24px;
        font-size: .84rem;
    }

    .product-hero__arrows {
        display: none;
    }

    .product-hero__nav {
        bottom: 5px;
        justify-content: center;
    }

    .product-hero__dots {
        padding: 7px 9px;
    }

    .product-hero__dot {
        width: 7px;
        height: 7px;
    }

    .product-hero__dot.is-active {
        width: 24px;
    }

    /* Mobile - Stronger + Wider Glow */
    .product-hero__glow-band {
        mix-blend-mode: screen;
        filter: blur(3px);
    
        background: linear-gradient(
            110deg,
            transparent 0%,
            transparent 34%,
            rgba(255, 255, 255, .18) 42%,
            rgba(255, 248, 220, .42) 47%,
            rgba(255, 240, 185, .58) 51%,
            rgba(255, 248, 220, .46) 55%,
            rgba(255, 255, 255, .20) 60%,
            transparent 66%,
            transparent 100%
        );
    
        transform: translate3d(120vw, 0, 0) skewX(-8deg);
        transform-origin: center;
        will-change: transform, opacity;
    }
    
    .product-hero__slide.is-active .product-hero__glow-band {
        animation: kinemIsolatedLightSweepMobile 11s ease-in-out 0s infinite;
    }
    
    @keyframes kinemIsolatedLightSweepMobile {
        0% {
            opacity: 0;
            transform: translate3d(120vw, 0, 0) skewX(-8deg);
        }
    
        8% {
            opacity: .75;
        }
    
        38% {
            opacity: .92;
        }
    
        68% {
            opacity: .75;
        }
    
        100% {
            opacity: 0;
            transform: translate3d(-120vw, 0, 0) skewX(-8deg);
        }
    }
    
    .news-preview-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 380px) {
    .product-hero__headline {
        font-size: 2rem;
    }

    .product-hero__summary {
        -webkit-line-clamp: 2;
    }
}

@media (prefers-reduced-motion: reduce) {

    .product-hero__slide,
    .product-hero__bg,
    .product-hero__copy,
    .product-hero__title-line,
    .product-hero__slide::before,
    .product-hero__slide::after {
        animation: none !important;
        transition: none !important;
    }
}


/* ===== Modern Marquee Banner ===== */
.marquee {
    margin: 0 auto 0px;
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(var(--accent-rgb, 71, 85, 105), 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(240, 249, 255, 0.84));
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none;
}

/* Fade edges */
.marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.marquee__track {
    display: flex;
    width: max-content;
    gap: 26px;
    align-items: center;
    padding: 10px 16px;
    will-change: transform;
    animation: marqueeMove 26s linear infinite;
}

.marquee__content {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(var(--accent-rgb, 71, 85, 105), .16);
    color: var(--text-strong, #111827);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(56, 189, 248, 0.08);
}

.dot {
    color: rgba(var(--accent-rgb, 71, 85, 105), .8);
    font-weight: 900;
}

.marquee__track {
    animation: marqueeMoveLTR 18s linear infinite;
}

/* English */
@keyframes marqueeMoveLTR {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Arabic */
@keyframes marqueeMoveRTL {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}

/* RTL Page Marquee */
html[dir="rtl"] .marquee__track {
    animation-name: marqueeMoveRTL;
}

/* LTR Page Marquee */
html[dir="ltr"] .marquee__track {
    animation-name: marqueeMoveLTR;
}

/* Mobile Performance/Stability: Disable GPU-heavy backdrop blur on scrolls/animations */
@media (max-width: 1024px) {
    .product-hero__eyebrow {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.35) !important;
    }

    .product-hero__secondary {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: linear-gradient(135deg, var(--hero-product-gradient-from, #8B5CF6) 0%, var(--hero-product-gradient-to, #6E5C7B) 100%) !important;
    }

    .product-hero__dots {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgb(0 0 0 / 11%) !important;
        border-radius: 137px;
    }

    .product-hero__arrow {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(0, 0, 0, 0.45) !important;
    }
}

@media (max-width: 768px) {
    .site-section-custom {
        padding: 0px 0 30px 0px !important;
    }
}