.index5-page {
    --gd5-header-height: 124px;
    --gd5-accent: #71eb30;
    --gd5-header-black: #050505;
}

.gd5-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--gd5-header-height);
    color: #fff;
    background: transparent;
    font-family: Inter, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    transition: background-color .45s cubic-bezier(.22, 1, .36, 1), height .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
}

.gd5-header:hover,
.gd5-header:focus-within,
.gd5-header.has-open-menu,
.gd5-header.mobile-open,
.gd5-header.is-scrolled {
    background-color: var(--gd5-header-black);
}

.gd5-header.is-scrolled {
    --gd5-header-height: 92px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .34);
}

.gd5-utility {
    max-height: 32px;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: max-height .45s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s linear;
}

.gd5-header.is-scrolled .gd5-utility {
    max-height: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition-delay: 0s, 0s, 0s, .45s;
}

.gd5-header.is-scrolled .gd5-mainbar {
    min-height: 92px;
}

.gd5-header-container {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
}

.gd5-header a,
.gd5-header button {
    -webkit-tap-highlight-color: transparent;
}

.gd5-header a:focus-visible,
.gd5-header button:focus-visible {
    outline: 2px solid var(--gd5-accent);
    outline-offset: 5px;
}

.gd5-utility-inner,
.gd5-utility-links {
    display: flex;
    align-items: center;
}

.gd5-utility-inner {
    min-height: 32px;
    justify-content: space-between;
    gap: 24px;
}

.gd5-utility-links {
    gap: 0;
    color: #bcbebf;
    font-size: 12px;
    line-height: 1.4;
}

.gd5-utility-links > * + * {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid #ffffff38;
}

.gd5-utility-links a {
    padding-block: 5px;
    transition: color .18s ease;
}

.gd5-utility-links a:hover,
.gd5-utility-links a[aria-current="page"] {
    color: var(--gd5-accent);
}

.gd5-language {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.gd5-language img,
.gd5-login img {
    filter: brightness(0) invert(1);
}

.gd5-mainbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    gap: clamp(24px, 3vw, 48px);
}

.gd5-brand {
    position: relative;
    display: block;
    flex: 0 0 280px;
}

.gd5-brand img {
    display: block;
    width: 100%;
    height: auto;

}

.gd5-brand .gd5-brand-color {
    position: absolute;
    inset: 0;
    clip-path: inset(0 65% 0 0);
    filter: none;
}

.gd5-navigation {
    align-self: stretch;
    margin-left: auto;
}

.gd5-menu {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gd5-menu-item {
    display: flex;
    align-items: stretch;
}

.gd5-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 clamp(14px, 1.5vw, 24px);
    border: 0;
    color: #ebebeb;
    background: transparent;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease;
}

.gd5-menu-trigger:hover,
.gd5-menu-trigger[aria-expanded="true"] {
    color: var(--gd5-accent);
}

.gd5-chevron {
    width: 6px;
    height: 6px;
    margin-top: -4px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.gd5-menu-trigger[aria-expanded="true"] .gd5-chevron {
    margin-top: 3px;
    transform: rotate(225deg);
}

.gd5-header-actions,
.gd5-dropdown-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gd5-header-actions {
    flex-shrink: 0;
}

.gd5-header .gd5-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 20px;
    border: 1px solid var(--gd5-accent);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease;
}

.gd5-header .gd5-action-primary {
    color: #0a2003;
    background: var(--gd5-accent);
}

.gd5-header .gd5-action-primary:hover {
    background: #8af052;
}

.gd5-header .gd5-action-outline {
    color: #fff;
    background: transparent;
}

.gd5-header .gd5-action-outline:hover {
    color: var(--gd5-accent);
    background: #71eb3012;
}

.gd5-login img {
    display: none;
}

.gd5-dropdown[hidden] {
    display: none;
}

.gd5-dropdown {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: calc(100vh - var(--gd5-header-height));
    max-height: calc(100dvh - var(--gd5-header-height));
    padding: 40px 0 48px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #ffffff14;
    background: var(--gd5-header-black);
    box-shadow: 0 22px 35px #00000026;
    animation: gd5-dropdown-enter .18s ease;
}

.gd5-dropdown-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(28px, 4vw, 64px);
}

.gd5-dropdown-intro {
    align-self: center;
    padding-block: 8px;
}

.gd5-eyebrow {
    margin: 0 0 16px;
    color: var(--gd5-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.6;
}

.gd5-dropdown-intro h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 2.3vw, 32px);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.4;
}

.gd5-dropdown-description {
    max-width: 300px;
    margin: 17px 0 24px;
    color: #969b98;
    font-size: 13px;
    line-height: 1.85;
}

