:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --secondary-color: #00b8d9;
    --background-color: #ffffff;
    --text-color: #2d3436;
    --light-bg: #f8faff;
    --gradient-1: linear-gradient(135deg, #0066ff, #00b8d9);
    --gradient-2: linear-gradient(135deg, #00b8d9, #0066ff);
    --card-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

/* Header 样式 */
.header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img {
    height: 40px;  /* 调整 logo 图片高度 */
    width: auto;   /* 宽度自动，保持比例 */
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hero 区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 400% 400%;
    animation: heroGradientFlow 18s ease infinite;
    will-change: background-position;
    color: white;
    padding-top: 80px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 24px;
    opacity: 0.9;
}

/* 服务区域 */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* 核心优势区域 */
.features {
    padding: 100px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* 服务流程区域 */
.process {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.step {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.step h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* 客户评价区域 */
.testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial-card {
    padding: 40px;
    background: var(--light-bg);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.quote {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.client {
    color: var(--primary-color);
    font-weight: 500;
}

/* FAQ 区域 */
.faq {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.faq-item {
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 页脚 */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer a {
    color: white;  /* 保持和页脚文字相同的颜色 */
    transition: opacity 0.3s;  /* 添加平滑过渡效果 */
}

.footer a:hover {
    opacity: 0.8;  /* 悬停时略微降低透明度 */
}

.mt-2 {
    margin-top: 10px;
}

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

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

@media (prefers-reduced-motion: reduce) {
    .hero {
        animation: none;
    }
}

.service-card, .feature-card, .step, 
.testimonial-card, .faq-item {
    animation: fadeIn 0.6s ease-out forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-img {
        height: 32px;  /* 移动端稍微缩小 logo */
    }
    
    .logo-text {
        font-size: 20px;
    }
    .nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .service-card, .feature-card, 
    .step, .testimonial-card, .faq-item {
        padding: 30px;
    }
    
    .services-grid, .features-grid, 
    .process-steps, .testimonials-grid, 
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}