/* 引入 Rubik 字体 */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 全局容器类 */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用间距类 */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

/* 通用文本类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* 通用显示类 */
.d-flex { display: flex; }
.d-none { display: none; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }

/* 通用按钮样式 */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* 通用卡片样式 */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

/* 响应式工具类 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Header 样式 */
.header {
    background: #fff;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 0 40px;
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.logo span {
    color: #007bff;
}
.nav {
    display: flex;
    gap: 32px;
}
.nav a {
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav a:hover {
    color: #007bff;
}

/* Footer 样式 */
.footer {
    background: #181c23;
    color: #fff;
    padding: 40px 0 20px 0;
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-logo {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.footer-logo span {
    color: #38c6ff;
}
.footer-section {
    margin-bottom: 18px;
}
.footer-section-title {
    font-weight: 600;
    margin-bottom: 8px;
}
.footer-link {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
    opacity: 0.85;
}
.footer-link:hover {
    color: #38c6ff;
    opacity: 1;
}
.footer-copyright {
    text-align: center;
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 24px;
} 