/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
}

/* 背景装饰元素 */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    animation: float 6s ease-in-out infinite;
}

.decoration-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.decoration-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%),
                url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=1200&h=600&fit=crop') center/cover;
    color: white;
    padding: 3rem 0;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

header > * {
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 优势展示样式 */
.advantages {
    margin: 4rem 0;
}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-weight: 700;
}

.advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    border-left: 4px solid #667eea;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.advantage-card:nth-child(2) {
    border-left-color: #4CAF50;
}

.advantage-card:nth-child(3) {
    border-left-color: #FF9800;
}

.advantage-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* 解决方案样式 */
.solutions {
    margin: 4rem 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240, 247, 255, 0.95) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.solutions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 700;
}

.solution-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.solution-list li {
    background: white;
    margin: 1.5rem 0;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #9C27B0;
    transition: all 0.3s ease;
}

.solution-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.15);
}

.solution-list strong {
    color: #2c3e50;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.solution-list p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 服务卡片样式 */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.service-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240, 247, 255, 0.95) 100%);
    border-left: 4px solid #4CAF50;
}

.service-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255, 248, 240, 0.95) 100%);
    border-left: 4px solid #FF9800;
}

.service-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240, 240, 255, 0.95) 100%);
    border-left: 4px solid #9C27B0;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

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

.service-card h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    font-size: 1rem;
}

/* 联系样式 */
.contact {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-background {
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1000&h=400&fit=crop') center/cover;
    padding: 4rem 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.contact-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.contact-background > * {
    position: relative;
    z-index: 2;
}

.contact h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.phone-link {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.phone-link:hover {
    background: #218838;
}

.qrcode {
    margin: 2rem auto;
    max-width: 200px;
}

.qrcode img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 底部样式 */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1200&h=400&fit=crop') center/cover;
    opacity: 0.1;
    z-index: 1;
}

footer > * {
    position: relative;
    z-index: 2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .services {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantage-cards {
        grid-template-columns: 1fr;
    }
    
    .service-card, .advantage-card {
        margin: 0.5rem 0;
        padding: 1.5rem;
    }
    
    .solutions {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .solution-list li {
        padding: 1.5rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact {
        padding: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 为每个卡片添加延迟动画 */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }