/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
    float: right;
    margin-top: -60px;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0066cc;
}

/* 动态Banner */
.banner {
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    animation: move 20s linear infinite;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #0066cc;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* 业务服务 */
.services {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0066cc;
}

.service-item p {
    color: #666;
}

/* 案例展示 */
.cases {
    padding: 80px 0;
}

.cases h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-item p {
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

/* FAQ板块 */
.faq {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0066cc;
}

.faq-item p {
    color: #666;
}

/* 关于我们 */
.about {
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-content img {
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.about-text p {
    margin-bottom: 20px;
}

/* 联系方式 */
.contact {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.contact-content {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.contact-info {
    font-size: 18px;
    line-height: 2.5;
}

.contact-info strong {
    color: #0066cc;
}

.contact-qr {
    display: flex;
    gap: 40px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qr-item p {
    margin-top: 10px;
    font-weight: bold;
}

/* 友情链接 */
.links {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.links h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.links-grid a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.links-grid a:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-2px);
}

/* 底部版权 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer p {
    font-size: 16px;
    margin-bottom: 10px;
}

footer p a {
    color: #fff;
    text-decoration: none;
}

footer p a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
    
    .service-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo span {
        font-size: 18px;
        margin-top: 10px;
    }
    
    nav {
        margin-top: 20px;
    }
    
    nav ul {
        float: none;
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
        margin-bottom: 10px;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .banner p {
        font-size: 18px;
    }
    
    .service-grid,
    .case-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content img {
        width: 100%;
        max-width: 400px;
    }
    
    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    
    .links-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .links-grid a {
        width: 80%;
        text-align: center;
    }
}