/*==================================================
  HEADER
==================================================*/

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    padding:22px 0;
    transition:.35s ease;
}

.header.scrolled{
    padding:14px 0;
}

.header.scrolled .headerWrapper{
    background:rgba(10,10,10,.72);
    border-color:rgba(255,255,255,.08);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    box-shadow:
        0 18px 45px rgba(0,0,0,.28);
}

/*==================================================
  WRAPPER
==================================================*/

.headerWrapper{
    height:76px;
    border-radius:999px;
    padding:0 14px 0 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:1px solid transparent;
    transition:.35s ease;
    max-width:1450px;
    position:relative;
    left:50%;
    transform:translateX(-50%);
}

/*==================================================
  LOGO
==================================================*/

.headerLogo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.headerLogo img{
    height:120px;
    width:auto;
    display:block;
    opacity:1;
    filter:
        brightness(1.25)
        contrast(1.1)
        drop-shadow(0 0 18px rgba(34,197,94,.18));
    transition:.3s ease;
}

.headerLogo:hover img{
    transform:scale(1.03);
    filter:
        brightness(1.35)
        contrast(1.15)
        drop-shadow(0 0 24px rgba(34,197,94,.28));
}

/*==================================================
  NAVIGATION
==================================================*/

.headerNav{
    display:flex;
    align-items:center;
    gap:10px;
}

.headerNav a{
    position:relative;
    height:48px;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#d5d5d5;
    font-size:15px;
    font-weight:500;
    transition:.3s ease;
}

.headerNav a::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    opacity:0;
    transition:.3s ease;
}

.headerNav a:hover{
    color:#fff;
}

.headerNav a:hover::before{
    opacity:1;
}

.headerNav a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:8px;
    width:0;
    height:2px;
    background:#25d366;
    border-radius:999px;
    transform:translateX(-50%);
    transition:.3s ease;
}

.headerNav a:hover::after{
    width:26px;
}

/*==================================================
  RIGHT
==================================================*/

.headerRight{
    display:flex;
    align-items:center;
    gap:16px;
}

/*==================================================
  LOGIN
==================================================*/

.headerLogin{
    color:#d5d5d5;
    font-size:15px;
    font-weight:600;
    transition:.3s ease;
}

.headerLogin:hover{
    color:#fff;
}

/*==================================================
  CTA BUTTON
==================================================*/

.headerButton{
    height:52px;
    padding:0 26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#25d366;
    color:#fff;
    font-size:15px;
    font-weight:700;
    transition:.35s ease;
    box-shadow:
        0 14px 36px rgba(37,211,102,.25);
}

.headerButton:hover{
    background:#1fb85a;
    transform:translateY(-3px);
    box-shadow:
        0 20px 45px rgba(37,211,102,.34);
}

/*==================================================
  MOBILE BUTTON
==================================================*/

.headerMenu{
    width:52px;
    height:52px;
    display:none;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    gap:6px;
    border:none;
    cursor:pointer;
    border-radius:16px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    transition:.3s ease;
}

.headerMenu:hover{
    background:rgba(255,255,255,.08);
}

.headerMenu span{
    width:22px;
    height:2px;
    background:#fff;
    border-radius:999px;
    transition:.3s ease;
}





/*==================================================
  MOBILE MENU
==================================================*/

.mobileMenu{
    position:fixed;
    top:0;
    right:-100%;
    width:380px;
    max-width:100%;
    height:100vh;
    z-index:1200;
    display:flex;
    flex-direction:column;
    background:#090909;
    border-left:1px solid rgba(255,255,255,.08);
    transition:.4s ease;
    overflow-y:auto;
}

.mobileMenu.active{
    right:0;
}

.mobileMenuHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:26px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.mobileMenuHeader img{
    height:42px;
    width:auto;
}

.mobileClose{
    width:48px;
    height:48px;
    display:flex;
    justify-content:center;
    align-items:center;
    border:none;
    cursor:pointer;
    border-radius:16px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    font-size:30px;
    transition:.3s;
}

.mobileClose:hover{
    background:rgba(255,255,255,.08);
    transform:rotate(90deg);
}

/*==================================================
  MOBILE NAVIGATION
==================================================*/

.mobileNav{
    display:flex;
    flex-direction:column;
    padding:24px;
}

.mobileNav a{
    display:flex;
    align-items:center;
    height:58px;
    padding:0 20px;
    margin-bottom:10px;
    border-radius:18px;
    color:#d6d6d6;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.mobileNav a:hover{
    color:#fff;
    background:rgba(255,255,255,.05);
    transform:translateX(6px);
}

/*==================================================
  MOBILE BUTTONS
==================================================*/

.mobileButtons{
    margin-top:auto;
    padding:24px;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.mobileLogin{
    height:56px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:18px;
    color:#fff;
    font-size:15px;
    font-weight:600;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.mobileLogin:hover{
    background:rgba(255,255,255,.08);
}

.mobileButton{
    height:58px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:18px;
    background:#25d366;
    color:#fff;
    font-size:15px;
    font-weight:700;
    transition:.35s;
    box-shadow:0 18px 40px rgba(37,211,102,.25);
}

.mobileButton:hover{
    background:#1fb85a;
    transform:translateY(-3px);
}

/*==================================================
  OVERLAY
==================================================*/

.mobileOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    backdrop-filter:blur(4px);
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:1100;
}

.mobileOverlay.active{
    opacity:1;
    visibility:visible;
}

/*==================================================
  HAMBURGER ACTIVE
==================================================*/

.headerMenu.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.headerMenu.active span:nth-child(2){
    opacity:0;
}

.headerMenu.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/*==================================================
  TABLET
==================================================*/

@media(max-width:1100px){

    .headerNav{
        display:none;
    }

    .headerMenu{
        display:flex;
    }

}

/*==================================================
  MOBILE
==================================================*/

@media(max-width:768px){

    .header{
        padding:16px 0;
    }

    .header.scrolled{
        padding:10px 0;
    }

    .headerWrapper{
        height:68px;
        padding:0 10px 0 18px;
    }

    .headerLogo img{
        height:36px;
    }

    .headerLogin,
    .headerButton{
        display:none;
    }

    .headerMenu{
        width:48px;
        height:48px;
        border-radius:14px;
    }

}

/*==================================================
  SMALL MOBILE
==================================================*/

@media(max-width:480px){

    .container{
        width:calc(100% - 28px);
    }

    .mobileMenu{
        width:100%;
    }

    .mobileMenuHeader{
        padding:20px;
    }

    .mobileNav{
        padding:20px;
    }

    .mobileButtons{
        padding:20px;
    }

    .mobileNav a{
        height:54px;
        font-size:15px;
    }

    .mobileLogin,
    .mobileButton{
        height:54px;
        font-size:14px;
    }

}

/*==================================================
  REDUCED MOTION
==================================================*/

@media(prefers-reduced-motion:reduce){

    .header,
    .headerWrapper,
    .headerNav a,
    .headerButton,
    .headerMenu,
    .mobileMenu,
    .mobileOverlay,
    .mobileNav a,
    .mobileButton,
    .mobileLogin{
        transition:none!important;
    }

}