/* 通用页面Hero样式 - 与首页/产品页统一 */
.page-hero {
  background: linear-gradient(180deg, #F0FDFA 0%, #F8FAFC 100%);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.page-hero-badge {
  display: inline-block;
  background: rgba(13,148,136,0.1);
  color: #0D9488;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1b1c;
  margin: 0 0 12px;
}

.page-hero-title .highlight {
  color: #0D9488;
}

.page-hero-desc {
  font-size: 15px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.page-hero-stat {
  text-align: center;
}

.page-hero-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #0D9488;
}

.page-hero-stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

/* 市场页面九宫格卡片 */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.market-grid .card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.market-grid .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #0D9488;
}

.market-grid .card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  display: block;
}

.market-grid .card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1b1c;
}

.market-grid .card .desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-grid .card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.market-grid .card .tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f5f5f5;
  color: #6b7280;
}

.market-grid .card .price {
  font-size: 14px;
  font-weight: 600;
  color: #0D9488;
}

.market-grid .card .price.free {
  color: #52c41a;
}

/* 响应式 */
@media (max-width: 1024px) {
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .market-grid {
    grid-template-columns: 1fr;
  }
}

/* 市场页面卡片优化 */
.market-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.market-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #0D9488;
}

/* 博客卡片优化 */
.blog-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* 通用按钮优化 */
.btn-primary {
  background: linear-gradient(135deg, #0D9488, #14B8A6);
  border: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #374151;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  border-color: #0D9488;
  color: #0D9488;
}

/* 响应式 */
@media (max-width: 768px) {
  .page-hero {
    padding: 40px 0 50px;
  }
  .page-hero-title {
    font-size: 26px;
  }
  .page-hero-stats {
    gap: 24px;
  }
  .page-hero-stat-num {
    font-size: 22px;
  }
}
