/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 导航链接样式 */
.nav-link {
    position: relative;
    color: #6B7280;
}

.nav-link:hover {
    color: #4285F4;
}

.nav-link.active {
    color: #4285F4;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4285F4;
}

/* 下载选项卡样式 */
.download-tab {
    cursor: pointer;
    position: relative;
}

.download-tab.active {
    color: #4285F4;
}

.download-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4285F4;
}

/* FAQ 链接样式 */
.faq-link {
    cursor: pointer;
}

.faq-link:hover i {
    transform: translateX(5px);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #4285F4;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3367D6;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .download-tab {
        padding: 4px 8px;
        font-size: 14px;
    }
    
    .prose h2 {
        font-size: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-section {
    animation: fadeIn 0.5s ease forwards;
}

/* 图片悬停效果 */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* 卡片悬停效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #f1f1f1;
    }
    
    .bg-white {
        background-color: #2d2d2d;
    }
    
    .bg-gray-50 {
        background-color: #242424;
    }
    
    .text-gray-800 {
        color: #f1f1f1;
    }
    
    .text-gray-600 {
        color: #d1d1d1;
    }
    
    .text-dark {
        color: #ffffff;
    }
    
    .border-gray-100 {
        border-color: #3d3d3d;
    }
    
    .border-gray-200 {
        border-color: #4d4d4d;
    }
    
    .bg-light {
        background-color: #2d2d2d;
    }
    
    .hover:bg-gray-50:hover {
        background-color: #333333;
    }
    
    .bg-gray-800 {
        background-color: #1a1a1a;
    }
    
    .bg-gray-800:hover {
        background-color: #0d0d0d;
    }
    
    .bg-gray-200 {
        background-color: #3d3d3d;
    }
    
    .bg-gray-200:hover {
        background-color: #4d4d4d;
    }
    
    .text-gray-500 {
        color: #b1b1b1;
    }
    
    .text-gray-700 {
        color: #e1e1e1;
    }
    
    .bg-gray-100 {
        background-color: #3d3d3d;
    }
    
    .border-gray-300 {
        border-color: #5d5d5d;
    }
}
