/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero-section {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 100px 0;
}

section {
    padding: 80px 0;
}

.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

/* 导航栏滚动效果 */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: #343a40 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
}