/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #f5f7ff;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    cursor: pointer;
}

.nav-menu a:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.contact-btn {
    background: rgba(255,255,255,0.2);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid white;
}

/* 横幅 */
/* 横幅 - 带背景图片版本 */
.banner {
    height: 550px;
    background-image: url('banner-bg.jpg'); /* 你的背景图 */
    background-size: cover; /* 铺满屏幕 */
    background-position: center center; /* 居中 */
    background-repeat: no-repeat; /* 不重复 */
    background-attachment: fixed; /* 固定背景（可选） */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* 添加一层半透明黑色遮罩，让文字更清晰 */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 黑色半透明遮罩 */
    z-index: 1;
}

/* 让文字在遮罩上方 */
.banner-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.banner-content {
    max-width: 800px;
    padding: 0 20px;
}

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

.banner p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.banner-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.primary-btn {
    padding: 14px 36px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.outline-btn {
    padding: 14px 36px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.outline-btn:hover {
    background: white;
    color: #667eea;
}

/* 渐变动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务模块 */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    display: block;
    margin: 15px auto;
    border-radius: 2px;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(50px);
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 底部 */
.footer {
    background: #2a2a38;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

/* 响应式 */
@media (max-width: 900px) {
    .service-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .service-list {
        grid-template-columns: 1fr;
    }
    .banner h1 {
        font-size: 32px;
    }
    .nav-menu {
        gap: 15px;
    }
}