* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 24px;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0052cc;
}

/* Banner部分 */
.banner {
    height: 50vh;
    background: linear-gradient(45deg, #0052cc, #0066ff);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.banner-content {
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    width: 100%;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-content h2::after {
    display: none;
}

.banner-content p {
    color: #fff;
    font-size: 24px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* 添加动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 添加背景动画效果 */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 82, 204, 0.8), rgba(0, 130, 255, 0.8));
    animation: gradientBG 10s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 调整内容区域的上边距，补偿banner高度的减少 */
section:first-of-type {
    margin-top: 70px; /* header高度 */
}

/* 各个部分的通用样式 */
section {
    padding: 80px 0;
}

/* 统一的标题样式 */
section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    color: #333;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60%;
    max-width: 200px;
    height: 3px;
    background: linear-gradient(90deg, #0052cc, transparent);
}

/* 响应式调整 */
@media (max-width: 768px) {
    section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    section h2::after {
        bottom: -8px;
        height: 2px;
    }
}

/* 服务部分样式优化 */
.services {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* 添加背景装饰 */
.services::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, rgba(0, 82, 204, 0.05), rgba(0, 130, 255, 0.05));
    border-radius: 50%;
    top: -200px;
    left: -200px;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services h2 {
    /* 移除特定的样式，使用通用样式 */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 auto;
    max-width: 1000px;
}

.service-item {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0052cc, #0066ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.15);
}

.service-item h3 {
    color: #0052cc;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 添加图标 */
.service-item::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230052cc"><path d="M7 17l5-5-5-5v10z"/></svg>') no-repeat center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-item:hover::after {
    opacity: 0.5;
    transform: translateX(0);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services h2 {
        font-size: 28px;
    }
    
    .service-item {
        padding: 30px 20px;
    }
}

/* 联系我们部分 */
.contact-info {
    text-align: center;
}

/* 页脚部分 */
footer {
    background-color: #0052cc;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 5px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
}

/* 产品展示部分 */
.products {
    background-color: #f8f9fa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 82, 204, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.product-icon img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.product-item h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.product-item p {
    color: #666;
    margin-bottom: 20px;
}

.product-link {
    color: #0052cc;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.product-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0052cc;
    transition: width 0.3s ease;
}

.product-item:hover .product-link::after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 关于我们部分样式优化 */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(0, 82, 204, 0.1), rgba(0, 130, 255, 0.1));
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #0052cc, #0066ff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    color: white;
    font-size: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #0052cc;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.about-features {
    display: grid;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #0052cc, #0066ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.feature-icon i {
    color: white;
    font-size: 20px;
}

.feature-content h4 {
    color: #333;
    margin-bottom: 5px;
}

.feature-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        margin: 30px 0;
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 15px;
    }
}

.products h2 {
    /* 移除特定的样式，使用通用样式 */
}

.contact h2 {
    /* 移除特定的样式，使用通用样式 */
}

/* 服务图标样式 */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0052cc, #0066ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.service-icon i {
    color: white;
    font-size: 32px;
    transform: rotate(-45deg);
}

.service-item:hover .service-icon {
    transform: rotate(0deg);
    background: linear-gradient(135deg, #0066ff, #0052cc);
}

.service-item:hover .service-icon i {
    transform: rotate(0deg);
}

/* 服务特性列表样式 */
.service-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
    padding: 0;
}

.service-features li {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: #0052cc;
    margin-right: 10px;
    font-size: 12px;
}

/* 修改服务项样式 */
.service-item {
    padding: 40px 25px;
}

.service-item h3 {
    margin: 0 0 15px;
}

.service-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 添加服务项悬停时的图标动画 */
.service-item:hover .service-features li {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-features {
        margin-top: 15px;
    }
}

/* 联系表单样式 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0052cc;
}

.submit-btn {
    background: linear-gradient(45deg, #0052cc, #0066ff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* 备案号链接样式 */
.beian-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: #666;
}

/* 表单响应式调整 */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
} 