/* Incredibuild Scroll Sections - Shared Styles v2.0.0 */

/* ======================================================
   SHARED RULES (used by both Group A & Group B)
   ====================================================== */

.progress-container {
    width: 0.3px;
    background-color: #FFFFFF26;
    position: absolute;
    height: 100%;
    left: 50.1%;
    margin: 0;
    transform: translateX(-50%);
}

.progress-bar {
    width: 100%;
    height: 0%;
    background: linear-gradient(179deg, #01EB9C 18.59%, #00F6FF 46.11%, #0090FF 91.92%, rgba(0, 144, 255, 0.00) 102%);
    position: absolute;
    top: -1px;
    left: 0;
}

.step {
    flex-direction: row;
    gap: 112px;
    display: flex;
    opacity: 0.2;
    transition: opacity 0.5s ease;
}

.step.active {
    opacity: 1;
}

/* ======================================================
   GROUP A — "Simple Scroll" (.container-scroll)
   Used by: seamless_integration, build_runner, build_guard
   ====================================================== */

.container-scroll {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    gap: 64px;
    max-width: 100%;
}

.container-scroll .left-col {
    width: 343.663px;
}

.container-scroll .left-col h3 {
    color: #FFF;
    font-family: Switzer, sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 110%;
}

/* Build Runner variant */
.container-scroll .left-col.build-run {
    width: 404px;
}

.container-scroll .left-col.build-run h3 {
    color: #FFF;
    font-family: Switzer, sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 110%;
    margin: 0;
    padding-bottom: 24px;
}

.container-scroll .right-col {
    width: 572px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.container-scroll .step-number {
    color: #FFF;
    font-family: "Roboto Mono", monospace;
    font-size: 21px;
    font-weight: 400;
    line-height: 150%;
    text-transform: uppercase;
}

.container-scroll .step h2 {
    color: #FFF;
    font-family: 'Switzer', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 120%;
    margin: 0 0 12px 0;
}

.container-scroll .step p {
    color: rgba(255, 255, 255, 0.70);
    font-family: 'Switzer', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 32px;
}

.integration-btn {
    border-radius: 6px;
    border: 1px solid #01EB9C;
    background: linear-gradient(180deg, rgba(1, 235, 156, 0.40) 0%, rgba(1, 235, 156, 0.16) 100%);
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    width: fit-content;
    color: #FFF;
    font-family: "Roboto Mono", monospace;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    text-transform: uppercase;
    margin-bottom: 64px;
    text-decoration: none;
}

.integration-btn:hover {
    color: #fff !important;
}

.command-section {
    color: #FFF;
    font-family: "Roboto Mono", monospace;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    padding: 6px 6px 6px 12px;
    align-items: center;
    gap: 7px;
    align-self: stretch;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    margin-bottom: 64px;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.copy-button {
    cursor: pointer;
}

.command-section.copied {
    border-color: #01eb9c;
    transition: border-color 0.3s ease;
    box-shadow: 0 0 10px rgba(1, 235, 156, 0.2);
}

.divider {
    width: 100%;
    height: auto;
    margin-top: 20px;
}

/* ======================================================
   GROUP B — "Auto Scroll" (.container-scroll-auto)
   Used by: automatic_scroll, distributed_scroll, automotive_scroll
   ====================================================== */

.container-scroll-auto {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    gap: 178px;
    max-width: 100%;
}

.left-col-auto {
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: 400px;
}

.left-col-data {
    opacity: 0.2;
    transition: opacity 0.5s ease;
    min-height: 213px;
}

.left-col-data.active {
    opacity: 1;
}

.left-col-data h3.gradient-head {
    color: #fff;
    font-family: Switzer, sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 110%;
    padding-bottom: 15px;
    margin: 0;
}

.left-col-data.active h3.gradient-head {
    background: linear-gradient(91.94deg, #01EB9C 1.64%, #0091FF 81.6%);
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.left-col-data div.desc {
    font-family: Switzer;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #FFFFFFB2;
}

.right-col-auto {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.right-col-auto .left-col-data {
    display: none;
}

.container-scroll-auto .step {
    min-height: 213px;
}

.step-conetent {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
}

.step-logo-cont {
    display: block;
    width: 116px;
    height: 50px;
    margin-bottom: 10px;
}

.step-logo-cont img.step-logo {
    display: block;
    width: auto;
    height: 100%;
}

.step-conetent .step-data {
    display: flex;
    flex-direction: row;
    gap: 0px;
    justify-content: flex-start;
}

.step-data img.step-numb-desk {
    display: block;
    width: 152px;
    height: 109px;
}

.step-data img.step-numb-mob {
    display: none;
}

.step-desc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: Switzer;
    color: #FFFFFFB2;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    align-items: flex-start;
}

.step-desc a {
    display: block;
    position: relative;
    padding-right: 24px;
    font-family: Roboto Mono;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    text-decoration: underline;
    color: #01EB9C;
}

.step-desc a::after {
    position: absolute;
    right: 0px;
    top: 0;
    width: 24px;
    height: 24px;
    content: '';
    background-image: url('/wp-content/uploads/2026/02/Chevron-Right.png');
    background-size: cover;
    transition: all 0.3s ease;
}

.step-desc a:hover::after {
    transform: translateX(0.5em);
}

/* ======================================================
   RESPONSIVE — Group A (.container-scroll)
   ====================================================== */

@media (max-width: 768px) {
    .container-scroll {
        flex-direction: column;
        gap: 64px;
        padding: 64px 20px 0 20px;
    }

    .container-scroll .progress-container {
        left: 20px;
        height: 80%;
        top: 195px;
    }

    .container-scroll .left-col,
    .container-scroll .right-col {
        width: 100%;
    }

    .container-scroll .right-col {
        padding-left: 32px;
    }

    .container-scroll .step {
        gap: 20px;
    }

    .container-scroll .left-col h3 {
        color: #FFF;
        font-family: Switzer;
        font-size: 32px;
        font-weight: 600;
        line-height: 110%;
    }

    .container-scroll .left-col h3 br {
        display: none;
    }

    .container-scroll .progress-container {
        width: 2px;
    }

    /* Build Runner mobile specifics */
    .progress-container.buildrun {
        left: 20px;
        height: 923px;
        top: 580px;
    }

    .container-scroll .left-col.build-run h3 {
        color: #FFF;
        font-family: Switzer;
        font-size: 40px;
        font-weight: 600;
        line-height: 110%;
    }
}

/* ======================================================
   RESPONSIVE — Group B (.container-scroll-auto)
   ====================================================== */

@media (max-width: 768px) {
    .container-scroll-auto {
        flex-direction: column;
        gap: 64px;
        padding: 64px 20px 0 20px;
    }

    .left-col-auto {
        display: none;
    }

    .right-col-auto {
        width: 100%;
        padding-left: 32px;
    }

    .right-col-auto .step {
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    .right-col-auto .step::after {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        position: absolute;
        left: 0;
        bottom: -32px;
        z-index: 10;
    }

    .right-col-auto .left-col-data {
        display: block;
        min-height: unset;
        padding-bottom: 32px;
        position: relative;
    }

    .right-col-auto .left-col-data::after {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 10;
    }

    .right-col-auto .step-conetent {
        padding-top: 32px;
    }

    .right-col-auto .step-conetent .step-data {
        flex-direction: column;
        gap: 32px;
    }

    .right-col-auto .step-desc {
        gap: 16px;
        font-size: 16px;
    }

    .right-col-auto .step-data img.step-numb-desk {
        display: none;
    }

    .right-col-auto .step-data img.step-numb-mob {
        display: block;
        width: 100%;
        height: 100%;
    }

    .left-col-data h3.gradient-head {
        font-size: 20px;
        padding-bottom: 12px;
    }

    .left-col-data h3.gradient-head br {
        display: none;
    }

    .left-col-data div.desc {
        font-size: 16px;
    }

    .container-scroll-auto .progress-container {
        width: 2px;
        height: calc(100% - 64px);
        top: 64px;
    }
}

/* ======================================================
   FIREFOX FIXES — @supports (-moz-appearance:none)
   ====================================================== */

/* Group A Firefox fix */
@supports (-moz-appearance:none) {
    .container-scroll .progress-container {
        width: 1px;
        left: 50.1%;
    }
}

@media (max-width: 768px) {
    @supports (-moz-appearance:none) {
        .container-scroll .progress-container {
            width: 2px;
            left: 20px;
        }
    }
}

/* Group B Firefox fix */
@supports (-moz-appearance:none) {
    .container-scroll-auto .progress-container {
        width: 1px;
        left: 50.1%;
    }
}

@media (max-width: 768px) {
    @supports (-moz-appearance:none) {
        .container-scroll-auto .progress-container {
            width: 2px;
            left: 20px;
        }
    }
}
