/* 自定义样式补充 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* 自定义动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* 服务卡片悬停效果 */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 导航激活状态 */
.nav-link.active {
  color: #000;
  font-weight: 600;
}

/* 按钮样式增强 */
.btn-primary {
  background-color: #000;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  border: 2px solid #000;
  color: #000;
  transition: all 0.3s ease;
}

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

/* 文章卡片 */
.article-card {
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* 价格卡片 */
.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  border: 2px solid #000;
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.07);
}

/* 下载项目 */
.download-item {
  transition: all 0.3s ease;
}

.download-item:hover {
  background-color: #f5f5f5;
  transform: translateX(5px);
}

/* 移动端菜单 */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* 表单样式 */
.form-input {
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* 统计数字动画 */
.stat-number {
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}

/* 进度条 */
.progress-bar {
  transition: width 0.5s ease;
}

/* 标签样式 */
.tag {
  transition: all 0.2s ease;
}

.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 加载动画 */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 分页按钮 */
.pagination-btn {
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(.active):not(:disabled) {
  background-color: #f5f5f5;
}

.pagination-btn.active {
  background-color: #000;
  color: #fff;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

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

/* Pagination Styles (ul.page-numbers) */
ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

ul.page-numbers li {
    margin: 0;
}

ul.page-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 16px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    color: #4b5563;
    background-color: white;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
}

ul.page-numbers .page-numbers:hover:not(.dots) {
    border-color: #000;
    color: #000;
}

ul.page-numbers .page-numbers.current {
    background-color: #000;
    border-color: #000;
    color: white;
}

ul.page-numbers .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* Ensure next/prev buttons with icons look good */
ul.page-numbers .next.page-numbers,
ul.page-numbers .prev.page-numbers {
    padding: 0 20px;
}
