/* 全局样式 - 科技蓝主题 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

:root {
    --tech-blue: #1677ff;
    --blue-dark: #0958d9;
    --blue-light: #4096ff;
    --bg-light: #f5f7fa;
    --text-main: #333333;
    --text-secondary: #666666;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body {
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
}

/* 导航栏 */
.header {
    background: var(--tech-blue);
    padding: 0 5%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow);
}

.logo {
    color: var(--white);
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--blue-light);
}

/* 轮播图 */
.banner-swiper {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 10;
}

.swiper-text h2 {
    font-size: 38px;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.swiper-text p {
    font-size: 18px;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* 页面标题banner */
.page-banner {
    height: 260px;
    background: linear-gradient(90deg, var(--tech-blue), var(--blue-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
}

.page-banner h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.95;
}

/* 内容容器 */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
}

/* 标题 */
.title {
    font-size: 24px;
    color: var(--tech-blue);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue-light);
    display: inline-block;
}

/* 卡片布局 */
.card-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    color: var(--tech-blue);
    margin-bottom: 8px;
    font-size: 18px;
}

.card-body p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 视频模块 */
.video-box {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 合作伙伴 */
.partner-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.partner-box img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.3s;
}

.partner-box img:hover {
    opacity: 1;
}

/* 联系信息 */
.contact-info {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.contact-info span {
    color: var(--tech-blue);
    font-weight: bold;
    display: inline-block;
    width: 100px;
}

.contact-info a {
    color: var(--tech-blue);
    text-decoration: none;
}

/* 地图 */
.map-box {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

/* 新闻列表 */
.news-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.news-item h3 {
    color: var(--tech-blue);
    font-size: 17px;
    margin-bottom: 5px;
}

.news-item .time {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}

/* 在线客服 */
.service-box {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.service-btn {
    width: 60px;
    height: 60px;
    background: var(--tech-blue);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.service-list {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 15px;
    margin-bottom: 10px;
    display: none;
}

.service-list.active {
    display: block;
}

.service-list p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list i {
    color: var(--tech-blue);
    font-size: 18px;
}

/* 页脚 */
.footer {
    background: var(--blue-dark);
    color: var(--white);
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    font-size: 14px;
}

.footer .record {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.8;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-list {
        gap: 15px;
    }
    .banner-swiper {
        height: 280px;
    }
    .swiper-text h2 {
        font-size: 24px;
    }
    .swiper-text p {
        font-size: 14px;
    }
    .video-box {
        height: 220px;
    }
    .container {
        padding: 20px;
    }
}