/* Environmental education reel — AI energy facts vs social myths */

.landing-environmental {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-environmental-intro {
    text-align: center;
    padding: clamp(2rem, 5vw, 2.75rem) 1.5rem 1.25rem;
    max-width: 40rem;
    margin: 0 auto;
}

.landing-environmental-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--landing-text, #f0f4f8);
}

.landing-environmental-sub {
    margin: 0;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    color: var(--landing-muted, #8b9aab);
    line-height: 1.55;
}

.landing-environmental-sub--follow {
    margin-top: 0.35rem;
}

.marketing-reel--environmental .reel-vid {
    padding-bottom: 6rem;
}

.environmental-reel-chrome .reel-demo-progress-fill {
    width: 0%;
    transition: width 0.35s ease;
}

/* One line per slide — JS advances; no 6-frame CSS loop */
.landing-environmental .st-eco-slideshow {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.landing-environmental .st-eco-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4.5rem 1.35rem 8.5rem;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.landing-environmental .st-eco-slide.is-active {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.landing-environmental .st-eco-slide--tight {
    gap: 0.5rem;
}

.landing-environmental .st-eco-slide .st-line,
.landing-environmental .st-eco-slide .st-line-sm,
.landing-environmental .st-eco-slide .st-fin-sub,
.landing-environmental .st-eco-slide .st-brand-fin,
.landing-environmental .st-eco-slide .st-eco-cite {
    margin-top: 0;
    margin-bottom: 0;
}

.landing-environmental .st-eco-slideshow--static .st-eco-slide {
    position: relative;
    opacity: 1 !important;
    pointer-events: auto;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-environmental .st-eco-slideshow--static {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 4rem 0 6rem;
    overflow: visible;
}

.landing-environmental .st-clip--environmental .st-clip-bg {
    background: linear-gradient(165deg, #022c22 0%, #0f766e 42%, #134e4a 100%) !important;
    animation-duration: 90s;
}

/* Myth vs fact labels */
.st-eco-label {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.st-eco-label--myth {
    background: rgba(239, 68, 68, 0.25);
    color: #fecaca;
}

.st-eco-label--fact {
    background: rgba(45, 212, 191, 0.2);
    color: #99f6e4;
}

.st-eco-cite {
    margin-top: 1rem;
    max-width: 22rem;
    font-size: clamp(0.78rem, 2vw, 0.88rem);
    font-weight: 600;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.82);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.st-eco-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 0.85rem;
    max-width: 20rem;
}

.st-eco-pill {
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

/* Easier to scan on the green gradient — slightly larger body, tighter measure */
.landing-environmental .st-line-sm,
.landing-environmental .st-fin-sub {
    max-width: 16.5rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.42;
    font-size: clamp(1.08rem, 3.6vw, 1.38rem);
    font-weight: 600;
    color: rgba(248, 250, 252, 0.96);
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 2px 20px rgba(0, 0, 0, 0.55);
}

.landing-environmental .st-fin-sub {
    margin-top: 0.85rem;
    font-size: clamp(1.12rem, 3.8vw, 1.45rem);
    line-height: 1.38;
    max-width: 17rem;
}

.landing-environmental .st-brand-fin {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
}

.landing-environmental .st-eco-cite {
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    font-size: clamp(0.85rem, 2.4vw, 0.98rem);
    font-weight: 700;
    color: rgba(240, 253, 250, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    .st-eco-label,
    .st-eco-pill {
        transition: none;
    }
}
