/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.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;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #3498db, #8e44ad);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #3498db;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #fff;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

/* 三大理由 */
.reasons {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.reasons h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.reasons-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.reason-item {
    flex: 0 0 30%;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.reason-item:hover {
    transform: translateY(-10px);
}

.reason-item h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 22px;
}

/* 服务项目 */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-item {
    flex: 0 0 30%;
    text-align: center;
    padding: 30px;
}

.service-number {
    font-size: 48px;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 定制开发 */
.custom-development {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.custom-development h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.custom-development p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

/* 简单实用 */
.simple-use {
    padding: 80px 0;
    text-align: center;
}

.simple-use h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.simple-use p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* 底部 */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .banner {
        padding: 120px 0 80px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .reasons-container,
    .services-container {
        flex-direction: column;
        align-items: center;
    }
    
    .reason-item,
    .service-item {
        flex: 0 0 80%;
        margin-bottom: 30px;
    }
    
    .custom-development p,
    .simple-use p {
        padding: 0 20px;
    }
}