.header .inner {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    h1 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 50px;
        line-height: 68px;
        text-align: center;
        color: #FFFFFF;
        margin: 0;
    }

    h2 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 300;
        font-size: 22px;
        line-height: 37px;
        text-align: center;
        color: #FFFFFF;
        max-width: 703px;
    }

    .buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 0px 0 0 0;

        .button {
            border: none;
            transform: scale(1);
            transition: transform .35s ease-out;
            width: 240px;
            font-family: 'Open Sans';
            font-style: normal;
            font-weight: 600;
            font-size: 18px;
            line-height: 25px;
            text-align: center;
            width: 232px;
            height: 55px;
            color: #FFFFFF;

            &:hover {
                transform: scale(1.1);
            }

            &.outline {
                background: #ffffff;
                color: #3E3E3E;
                border: 1px solid transparent;
            }
        }
    }
}

.heading-subtext {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* 
get-started denotes the section with blue-is background, bleu big container with text and blue button
*/

.get-started {
    background-image: url("/assets/images/get-started-bg.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 453px;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
}

.get-started .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.get-started .button-container {
    background: linear-gradient(to top, #169FF2 0%, #5C0DCE 100%);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 100px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 32px 48px;
    border-radius: 12px;
    width: fit-content;
    box-sizing: border-box;
}

.get-started .button-container h1 {
    font-size: 29px;
    font-weight: 400;
    max-width: 637px;
    color: white;
    text-align: left;
}

.get-started .button-container button {
    padding: 12px 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.get-started .button-container button:hover {
    transform: scale(1.08);
}

.get-started .button-container .button a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}






/* ANIMATIONS */


.text-animation span {
    opacity: 0;
    transform: translateY(10px);
}

/* Container setup for animated text blocks */
.text-animation {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    justify-content: center;
    opacity: 0;
}

/* Align text to the left when "leftText" class is added */
.text-animation.leftText {
    justify-content: start;
}

/* Initial state for each animated span */
.text-animation.visible span {
    animation: fadeInWord 0.5s forwards;
    animation-delay: var(--delay, 0s);
}

/* Make entire text block visible */
.text-animation.visible {
    opacity: 1;
}

/* Animate spans when parent has "visible" */
p.text-animation.visible span {
    animation: fadeInWord 0.3s forwards;
    animation-delay: var(--delay, 0s);
}


/* ----------------------------------------
   BUTTON & LINK ANIMATIONS
---------------------------------------- */

.button-wrapper.animate {
    opacity: 0;
    transform: translateY(12px);
}

/* When wrapper becomes visible */
.button-wrapper.animate.visible {
    animation: buttonFadeIn 0.6s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.button-wrapper.animate a {
    opacity: 0;
}

.button-wrapper.animate.visible a {
    opacity: 1;
    transition: opacity 0.4s ease-out;
    transition: transform 0.35s ease-out;
}

/* Button fade-in animation */
@keyframes buttonFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInWord {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: var(--targetOpacity);
        transform: translateY(0);
    }
}


.offer .inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.offer .inner .values {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 100px;
    box-sizing: border-box;
}

.offer .inner .values .value img {
    margin-bottom: 10px;
}

.offer .inner .text {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.offer .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.offer .inner .text {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
}

.offer .value-heading {
    font-size: 21;
    font-weight: 600;
    max-width: 282;
}

.offer .value-subtext {
    font-size: 15;
    font-weight: 400;
    max-width: 266.33;
}

.icon-41 {
    width: 41px;
    height: 41px;
    object-fit: contain;

}

.button-white {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    margin: 32px 28px 52px 28px;
    border-radius: 7px;
    color: rgb(62, 62, 62);
    background-color: white;
    border: 1px solid rgba(62, 62, 62, 0.08);
    box-shadow: 0px 1px 5px rgba(62, 62, 62, 0.1);
    width: max-content;
    padding: 0 30px;
    transition: transform 0.5s ease, background-color 0.25s ease, color 0.25s ease;
    align-self: center;
    width: auto;
}


@media only screen and (max-width: 1248px){
    .offer .inner .values {
            padding: 0 24px;
        }
}

@media only screen and (max-width: 1040px) {
    .offer .inner .values {
         justify-content: center;
            gap: 96px;
            flex: 1 0 50%;
        }



    .header .inner,
    .open-system .inner,
    .pluxmarket .inner,
    .contact>div {
        padding: 0 32px 0 32px;
    }


    .header .inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    
        .get-started .button-container h1 {
            font-size: 20px;
            max-width: 400px;
        }



}

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

    .get-started .button-container{
        gap: 0px;
        padding: 48px 24px;
    }
    .get-started .inner .button-container .text{
        margin: 0;
        margin-right: 20px;
    }

    .get-started .inner .button-container button {
        align-self: center;
    }
}


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



    .header {
        height: auto;

        .inner {
            align-items: flex-start;
            padding: 0 24px;

            h1 {
                margin-top: 80px;
                font-family: 'Open Sans';
                font-style: normal;
                font-weight: 700;
                font-size: 30px;
                line-height: 120%;
                color: #FFFFFF;
                text-align: left;
            }

            h2 {
                font-family: 'Open Sans';
                font-style: normal;
                font-weight: 400;
                font-size: 18px;
                line-height: 27px;
                color: rgba(255, 255, 255, 0.71);
                text-align: left;
                max-width: 345px;
                align-self: flex-start;
            }

            .buttons {
                flex-direction: column;
                gap: 0;
                margin-bottom: 60px;
                padding: 0;

                .button {
                    margin: 4px 0;
                }
            }
        }
    }


    .text-animation {
        display: block;
        max-width: 345px !important;
        width: 100%;
    }

         .get-started .button-container {
             margin: 0;
         }
    
         .get-started .button-container h1 {
             text-align: center;
             font-size: 20px;
             margin-top: 40px;
             max-width: 271px;
             margin-top: 0;
         }
    
         .get-started .button-container button {
             margin-top: 10px;
             margin-bottom: 40px;
         }

           .button-white {
               padding: 0 10px;
               margin-top: 36px;
           }

          .offer .inner {
              padding: 0 24px;
              justify-content: flex-start;
    
              .text {
                  margin-top: 60px;
                  justify-content: flex-start !important;
                  align-items: flex-start;
    
                  h1 {
                      align-self: flex-start;
                      text-align: left;
                      padding: 12px 0;
                  }
    
                  h2,
                  h3 {
                      align-self: flex-start;
                      text-align: left;
                  }
              }
    
              .values {
                  margin-top: 60px;
                  gap: 48px;
                  flex-wrap: wrap;
                  padding-left: 0;
                  justify-content: center;
    
                  h1 {
                      max-width: unset;
                      font-family: 'Open Sans';
                      font-style: normal;
                      font-weight: 600;
                      font-size: 21px;
                      line-height: 29px;
                      color: #3E3E3E;
                  }
    
                  h2 {
                      max-width: unset;
                      font-size: 18px;
                      line-height: 1.6;
                      color: #3e3e3e;
                      margin: 0 auto;
                      font-weight: 400;
                  }
              }
          }

    .offer .inner .text{
        align-self: flex-start;
    }

         .get-started .button-container button {
             margin-bottom: 0px !important;
             margin-top: 25px !important;
         }
}