/* ==================== 字体引入 ==================== */
@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452496227_dfns1x.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452262790_kdbkpl.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452328802_96a4jm.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452421249_wnm768.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452390828_g15uvm.otf') format('opentype');
    font-weight: 450;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452365390_6loyxh.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452454330_wxsjle.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452228839_hl65fl.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452185746_30aove.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://chenyang0.oss-cn-beijing.aliyuncs.com/prod/project_vendor/270/2/1763452297647_04e102.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* ==================== CSS重置样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: MiSans;
    font-weight: 300;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ==================== 顶部菜单栏 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(60px, 5vw, 72px);
    background-color: rgba(202, 230, 255, 0.15);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
    height: clamp(40px, 3.47vw, 50px);
    display: flex;
    align-items: center;
    font-size: clamp(14px, 1.25vw, 18px);
    font-weight: 500;
    color: #ffffff;
    margin-left: clamp(20px, 4.93vw, 74px);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3.33vw, 48px);
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: clamp(14px, 1.11vw, 16px);
    color: #ffffff;
    opacity: 0.7;
    border-bottom: 2px solid transparent;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-item:hover {
    opacity: 1;
}

.nav-item.active {
    opacity: 1;
    border-bottom-color: #ffffff;
}

/* ==================== 导航栏滚动后的白色样式 ==================== */
.header.header-scrolled {
    background-color: #ffffff;
    backdrop-filter: none;
    border-bottom: 1px solid #666666;
}

.header.header-scrolled .logo {
    color: #000000;
}

.header.header-scrolled .nav-item {
    color: #000000;
    opacity: 1;
}

.header.header-scrolled .nav-item:hover {
    opacity: 0.7;
}

.header.header-scrolled .nav-item.active {
    opacity: 1;
    border-bottom-color: #000000;
}

/* ==================== 底部信息展示区 ==================== */
.footer {
    width: 100%;
    height: 285px;
    background: url('../images/footer-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.footer-logo {
    position: absolute;
    left: clamp(20px, 5.07vw, 73px);
    top: clamp(40px, 4.17vw, 60px);
    font-size: clamp(18px, 1.67vw, 24px);
    font-weight: 380;
    color: #ffffff;
}

.footer-container {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    gap: clamp(30px, 5vw, 108px);
    align-items: flex-start;
    flex-wrap: wrap;
}

/* 中间导航 */
.footer-nav {
    display: flex;
    gap: clamp(30px, 5vw, 108px);
    flex-wrap: wrap;
    margin: clamp(40px, 3.19vw, 46px) 0 0 clamp(200px, 45vw, 817px);
}

/* 小于450px时加快缩小速度 */
@media (max-width: 450px) {
    .footer-nav {
        margin-left: clamp(160px, 20vw, 300px);
    }
}

/* 小于450px时加快缩小速度 */
@media (max-width: 414px) {
    .footer-nav {
        margin-left: clamp(140px, 20vw, 160px);
    }
}

/* 小于375px时缩小间距 */
@media (max-width: 375px) {
    .footer-nav {
        margin-left: clamp(130px, 20vw, 160px);
        gap: clamp(15px, 5vw, 30px);
    }
    
    .footer-container {
        gap: clamp(20px, 5vw, 30px);
    }
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.56vw, 8px);
}

.footer-nav-title {
    font-size: clamp(14px, 1.11vw, 16px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: clamp(6px, 0.56vw, 8px);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: clamp(3px, 0.28vw, 4px);
}

.footer-nav-list li {
    height: auto;
    min-height: clamp(20px, 1.67vw, 24px);
}

.footer-nav-list a {
    font-size: clamp(12px, 0.83vw, 14px);
    font-weight: 300;
    color: #748EA6;
    transition: opacity 0.3s ease;
}

.footer-nav-list a:hover {
    opacity: 0.8;
}

/* 右侧联系方式 */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.11vw, 16px);
    margin: clamp(40px, 3.19vw, 46px) 0 0 0;
}

.footer-contact-title {
    font-size: clamp(14px, 1.11vw, 16px);
    font-weight: 300;
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: clamp(12px, 1.11vw, 16px);
    align-items: center;
}

.social-icon {
    width: clamp(20px, 1.67vw, 24px);
    height: clamp(20px, 1.67vw, 24px);
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 顶部边框，左右与Logo对齐 */
.footer-copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: clamp(20px, 5.07vw, 73px);
    right: clamp(20px, 5.07vw, 73px);
    height: 1px;
    background-color: #293a49;
    opacity: 0.2;
}

.footer-copyright p {
    font-size: clamp(12px, 0.83vw, 14px);
    font-weight: 300;
    color: #748ea6;
    /* opacity: 0.7; */
    line-height: 1.8;
}

/* ==================== 二维码弹窗 ==================== */
.qrcode-modal {
    position: fixed;
    z-index: 10000;
    background-color: #ffffff;
    /* padding: clamp(2px, 1.39vw, 5px); */
    border-radius: clamp(20px, 2.78vw, 40px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
}

.qrcode-image {
    display: block;
    width: clamp(150px, 30vw, 280px);
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* 小屏幕优化 */
@media (max-width: 768px) {
    .qrcode-modal {
        padding: clamp(8px, 2vw, 12px);
    }
    
    .qrcode-image {
        width: clamp(200px, 50vw, 300px);
    }
}


