/* 最顶部样式 */
header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

/* 顶部横幅：全屏宽度，无空白 */
.hero-banner {
    width: 100vw !important;
    color: #fff;
    padding: 2vw 3vw; /* 视口百分比适配内边距 */
    /*display: flex;*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
    margin: 0 !important;
    /*margin-top: 8vh !important;*/
    background: linear-gradient(10deg, #ffffff 30%, #c1e0fd 100%),
    linear-gradient(180deg, #c1e0fd 10%, transparent 100%);
    /* 阴影增强层次感 */
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.hero-banner-text {
    display: flex;
    align-items: center;
    flex-direction: column; /*元素垂直分布*/
}

/* 横幅图标：响应式尺寸 */
.hero-banner h1 {
    color: black;
    font-size: 50px;
}

.hero-banner p {
    color: #597fb6;
    font-size: 23px;
}

.hero-banner .banner-icons {
    display: flex;
    gap: 1.5vw;
}

.hero-banner .banner-icon {
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    background-color: #0070f3;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(10px, 1.2vw, 12px);
}

.hero-banner .banner-icon i {
    font-size: clamp(16px, 2.5vw, 22px);
    margin-bottom: 0.5vw;
}

/*副标题初始化内容时隐藏*/
.hero-banner > div:first-child h1,
.hero-banner > div:first-child p {
    opacity: 0;
}

.header-btn-container {
    opacity: 0;
}

/*图片初始化内容时隐藏*/
.hero-banner > img {
    opacity: 0;
}

/* 核心价值 - start */
.core-values {
    margin: 25px 0 35px;
    padding-left: 10px;
    border-left: 4px solid #2e77c7; /* 品牌蓝侧边线，强化视觉焦点 */
}

.core-values li {
    font-size: 18px;
    color: #334e68;
    margin-bottom: 12px;
    list-style: none;
    position: relative;
    padding-left: 24px;
    font-weight: 500;
}

.core-values li::before {
    content: "✓" !important;
    position: absolute;
    left: 0;
    top: 0;
    color: #2e77c7;
    font-weight: 700;
}

.core-values {
    opacity: 0;
}

/* 核心价值 end */

/* 头部功能栏 - 轻奢卡片布局  start*/
.function-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.func-item {
    background: #fff;
    border-radius: 24px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.func-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2e77c7 0%, #8ab4f8 100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.func-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.func-item:hover::before {
    height: 100%;
    opacity: 0.1;
}

.func-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0ff 0%, #d9e8ff 100%);
    border-radius: 50%;
    font-size: 32px;
    color: #2e77c7;
    transition: all 0.3s ease;
}

.func-item:hover .func-icon {
    background: linear-gradient(135deg, #2e77c7 0%, #4a90e2 100%);
    color: #fff;
    transform: scale(1.1);
}

.func-text {
    font-size: 18px;
    font-weight: 600;
    color: #0a1a38;
}

.header-btn-container {
    margin-top: 1.5vw;
    display: flex;
    justify-content: center
}

/* 头部功能栏 - 轻奢卡片布局  end*/

/* 响应式 */
@media (max-width: 992px) {
    .function-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .function-bar {
        grid-template-columns: 1fr;
    }
}

.function-bar .func-item {
    opacity: 0;
}

/* 副标题 end */
