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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
    font-size: 24px;
    color: #1890ff;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links a .nav-icon {
    font-size: 20px;
    line-height: 1;
}

.nav-links a:hover {
    background-color: #e6f7ff;
    color: #1890ff;
}

.nav-links a.active {
    background-color: #1890ff;
    color: #fff;
}

/* 首页样式 */
.home-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-container h2 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #333;
    border-left: 4px solid #1890ff;
    padding-left: 15px;
}

.home-content {
    text-align: center;
    padding: 40px 20px;
}

.home-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.feature-list {
    list-style: none;
    display: inline-block;
    text-align: left;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 2;
}

.feature-list li {
    padding: 8px 0;
}

.home-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #1890ff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #40a9ff;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background-color: #d9d9d9;
}

/* 底部固定导航栏 */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.bottom-navbar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    transition: all 0.3s;
    padding: 8px 12px;
    flex: 1;
}

.bottom-navbar .nav-item:hover {
    color: #1890ff;
}

.bottom-navbar .nav-item.active {
    color: #1890ff;
}

.bottom-navbar .nav-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.bottom-navbar .nav-text {
    font-size: 12px;
    white-space: nowrap;
}

/* 给页面内容添加底部留白，防止被导航栏遮挡 */
.container {
    padding-bottom: 80px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .home-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}