/* 导入主题样式 */
@import "{{ site.theme }}";

/* 自定义样式 */
:root {
  --primary-color: #0066cc;
  --secondary-color: #28a745;
  --text-color: #333;
  --bg-color: #f8f9fa;
  --border-radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 
               'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* 页眉 */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.logo {
  max-width: 120px;
  margin-bottom: 1rem;
}

.project-name {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
}

.project-tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 1rem 0;
}

/* CTA按钮 */
.cta-buttons {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 0 10px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid white;
}

/* 主内容 */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* 表格美化 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
}

th {
  background: var(--primary-color);
  color: white;
  padding: 15px;
  text-align: left;
}

td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

tr:hover {
  background: #f5f5f5;
}

/* 功能卡片 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* 页脚 */
.site-footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-links a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

/* 回到顶部按钮 */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

#back-to-top:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .project-name {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    margin: 5px 0;
  }
}
