/* 基础样式重置与设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007BFF;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 20px;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 导航栏样式 */
.header {
    background: white;
    box-shadow: 0 2px 10px 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: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007BFF;
}

.logo span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #007BFF;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 首屏大图 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 服务介绍 */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2em;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-left: 4px solid #007BFF;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3em;
    color: #007BFF;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* 页脚 */
.footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
}

.footer p {
    margin: 10px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2em;
    }
}