/* 渐变背景设计 CSS */
:root {
    --primary-color: #ec4899;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --text-color: #ffffff;
    --light-text: #e5e7eb;
    --background: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.8);
    --border-color: rgba(148, 163, 184, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background);
}

.gradient-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 50%, 
        rgba(51, 65, 85, 0.85) 100%);
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部 */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--light-text);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.btn.secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--light-text);
    box-shadow: 0 10px 30px rgba(229, 231, 235, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* 服务区域 */
.services {
    padding: 80px 0;
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--text-color);
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.service-item p {
    color: var(--light-text);
    line-height: 1.8;
}

/* 功能区域 */
.features {
    padding: 80px 0;
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--text-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-box {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-box:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.feature-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.feature-box p {
    color: var(--light-text);
    line-height: 1.8;
}

/* 统计区域 */
.stats {
    padding: 80px 0;
    position: relative;
}

.stats h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 500;
}

/* 用户评价 */
.testimonials {
    padding: 80px 0;
    position: relative;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 300px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonial-item.active {
    opacity: 1;
    z-index: 1;
}

.testimonial-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--light-text);
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    left: -30px;
    top: -20px;
    color: rgba(236, 72, 153, 0.2);
    font-family: serif;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(229, 231, 235, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* 页脚 */
.footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(229, 231, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(229, 231, 235, 0.2);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    color: var(--light-text);
    border-top: 1px solid rgba(229, 231, 235, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        flex-direction: column;
    }
    
    .testimonial-slider {
        height: 250px;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item, .feature-box, .stat-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }

.feature-box:nth-child(1) { animation-delay: 0.4s; }
.feature-box:nth-child(2) { animation-delay: 0.5s; }
.feature-box:nth-child(3) { animation-delay: 0.6s; }
.feature-box:nth-child(4) { animation-delay: 0.7s; }

.stat-item:nth-child(1) { animation-delay: 0.8s; }
.stat-item:nth-child(2) { animation-delay: 0.9s; }
.stat-item:nth-child(3) { animation-delay: 1s; }
.stat-item:nth-child(4) { animation-delay: 1.1s; }