/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
html, body {
    width: 100%;
    min-height: 100vh;
    color: #333;
    background-color: #f7f9fc;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
input, button { border: none; outline: none; font-size: 14px; }
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary {
    background: #3667f5;
    color: #fff;
}
.btn-primary:hover {
    background: #2550d8;
}
.btn-outline {
    border: 1px solid #3667f5;
    color: #3667f5;
    background: transparent;
}
.btn-outline:hover {
    background: #3667f5;
    color: #fff;
}

/* 导航栏样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo img {
    height: 40px;
}
.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #3667f5;
}
.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-menu li a {
    font-size: 15px;
    color: #555;
    position: relative;
}
.nav-menu li a.active {
    color: #3667f5;
}
.nav-menu li a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3667f5;
}
.nav-buttons {
    display: flex;
    gap: 12px;
}
/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    padding: 20px 15px;
}
.mobile-menu li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

/* 首页Banner区块 */
.banner {
    width: 100%;
    height: 520px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("./banner-bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}
.banner-content h1 {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.banner-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 600px;
}
.banner-buttons {
    display: flex;
    gap: 16px;
}

/* 优势板块 */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 12px;
}
.section-title span {
    color: #888;
    font-size: 15px;
}
.advantage-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-item {
    background: #fff;
    padding: 32px 24px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}
.advantage-item:hover {
    transform: translateY(-8px);
}
.advantage-item h3 {
    margin: 16px 0 10px;
    font-size: 18px;
}
.advantage-item p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* 数据展示区 */
.data-wrap {
    background: #3667f5;
    color: #fff;
    padding: 60px 0;
}
.data-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    text-align: center;
}
.data-item h4 {
    font-size: 42px;
    margin-bottom: 8px;
}
.data-item p {
    opacity: 0.85;
}

/* 登录页专用样式 */
.login-wrap {
    display: flex;
    min-height: 100vh;
}
.login-left {
    width: 55%;
    background: linear-gradient(135deg, #3667f5, #5480ff);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 40px;
}
.login-left h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
.login-left p {
    max-width: 480px;
    line-height: 1.8;
    opacity: 0.9;
    font-size: 16px;
}
.login-right {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.login-box {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.login-box .logo {
    justify-content: center;
    margin-bottom: 30px;
}
.login-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #222;
}
.form-item {
    margin-bottom: 20px;
}
.form-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}
.form-item input {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 14px;
    transition: border 0.2s;
}
.form-item input:focus {
    border-color: #3667f5;
}
.login-submit {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}
.login-tip {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #777;
}
.login-tip a {
    color: #3667f5;
}

/* 页脚 */
.footer {
    background: #1a202c;
    color: #aaa;
    padding: 60px 0 30px;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}
.footer-col li {
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    font-size: 13px;
}

/* 响应式媒体查询 - 平板 */
@media screen and (max-width:992px) {
    .nav-menu, .nav-buttons { display: none; }
    .hamburger { display: block; }
    .banner-content h1 { font-size: 36px; }
    .advantage-list { grid-template-columns: repeat(2,1fr); }
    .data-list { grid-template-columns: repeat(2,1fr); gap:30px; }
    .footer-top { grid-template-columns: repeat(2,1fr); }
    /* 登录页平板适配 */
    .login-wrap { flex-direction: column; }
    .login-left, .login-right { width:100%; }
    .login-left { padding: 60px 20px; }
}

/* 响应式媒体查询 - 手机端 <768px */
@media screen and (max-width:768px) {
    .nav-wrap { height: 60px; }
    .logo img { height:32px; }
    .logo-text { font-size: 18px; }
    .banner { height: auto; padding: 80px 0; }
    .banner-content h1 { font-size: 28px; }
    .banner-content p { font-size: 16px; }
    .banner-buttons { flex-direction: column; gap:12px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 24px; }
    .advantage-list { grid-template-columns: 1fr; }
    .data-list { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .mobile-menu.active { display:block; }
}