.en-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: #ffffff;
    transition: transform .3s ease;
}

.en-header.is-hidden {
    transform: translateY(-100%);
}

.en-header__inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-sizing: border-box;
}

.en-header__left {
    display: flex;
    align-items: center;
}

.en-header__right {
    display: flex;
    align-items: center;
}

.en-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--en-text-primary);
    text-decoration: none;
    min-width: 110px;
    flex-shrink: 0;
}

.en-brand__logo {
    width: 128px;
    height: 24px;
    height: auto;
    flex-shrink: 0;
    display: block;
}

.en-brand__text {
    font-size: 0;
    line-height: 0;
}

.en-brand__mark {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--en-primary) 0%, var(--en-accent) 100%);
    box-shadow: 0 8px 18px rgba(43, 106, 255, 0.25);
}

.en-nav {
    display: flex;
}

.en-nav__list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;

}

.en-nav__item {
    position: relative;
}

.en-nav__link {
    position: relative;
    color: var(--en-text-secondary);
    text-decoration: none;
    padding: 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    width: auto;
    cursor: pointer;
    transition: color .2s ease;
}

/* .en-nav__link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--en-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
} */

.en-nav__link:hover,
.en-nav__link.is-active,
.en-nav__text-btn:hover {
    color: var(--en-primary);
    background: transparent;
}

.en-nav__link:hover:after,
.en-nav__link.is-active:after {
    transform: scaleX(1);
}

.en-header__panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    flex: 1;
}

.en-header__actions {
    display: flex;
    align-items: center;
}

.en-header__user-icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* 已登录：与主站 account-img 一致，使用圆形缩略图 */
.en-header__user-icon--avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.en-user-entry {
    color: var(--en-text-secondary);
    text-decoration: none;
    padding: 0 4px;
    height: 60px;
    line-height: 60px;
    min-width: 52px;
    cursor: pointer;
    transition: color .2s ease;
}

.en-user-entry:hover {
    color: var(--en-primary);
}

.en-user-dropdown {
    position: relative;
}

.en-user-entry--account {
    max-width: 180px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.en-user-dropdown__menu {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    min-width: 160px;
    padding: 8px 0;
    border: 1px solid #eef1f4;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
    display: none;
    z-index: 120;
}

.en-user-dropdown__menu a {
    display: block;
    padding: 8px 14px;
    color: #475467;
    text-decoration: none;
    line-height: 20px;
}

.en-user-dropdown__menu a:hover {
    color: var(--en-primary);
    background: #f8faff;
}

.en-user-dropdown:hover .en-user-dropdown__menu {
    display: block;
}

.en-user-dropdown.is-static .en-user-entry--account {
    cursor: default;
}

.en-nav-toggle-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
    /* align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    text-decoration: none;
    background: #ffffff; */
}

.en-nav-toggle-btn span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--en-primary-dark);
}

.en-nav__panel {
    position: absolute;
    /* 控制hover面板距离 */
    top: calc(100% + 0px);
    left: 0;
    display: none;
    min-width: 420px;
    padding: 26px 32px 28px;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid #eef1f4;
    box-shadow: 0 22px 36px rgba(16, 24, 40, 0.12);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    z-index: 80;
}

.en-nav__item--has-panel.is-open>.en-nav__panel {
    display: grid;
}

.en-nav__panel--product {
    width: 840px;
    grid-template-columns: 110px repeat(4, minmax(0, 1fr));
}

.en-nav__panel--solution {
    width: 760px;
    grid-template-columns: 118px repeat(2, minmax(0, 1fr));
}

.en-nav__panel--ai {
    width: 520px;
    grid-template-columns: 112px minmax(0, 1fr);
}

.en-nav__panel-intro {
    min-width: 0;
    padding-top: 2px;
}

.en-nav__eyebrow {
    margin: 0 0 10px;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.en-nav__heading {
    margin: 0;
    color: #1d2939;
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
}

.en-nav__title {
    margin: 0 0 10px;
    color: #98a2b3;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.en-nav__column {
    min-width: 0;
}

.en-nav__card {
    display: block;
    color: #1d2939;
    text-decoration: none;
    margin-top: 14px;
}

.en-nav__card-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.en-nav__card-desc {
    display: block;
    margin-top: 2px;
    color: #667085;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.en-nav__card--compact {
    margin-top: 0;
    padding: 7px 0;
}

.en-nav__card--compact+.en-nav__card--compact {
    margin-top: 2px;
}

.en-nav__card:hover,
.en-nav__card:hover .en-nav__card-name {
    color: var(--en-primary);
}

.en-nav__card:hover .en-nav__card-desc {
    color: var(--en-primary);
}

/* 与联系页等模块的 1024 断点对齐：小于 1024 使用汉堡，避免 800–1022 仍铺桌面导航导致整页横向溢出 */
@media (min-width: 1024px) {
    .en-header__inner {
        padding: 0 32px;
    }

    .en-nav__list {
        display: inline-flex !important;
    }

    .en-nav-toggle-btn {
        display: none !important;
    }

    .en-header__panel {
        display: flex !important;
    }
}

@media (max-width: 1023px) {
    .en-header__inner {
        min-height: 60px;
        padding: 0 32px;
    }

    .en-header__panel {
        display: none !important;
    }

    .en-nav {
        display: none !important;
    }

    .en-nav-toggle-btn {
        display: inline-flex !important;
    }
}

@media (max-width: 799px) {
    .en-header__inner {
        padding: 0 8px 0 16px;
    }
}
