/* 全局样式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* 顶部区域样式 */
.top-area {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 100px 0;
    color: white;
    text-align: center;
}

.banner-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.banner-btn .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    margin: 0 10px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-default {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* 工具和资源卡片样式 */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.single-tool, .single-resource {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.single-tool:hover, .single-resource:hover {
    transform: translateY(-5px);
}

.tool-icon, .resource-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-icon i, .resource-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.single-tool h3, .single-resource h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.single-tool ul, .single-resource ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-tool ul li, .single-resource ul li {
    margin-bottom: 10px;
}

.single-tool ul li a, .single-resource ul li a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.single-tool ul li a:hover, .single-resource ul li a:hover {
    color: var(--primary-color);
}

/* 页脚样式 */
.footer {
    background: var(--light-bg);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-text {
    color: var(--text-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-text h2 {
        font-size: 2rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .banner-btn .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
} 