/* reset.css */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: middle;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    margin: 0 auto;
    overflow-x: hidden;
    color: #1F204C;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

input[type=buttom] {
    border: none;
    cursor: pointer;
    outline: 0;
}

/* ================= 基础重置与引导页 ================= */
.welcome-page {
    width: 100%;
    height: 100vh;
    height: 100dvh; /* 兼容移动端浏览器地址栏收缩导致的 100vh 超长问题 */
    box-sizing: border-box; 
    overflow: hidden; 
    background-image: url('/html/assets/br/img/bdPc.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: stretch; 
}

.welcome-page .welcome-container {
    width: 100%;
    height: 100%;
    box-sizing: border-box; /* 【新增】防止 padding 撑破屏幕 */
    display: flex;
    flex-direction: column;
    padding-left: clamp(20px, 8vw, 150px); 
    padding-top: clamp(40px, 10vh, 120px);
    padding-bottom: clamp(40px, 10vh, 120px);
}

/* 左侧内容区 */
.welcome-page .welcome-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 1000px;
}

/* Logo */
.welcome-page .welcome-left .logo-box {
    margin-bottom: clamp(20px, 4vh, 50px);
}
.welcome-page .welcome-left .logo-box img {
    height: clamp(36px, 3vw, 60px);
    width: auto;
    display: block;
}

/* 文字 */
.welcome-page .welcome-left .text-box {
    margin-bottom: clamp(30px, 5vh, 60px);
}
.welcome-page .welcome-left .text-box .title {
    font-weight: bold;
    font-size: clamp(32px, 4vw, 72px);
    color: #005EBD;
    line-height: 1.2;
    margin-bottom: clamp(10px, 1.5vh, 20px);
    letter-spacing: clamp(1px, 0.2vw, 3px);
}
.welcome-page .welcome-left .text-box .subtitle {
    font-size: clamp(16px, 1.5vw, 28px);
    color: #005EBD;
    line-height: 1.5;
    letter-spacing: clamp(1px, 0.1vw, 2px); 
}

/* 按钮组 */
.welcome-page .welcome-left .btn-group {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 2vh, 25px);
    width: clamp(200px, 16vw, 280px);
    margin-top: clamp(20px, 5vh, 80px); 
}

.welcome-page .welcome-left .welcome-btn {
    width: 100%;
    height: clamp(48px, 4vw, 56px);
    line-height: 1; 
    border-radius: 99px;
    text-align: center;
    font-size: clamp(16px, 1.2vw, 18px);
    color: #FFFFFF;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* 中文按钮 */
.welcome-page .welcome-left .btn-cn {
    background: radial-gradient( 110.77% 110% at 50.93% 90%, #74CAFF 0%, rgba(89,179,255,0) 100%), #3B72FF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px 3px 10px 0px rgba(77,179,255,0.4), 0px 2px 6px 0px rgba(255,255,255,0.94);
}
.welcome-page .welcome-left .btn-cn:hover {
    background: linear-gradient(90deg, rgba(94, 157, 255, 1) 0%, rgba(133, 184, 255, 1) 100%);
}

/* 英文按钮 */
.welcome-page .welcome-left .btn-en {
    background: linear-gradient( 180deg, #637DA0 0%, #172C48 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.welcome-page .welcome-left .btn-en:hover {
    background: linear-gradient(90deg, rgba(43, 58, 85, 1) 0%, rgba(32, 44, 66, 1) 100%);
}

/* ================= 移动端 980px 以下 ================= */
@media screen and (max-width: 980px) {
    .welcome-page {
        background-image: url('https://www.beirenzn.com/assets/br/img/bdMobile.jpg'); 
    }

    .welcome-page .welcome-container {
        /* 上下留白调小一点，防止小屏挤爆 */
        padding: 8vh 20px 8vh; 
    }

    .welcome-page .welcome-left {
        /* 【关键修复】在移动端强制撑满剩余空间，让按钮的 margin-top: auto 能正确推到底部 */
        flex: 1; 
        height: auto; 
        width: 100%;
    }

    .welcome-page .welcome-left .logo-box {
        margin-bottom: 20px;
    }
    
    .welcome-page .welcome-left .logo-box img {
        height: 36px;
    }

    .welcome-page .welcome-left .text-box {
        margin-bottom: 0; /* 交由按钮组控制 */
    }

    .welcome-page .welcome-left .text-box .title {
        /* 【优化】改用 min() 兼容极小屏幕，防止文字折行撑破屏幕 */
        font-size: min(6vw, 24px); 
        margin-bottom: 8px;
        letter-spacing: 1px;
    }
    .welcome-page .welcome-left .text-box .subtitle {
        font-size: min(3.5vw, 13px);
        letter-spacing: 0.5px;
    }

    .welcome-page .welcome-left .btn-group {
        /* 【关键修复】推向底部 */
        margin-top: auto; 
        align-self: center; /* 居中 */
        width: 100%;
        max-width: 260px;
        gap: 15px;
        /* 增加底部安全距离，防止按钮太贴底 */
        margin-bottom: 10px; 
    }

    .welcome-page .welcome-left .welcome-btn {
        height: 44px;
        font-size: 15px;
    }
}