.gd5-dropdown-actions {
    flex-wrap: wrap;
}

.gd5-dropdown-actions .gd5-action {
    padding-inline: 15px;
}

.gd5-link-group h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.gd5-link-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gd5-link-group a {
    display: inline-block;
    padding-block: 8px;
    color: #bcbebf;
    font-size: 14px;
    line-height: 1.55;
    transition: color .18s ease, transform .18s ease;
}

.gd5-link-group a:hover {
    color: var(--gd5-accent);
    transform: translateX(3px);
}

.gd5-mobile-toggle {
    display: none;
}

.index5-page .gd2-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: var(--gd5-header-height);
}

.index5-page .gd2-hero-inner {
    min-height: calc(100vh - var(--gd5-header-height));
    min-height: calc(100svh - var(--gd5-header-height));
}

@keyframes gd5-dropdown-enter {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .index5-page {
        --gd5-header-height: 80px;
    }

    .gd5-header.is-scrolled {
        --gd5-header-height: 80px;
    }

    .gd5-header.is-scrolled .gd5-mainbar {
        min-height: 80px;
    }

    .index5-page.gd5-menu-lock {
        overflow: hidden;
    }

    .gd5-utility {
        display: none;
    }

    .gd5-mainbar {
        min-height: var(--gd5-header-height);
        gap: 20px;
    }

    .gd5-brand {
        flex-basis: 250px;
    }

    .gd5-header-actions {
        margin-left: auto;
    }

    .gd5-navigation {
        position: absolute;
        top: 100%;
        inset-inline: 0;
        display: none;
        max-height: calc(100vh - var(--gd5-header-height));
        max-height: calc(100dvh - var(--gd5-header-height));
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid #ffffff1a;
        background: var(--gd5-header-black);
    }

    .gd5-header.mobile-open .gd5-navigation {
        display: block;
    }

    .gd5-menu {
        display: block;
        width: min(720px, calc(100% - 48px));
        height: auto;
        margin-inline: auto;
        padding-bottom: 24px;
    }

    .gd5-menu-item {
        display: block;
        border-bottom: 1px solid #ffffff1a;
    }

    .gd5-menu-trigger {
        width: 100%;
        min-height: 62px;
        justify-content: space-between;
        padding: 16px 4px;
        text-align: left;
    }

    .gd5-dropdown {
        position: static;
        max-height: none;
        padding: 4px 4px 28px;
        overflow: visible;
        border: 0;
        box-shadow: none;
    }

    .gd5-dropdown-inner {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 20px;
    }

    .gd5-dropdown-intro {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 24px;
        border-top: 1px solid #ffffff1a;
    }

    .gd5-dropdown-description {
        max-width: 440px;
    }

    .gd5-link-group h3 {
        margin-bottom: 12px;
    }

    .gd5-mobile-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: 4px;
        padding: 0;
        border: 1px solid #ffffff4d;
        border-radius: 6px;
        color: #fff;
        background: transparent;
        cursor: pointer;
    }

    .gd5-mobile-toggle span {
        width: 19px;
        height: 1px;
        background: currentColor;
        transition: transform .18s ease, opacity .18s ease;
    }

    .gd5-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .gd5-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .gd5-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .index5-page {
        --gd5-header-height: 72px;
    }

    .gd5-header.is-scrolled {
        --gd5-header-height: 72px;
    }

    .gd5-header.is-scrolled .gd5-mainbar {
        min-height: 72px;
    }

    .gd5-header-container {
        width: calc(100% - 32px);
    }

    .gd5-mainbar {
        gap: 12px;
    }

    .gd5-brand {
        flex: 0 1 190px;
        min-width: 110px;
    }

    .gd5-header-actions {
        gap: 8px;
    }

    .gd5-header-actions .gd5-action {
        min-height: 38px;
        padding: 9px 12px;
        font-size: 12px;
    }

    .gd5-header .gd5-login {
        width: 38px;
        padding: 0;
    }

    .gd5-login span {
        display: none;
    }

    .gd5-login img {
        display: block;
    }

    .gd5-mobile-toggle {
        width: 38px;
        height: 38px;
        margin-left: 0;
    }

    .gd5-menu {
        width: calc(100% - 32px);
    }

    .gd5-dropdown-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }

    .gd5-dropdown-intro {
        grid-row: auto;
        order: 1;
    }

    .gd5-link-group a {
        font-size: 13px;
        padding-block: 10px;
    }

    .index5-page .gd2-hero-inner {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gd5-header,
    .gd5-header *,
    .gd5-header *::before,
    .gd5-header *::after {
        animation: none;
        transition: none;
    }

    .gd5-link-group a:hover {
        transform: none;
    }
}
