
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-right: 5px;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    color: white;
    margin-bottom: 40px;
    border-radius: 0 0 10px 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #eee;
}

.btn {
    display: inline-block;
    background: #6e8efb;
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    margin: 10px;
}

.btn:hover {
    background: #5a7df9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-light {
    background: transparent;
    border: 2px solid white;
}

.btn-light:hover {
    background: rgba(255,255,255,0.1);
}

/* 服务介绍 */
.services {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-top: 5px solid #6e8efb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #6e8efb;
    background: rgba(110, 142, 251, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.5rem;
}

/* AI服务专区 */
.ai-services {
    background: linear-gradient(to right, #f3f4f6, #eef2ff);
    padding: 80px 0;
    border-radius: 10px;
    margin: 60px 0;
}

.ai-header {
    text-align: center;
    margin-bottom: 40px;
}

.ai-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.ai-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
}

/* 功能展示 */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 300px;
    text-align: center;
}

.feature i {
    font-size: 40px;
    color: #6e8efb;
    margin-bottom: 15px;
}

/* 页脚 */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: left;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #6e8efb;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
}

.footer-links a:hover {
    color: white;
}

.contact-email {
    font-size: 1.2rem;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-email a {
    color: #6e8efb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.contact-email a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-email i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.copyright {
    margin-top: 30px;
    color: #aaa;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }
}
