:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #1e40af;
    --white: #ffffff;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}


/* 英雄区域 */
.hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMjU2M2ViIiBkPSJNNDQ4IDI1NkM0NDggMTE0LjYgMzQ5LjQgMTYgMjU2IDE2UzY0IDExNC42IDY0IDI1NnM5OC42IDI0MCAyNDAgMjQwIDI0MC05OC42IDI0MC0yNDB6IiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+') no-repeat;
    background-size: cover;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(37, 99, 235, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: tranteY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(37, 99, 235, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* 特性部分 */
.features {
    padding: 6rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZThmMmZlIiBkPSJNNDQ4IDI1NkM0NDggMTE0LjYgMzQ5LjQgMTYgMjU2IDE2UzY0IDExNC42IDY0IDI1NnM5OC42IDI0MCAyNDAgMjQwIDI0MC05OC42IDI0MC0yNDB6IiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+') repeat;
    opacity: 0.1;
    z-index: -1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animated {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1).animated {
    animation-delay: 0.1s;
}
.feature-card:nth-child(2).animated {
    animation-delay: 0.2s;
}
.feature-card:nth-child(3).animated {
    animation-delay: 0.3s;
}
.feature-card:nth-child(4).animated {
    animation-delay: 0.4s;
}
.feature-card:nth-child(5).animated {
    animation-delay: 0.5s;
}
.feature-card:nth-child(6).animated {
    animation-delay: 0.6s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(10deg) scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--gray);
}

/* 统计数据 */
.stats {
    padding: 6rem 0;
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNDQ4IDI1NkM0NDggMTE0LjYgMzQ5LjQgMTYgMjU2IDE2UzY0IDExNC42IDY0IDI1NnM5OC42IDI0MCAyNDAgMjQwIDI0MC05OC42IDI0MC0yNDB6IiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+') no-repeat;
    background-size: cover;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* 客户评价 */
.testimonials {
    padding: 6rem 0;
    background-color: var(--light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    color: var(--primary);
    font-size: 1.5rem;
    opacity: 0.5;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-company {
    color: var(--gray);
    font-size: 0.875rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-dots {
    display: flex;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* 页脚 */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo-icon {
    margin-right: 0.75rem;
    font-size: 1.75rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 1rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 6rem;
    }
    
    .hero::before {
        width: 100%;
        opacity: 0.1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}