* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 顶部导航 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap:10px;
}
.logo-icon {
    width:40px;
    height:40px;
}
.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #f32828;
}
.nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}
.nav a:hover {
    color: #f32828;
}

/* 单张横幅容器 */
.banner-box {
    margin-top: 70px;
    width: 100%;
    height: 500px;
}
.banner-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.banner-item::after {
    content: "";
    position: absolute;
    left:0;top:0;right:0;bottom:0;
    background: rgba(0,0,0,0.45);
}
.banner-text {
    z-index: 2;
}
.banner-item h1 {
    font-size: 42px;
    margin-bottom: 20px;
}
.banner-item p {
    font-size: 18px;
    max-width: 800px;
    line-height: 1.8;
}

/* 通用容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}
.title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}
.title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #f32828;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 服务板块，卡片间隙40px */
.service-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.service-item {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    padding: 40px 30px;
	margin:10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.service-item:hover{
    transform: translateY(-6px);
    box-shadow:0 8px 16px rgba(243,40,40,0.12);
}
.service-item h3 {
    font-size: 22px;
    color: #f32828;
    margin-bottom: 15px;
}
.service-item p {
    color: #666;
    line-height: 1.7;
}

/* 功能展示板块 */
.function-section {
    background: #f9f9f9;
}
.function-box {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}
.function-item {
    width: calc(33.33% - 20px);
    min-width: 280px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.function-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(243,40,40,0.1);
}
.function-item img {
    padding-left:70px;
    height: 480px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}
.function-item p {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 关于我们 */
.about {
    background: #f5f7fa;
}
.about-content {
    line-height: 1.9;
    color: #555;
    font-size: 16px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* 联系我们 */
.contact {
    text-align: center;
}
.contact p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

/* 页脚 */
.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

/* 新增：页脚协议链接样式 */
.footer-link {
    font-size: 14px;
}
.footer-link a {
    color: #cccccc;
    text-decoration: none;
    margin: 0 8px;
}
.footer-link a:hover {
    color: #f32828;
}
.footer-link span {
    color: #777;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .function-item {
        width: 100%;
    }
    .nav a {
        margin-left: 15px;
        font-size: 14px;
    }
    .banner-item h1 {
        font-size: 28px;
    }
}