
section{
    padding:var(--spacing-xxlarge) var( --spacing-xxxlarge);
    display: flex;
    flex-direction: column;
    align-items:center;
    margin-top: var(--spacing-xxxlarge);
    position: relative;
}



/* HOME SECTION */
.home{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xxxlarge);
}

.intro{
    display: flex;
    flex-direction: column;
    align-items:center;
    gap: var(--spacing-xxlarge);
}

.home h1{
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1 span.sub-title{
    -webkit-text-fill-color: transparent;
    background: var(--primary-color-linear);
    -webkit-background-clip: text;
}
.description{
    font-size: var(--text-size-large);
    text-align: center;
    margin-top: var(--spacing-large);
    color: var(--grey-grey-200);
}

.cta-content.primary {
    display: inline-block;
    font-weight: 500;
    color: var(--white);
    background:  var(--seconday-color-linear);
    text-transform: uppercase;
    padding: var(--spacing-small);
    border-radius: var(--border-thick);
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1);
    cursor: pointer;
}

.cta-content.primary::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:linear-gradient(131deg, #5A00DB 0%, #3500C5 100%); ;
    border-radius: inherit;
    transform: translate3d(0, 0.75em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.cta-content.primary:hover {
    transform: translate(0em, 0.25em);
}
.cta-content.primary:active {
    transform: translate(0em, 0.75em);
}
.cta-content.primary:active::before {
    box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
    transform: translate3d(0, 0, -1em);
}

.home .content{
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.home .content img.dashboard{
    width: 75%;
}
.home .content .notification-card,.notification{
    position: absolute;
    gap: var(--spacing-medium);
    border-radius: var(--border-thick);
    padding: var(--spacing-medium);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(6.199999809265137px);
}


.notification-card{
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0px;
    top: 230px;
    box-shadow: 0px 21px 31px 0px rgba(0, 163, 255, 0.13);
    border: 2px solid rgb(114 222 255 / 63%);
}

.notification-card p{
    color: var(--white);
}
.notification-card p span{
    color: var(--fourth-color);
    font-weight: 600;
    font-size: var(--text-size-medium);
}

.notification-card img{
    width: 60px;
}

.notification{
    border: 2px solid rgb(173 114 255 / 63%)!important;
    z-index: 10;
    display: flex;
    align-items: center;
    border: var(--border-thick);
    bottom: 100px;
    right: 0px;
}

.notification p {
    color:var(--white);
}
p.bourse{
    color: var(--red);
    font-weight: 600;
    font-size: var(--text-size-medium);
}


/* FEATURES */

.whyUs{
    position: relative;
    margin-top: var(--spacing-xlarge);
    background: -moz-linear-gradient(90deg, rgba(6,9,29,1) 25%, rgba(245,245,247,0.5634628851540616) 50%, rgba(6,9,29,1) 75%);
    background: -webkit-linear-gradient(90deg, rgba(6,9,29,1) 25%, rgba(245,245,247,0.5634628851540616) 50%, rgba(6,9,29,1) 75%);
    background: linear-gradient(90deg, rgba(6,9,29,1) 25%, rgba(245,245,247,0.5634628851540616) 50%, rgba(6,9,29,1) 75%);
    padding-top: 1px;
    padding-bottom:0px ;
}

.whyUs-container{
    width: 100%;
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xxlarge);
    background: radial-gradient(48.01% 48.01% at 50.00% 4.30%, #170436 0%, #06091D 100%);
}
.bento-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    z-index: 5;
}

.bento-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.bento-card {
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card.wide {
    flex: 2; /* Prend le double de largeur */
}

/* Effet au hover */
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .bento-row {
        flex-direction: column;
    }
    
    .bento-card.wide {
        flex: 1;
    }
}

.glass-container{
    border-radius: var(--border-thick);
    padding: var(--spacing-large);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-large);
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(63, 63, 63, 0.29);
    backdrop-filter: blur(7.800000190734863px);
    color: var(--white);
}
.right-container{
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.top-container,.bottom-container{
    display: flex;
    gap: var(--spacing-small);
    height: 33%;
}

.top-container{
    justify-content: space-between;
}
.whyUs .content .card{
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
}
.card p,.card ~ p {
    color: var(--white);
    font-weight: lighter;
}

.buy-container{
    width: 40%;
}

.secure-container{
    width: 60%;
}

.cta-documentation{
    padding:var(--spacing-tiny) var(--spacing-small);
    border-radius: var(--border-thick);
    border: 1px solid #FFF;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(7px);
}

.contact{
    padding-top: var(--spacing-5xlarge) ;
    padding-bottom:var(--spacing-xxxlarge);

}
.contact .square{
    background: rgba(255, 255, 255, 0.21);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.1px);
    position: absolute;
}

.contact .square.small{
    width: 20px;
    height: 20px;
}
.contact .square.medium{
    width:50px;
    height: 50px;
}
.contact .square.big{
    width: 100px;
    height: 100px;
}

.contact .square.left.top{
    top: 200px;
    left: -155px;
}
.contact .square.left.bottom{
    bottom: -105px;
    left: 150px;
}
.contact .square.right.top{
    right: -75px;
    top: -65px;
}
.contact .square.right.bottom{
    bottom: -90px;
    right: -50px;
}
.contact .square.middle.top{
    top: -95px;
    left: -105px;
}

.contact-container .behind{
    z-index: -1;
}

.contact-container{
    position: relative;
    z-index: 0;
    padding: var(--spacing-large);
    width: 60%;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.21);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border-radius: var(--border-thick);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xlarge);
}

