       
:root {
    --primary-color: #1E3A8A;
    --secondary-color: #3B82F6;
    --accent-color: #FFC107;
    --text-color: #333333;
    --light-bg: #F5F7FA;
    --dark-bg: #1E293B;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://img.freepik.com/free-vector/gradient-blue-tech-background_23-2149113881.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.cloud-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(15px);
    animation: float 30s infinite linear;
}

.cloud-1 {
    width: 150px;
    height: 70px;
    top: 20%;
    left: -150px;
    animation-delay: 0s;
}

.cloud-2 {
    width: 200px;
    height: 90px;
    top: 40%;
    left: -200px;
    animation-delay: 10s;
}

.cloud-3 {
    width: 180px;
    height: 80px;
    top: 70%;
    left: -180px;
    animation-delay: 20s;
}

@keyframes float {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(100vw + 200px));
    }
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e6a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--secondary-color);
    color: white;
}

.feature-card {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 12px;
}

.feature-card:hover {
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.ai-tool-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.ai-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.ai-tool-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-nav {
        display: none;
    }
}

/* 深色模式 */
.dark {
    --text-color: #F5F7FA;
    --light-bg: #1E293B;
    --dark-bg: #0F172A;
}

.dark .service-card,
.dark .stat-card,
.dark .feature-card,
.dark .ai-tool-card {
    background-color: #1E293B;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.dark .feature-card:hover {
    background-color: #334155;
}

.dark .feature-icon {
    background-color: rgba(59, 130, 246, 0.2);
}

.dark .nav-link,
.dark .footer-link {
    color: #F5F7FA;
}

.dark .nav-link:hover,
.dark .footer-link:hover {
    color: var(--accent-color);
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


 /* 首屏Canvas动画样式 */
 .hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
#communication-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #0f3460 0%, #1a508b 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
}
/* 动画元素基础样式 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.ai-tool-card, .service-card, .feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-tool-card:hover, .service-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.ai-tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.btn-primary {
    background: #1e40af;
    color: white;
    transition: background 0.3s ease;
}
.btn-primary:hover {
    background: #1e3a8a;
}
.btn-secondary {
    background: white;
    color: #1e40af;
    border: 1px solid #1e40af;
    transition: background 0.3s ease;
}
.btn-secondary:hover {
    background: #eff6ff;
}
.nav-link {
    color: #374151;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #1e40af;
}
.stat-card {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}
.stat-card:hover {
    transform: scale(1.05);
}