@media(min-width:1200px){
    .logo-badge{
        pointer-events: none;
    }

    nav.menu .menu-item:hover{
        filter:brightness(.75)
    }


    nav.menu .menu-item.active{
        background: linear-gradient(45deg, var(--a1), var(--a2), var(--a3));
        background-clip: text;
        color: transparent;
    }
}

@media(max-width:1200px){
    header.nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 80px;
        height: 100vh;
        padding: 20px 0 0 0;
        border-bottom:0;
        border-right:1px solid #2c2c2c;
        transition: var(--transition-02);
    }

    .nav-inner{
        flex-direction: column;
        justify-content: unset;
        padding: 0;
    }

    .logo{
        display: unset;
    }

    .brand,
    .sub{
        display: none;
    }

    .nav-container{
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        margin-top: 20px;
    }

    nav.menu{
        flex-direction: column;
        gap: .5rem;
    }

    nav.menu .menu-item{
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .04);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, .04);
        transition: var(--transition-02);
        position: relative;
    }

    nav.menu .menu-item:hover{
        background: rgba(255, 255, 255, .08);
    }

    nav.menu .menu-item.active{
        background: linear-gradient(45deg, var(--a1), var(--a2), var(--a3));
        border: unset;
    }

    nav.menu .menu-icon{
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav.menu .menu-text{
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-02);
        position: absolute;
        pointer-events: none;
        left: calc(100% + 40px);
        padding: 0 15px;
        font-size: 14px;
    }

    nav.menu .menu-item:hover .menu-text{
        width: max-content;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .3);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, .04);
        opacity: 1;
        visibility: visible;
    }

    header.nav .row .btn{
        width: 80px;
        height: 80px;
        border-radius: 0;
        border: 0;
        border-top: 1px solid var(--border);
        justify-content: center;
        transition: background var(--transition-02);
    }

    header.nav .row .btn .btn-icon{
        display: block;
        font-size: 30px;
    }
    header.nav .row .btn .btn-text{
        display: none;
    }

    header.nav .btn.secondary{
        display: none;
    }

    header.nav.active{
        width: 300px;
        padding: 20px;
    }

    header.nav.active .logo{
        display: flex;
    }

    header.nav.active .logo .brand,
    header.nav.active .logo .sub{
        display: block;
    }

    header.nav.active .nav-inner {
        align-items: flex-start;
    }

    header.nav.active .nav-container{
        width: 100%;
        align-items: flex-start;
    }

    header.nav.active .menu{
        width: 100%;
    }

    header.nav.active .menu-item{
        width: 100%;
        justify-content: flex-start;
    }

    header.nav.active .menu-item .menu-text{
        opacity: 1;
        visibility: visible;
        transition: none;
        position: unset;
        pointer-events: unset;
        padding: 0;
    }

    header.nav.active .menu-item:hover .menu-text{
        width: unset;
        height: unset;
        display: unset;
        background: unset;
        border-radius: unset;
        border: unset;
        opacity: unset;
        visibility: unset;
    }

    header.nav.active .row{
        width: 100%;
    }

    header.nav.active .row .btn{
        width: 100%;
        height: unset;
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
    }

    header.nav.active .row .btn .btn-icon{
        display: none;
    }
    header.nav.active .row .btn .btn-text{
        display: block;
    }

    .flex-for-langswitch{
        flex-direction: column;
    }

    .lang-switcher-menu{
        top: unset;
        bottom: 0;
        left: 200%;
        transform: none;
    }

    main{
        width: calc(100% - 80px);
        margin: 0;
        margin-left: 80px;
        min-height: 100vh;
    }

    footer{
        margin-left: 80px;
    }
}

@media(max-width:550px){
    header.nav{
        position: fixed;
        height: 80px;
        width: 100%;
        padding: 20px;
        border: none;
        border-bottom: 1px solid #2c2c2c;
    }

    header.nav.active{
        width: 100%;
    }

    header.nav .logo{
        display: flex;
    }

    header.nav .logo .brand,
    header.nav .logo .sub{
        display: block;
    }

    header.nav .nav-inner{
        margin: unset;
        flex-direction: unset;
        justify-content: space-between;
        align-items: center;
    }

    header.nav .nav-container{
        width: 100%;
        max-width: 300px;
        align-items: flex-start;
        padding: 20px;
        height: calc(100vh - 80px);
        position: absolute;
        left: -100%;
        top: 80px;
        margin: 0;
        background: linear-gradient(180deg, rgba(10, 10, 10, .4), rgba(10, 10, 10, .6));
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        transition: var(--transition-02);
        border-right: 1px solid #2c2c2c;
    }

    header.nav.active .nav-container{
        left: 0;
    }

    header.nav .menu{
        width: 100%;
    }

    header.nav .menu-item{
        width: 100%;
        justify-content: flex-start;
    }

    header.nav .menu-item .menu-text{
        opacity: 1;
        visibility: visible;
        transition: none;
        position: unset;
        pointer-events: unset;
        padding: 0;
    }

    header.nav .menu-item:hover .menu-text{
        width: unset;
        height: unset;
        display: unset;
        background: unset;
        border-radius: unset;
        border: unset;
        opacity: unset;
        visibility: unset;
    }

    header.nav .row{
        width: 100%;
    }

    header.nav .row .btn{
        width: 100%;
        height: unset;
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
    }

    header.nav .row .btn .btn-icon{
        display: none;
    }
    header.nav .row .btn .btn-text{
        display: block;
    }

    .flex-for-langswitch{
        flex-direction: column;
    }

    header.nav.active .nav-inner {
        align-items: center;
    }

    .lang-switcher-menu{
        left: 50%;
        transform: translateX(-50%);
        top: 120%;
        bottom: unset;
    }

    main{
        min-height: calc(100vh - 80px);
        width: 100%;
        margin: 80px 0 0 0;
    }

    footer{
        margin: 0;
    }
}

@media(max-width:450px){
    .card .stats{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width:550px){
    .row{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(min-width:900px){
    .hero-grid{
        grid-template-columns:1.1fr .9fr;
    }
}

@media(min-width:900px){
    .grid-4{
        grid-template-columns:repeat(4,1fr);
    }
}