* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
color: #333;
line-height: 1.6;
overflow-x: hidden;
}

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

/* 加载动画 */
.loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #1e3c72;
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
opacity: 0;
visibility: hidden;
}

.loader-text {
color: white;
font-size: 1.5rem;
margin-top: 20px;
opacity: 0;
animation: fadeInText 2s ease forwards;
}

.loader-bar {
width: 300px;
height: 4px;
background: rgba(255,255,255,0.2);
border-radius: 2px;
overflow: hidden;
margin-top: 20px;
}

.loader-progress {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #4CAF50, #2196F3);
border-radius: 2px;
animation: loadingBar 2s ease-in-out forwards;
}

@keyframes loadingBar {
0% { width: 0%; }
100% { width: 100%; }
}

@keyframes fadeInText {
0% { opacity: 0; }
100% { opacity: 1; }
}

/* 头部样式 */
header {
background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
color: white;
padding: 20px 0;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
position: relative;
overflow: hidden;
opacity: 0;
transform: translateY(-20px);
animation: slideDown 0.8s ease forwards 0.5s;
}

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

header::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
animation: pulse 8s infinite linear;
}

@keyframes pulse {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.header-content {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 1;
}

.logo {
display: flex;
align-items: center;
}

.logo img {
height: 50px;
margin-right: 15px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
animation: float 3s ease-in-out infinite;
}

@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}

.logo h1 {
font-size: 1.8rem;
font-weight: 700;
}

nav ul {
display: flex;
list-style: none;
}

nav li {
margin-left: 25px;
}

nav a {
color: white;
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
position: relative;
padding: 5px 0;
}

nav a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #4CAF50;
transition: width 0.3s ease;
}

nav a:hover::after {
width: 100%;
}

/* 英雄区域 */
.hero {
padding: 80px 0;
text-align: center;
background: rgba(255,255,255,0.9);
margin: 30px 0;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
position: relative;
overflow: hidden;
opacity: 0;
transform: scale(0.9);
animation: scaleIn 1s ease forwards 1s;
}

@keyframes scaleIn {
to {
    opacity: 1;
    transform: scale(1);
}
}

.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
background: linear-gradient(90deg, #4CAF50, #2196F3, #9C27B0);
background-size: 200% 100%;
animation: gradientShift 3s infinite alternate;
}

@keyframes gradientShift {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}

.hero h2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: #1e3c72;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.8s ease forwards 1.5s;
}

.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 30px;
color: #555;
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.8s ease forwards 1.8s;
}

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

.cta-button {
display: inline-block;
background: linear-gradient(90deg, #4CAF50, #2E7D32);
color: white;
padding: 12px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 1.1rem;
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
transition: all 0.3s ease;
opacity: 0;
transform: scale(0.8);
animation: pulseButton 2s infinite, fadeInScale 0.8s ease forwards 2.1s;
}

@keyframes fadeInScale {
to {
    opacity: 1;
    transform: scale(1);
}
}

@keyframes pulseButton {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}

.cta-button:hover {
background: linear-gradient(90deg, #2E7D32, #1B5E20);
box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
transform: translateY(-3px) scale(1.05);
}

/* 服务区域 */
.services {
padding: 60px 0;
}

.section-title {
text-align: center;
margin-bottom: 50px;
color: #1e3c72;
font-size: 2rem;
position: relative;
opacity: 0;
transform: translateY(20px);
}

.section-title.animate {
animation: fadeInUp 0.8s ease forwards;
}

.section-title::after {
content: '';
display: block;
width: 80px;
height: 4px;
background: linear-gradient(90deg, #4CAF50, #2196F3);
margin: 15px auto 0;
border-radius: 2px;
transform: scaleX(0);
transform-origin: center;
transition: transform 0.5s ease;
}

.section-title.animate::after {
animation: expandLine 0.8s ease forwards 0.5s;
}

@keyframes expandLine {
to {
    transform: scaleX(1);
}
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}

.service-card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0,0,0,0.08);
transition: all 0.3s ease;
position: relative;
opacity: 0;
transform: translateY(30px);
}

.service-card.animate {
animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(1).animate {
animation-delay: 0.2s;
}

.service-card:nth-child(2).animate {
animation-delay: 0.4s;
}

.service-card:nth-child(3).animate {
animation-delay: 0.6s;
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.5s ease;
}

.service-card:hover img {
transform: scale(1.05);
}

.service-content {
padding: 25px;
}

.service-content h3 {
color: #1e3c72;
margin-bottom: 15px;
font-size: 1.5rem;
}

/* 宣传图片区域 */
.promotion {
padding: 60px 0;
background: rgba(255,255,255,0.7);
border-radius: 15px;
margin: 40px 0;
}

.promotion-images {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 30px;
margin-top: 40px;
}

.promo-img {
width: 100%;
max-width: 500px;
border-radius: 10px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
transition: all 0.4s ease;
opacity: 0;
transform: translateY(30px);
}

.promo-img.animate {
animation: fadeInUp 0.8s ease forwards;
}

.promo-img:nth-child(1).animate {
animation-delay: 0.2s;
}

.promo-img:nth-child(2).animate {
animation-delay: 0.4s;
}

.promo-img:hover {
transform: scale(1.03);
box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 优势区域 */
.advantages {
padding: 60px 0;
}

.advantages-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 25px;
}

.advantage {
text-align: center;
padding: 30px 20px;
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: all 0.3s ease;
opacity: 0;
transform: translateY(30px);
}

.advantage.animate {
animation: fadeInUp 0.8s ease forwards;
}

.advantage:nth-child(1).animate {
animation-delay: 0.1s;
}

.advantage:nth-child(2).animate {
animation-delay: 0.2s;
}

.advantage:nth-child(3).animate {
animation-delay: 0.3s;
}

.advantage:nth-child(4).animate {
animation-delay: 0.4s;
}

.advantage:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.advantage i {
font-size: 2.5rem;
color: #2196F3;
margin-bottom: 20px;
display: block;
}

.advantage h3 {
color: #1e3c72;
margin-bottom: 15px;
}

/* 页脚 */
footer {
background: #1e3c72;
color: white;
padding: 50px 0 20px;
margin-top: 60px;
opacity: 0;
transform: translateY(20px);
}

footer.animate {
animation: fadeInUp 1s ease forwards;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 40px;
}

.footer-column h3 {
font-size: 1.3rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}

.footer-column h3::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 40px;
height: 3px;
background: #4CAF50;
}

.footer-column ul {
list-style: none;
}

.footer-column ul li {
margin-bottom: 10px;
opacity: 0;
transform: translateX(-20px);
}

.footer-column ul li.animate {
animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
to {
    opacity: 1;
    transform: translateX(0);
}
}

.footer-column a {
color: #ddd;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-column a:hover {
color: #4CAF50;
}

.copyright {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255,255,255,0.1);
font-size: 0.9rem;
color: #aaa;
}

/* 打字机效果 */
.typewriter {
overflow: hidden;
border-right: 2px solid #4CAF50;
white-space: nowrap;
margin: 0 auto;
animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
from { width: 0 }
to { width: 100% }
}

@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #4CAF50 }
}

/* 响应式设计 */
@media (max-width: 768px) {
.header-content {
    flex-direction: column;
    text-align: center;
}

.logo {
    margin-bottom: 15px;
}

nav ul {
    justify-content: center;
}

nav li {
    margin: 0 10px;
}

.hero h2 {
    font-size: 2rem;
}

.hero p {
    font-size: 1rem;
}

.promotion-images {
    flex-direction: column;
    align-items: center;
}
}