/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

/* 导航栏样式 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1890ff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.login-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    background: #1890ff;
    color: white;
    cursor: pointer;
    margin-left: 2rem;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background: #fff;
    margin: 15% auto;
    padding: 2rem;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.role-options {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.role-card {
    flex: 1;
    margin: 0 1rem;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.role-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* 核心优势部分 */
.section-title {
    text-align: center;
    margin: 4rem 0 2rem;
    font-size: 2rem;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 5%;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent, rgba(24, 144, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* 解决方案部分 */
.solutions {
    padding: 4rem 0;
    background: #fff;
    overflow: hidden;
}

.solution-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solution-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-content {
    padding: 1.5rem;
}

.solution-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.8rem;
}

.solution-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.solution-features i {
    color: #1890ff;
}

.learn-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.learn-more:hover::after {
    width: 100%;
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .solution-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solution-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .solution-image {
        height: 180px;
    }
}

/* 客户案例部分 */
.customers {
    background: #f8f9fa;
    padding: 6rem 0;
    position: relative;
}

.customer-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.customer-logo {
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.customer-logo img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
}

.customer-logo span {
    display: block;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.customer-logo:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

.customer-logo:hover img {
    transform: scale(1.05);
}

.customer-logo:hover span {
    color: #1890ff;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .customer-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .customer-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .customer-logo {
        padding: 1rem;
    }
    
    .customer-logo img {
        width: 100px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .customer-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .customer-logo img {
        width: 90px;
        height: 45px;
    }
    
    .customer-logo span {
        font-size: 0.85rem;
    }
}

/* CTA部分 */
.cta-section {
    background: linear-gradient(45deg, #1890ff, #36cfc9);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557426272-fc759fdf7a8d?w=1600&q=80') center/cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 页脚样式 */
footer {
    background: #f5f5f5;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
}

.footer-section.contact p {
    color: #666;
    margin: 0.5rem 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f2f5;
    transition: all 0.3s ease;
}

.social-link img {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e6f7ff;
    transform: translateY(-3px);
}

.social-link:hover img {
    transform: scale(1.1);
}

/* 添加悬浮提示 */
.social-link .tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-link .tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #333 transparent transparent;
}

.social-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -45px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-slider {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links a {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
} 

/* Hero部分样式优化 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    background: linear-gradient(45deg, #1890ff, #36cfc9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 3s ease infinite;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-btn:hover {
    background: #40a9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 添加动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* 更新feature-card中的图标样式 */
.feature-card i {
    font-size: 2.5rem;
    color: #1890ff;
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
}

.feature-card:hover i {
    transform: rotateY(360deg);
}

/* 更新role-card中的图标样式 */
.role-card i {
    font-size: 2.5rem;
    color: #1890ff;
    margin-bottom: 1rem;
}

/* 更新social-link中的图标样式 */
.social-link i {
    font-size: 1.5rem;
    color: #1890ff;
}

/* Logo图片大小调整 */
.logo img {
    height: 40px;
    width: auto;
} 

.customer-logo i {
    font-size: 2.5rem;
    color: #1890ff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.customer-logo:hover i {
    transform: scale(1.1);
    color: #40a9ff;
} 

/* 数据统计区块样式 */
.statistics {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    padding: 4rem 0;
    margin: 2rem 0;
}

.stat-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    font-size: 2.5rem;
    color: #1890ff;
    margin-bottom: 1rem;
    transition: transform 0.5s ease;
}

.stat-item:hover i {
    animation: bounce 0.8s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
    display: inline-block;
}

.stat-number.pulse {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* 添加动画效果 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item.animate {
    animation: countUp 0.8s ease forwards;
} 

/* 全局动画样式 */
.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 添加鼠标悬停波纹效果 */
.cta-btn {
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* 添加卡片悬停效果 */
.feature-card, .solution-card, .customer-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover, .solution-card:hover, .customer-logo:hover {
    transform: translateY(-10px) scale(1.02);
} 

/* 添加更多动画效果 */

/* 1. 导航栏链接悬停效果 */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1890ff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 2. 卡片发光效果 */
.feature-card, .solution-card, .customer-logo {
    position: relative;
}

.feature-card::before, .solution-card::before, .customer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent, rgba(24, 144, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before, .solution-card:hover::before, .customer-logo:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 3. 数字跳动动画 */
.stat-number {
    display: inline-block;
}

.stat-number.pulse {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 4. 图标旋转效果 */
.feature-card i, .stat-item i {
    transition: transform 0.5s ease;
}

.feature-card:hover i {
    transform: rotateY(360deg);
}

.stat-item:hover i {
    animation: bounce 0.8s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 5. 解决方案卡片悬停效果增强 */
.solution-card {
    perspective: 1000px;
}

.solution-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.solution-card:hover .solution-content {
    transform: translateZ(20px);
}

/* 6. 页面滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #1890ff, #36cfc9);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* 7. 按钮点击波纹效果增强 */
.cta-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 8. 3D翻转效果 */
.customer-logo {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.customer-logo:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* 9. 文字渐变动画 */
@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
} 