/* Steps */
.main-steps{
    padding: 25px 0;
    display: flex;
    gap: 45px;
    align-items: center;
}

.main-steps-preview{
    min-width: 450px;
    width: 600px;
}

.main-steps-content{
    width: 100%;
    flex: 1;
    min-width: 0px;
}


.main-steps-title{
    font-size: 30px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    background-image: linear-gradient(to right, var(--primary), var(--secondary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-steps-outer{
    margin-top: 35px;
}

.main-step{
    background-color: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.7;
    display: flex;
    align-items: center;
    transition: box-shadow .3s;
    cursor: pointer;
    gap: 20px;
    user-select: none;
}

.main-step-bullet{
    width: 30px;
    min-width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.main-step-name{
    font-size: 17px;
    font-weight: 500;
    color: #333;
}

.main-step-description{
    font-size: 16px;
    color: #777;
    margin-top: 5px;
}

.main-step:hover{
    box-shadow: 0 0 20px 1px #f5f5f5;
}

.main-step-divider {
    width: 2px;
    height: 40px;
    margin: 0 25px;
    background-image: repeating-linear-gradient(
        to bottom,
        #ddd,
        #ddd 5px,
        transparent 5px,
        transparent 10px
    );
    background-position: center;
    background-size: 2px 20px;
    background-repeat: repeat-y;
}


.main-step.selected .main-step-bullet{
    box-shadow: 0 0 0 6px inset #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}


.main-steps-preview{
    z-index: 1;
    position: relative;
}

.main-steps-preview-bottom{
    width: 100%;
    padding: 60px 80px;
    z-index: 1;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(to bottom, #eeeff8, #fff, #fff);
}

.main-steps-preview-top {
    width: 450px;
    margin: auto;
    height: 460px;
    position: relative;
    bottom: -50px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25)); /* Soft shadow */
    transform: perspective(1000px) rotateX(2deg); /* Slight 3D tilt */
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 1;
}

.main-steps-preview-frame{
    background-image: url("/assets/images/mobile-frame.png");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: relative;
}

.main-steps-preview-frame-content{
    width: 95%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0%;
    left: 2.5%;
    border-radius: 45px 45px 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
}


@media only screen and (max-width: 1200px){
    .main-steps-preview{
        width: 500px;
    }
}

@media only screen and (max-width: 1000px){
    .main-steps{
        flex-direction: column;
    }
}

@media only screen and (max-width: 550px){
    .main-steps-preview-top{
        width: 100%;
    }
    .main-steps-preview-frame, .main-steps-preview-frame-content{
        background-size: contain;
        background-position: bottom;
    }
    .main-steps-preview{
        width: 100%;
        min-width: 100%;
        margin-top: 0px;
    }
}