/* 基础样式 */
body {
  font-family: 'Lato', 'Noto Sans SC', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* 主色调 */
:root {
  --primary-color: #5e35b1; /* 清华紫 */
  --secondary-color: #9575cd;
  --accent-color: #ffc107;
}

/* 导航栏 */
.navbar {
  background-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  color: white !important;
  font-weight: bold;
}

.nav-link {
  color: rgba(255,255,255,0.8) !important;
}

.nav-link:hover {
  color: white !important;
}

/* 标题样式 */
h1, h2, h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

/* 内容卡片 */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

/* 列表样式 */
ul {
  list-style-type: square;
  padding-left: 1.5rem;
}

/* 链接样式 */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
}
