.global-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    border-bottom: 0;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px) saturate(1.12);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    transition: background .22s ease, box-shadow .22s ease;
}
.global-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 32px rgba(23, 43, 52, .09); }

.global-header *, .global-header *::before, .global-header *::after { box-sizing: border-box; }
.global-header a { color: inherit; text-decoration: none; }
.global-header__inner {
    width: min(calc(100% - 40px), 1180px);
    height: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 26px;
    overflow: visible;
    position: relative;
}

.global-brand { display: flex; align-items: center; gap: 11px; margin-right: auto; color: #172B34; }
.global-brand img { display: block; width: 41px; height: 41px; object-fit: contain; }
.global-brand__copy { display: grid; gap: 1px; }
.global-brand__copy strong { font-size: 15px; line-height: 1.3; letter-spacing: .025em; }
.global-brand__copy small { color: #667085; font-size: 9px; line-height: 1.3; letter-spacing: .13em; }

.global-nav { display: flex; align-items: center; gap: 8px; }
.global-nav__link, .product-menu__trigger {
    position: relative;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #475467;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}
.global-nav__link::after, .product-menu__trigger::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #00BFA3, #4F7CFF); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.global-nav__link:hover, .global-nav__link:focus-visible, .product-menu__trigger:hover, .product-menu__trigger:focus-visible, .product-menu.is-open .product-menu__trigger {
    color: #075E57;
    background: #EAF8F5;
    outline: none;
}
.global-nav__link[aria-current="page"] { color: #075E57; background: #EAF8F5; }
.global-nav__link[aria-current="page"]::after, .global-nav__link:hover::after, .product-menu__trigger:hover::after, .product-menu.is-open .product-menu__trigger::after { transform: scaleX(1); }

.product-menu { position: relative; padding: 8px 0; }
.product-menu__chevron { width: 12px; height: 12px; transition: transform .18s ease; }
.product-menu:hover .product-menu__chevron, .product-menu:focus-within .product-menu__chevron, .product-menu.is-open .product-menu__chevron { transform: rotate(180deg); }
.product-menu__panel {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    width: 338px;
    padding: 10px;
    border: 1px solid rgba(211, 226, 231, .94);
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 64px rgba(23, 43, 52, .15);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.product-menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 12px; }
.product-menu:hover .product-menu__panel, .product-menu:focus-within .product-menu__panel, .product-menu.is-open .product-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.product-option {
    display: grid;
    grid-template-columns: 32px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    color: #172B34;
    transition: background .18s ease;
}
.product-option::before { content: "01"; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #BDE5DE; border-radius: 8px; background: #F3FFFB; color: #087A70; font: 800 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.product-option:nth-child(2)::before { content: "02"; border-color: #CBD6FF; background: #F5F7FF; color: #4F7CFF; }
.product-option:hover, .product-option:focus-visible { background: #EAF8F5; outline: none; }
.product-option + .product-option { margin-top: 3px; }
.product-option strong { display: block; margin-bottom: 3px; color: #172B34; font-size: 14px; line-height: 1.35; }
.product-option small { display: block; color: #667085; font-size: 11px; line-height: 1.45; }
.product-option__arrow { color: #02BFA5; font-size: 17px; transition: transform .18s ease; }
.product-option:hover .product-option__arrow { transform: translateX(3px); }
.product-menu__foot { margin: 6px 4px 1px; padding: 9px 10px 2px; border-top: 1px solid #EEF1F4; color: #667085; font-size: 10px; }

.global-header__cta {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 999px;
    background: linear-gradient(110deg, #087A70, #02C7AA);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 9px 24px rgba(19, 170, 154, .2);
    transition: background .18s ease, transform .18s ease;
}
.global-header__cta:hover { background: linear-gradient(110deg, #075E57, #00BDA3); transform: translateY(-1px); }
.global-menu-toggle { display: none; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 11px; background: #EAF8F5; color: #0F7F76; font-size: 20px; cursor: pointer; }
.global-menu-toggle:focus-visible { outline: 2px solid #13AA9A; outline-offset: 2px; }

@media (max-width: 900px) {
    .global-header { height: 66px; background: rgba(255, 255, 255, .94); }
    .global-header__inner { width: min(calc(100% - 28px), 1180px); height: 100%; margin: 0 auto; padding: 0; }
    .global-brand img { width: 35px; height: 35px; }
    .global-brand__copy small { display: none; }
    .global-header__cta { display: none; }
    .global-menu-toggle { display: grid; }
    .global-nav {
        position: fixed;
        top: 66px;
        left: 14px;
        right: 14px;
        display: none;
        align-items: stretch;
        gap: 3px;
        padding: 10px;
        border: 1px solid #E5EAF0;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 22px 60px rgba(23, 43, 52, .13);
    }
    .global-header.is-mobile-open .global-nav { display: grid; }
    .global-nav__link, .product-menu__trigger { width: 100%; justify-content: space-between; padding: 0 12px; }
    .product-menu { padding: 0; }
    .product-menu__panel {
        position: static;
        width: auto;
        margin: 0 4px 7px;
        padding: 5px;
        border: 0;
        border-radius: 12px;
        background: #F7F9FC;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .product-option { grid-template-columns: 30px 1fr 18px; padding: 11px 10px; }
    .product-option small { font-size: 10px; }
    .product-menu__foot { display: none; }
}
