/* Oryzo-style 3D fuel product stage */

.fuel-product {
    position: relative;
    background: #0c1018;
    color: #fff8f0;
}

.fuel-product-spacer {
    height: 380vh;
}

.fuel-product-pin {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 50% 45% at 65% 48%, rgba(255, 130, 50, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(20, 40, 70, 0.35) 0%, transparent 50%),
        #0a0e14;
}

.fuel-product-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    cursor: grab;
    touch-action: none;
}

.fuel-product-canvas.is-dragging {
    cursor: grabbing;
}

.fuel-product-grade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 50% at 62% 48%, rgba(255, 140, 50, 0.12) 0%, transparent 55%),
        linear-gradient(90deg, rgba(8, 12, 20, 0.82) 0%, rgba(8, 12, 20, 0.35) 42%, rgba(8, 12, 20, 0.15) 100%),
        linear-gradient(180deg, rgba(8, 12, 20, 0.35) 0%, transparent 30%, transparent 70%, rgba(8, 12, 20, 0.55) 100%);
}

.fuel-product-hud {
    position: absolute;
    top: clamp(1.2rem, 3vh, 2rem);
    left: clamp(1.25rem, 5vw, 4.5rem);
    right: clamp(1.25rem, 5vw, 4.5rem);
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    pointer-events: none;
}

.fuel-product-reel {
    margin: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 244, 230, 0.7);
}

.fuel-product-beats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
}

.fuel-product-beats li {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 244, 230, 0.38);
    transition: color 0.3s ease;
}

.fuel-product-beats li span {
    margin-right: 0.25rem;
    color: inherit;
}

.fuel-product-beats li.is-active {
    color: #f0b44a;
    text-shadow: 0 0 16px rgba(255, 140, 50, 0.45);
}

.fuel-product-beats li.is-done {
    color: rgba(255, 200, 140, 0.55);
}

.fuel-product-ui {
    position: absolute;
    left: clamp(1.25rem, 5vw, 4.5rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: min(26rem, 42vw);
    pointer-events: none;
    padding: 1.35rem 1.5rem 1.5rem;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(12, 16, 24, 0.55), rgba(12, 16, 24, 0.22));
    border: 1px solid rgba(255, 180, 100, 0.18);
    backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fuel-product-ui.is-swap {
    opacity: 0.35;
    transform: translateY(calc(-50% + 10px));
}

.fuel-product-eyebrow {
    margin: 0 0 0.85rem;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f0b44a;
}

.fuel-product-title {
    margin: 0 0 1rem;
    font-family: 'Oswald', 'Manrope', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff8f0;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.fuel-product-title span {
    color: rgba(255, 200, 140, 0.95);
}

.fuel-product-line {
    margin: 0 0 1.4rem;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.55;
    color: rgba(255, 244, 230, 0.78);
    max-width: 22rem;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.fuel-product-line.is-swap {
    opacity: 0;
    transform: translateY(8px);
}

.fuel-product-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 180, 100, 0.35);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 244, 230, 0.88);
}

.fuel-product-hint-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff8a3d;
    box-shadow: 0 0 12px rgba(255, 122, 40, 0.8);
    animation: fuelHintPulse 1.6s ease-in-out infinite;
}

@keyframes fuelHintPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

.fuel-product-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.fuel-product-facts li {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 244, 230, 0.75);
    background: rgba(0, 0, 0, 0.2);
}

.fuel-product-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.08);
}

.fuel-product-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #e8a838, #ff7a28 55%, #ff9a50);
    box-shadow: 0 0 18px rgba(255, 122, 40, 0.55);
    transition: width 0.08s linear;
}

.fuel-product-reel span {
    color: #f0b44a;
    font-size: 1.05em;
}

@media (max-width: 991.98px) {
    .fuel-product-ui {
        left: 1.1rem;
        right: 1.1rem;
        top: auto;
        bottom: 1.6rem;
        transform: none;
        max-width: none;
        text-align: left;
    }

    .fuel-product-title {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
    }

    .fuel-product-spacer {
        height: 280vh;
    }

    .fuel-product-beats {
        display: none;
    }
}

/* Lower homepage bands — same cinematic language */
body.cine-home .home-about,
body.cine-home .home-products,
body.cine-home .counters-section,
body.cine-home .home-cta-band {
    position: relative;
}

body.cine-home .home-about.bg-light,
body.cine-home .home-products.bg-light,
body.cine-home .section.bg-light {
    background:
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255, 140, 50, 0.08) 0%, transparent 50%),
        #101820 !important;
    color: rgba(255, 244, 230, 0.88);
}

body.cine-home .section.bg-light .section-title,
body.cine-home .section.bg-light .section-lead {
    color: #fff8f0 !important;
}

body.cine-home .section.bg-light .section-lead {
    color: rgba(255, 244, 230, 0.72) !important;
}

body.cine-home .capability-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 180, 100, 0.18);
    border-radius: 16px;
    color: rgba(255, 244, 230, 0.85);
}

body.cine-home .capability-item h4 {
    color: #fff8f0;
}

/* About text band is light — don't force cream text there */
body.cine-home .home-about-below .capability-item {
    background: #fff;
    border-color: rgba(15, 30, 61, 0.08);
    color: rgba(15, 30, 61, 0.78);
}

body.cine-home .home-about-below .capability-item h4 {
    color: #0f1e3d;
}

body.cine-home .oil-kicker {
    color: #f0b44a;
}

@media (prefers-reduced-motion: reduce) {
    .fuel-product-hint-dot {
        animation: none;
    }

    .fuel-product-spacer {
        height: 100vh;
    }
}
