.grid-container{
    width: 100%;
}
.container{
    padding: 5% 10%;
}
.inner-container{
    padding: 5% 10%;
}
.mockup{
    width: 80%;
}
.app-name{
    font-family: 'Nova Square', cursive;
}

/**** HERO *****/

.header-container{
    background-image: url(../img/back_hero_app.svg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: 100%;
}
header{
    display: grid;
    grid-template-columns: 50% 50%;
    background-size: 100%;
}
header .logo{
    font-size: 5em;
    margin: 0;
    font-family: 'Nova Square', cursive;
    color: var(--heading-color);
}
.hero-mockup{
    width: 100%;
    height: 100%;
    display: grid;
}
header .mockup{
    justify-self: end;
}

#mockup-home{
    margin-left: 0;
    width: 75%;
}

header .claim{
    font-family: 'Nova Square', cursive;
    color: var(--heading-color);
    font-size: 3.3em;
    margin-top: 1%;
}

header .cta-button{
    margin-top: 10%;
    background: linear-gradient(145deg, #27a9f5, #0751B4);
    display: grid;
    width: 12.5vw; 
    grid-template-columns: 20% 80%;
    padding: 2%;
    border-radius: 5px;
    border: none;
    color: white;
    font-family: 'Nova Square', cursive;
    align-items: center;
    justify-items: start;
}
header .cta-button img{
    width: 100%;
}
header .cta-button span{
    margin-left: 12px;
    font-size: 1.5vw;
}

.description{
    font-size: 1.2em;
    width: 70%;
}
.paragraph{
    line-height: 2em;
}

.small-text-inline{
    color: var(--heading-color);
    font-size: 1em;
    font-family: 'Nova Square', cursive;
    display: flex;
    align-items: center;
    width: 50%;
}
.small-text-inline img{
    width: 10%;
    margin-left: 2%;
}


/**** FEATURES *****/

.features-container{
    background-color: var(--bg-color-light);
 }

.features-header{
    display: grid;
    grid-template-columns: 50% 50%;
    justify-items: start;
    align-items: center;
}

.features-header .title{
    margin-left: 10%;
}
.features-header .description{
    margin-left: 10%;
    padding-left: 2%;
    line-height: 1.8em;
    width: 80%;
    border-left: 5px solid var(--accent-color);
}

.title{
    font-family: 'Nova Square', cursive;
    font-size: 2.6em;
    color: var(--heading-color);
}

.features{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2% 3%;
    margin-top: 2%;
    gap: 5%;
    align-items: start;
}

.card{
    padding: 5%;
    display: grid;
    grid-template-rows: auto auto;
}
.card-header{
    display: grid;
    grid-template-columns: 18% 82%;
    justify-items: start;
    align-items: center;
}
.card-header img{
    width: 100%;
}
.card-name{
    font-family: 'Nova Square', cursive;
    font-weight: 800;
    font-size: 1.5em;
    padding: 0 2%;
    color: var(--heading-color);
}
.card-text{
    font-size: 1em;
    line-height: 1.8em;
    margin: 0 0 0 20%;
}



/**** HIGHLIGHTS *****/

.highlights{
    line-height: 1.8em;
    font-size: 1.2em;
}
.highlight-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 8%;
    margin-top: 8%;
}
.highlight-container .title{
    margin: 10% 0;
    line-height: 1em;
}


.screen-descr{
    padding: 5%;
}
.highlights > .mockup{
    padding: 5%;
}
.highlights li{
    margin-bottom: 2%;
    counter-increment: li
}
.highlights li::before {
    content: counter(li); 
    color: var(--accent-color);
    display: inline-block; 
    width: 1.6em;
    margin-left: -1.6em;
}
#img-highlight-2, #img-highlight-4{
    justify-self: end;
}

.coming-soon{
    color: #807f7f
}


/***** CALL TO ACTION *****/

.cta-container{
    margin-top: 8%;
}
.cta{
    background: linear-gradient(145deg, #34AFF7, #0751B4);
    color: white;
    display: grid;
    border-radius: 10px;
    grid-template-columns: 40% 60%;
}
.cta-description{
    padding: 8% 0 6% 16%;
}
.cta-description > .title{
    font-size: 3.3em;
    margin: 0 0 2% 0;
}
.cta-description > ul{
    font-size: 1.25em;
    line-height: 1.8em;
}
.cta .cta-badge{
    margin-top: 5%;
    width: 45%;
}
.cta-description ul{
    list-style: none;
    padding-inline-start: 1em;
}
.cta ul li:before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
}
.cta ul li:last-child:before {
    content: '';
}

ol {
    list-style: none; counter-reset: li
}

.cta-button, .cta-badge{
    cursor: pointer;
}

.mockup-showcase{
    background: url(../img/mockup_showcase.svg);
    background-size: cover;
}


