@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');

.aml-header,
.aml-header * {
    box-sizing: border-box;
    font-family: "Barlow", Sans-serif;
}

.aml-header {
    width: 100%;
    background: #000;
    position: relative;
    z-index: 99;
}

.aml-header-inner {
    width: 100%;
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 12px;
}

.aml-header-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex: 0 0 auto;
}

.aml-header-logo img {
    width: 205px;
    max-width: 100%;
    height: auto;
    display: block;
}

.aml-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
    flex: 1 1 auto;
}

.aml-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}

.aml-menu-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.aml-menu-link,
.aml-dropdown a,
.aml-cta {
    font-family: "Barlow", Sans-serif;
    text-decoration: none !important;
}

.aml-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color .2s ease;
}

.aml-menu-link.active,
.aml-menu-link:hover {
    color: #8b35ff;
}

.aml-arrow {
    font-size: 12px;
    line-height: 1;
    margin-top: 2px;
}

.aml-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    list-style: none;
    margin: 16px 0 0;
    padding: 10px 0;
    background: #101010;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
}

.aml-menu-item:hover > .aml-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.aml-dropdown li {
    margin: 0;
    padding: 0;
}

.aml-dropdown a {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    white-space: nowrap;
}

.aml-dropdown a:hover {
    color: #8b35ff;
    background: rgba(255,255,255,.04);
}

.aml-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 27px;
    border: 1px solid #fff;
    border-radius: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    background: transparent;
    transition: all .2s ease;
}

.aml-cta:hover {
    transform: translateY(-1px);
   background: linear-gradient(90deg, #7b00ff 0%, #d000ff 30%, #ff1e8a 55%, #ff7a00 100%);
    color: #000;
}

.aml-mobile-toggle {
    display: none;
    width: 42px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.aml-mobile-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    display: block;
    transition: all .2s ease;
}

.aml-header.aml-open .aml-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.aml-header.aml-open .aml-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.aml-header.aml-open .aml-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .aml-header-inner {
        min-height: 72px;
    }
    .aml-mobile-toggle {
        display: inline-flex;
    }
    .aml-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 22px 20px 24px;
        background: #000;
        border-top: 1px solid rgba(255,255,255,.10);
    }
    .aml-header.aml-open .aml-nav {
        display: flex;
    }
    .aml-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .aml-menu-link {
        width: 100%;
        padding: 13px 0;
        justify-content: space-between;
    }
    .aml-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin: 0 0 8px;
        box-shadow: none;
        border-radius: 8px;
    }
    .aml-menu-item.aml-sub-open > .aml-dropdown,
    .aml-menu-item:hover > .aml-dropdown {
        display: block;
    }
    .aml-cta {
        width: 100%;
        min-height: 50px;
    }
}

@media (max-width: 767px) {
    .aml-header-logo img {
        width: 170px;
    }
    .aml-header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }
}
