/* 基础样式 */
body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c9cdd4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0a6b1;
}

/* 系统卡片样式 */
.system-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.system-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -10px rgba(22, 93, 255, 0.15);
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--card-color, #165DFF);
  transition: background-color 0.3s ease;
}

/* 图标动画效果 */
.system-card:hover .fa {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* 按钮悬停效果 */
.system-card:hover .flex.items-center.text-sm {
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .grid-cols-2, .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 颜色主题 */
.bg-primary { background-color: #165DFF; }
.bg-secondary { background-color: #36CFC9; }
.bg-accent { background-color: #FF7D00; }
.bg-neutral { background-color: #1D2129; }
.bg-neutral-light { background-color: #F2F3F5; }
.bg-neutral-medium { background-color: #C9CDD4; }
.bg-neutral-dark { background-color: #4E5969; }

.text-primary { color: #165DFF; }
.text-secondary { color: #36CFC9; }
.text-accent { color: #FF7D00; }
.text-neutral { color: #1D2129; }
.text-neutral-light { color: #F2F3F5; }
.text-neutral-medium { color: #C9CDD4; }
.text-neutral-dark { color: #4E5969; }

.border-primary { border-color: #165DFF; }
.border-secondary { border-color: #36CFC9; }
.border-accent { border-color: #FF7D00; }
.border-neutral { border-color: #1D2129; }
.border-neutral-light { border-color: #F2F3F5; }
.border-neutral-medium { border-color: #C9CDD4; }
.border-neutral-dark { border-color: #4E5969; }

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
</style>