/* Mobile CSS */
@media only screen and (max-width: 1024px){

    .mockup{
        width: 115%;
        justify-self: center;
    }
    .desktop{
        display: none;
    }

    /***** HERO *****/

    .header-container{
        padding: 5% 7%;
        background-image: url(../img/back_hero_app.svg);
        background-size: 125%;
        background-repeat: no-repeat;
        background-position: center bottom;
        text-align: center;
    }

    .paragraph{
        line-height: 1.8em;
    }

    .small-text-inline{
        width: 100%;
        font-size: 1em;
        justify-content: center;
        flex-direction: row-reverse;
        color: var(--accent-color);
    }
    .small-text-inline img{
        margin-left: -4%;
    }
    header .claim{
        font-size: 2.8em;
        margin-top: 2%;
        line-height: 1.3em;
    }
    header .description{
        width: 100%;
        font-size: 1.09em;
    }
    
    header .cta-button{
        margin-top: 22%;
        width: 65%; 
        grid-template-columns: 16% 84%;
        padding: 4% 5%;
        align-items: center;
        justify-items: start;
    }
    header .cta-button span{
        margin-left: 12px;
        font-size: 2em;
    }

    header{
        display: grid;
        grid-template-columns: auto;
        text-align: center;
    }
    .hero-mockup{
        margin-top: 20%;
    }
    #mockup-home{
        width: 115%;
        justify-self: center;
    }
        



    /**** FEATURES *****/

    .features-container{
        padding-bottom: 20%;
    }

    .features-header{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        justify-items: start;
        align-items: center;
    }

    .features-header .title{
        margin-left: 0;
        font-size: 1.8em;
    }
    .features-header .description{
        margin-left: 0;
        padding-left: 5%;
        line-height: 1.8em;
        font-size: 1em;
        width: 100%;
    }

    .card{
        padding: 5% 0;
    }
    .card-header{
        grid-template-columns: 15% 85%;
    }
    .card-text{
        font-size: 1em;
        line-height: 1.8em;
        margin: 0 0 0 19%;
    }
    .card-name{
        font-size: 1.2em;
        padding-left: 4%;
    }

    .features{
        display: grid;
        grid-template-columns: 1fr;
        padding: 8% 0;
        gap: 5%;
    }
        


    /***** highlight *****/

    .highlights{
        margin-top: 5%;
        padding: 5%;
        font-size: 1.02em;
    }
    .highlight-container:first-of-type{
        margin-top: 20%;
    }
    .highlight-container{
        margin-top: 40%;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        row-gap: 3%;
        grid-template-areas: 
        "img"
        "div";
    }
    .highlight-container .title{
        margin: 0;
    }
    .highlight-container img{
        grid-area: img;
        align-self: end;
    }
    .highlight-container div{
        grid-area: div;
        align-self: start;
    }
    #img-highlight-2, #img-highlight-4{
        justify-self: center;
    } 

    .highlight-container .title{
        line-height: 1.3em;
        font-size: 1.8em;
    }
    .highlights li{
        margin-bottom: 4%;
    }


    /***** CTA *****/
    
    .cta-container{
        width: 90%;
        background: linear-gradient(145deg, #2eadf7, #0750b1);
        border-radius: 25px;
        margin: 50% auto;
        padding: 8% 0;
        
    }
    .cta{
        background: none;
        color: white;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr);
    }
    .cta-description{
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    .cta-description > .title{
        font-size: 2.4em;
        margin: 3% 0;
        text-align: center;
    }
    .cta-description > ul{
        font-size: 1.15em;
        line-height: 1.8em;
        padding-inline-start: 14%;
    }
    .cta-button, .cta-badge{
        margin: 0 auto;
    }
    .cta .cta-badge{
        margin-top: 5%;
        width: 65%;
    }
    .mockup-showcase{
        display: none;
    }

    
}

/* MOBILE LANDSCAPE */
@media only screen and (max-width: 740px) and (orientation: landscape){ 
    .mockup{
        justify-self: center !important;
        margin: 0 !important;
        width: 50vw;
    }
    .badge{
        width: 40vw !important;
    }
    .cta img{
        width: 30vw !important;
    }
}

/* TABLET */
@media only screen and (min-width: 681px) and (max-width: 1024px){
    
    .mockup{
        width: 55vw;
    }

    header .claim{
        font-size: 3.3em;
        margin-top: 2%;
    }
    .small-text-inline{
        font-size: 1.5em;
    }
    .small-text-inline img{
        width: 9%;
    }
    header .description{
        font-size: 1.5em;
    }
    
    header .cta-button{
        margin-top: 20%;
        width: 44%; 
        grid-template-columns: 20% 80%;
        padding: 3% 5%;
        align-items: center;
        justify-items: start;
    }
    .cta-button span{
        margin-left: 12px;
        font-size: 2.5em;
    }
    
    

    .features-header .title{
        font-size: 2em;
    }
    .card-header{
        grid-template-columns: 10% 90%;
    }
    .card-text{
        font-size: 1em;
        line-height: 1.8em;
        margin: 0 0 0 14%;
    }
    .card-name{
        font-size: 1.5em;
        padding-left: 4%;
    }


    .highlights{
        font-size: 1.3em;
    }
    .cta > .title{
        font-size: 2.8em;
        margin: 2%;
    }
    .cta > p{
        font-size: 1.5em;
    }


}