@charset "UTF-8";

@property --hero-btn-start {
    syntax: "<color>";
    inherits: false;
    initial-value: #FF9974;
}

@property --hero-btn-end {
    syntax: "<color>";
    inherits: false;
    initial-value: #FF5212;
}

@property --hl-size {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}

body {
    font-size: 1rem;
}

.hero-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #ECF0F4 100%);
}

.special-heading {
    font-size: 20px;
    line-height: 32px;
    background: linear-gradient(223deg, #E7BFE7 17.42%, #FF5212 110.07%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    --hero-btn-start: #FF9974;
    --hero-btn-end: #FF5212;
    background: linear-gradient(161.15deg, var(--hero-btn-start) 8.73%, var(--hero-btn-end) 88.52%);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: --hero-btn-start 0.2s ease, --hero-btn-end 0.2s ease;
}

.hero-cta:hover {
    --hero-btn-start: #D13800;
    --hero-btn-end: #FF5212;
    background: linear-gradient(161.15deg, var(--hero-btn-start) 8.73%, var(--hero-btn-end) 88.52%);
    color: #fff;
    text-decoration: none;
}

.hero-feature-list {
    font-family: "Quando", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(13px, 1.6vw, 28px);
    letter-spacing: -0.05em;
}

.hero-feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

@media (min-width: 1025px) {
    .hero-feature-list {
        flex-direction: row;
    }

    .hero-feature-row {
        gap: 16px;
    }

    .hero-feature-list .rounded-full {
        margin-left: 8px;
        margin-right: 8px;
    }
}

@media (min-width: 1920px) {
    .hero-feature-list .rounded-full {
        margin-left: 16px;
        margin-right: 16px;
    }
}

.hero-feature-strip {
    border-radius: 7px;
    box-shadow: 0px 4px 42.1px 0px #B0C0D840;
    background-image: url('../../img/hp-dots.svg'), url('../../img/hp-dots-right.svg');
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: auto 75%, auto 75%;
}

/* ── Logo scroller ────────────────────────────────────────────────── */

.logo-scroller {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-scroller__track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: logo-scroll 60s linear infinite;
}

.logo-scroller__item {
    flex-shrink: 0;
    height: 50px;
    display: flex;
    align-items: center;
}

.logo-scroller__logo {
    width: 92%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: grayscale(100%) brightness(0.75);
    opacity: 0.75;
}

@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* ── Inventory Intelligence Loop ──────────────────────────────────── */

.iil-highlight {
    --hl-size: 0%;
    background: linear-gradient(260.09deg, rgba(231, 191, 231, 0.82) 19.38%, rgba(255, 123, 74, 0.82) 123.63%) no-repeat left;
    background-size: var(--hl-size) 100%;
    border-radius: 4px;
    transform: skewX(-2deg);
    display: inline-block;
    transition: --hl-size 0.9s ease;
    padding: 0 10px;
}

.iil-highlight.is-visible {
    --hl-size: 100%;
}

.iil-result-text {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* ── Inventory Action Cards ──────────────────────────────────────── */

.action-card {
    transition: margin-top 0.3s ease, margin-bottom 0.3s ease;
}

.action-card:hover {
    margin-top: -10px;
    margin-bottom: 10px;
}

/* ── Inventory Challenges ────────────────────────────────────────── */

.challenge-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 30px 0;
    font-size: clamp(16px, 1.25vw, 20px);
    white-space: nowrap;
    border: none;
    border-bottom: 1px solid #BCBEC0;
    background: none;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: rgba(26, 49, 75, 0.44);
    transition: color 0.25s ease;
    text-align: left;
}

.challenge-nav-item:hover {
    color: var(--color-ob-dark);
}

.challenge-nav-item.is-active {
    color: var(--color-ob-dark);
    font-weight: 500;
    /* padding-bottom: 18px; */
    border-bottom: 3px solid;
    border-image-source: linear-gradient(269.16deg, #E7BFE7 41.47%, #FF5212 106.61%);
    border-image-slice: 1;
}

.challenge-nav-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.challenge-nav-item.is-active .challenge-nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.challenge-panels {
    position: relative;
    min-height: 500px;
}

.challenge-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: #ECF0F4;
    border: 1px solid #B3CCD4;
    border-radius: 15px;
    padding: 50px;
}

.challenge-panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.challenge-img-frame {
    padding: 3px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(231, 191, 231, 0.6) 0%, rgba(255, 82, 18, 0.3) 50%, rgba(200, 220, 240, 0.4) 100%);
}

