/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0680FF;
}

/* 英雄区域 */
.hero {
    background-color: #2c3e50;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #0680FF;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0066cc;
}

/* 特性区域 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 服务预览 */
.services-preview {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.services-preview h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-info h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #3498db;
}

.footer-legal {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

/* 服务页面 */
.services-page {
    padding: 80px 0;
    background-color: #fff;
}

.services-page h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #2c3e50;
}

.service-category {
    margin-bottom: 60px;
}

.service-category h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #0680FF;
    border-bottom: 2px solid #0680FF;
    padding-bottom: 10px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-detail {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-detail h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-detail p {
    margin-bottom: 20px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 15px;
}

/* 其他页面通用样式 */
.page-content {
    padding: 80px 0;
    background-color: #fff;
}

.page-content h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin-left: 0;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features h3,
    .services-preview h3,
    .services-page h2,
    .page-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .features,
    .services-preview,
    .services-page,
    .page-content {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .feature-item,
    .service-item,
    .service-detail {
        padding: 20px;
    }
}