

/* Tailwind 自定义工具类 */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .content-auto {
    content-visibility: auto;
  }
  .text-balance {
    text-wrap: balance;
  }
  .card-hover {
    transition: all 0.3s ease;
  }
  .card-hover:hover {
    box-shadow: var(--tw-shadow-card-hover);
    transform: translateY(-2px);
  }
}

/* 全局基础样式 */
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #1d2129;
  background-color: #f5f7fa;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f5f7fa;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: #c9cdd4;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #86909c;
}

/* 导航栏滚动效果 */
.navbar-scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}