html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    /* 核心修改：替换为背景图片 + 平铺 + 遮罩 */
    background: url(/assets/img/fastbg.jpg) repeat fixed; /* 背景图片 + 平铺 + 固定视差效果 */
    background-size: cover; /* 图片自适应覆盖，优先保证视觉完整性 */
    color: #474157;
    height: calc(100vh - 61px);
}

/* 新增：遮罩层（通过伪元素实现，不影响原有内容） */
#mainbody::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(197, 203, 210, 0.8);
    z-index: 0;
}

/* 保证内容在遮罩层上方显示 */
#mainbody > .container > .text-center {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 280px 0 50px;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347;
    /* 1、加大 H1 与下方宣传语间距 */
    margin-bottom: 30px;
}

/* 新增：宣传文字样式 */
.index-desc {
    margin: 0 auto 30px;
    /* 2、加宽宽度，不换行 */
    max-width: 800px;
    padding: 0 20px;
}

.index-desc-title {
    font-size: 22px;
    font-weight: 600;
    color: #171347;
    margin-bottom: 10px;
    line-height: 1.4;
}

.index-desc-content {
    font-size: 16px;
    color: #474157;
    line-height: 1.6;
    margin-bottom: 0;
    /* 确保不换行（可选加固） */
    white-space: normal;
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    z-index: 2;
    display: inline-block;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {
    #mainbody > .container > .text-center {
        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .index-desc-title {
        font-size: 18px;
    }

    .index-desc-content {
        font-size: 14px;
    }
}

.footer {
    background-color: #222;
    padding: 20px 0;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}