.challenge-img-frame img {
    border-radius: 13px;
}

/* ── Mobile accordion ── */

.challenge-accordion-item {
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, #E7BFE7 0%, #FD614B 50%, #B3CCD4 100%) 1;
}

.challenge-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 4px;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-ob-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.challenge-accordion-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
    color: #93A3B5;
}

.challenge-accordion-item.is-open .challenge-accordion-chevron {
    transform: rotate(0deg);
}

.challenge-accordion-item.is-open .challenge-accordion-btn {
    font-weight: 600;
}

.challenge-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.challenge-accordion-item.is-open .challenge-accordion-body {
    grid-template-rows: 1fr;
}

.challenge-accordion-inner {
    overflow: hidden;
}

.challenge-accordion-item.is-open .challenge-accordion-inner {
    background: #ECF0F4;
    border: 1px solid #B3CCD4;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

/* ── Results That Matter ─────────────────────────────────────────── */

.result-number {
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 29.43px;
    display: block;
}

.result-label {
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
}

/* ── Speed Section ───────────────────────────────────────────────── */

.speed-box {
    background: #F4F7F9;
    border: 1px solid #CCDAEE;
    border-radius: 15px;
    padding: 30px;
}

.speed-icon {
    display: none;
}

.speed-line-mobile {
    width: 64px;
    height: 2px;
    border-radius: 1px;
    margin-bottom: 16px;
}

.speed-title {
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: var(--color-ob-dark);
    margin-bottom: 8px;
}

.speed-line-svg path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 1.5s ease;
}

.speed-line-svg.is-visible path {
    stroke-dashoffset: 0;
}

/* ── Lottie Overlays ─────────────────────────────────────────────── */

.lottie-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: block;
    height: auto;
    pointer-events: none;
}

.lottie-overlay--white {
    max-width: 281px;
    max-height: 313px;
    width: 36%;
}

.lottie-overlay--black {
    max-width: 328px;
    max-height: 282px;
    width: 42%;
}

.speed-quote {
    font-size: clamp(18px, 2.85vw, 40px);
    line-height: 1.4;
    max-width: 1440px;
}

/* ── Desktop (1024px+) ───────────────────────────────────────────── */

@media (min-width: 1024px) {
    body {
        font-size: 1.25rem;
    }

    .hero-feature-strip {
        background-position: left center, right center;
        background-size: auto 100%, auto 100%;
    }

    .hero-feature-list {
        justify-content: center;
    }

    .special-heading {
        font-size: 32px;
        line-height: 46px;
    }

    .iil-highlight {
        border-radius: 6px;
    }

    .iil-result-text {
        font-size: 30px;
        line-height: 1.4;
    }

    .result-number {
        font-size: clamp(48px, 5.2vw, 76px);
    }

    .result-label {
        font-size: 20px;
        line-height: 30px;
    }

    .speed-icon {
        display: block;
        margin-bottom: 20px;
    }

    .speed-line-mobile {
        display: none;
    }

    .speed-title {
        font-size: 20px;
        line-height: 35px;
    }

    .speed-box {
        padding: 40px;
        transition: background .2s;
    }

    .speed-box:hover {
        background-color: #ECF2F6;
    }

    .lottie-overlay {
        bottom: 20px;
        left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iil-highlight {
        transition: none;
        --hl-size: 100%;
    }

    .speed-line-svg path {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        transition: none;
    }
}

/* ── Front-page footer overrides (no CTA, less padding) ── */
.site-footer-wrap {
    margin-top: 0 !important;
}

.footer-content {
    padding: 78px 18px !important;
}

@media (min-width: 1600px) {
    .footer-content {
        padding: 88px 64px !important;
    }
}
