/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-image: url("images/Bg.png");
    background-size: 100% 100%;    /* 完全铺满 */
    background-repeat: no-repeat;  /* 不重复 */
    background-position: center;   /* 居中 */
    min-height: 100vh;
    /* 宽屏背景固定，防止拉伸 */
    background-attachment: fixed;
    /* 主体内容不随body拉伸，避免宽屏文字分散 */
    overflow-x: hidden;
    padding-top: 72px; /* 适配固定导航，防止内容被遮挡 */
}
/* 导航：1440px适配，宽屏居中 */
.nav {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: fixed;
    top: 0;
    z-index: 999;
    /* 替换固定padding，改为容器居中+内边距，适配宽屏 */
    padding: 0 20px;
    left: 0;
}
.navBox{
    width: 100%;
    max-width: 1440px;
    padding-left: 162px;
}
/* 导航容器：限制1440px，宽屏居中 */
.nav::before {
    /* content: '';
    width: 100%;
    max-width: 1440px;
    margin: 0 auto; */
}
.logo {
    height: 42px;
    /* 导航logo回归1440px设计稿的左侧间距 */
    /* margin-left: calc((100% - 1440px) / 2); */
}
/* 主体核心容器：1440px定宽，宽屏居中，移动端占满屏幕 */
.hero-container {
    width: 100%;
    max-width: 1440px;
    /* background: red; */
    margin: 0 auto;
    margin-top: 88px;
    margin-bottom: 190px;
    padding-left: 162px;
    padding-right: 110px;
}
/* 主体区域：保留你原有flex，移除固定padding */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    /* padding: 40px 0; */
    
}
/* 左侧内容：移除固定margin-left，改为自适应 */
.left {
    /* width: 50%; */
    margin-right: 74px;
}
.left h1 {
    font-weight: 600;
    font-size: 56px;
    line-height: 80px;
    margin-bottom: 80px;
    color: #18063C;
}
.left p {
    font-size: 20px;
    color: #404040;
    margin-bottom: 44px;
    line-height: 36px;
}
.buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap; /* 移动端按钮自动换行 */
}
.buttons img {
    height: 50px;
}
/* 右侧手机：移除固定margin-right，改为自适应 */
.right {

}
.phone {
    width: 100%;
    max-width: 595px; /* 限制手机图最大宽度，1440px下满宽 */
    height: auto;
}
/* 页脚：优化背景，移除固定padding */
.footer {
    background: #121826;
    color: white;
    /* padding: 40px 0; */
    padding-top: 48px;
    padding-bottom: 36px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* 页脚容器：1440px定宽，宽屏居中，移动端适配 */
.footer-container {
    max-width: 1000px;
    
    width: 100%;
    
}
.footer-box {
    padding: 0 85px;
    display: flex;
    justify-content: space-between;
    width: 100%; /* 替换固定max-width，继承容器宽度 */
}
.col {
    width: 30%;
    min-width: 200px; /* 移动端列最小宽度，防止挤压 */
}
.col h3 {
    margin-bottom: 15px;
    font-size: 18px;
}
.col p, .col li {
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.6;
}
.col ul {
    list-style: none;
}
.col a {
    text-decoration: none;
    font-size: 16px;color: #9ca3af;line-height: 24px;
}
.copyright {
    text-align: center;
    margin-top: 42px;
    padding-top: 36px;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 12px;
}

/* 媒体查询：平板/移动端适配（768px以下） */
@media (max-width: 768px) {
    .hero {
        flex-direction: column; /* 上下堆叠 */
        gap: 40px;
        text-align: center;
    }
    .left, .right {
        width: 100%; /* 占满屏幕 */
        max-width: 100%;
        justify-content: center;
    }
    .buttons {
        justify-content: center; /* 按钮居中 */
    }
    .footer-box {
        flex-direction: column; /* 页脚列堆叠 */
        gap: 30px;
    }
    .col {
        width: 100%;
        min-width: unset;
    }
    .left h1 {
        font-size: 36px; /* 移动端标题缩小 */
    }
    .left p {
        font-size: 16px;
    }
    .logo {
        margin-left: 0; /* 移动端logo贴左（带20px内边距） */
    }
}

/* 小屏手机适配（480px以下） */
@media (max-width: 480px) {
    .left h1 {
        font-size: 28px;
    }
    .buttons img {
        height: 40px; /* 按钮缩小 */
    }
    .buttons {
        gap: 10px;
    }
}