.hero-section-on-premise {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 99%;
    margin: 200px auto 0;
    gap: 16px;
    max-width: 1140px;
    padding-bottom: 80px;
}

.hero-img-on-premise {
    max-width: 560px;
    width: 100%;
}

.hero-content-on-premise {
    text-align: left;
    max-width: 560px;
}

.hero-cta-section-on-premise {
    align-items: start;
}

/* ========== HOW TO USE ========== */
.howto-section {
    padding: 0 16px 120px;
    position: relative;
    overflow: hidden;
}

.howto-section::before {
    content: '';
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: linear-gradient(to right, rgba(51, 51, 255, 30%), rgba(255, 92, 51, 30%));
    filter: blur(80px);
    border-radius: 30%;
    pointer-events: none;
    z-index: 0;
}

.howto-container {
    display: flex;
    gap: 40px;
    flex-direction: column;
    max-width: max-content;
}

.segmented-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-title-on-premise {
    font-weight: 700;
    font-size: 54px;
    line-height: 105%;
    color: #ffffff;
}

/* Segmented Control */
.segmented-control {
    display: inline-flex;
    padding: 4px;
    background: #ebebf5;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    max-width: max-content;
}

.segmented-control::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 239px;
    height: 32px;
    background: linear-gradient(to right, rgba(51, 51, 255, 0.5), rgba(255, 92, 51, 0.5));
    filter: blur(30px);
    border-radius: 12px;
}

.segment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.32;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    z-index: 1;
}

.segment--active {
    background: #FFFFFF;
    color: #09090a;
}

.segment--inactive {
    color: #6f6f85;
}

/* Step Cards */
.howto__cards {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    position: relative;

    justify-content: center;
}

.howto__badge {
    position: absolute;
    top: -34px;
    right: 12px;
    width: 331px;
    padding: 8px 0 28px;
    background: linear-gradient(to right, #33f 27%, #ff5c33 99%);
    border-radius: 24px 24px 0 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.32;
    z-index: 0;
}

.step-card {
    max-width: 368px;
    min-width: 272px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    background: linear-gradient(180deg, #1A1A1F 0%, rgba(25, 25, 31, 0.8) 100%);
    border-radius: 32px;
    position: relative;
    z-index: 1;
    gap: 60px;
}

.step-card--decor-1 {
    background:
        url('../images/on-premise-page/image-1.png') top right / 156px 130px no-repeat,
        linear-gradient(180deg, #1A1A1F 0%, rgba(25, 25, 31, 0.8) 100%);
}

.step-card--decor-2 {
    background:
            url('../images/on-premise-page/image-2.png') top right / 156px 130px no-repeat,
            linear-gradient(180deg, #1A1A1F 0%, rgba(25, 25, 31, 0.8) 100%);
}

.step-card--decor-3 {
    background:
            url('../images/on-premise-page/image-3.png') top right / 156px 130px no-repeat,
            linear-gradient(180deg, #1A1A1F 0%, rgba(25, 25, 31, 0.8) 100%);
}

.step-card--decor-4 {
    background:
            url('../images/on-premise-page/image-4.png') top right / 156px 130px no-repeat,
            linear-gradient(180deg, #1A1A1F 0%, rgba(25, 25, 31, 0.8) 100%);
}

.step-card__number {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: #6F6F85;
}

.step-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card__label {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.32;
    color: #FFFFFF;
    text-align: start;
    max-width: 208px;
}

/* Step 1 Logos */
.step-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.step-card__platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 104px;
}

.step-card__platforms img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

/* Search Input */
.search-input {
    position: relative;
}

.search-input__glow {
    position: absolute;
    top: 8px;
    left: 2%;
    width: 96%;
    height: 32px;
    background: linear-gradient(to right, rgba(51, 51, 255, 0.3), rgba(255, 92, 51, 0.3));
    border-radius: 20px;
    filter: blur(30px);
    z-index: 0;
}

.search-input__field {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 16px;
    border: 1px solid #b4b4cc;
    border-radius: 20px;
    background: #FFFFFF;
    width: 100%;
    height: 60px;
}

.search-input__field svg {
    flex-shrink: 0;
}

.search-input__field input {
    flex: 1;
    font-family: inherit;
    font-size: 18px;
    color: #09090a;
    border: none;
    outline: none;
    background: transparent;
    letter-spacing: -0.36px;
}

.search-input__field input::placeholder {
    color: #b4b4cc;
    letter-spacing: -0.36px;
}

/* Step 3 Buttons */
.step-card__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-step {
    height: 60px;
    background: linear-gradient(90deg, rgba(51, 51, 255, 0.12) 0%, rgba(255, 92, 51, 0.12) 100%);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(51, 51, 255, 0.2);
    cursor: pointer;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    justify-content: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #15151A;
}

.desc-br {
    display: block;
}

.btn-step--white {
    background: transparent;
}

.btn-step:hover {
    background: rgba(51, 51, 255, 0.08);
}

.process-lms-form-wrapper-on-premise {
    margin-top: 80px;
}

@media screen and (max-width: 1400px) {
    .howto__cards {
        grid-template-columns: 1fr 1fr;
    }

}

@media screen and (max-width: 1280px) {

    .hero-section-on-premise {
        flex-direction: column;
    }

    .hero-content-on-premise {
        text-align: center;
        max-width: 90%;
        padding-bottom: 80px;
    }

    .desc-br {
        display: none;
    }

    .hero-cta-section-on-premise {
        align-items: center;
    }
}

@media screen and (max-width: 862px){
    .howto__cards {
        grid-template-columns: 1fr;
    }

    .section-title-on-premise,
    .process-title {
        font-size: 36px;
        text-align: center;
    }

    .process-lms-form-wrapper-on-premise {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 560px){
    .hero-img-on-premise {
        max-width: 90%;
    }

}