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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background-color: #6e29f6;
    color: white;
}

.btn-primary:hover {
    background-color: #5a1ed9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(110, 41, 246, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: #6e29f6;
    color: #6e29f6;
}

.btn-outline:hover {
    background-color: #6e29f6;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-login {
    background-color: transparent;
    color: #333;
    padding: 10px 20px;
}

.btn-login:hover {
    background-color: #f5f5f5;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 18px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 22px;
}

.logo-icon {
    font-size: 28px;
    margin-right: 10px;
    color: #6e29f6;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6e29f6;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #f8f7ff 0%, #f0eeff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #222;
    background: linear-gradient(90deg, #6e29f6, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6e29f6;
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
    margin-top: 8px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #f5f3ff);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(110, 41, 246, 0.15);
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 120px;
    height: 120px;
}

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

.floating-card i {
    font-size: 32px;
    color: #6e29f6;
    margin-bottom: 12px;
}

.floating-card h4 {
    font-size: 14px;
    color: #333;
    text-align: center;
}

.card1 {
    top: 20%;
    left: 10%;
}

.card2 {
    top: 10%;
    right: 15%;
}

.card3 {
    bottom: 20%;
    left: 15%;
}

.card4 {
    bottom: 10%;
    right: 10%;
}

/* 通用区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 产品服务 */
.products {
    padding: 100px 0;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(110, 41, 246, 0.15);
    border-color: #e6deff;
}

.product-icon {
    font-size: 48px;
    color: #6e29f6;
    margin-bottom: 24px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.product-description {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-link {
    color: #6e29f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.product-link:hover {
    gap: 12px;
}

/* 核心优势 */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f7ff 0%, #f0eeff 100%);
}

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    color: #6e29f6;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* 行业解决方案 */
.solutions {
    padding: 100px 0;
    background-color: #fff;
}

.solution-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.solution-carousel::-webkit-scrollbar {
    display: none;
}

.solution-slide {
    flex: 0 0 300px;
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.solution-slide.active {
    border-color: #6e29f6;
    box-shadow: 0 20px 60px rgba(110, 41, 246, 0.15);
}

.solution-icon {
    font-size: 48px;
    color: #6e29f6;
    margin-bottom: 24px;
}

.solution-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.solution-description {
    color: #666;
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.carousel-btn {
    background: #f5f5f5;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: #6e29f6;
    color: white;
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #6e29f6;
}


/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer .logo {
    color: white;
    margin-bottom: 24px;
    font-size: 24px;
}

.footer-description {
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #6e29f6;
}

.footer-title {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #6e29f6;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #aaa;
}

.footer-contact i {
    color: #6e29f6;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #6e29f6;
}

/* 服务特性列表 */
.service-features {
    margin: 20px 0 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.feature-item i {
    color: #6e29f6;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-grid, .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .btn-large {
        padding: 14px 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}