* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #1a2537;
    --secondary: #3a86ff;
    --accent: #ff6b6b;
    --success: #06d6a0;
    --warning: #ffd166;
    --light: #f8f9fa;
    --dark: #121a26;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
}

body {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, #1e3a5f 100%);
    color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    flex: 1;
}

/* 浮动背景元素 */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: float 20s infinite linear;
}

.floating-shapes .shape:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.floating-shapes .shape:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.floating-shapes .shape:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 15%;
    animation-duration: 30s;
    animation-delay: 5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(0, 60px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, 30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* 介绍区域 */
.intro-section {
    padding: 60px 0 40px;
    text-align: left;
}

.intro-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--gray-200);
    text-indent: 2em;
    text-align: justify;
    line-height: 1.8;
}

.intro-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s, background 0.3s;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature i {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--secondary);
}

.feature span {
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    padding: 40px 0 80px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: clamp(20px, 3vw, 30px);
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--secondary);
}

.service-title {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 15px;
    color: var(--light);
    line-height: 1.3;
}

.service-desc {
    color: var(--gray-200);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(10px, 2vw, 12px) clamp(18px, 3vw, 24px);
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: #2a76e3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.btn-accent {
    background: var(--accent);
}

.btn-accent:hover {
    background: #e55a5a;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-success {
    background: var(--success);
}

.btn-success:hover {
    background: #05c18e;
    box-shadow: 0 5px 15px rgba(6, 214, 160, 0.3);
}

.btn-warning {
    background: var(--warning);
    color: var(--dark);
}

.btn-warning:hover {
    background: #e9bc5c;
    box-shadow: 0 5px 15px rgba(255, 209, 102, 0.3);
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.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;
}

/* 粒子背景 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .intro-section {
        padding: 40px 0 30px;
    }
    
    .intro-content h2 {
        flex-direction: column;
        gap: 5px;
    }
    
    .intro-content p {
        text-indent: 1.5em;
    }
    
    .intro-features {
        gap: 15px;
    }
    
    .feature {
        min-width: 120px;
        padding: 12px 15px;
    }
    
    .services-grid {
        gap: 20px;
        padding: 20px 0 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .intro-section {
        padding: 30px 0 20px;
    }
    
    .intro-content p {
        text-indent: 1em;
        text-align: left;
    }
    
    .intro-features {
        gap: 10px;
    }
    
    .feature {
        min-width: 100px;
        padding: 10px 12px;
    }
    
    .service-card {
        padding: 15px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 320px) {
    .intro-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 200px;
    }
}