/* 全局样式 */
body {
    min-height: 1024px;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 1440px;
    margin: 0 auto;
}

/* 导航栏样式 */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 英雄区域样式 */
.hero {
    background-image: url('../image/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 按钮样式 */
.btn-primary {
    background-image: linear-gradient(to right, #2A5CFF, #00D1B3);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* 特色功能视频容器 */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    transform: scale(0.9);
}

.video-container:hover .play-button {
    transform: scale(1);
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.play-button i {
    color: #2A5CFF;
    font-size: 32px;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-cols-4, .grid-cols-3, .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .flex-col-mobile {
        flex-direction: column;
    }
    
    .w-1\/2 {
        width: 100%;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-3xl {
        font-size: 1.75rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
    
    .space-x-8 > * + * {
        margin-left: 1rem;
    }
    
    .space-x-6 > * + * {
        margin-left: 0.75rem;
    }
    
    .space-x-4 > * + * {
        margin-left: 0.5rem;
    }
}

@media (max-width: 480px) {
    .text-5xl {
        font-size: 2rem;
    }
    
    .text-4xl {
        font-size: 1.75rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
    }
    
    .text-2xl {
        font-size: 1.25rem;
    }
    
    .text-xl {
        font-size: 1.125rem;
    }
    
    .space-x-8, .space-x-6, .space-x-4 {
        display: flex;
        flex-direction: column;
    }
    
    .space-x-8 > * + *, .space-x-6 > * + *, .space-x-4 > * + * {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .py-8 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

@keyframes slideInFromBottom {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-slideIn {
    animation: slideInFromBottom 0.8s ease-out;
}

/* 倒计时样式 */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.875rem;
} 