﻿.clean-header,
.clean-header * {
    box-sizing: border-box;
}

.clean-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e7edf5;
    box-shadow: 0 10px 28px rgba(20, 37, 63, 0.06);
    backdrop-filter: blur(14px);
    font: 14px/1.7 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #22324b;
}

.clean-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2f63b8 0%, #82a9eb 48%, #d8e6fb 100%);
    opacity: 0.95;
}

.clean-header a {
    color: inherit;
    text-decoration: none;
}

.clean-header ul,
.clean-header li,
.clean-header p {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clean-header__shell {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
}

.clean-header__portal {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #1a2940, #152338);
}

.clean-header__portal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 34px;
    color: #b9c7db;
    font-size: 12px;
}

.clean-header__portal-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

.clean-header__portal-left::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #7fb1ff;
    box-shadow: 0 0 0 4px rgba(127, 177, 255, 0.12);
    flex: 0 0 auto;
}

.clean-header__portal-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.clean-header__portal-right a {
    position: relative;
    padding: 0 12px;
    color: #c7d4e7;
    line-height: 1;
    transition: color 0.2s ease;
}

.clean-header__portal-right a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-50%);
}

.clean-header__portal-right a:hover {
    color: #ffffff;
}

.clean-header__top {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px 0 14px;
}

.clean-header__brand {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 330px;
}

.clean-header__brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #16253d;
}

.clean-header__brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1f4f9f, #5f89d7);
    box-shadow: 0 10px 20px rgba(47, 99, 184, 0.18);
    flex: 0 0 auto;
}

.clean-header__brand-mark::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 11px;
}

.clean-header__brand-mark-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
}

.clean-header__brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.clean-header__brand-title {
    display: block;
    color: #16253d;
    font-size: 29px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.clean-header__brand-subtitle {
    display: block;
    color: #95a4b9;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.clean-header__brand-desc {
    margin-top: 8px;
    padding-left: 59px;
    color: #72829a;
    font-size: 12px;
    line-height: 1.7;
    max-width: 300px;
}

.clean-header__search {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 780px;
    margin-left: auto;
}

.clean-header__search-form {
    margin: 0;
}

.clean-header__search-panel {
    padding: 4px 0 4px 26px;
}

.clean-header__search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 4px;
    border: 1px solid #d9e2ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 37, 63, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clean-header__search-box:focus-within {
    border-color: #2f63b8;
    box-shadow: 0 0 0 4px rgba(47, 99, 184, 0.1);
}

.clean-header__search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #8ea0b8;
    flex: 0 0 auto;
}

.clean-header__search-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 0;
    outline: none;
    background: transparent;
    color: #22324b;
    font: 14px/42px "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    appearance: none;
}

.clean-header__search-input::placeholder {
    color: #97a5bb;
}

.clean-header__search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 88px;
    height: 40px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #2f63b8, #1e4a91);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    appearance: none;
}

.clean-header__search-btn:hover {
    box-shadow: 0 10px 18px rgba(47, 99, 184, 0.22);
    filter: brightness(1.02);
}

.clean-header__search-side-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e2e9f2;
    border-radius: 10px;
    background: #f7f9fc;
    color: #667791;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.clean-header__search-side-link:hover {
    border-color: #bfd1eb;
    background: #ffffff;
    color: #2f63b8;
}

.clean-header__search-side-link svg {
    flex: 0 0 auto;
}

.clean-header__hot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-left: 4px;
}

.clean-header__hot a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    background: transparent;
    color: #73839a;
    font-size: 12px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.clean-header__hot a:hover {
    color: #2f63b8;
    background: #f2f6fb;
}

.clean-header__nav {
    position: relative;
    border-top: 1px solid #f1f5fa;
    overflow: visible;
}

.clean-header__nav-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    padding-top: 4px;
    position: static;
}

.clean-header__nav-list {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.clean-header__nav-item {
    position: static;
    display: flex;
    align-items: flex-end;
    min-height: 36px;
}

.clean-header__nav-item.has-children > .clean-header__nav-link {
    gap: 8px;
    padding-right: 14px;
}

.clean-header__nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 0 18px;
    height: 36px;
    border-radius: 10px;
    color: #40506c;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.clean-header__nav-link:hover {
    color: #2f63b8;
    background: #f2f7fd;
}

.clean-header__nav-item.is-active > .clean-header__nav-link {
    background: linear-gradient(135deg, #2f63b8, #5d88d6);
    color: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 8px 16px rgba(47, 99, 184, 0.16);
    margin-bottom: -1px;
}

.clean-header__nav-item.has-children:hover > .clean-header__nav-link {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.clean-header__nav-arrow {
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.7;
    flex: 0 0 auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.clean-header__nav-item.has-children:hover .clean-header__nav-arrow {
    transform: rotate(225deg) translateY(-1px);
    opacity: 1;
}

.clean-header__nav-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    margin-left: 0;
    top: calc(100% - 1px);
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    z-index: 30;
}

.clean-header__nav-item:hover .clean-header__nav-dropdown {
    visibility: visible;
    pointer-events: auto;
}

.clean-header__nav-panel {
    width: 100%;
    margin-top: 0;
    border-left: 1px solid #d7e1ee;
    border-right: 1px solid #d7e1ee;
    border-radius: 0 0 12px 12px;
    background: rgba(226, 231, 237, 0.98);
    box-shadow: 0 14px 28px rgba(20, 37, 63, 0.08);
    position: relative;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
    will-change: transform;
}

.clean-header__nav-item:hover .clean-header__nav-panel {
    opacity: 1;
    transform: translateY(0);
}

.clean-header__nav-panel-inner {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 18px 6px;
}

.clean-header__nav-meta {
    margin-bottom: 8px;
    color: #8796ab;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.clean-header__nav-sublist {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.clean-header__nav-sublink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.4);
    color: #52627a;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.clean-header__nav-sublink:hover {
    background: #ffffff;
    color: #2f63b8;
}

.clean-header__nav-sublink.is-current {
    background: #2f63b8;
    color: #fff;
}

.clean-header__tip {
    flex: 0 0 auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f7faff;
    color: #63748e;
    font-size: 13px;
    white-space: nowrap;
    margin-bottom: 10px;
}

.clean-header__tip::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 999px;
    background: #2f63b8;
    box-shadow: 0 0 0 4px rgba(47, 99, 184, 0.12);
    vertical-align: middle;
}

