﻿/* Juxtapose border-radius override */
.jx-slider {
    border-radius: 20px;
}

/* Hero background — Figma hero frame bitmap (covers hero + top gallery) */
.hazy-lr-hero-bg {
    background: url('/assets/img/hazy-lightroom/hero-bg.jpg') top right, #000;
    background-size: 60%;
    background-repeat: no-repeat;
}

@media (max-width: 576px) {
    .hazy-lr-hero-bg {
        background: url('/assets/img/hazy-lightroom/hero-bg.jpg') top center, #000;
        background-size: auto 100%;
        background-repeat: no-repeat;
    }
}

/* Hero copy outgrows the fixed 652px desktop height once the CTAs stack on mobile,
   which let the gallery below overlap the Buy button — let the hero flow instead. */
@media (max-width: 767.98px) {
    .hazy-lr-hero-bg #img-section {
        height: auto !important;
        padding-bottom: 48px;
    }
}

a.jx-knightlab {
    display: none !important;
}

div.jx-label {
    background-color: transparent !important;
    font-weight: bold;
    color: rgba(255,255,255,0.5) !important;
    font-size: 18px !important;
    padding: 20px !important;
    font-family: 'Open Sans', sans-serif !important;
}

/* Juxtapose horizontal galleries */
.comparison-carousel {
    width: 100%;
    overflow: hidden;
}

.comparison-carousel-track {
    --comparison-card-width: min(78vw, 1140px);
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 12px 0 10px calc((100vw - var(--comparison-card-width)) / 2);
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

    .comparison-carousel-track::-webkit-scrollbar {
        display: none;
    }

.comparison-card {
    flex: 0 0 var(--comparison-card-width);
    scroll-snap-align: center;
}

    .comparison-card .juxtapose,
    .comparison-card .jx-slider {
        width: 100% !important;
    }

    .comparison-card .juxtapose {
        overflow: hidden;
        border-radius: 20px;
    }

.comparison-caption {
    margin: 12px 4px 0;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.comparison-mobile-image {
    display: none;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.comparison-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.comparison-carousel-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

    .comparison-carousel-button:hover:not(:disabled),
    .comparison-carousel-button:focus-visible {
        background: rgba(255,255,255,0.22);
    }

    .comparison-carousel-button:disabled {
        cursor: default;
        opacity: 0.35;
    }

    .comparison-carousel-button svg {
        width: 20px;
        height: 20px;
    }

/* CTA card — purple/blue gradient per Figma CTA section */
.hazy-lr-cta {
    border-radius: 25px;
    background: linear-gradient(100deg, #9994EB 0%, #669BE0 100%);
}

/* Section label pill */
.section-tag {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 40px;
    padding: 10px 22px;
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

/* Get Started steps */
.step-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

    .step-item:last-child {
        border-bottom: none;
    }

.step-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* Works With */
.works-with-section {
    max-width: 700px;
    margin: auto;
    padding: 60px 60px;
    background: #000000;
    border-radius: 30px;
}

.works-with-title {
    color: #fff;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 36px;
}

.works-with-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

.works-with-apps {
    min-width: 280px;
}

.works-with-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
}

.works-with-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #001e36;
    color: #31a8ff;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.08em;
}

.works-with-logo-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
}

.works-with-name {
    color: #fff;
    font-size: 16px;
}

.works-with-os-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-width: 230px;
    min-height: 210px;
    padding: 30px 48px;
    border-radius: 34px;
    background: #222;
}

    .works-with-os-panel .works-with-item {
        gap: 18px;
        padding: 0;
    }

.os-logo {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: #fff;
}

/* Family cards */
.family-card {
    background: #222222;
    border-radius: 16px;
    padding: 15px 20px;
    height: 100%;
    position: relative;
}

.family-card-logo {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

    .family-card-logo img {
        max-height: 60px;
        max-width: 180px;
        object-fit: contain;
    }

.family-card-text {
    font-size: 14px;
    color: white;
    line-height: 1.6;
}

.family-new-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: #222222;
    border: 1px solid #539FDD;
    border-radius: 30px;
    font-size: 11px;
    padding: 3px 10px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #539FDD;
}

/* Accordion overrides for dark bg */


.mob-font-28 {
}

@media (max-width: 576px) {
    .mob-font-28 {
        font-size: 28px !important;
    }

    .comparison-carousel-track {
        --comparison-card-width: calc(100vw - 48px);
        gap: 14px;
        padding-right: 0;
        padding-left: 24px;
    }

    .comparison-card .juxtapose,
    .comparison-card .jx-slider {
        display: none !important;
    }

    .comparison-mobile-image {
        display: block;
    }

    .works-with-section {
        padding-top: 50px;
    }

    .works-with-title {
        font-size: 30px;
        margin-bottom: 24px;
    }

    .works-with-layout {
        flex-direction: column;
        gap: 24px;
    }

    .works-with-apps {
        min-width: 0;
    }

    .works-with-os-panel {
        min-width: min(100%, 280px);
        min-height: 0;
        padding: 28px 44px;
    }
}