.form-content{
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
}

.info-user{
    display: flex;
    gap: var(--spacing-small);
}

.input-container{
    width: 100%;
}

input{
    width: 100%;
    box-sizing: border-box;
}
textarea{
    font-family: 'GeneralSans-Variable';
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    resize: none;
}
form input,form textarea{
    border: none;
    border-radius: var(--border-thick);
    padding: var(--spacing-small) var(--spacing-medium);
}

form .cta-container{
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-large);
}


footer{
    padding:var(--spacing-medium) var( --spacing-xxxlarge);
    margin-top: var(--spacing-xxxlarge);
    color: var(--grey-grey-200);
    display: flex;
    justify-content: space-between;
}
/* EFFECT BACKGROUND */
.container-blur{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    filter: blur(150px);
    opacity: 0.5;
    height: 500px;
    width: 500px;
    z-index: -1;
}

.rotating{
    animation: rotating 20s linear infinite;
}

.floatingUp{
    animation: floatingUp 6s ease-in-out infinite;
}
.floatingLeft{
    animation: floatingLeft 6s ease-in-out infinite;
}

.floatingRight{
    animation : floatingRight 6s ease-in-out infinite;
}
@keyframes floatingRight {
    0% {
        transform: translate(0,  0px);
    }
    50% {
        transform: translate(-15px, 0px);
    }
    100% {
        transform: translate(-0, 0px);
    }
}
@keyframes floatingLeft {
    0% {
        transform: translate(0,  0px);
    }
    50% {
        transform: translate(15px, 0px);
    }
    100% {
        transform: translate(-0, 0px);
    }
}
.fadeOut{
    animation: fadeOut 6s ease-in-out infinite;
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.fadeIn{
    animation: fadeIn 6s ease-in-out infinite;
}
    
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.floatingDown{
    animation: floatingDown 8s ease-in-out infinite;
}

.floating.notification {
    animation-delay: 1s;
}
.container-blur.left{
    top: 200px;
    left: -32px;
}
.container-blur.top.right{
    top: -86px;
    right: -145px;
}

@keyframes floatingUp {
    0% {
        transform: translate(0,  0px);
    }
    50% {
        transform: translate(0, 15px);
    }
    100% {
        transform: translate(0, -0px);
    }
}
@keyframes floatingDown {
    0% {
        transform: translate(0,  0px);
    }
    50% {
        transform: translate(0, -15px);
    }
    100% {
        transform: translate(0, -0px);
    }
}
@keyframes rotating {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.child1,.child2,.child3,.child1blue,.child2blue,.child3blue{
    width: 70%;
    min-height: 70%;
    max-width: 70%;
    max-height: 70%;
    border-radius:52px;
    position: absolute;
}

.child1{
    background-color: var(--third-color);
    top: 0;
    right: 0;
}
.child2{
    background-color: var(--primary-color);
    bottom: 0;
    right: 0;
}
.child3{
    background-color: var(--secondary-color);
}

.home .content .child1{
    background-color: var(--fourth-color);
}

.content .notification-card  ~ .container-blur{
    right: -103px;
    bottom: 50px;
    width: 150px;
    height: 150px;
    filter: blur(42px);
    z-index: 6;
}

.background-effect{
    width: 100%;
    height: 100%;
    position: absolute;
}
.square{
    z-index: 0;
    position : absolute;
}
.square.blue{
    background-color: var(--fourth-color);
}
.square.purple{
    background-color: var(--secondary-color);
}

.square.little{
    width: 10px;
    height: 10px;
}
.square.medium{
    width: 15px;
    height: 15px;
}

.square.first{
    top: 140px;
    left: 200px;
}
.square.second{
    top: 200px;
    right: 450px;
    transform: rotate(32deg);
}
.square.thirds{
    bottom: 25px;
    left: 50px;
    transform: rotate(45deg);
}
.square.fourth{
    bottom: 150px;
    right: 500px;
}
.square.fifth{
    bottom: 100px;
    right: 100px;
    transform: rotate(15deg);
}
.square.sixth{
    top: 0;
    left: 450px;
    transform: rotate(24deg);
}
.square.seventh{
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
}
.square.eighth{
    top: 150px;
    right: 60px;
}

.container-blur.center{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.container-blur.center .child3{
    background-color: var(--fourth-color);
}

.circle{
    position: absolute;
    border-radius: var(--border-circle);
    background:linear-gradient(147deg, #006BA7 0%, #43006B 100%);
}

.circle.big{
    top: 25%;
    right: 10%;
    width: 300px;
    height: 300px;
}
.circle.medium{
    top: 50%;
    left: 10%;
    width: 150px;
    height: 150px;
}

.circle.small{
    bottom: 5%;
    right: 10%;
    width: 20px;
    height: 20px;
}

.glassIco {
    overflow: hidden;
}
.glassIco {
    box-sizing: border-box;
    transition: 200ms;
}

.glassIco:before {
    content: "";
    position: absolute;
    display: block;
    width: 25%;
    height: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(0px);
    transition: 400ms;
    transform: skewX(45deg) translateX(-205%);
}

.glassIco:hover:before {
    transform: skewX(45deg) translateX(405%);
}
.glassIco > * {
    opacity: 0.8;
}

footer {
    .logo{
        width: 100px;
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    main{
        .description{
            text-align: start;
        }
        .home h1{
            font-size: 2.5em;
            align-items: start;
        }
        section{   
           margin-top: var(--spacing-xxlarge);
           padding: var(--spacing-xlarge) var(--spacing-small);
           .intro{
            width: 100%;
            
           }
           &.home .content img.dashboard{
                width: 100%;
           }
           .notification-card{
                top: 200px;
                width: fit-content;
                height: fit-content;
                img{
                    width: 40px;
                }
           }
           .notification{
                top: -50px;
                width: fit-content;
                height: 20px;
                p.bourse{
                    font-size: var(--text-size-small);
                }
           }

            .background-effect{
                .first{
                    top: 0px;
                    left: 50px;    
                }
                .eighth {
                    top: 200px;
                    right: 50px;    
                }
            }

            .contact-container{
                width: 86%;
                padding: var(--spacing-small);
                .form-content .info-user{
                    display: flex;
                    flex-direction: column;
                }
            }
        }

    }
    footer{
        padding: var(--spacing-xlarge) var(--spacing-small);
        margin-top: var(--spacing-xxlarge);
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-small);
        .logo{
            width: 80px;
        }
    }
}