/* 
  主样式文件 - main.css
  MCP导航网站 - mcp.winzheng.com
*/

/* === 基础设置 === */
:root {
  /* 主色调 */
  --tiger-bronze: #5C4A1D;         /* 虎符铜色 */
  --tiger-gold: #D6A840;          /* 虎符金色 */
  --tiger-red: #9A3412;           /* 虎符赤印色 */
  --tiger-iron: #2D2D2D;          /* 深铁灰色 */

  --primary-color: var(--tiger-bronze);       /* 蓝色主色调 */
  --primary-dark: #3e320f;        /* 深蓝，用于悬停状态 */
  --primary-light: #f1e7cf;       /* 浅蓝，用于背景 */
  
  /* 辅助色 */
  --secondary-color: #4F46E5;     /* 紫色辅助色 */
  --accent-color: var(--tiger-gold);        /* 橙色强调色，用于CTA */
  
  /* 中性色 */
  --dark: #1E293B;                /* 近黑色，用于主要文本 */
  --gray-dark: #475569;           /* 深灰，用于次要文本 */
  --gray-medium: #94A3B8; /* 原灰色保留 */
  --outline-color: var(--tiger-bronze);         /* 中灰，用于边框 */
  --gray-light: #E2E8F0;          /* 浅灰，用于分隔线 */
  --gray-lightest: #F8FAFC;       /* 近白色，用于背景 */
  --white: #FFFFFF;               /* 纯白色 */
  
  /* 功能色 */
  --success: #10B981;             /* 绿色，用于成功状态 */
  --error: #EF4444;               /* 红色，用于错误状态 */
  --warning: #F59E0B;             /* 橙色，用于警告状态 */
  --info: #3B82F6;                /* 蓝色，用于信息状态 */
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--gray-lightest);
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 链接 */
a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* 段落 */
p {
  margin-bottom: 1rem;
}

/* 标题 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

/* 章节标题 */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--gray-dark);
  max-width: 600px;
  margin: 0 auto;
}

/* 网格布局 */
.mcp-servers-grid,
.mcp-clients-grid,
.tool-reviews-container,
.tools-grid,
.resources-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* 响应式网格布局 */
@media screen and (max-width: 1440px) {
  .mcp-servers-grid,
  .mcp-clients-grid,
  .tool-reviews-container,
  .tools-grid,
  .resources-grid,
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 1200px) {
  .mcp-servers-grid,
  .mcp-clients-grid,
  .tool-reviews-container,
  .tools-grid,
  .resources-grid,
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 992px) {
  .mcp-servers-grid,
  .mcp-clients-grid,
  .tool-reviews-container,
  .tools-grid,
  .resources-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .mcp-servers-grid,
  .mcp-clients-grid,
  .tool-reviews-container,
  .tools-grid,
  .resources-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* 按钮样式 */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--white);
}

.btn-secondary {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.btn-highlight {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-highlight:hover {
  background-color: var(--tiger-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--white);
}

.btn-tool {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.875rem;
}

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

.btn-review {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.btn-review:hover {
  border-bottom: 2px solid var(--primary-color);
}

.btn-case {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.btn-case:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: var(--white);
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.read-more:hover {
  margin-left: 5px;
}

.view-all {
  text-align: center;
  margin-top: 2rem;
}

/* === 占位图样式 === */
.icon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 8px;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--primary-color);
  height: 100%;
  min-height: 150px;
  font-size: 2rem;
  border-radius: 0.5rem;
}

.image-placeholder.cta, 
.image-placeholder.about {
  min-height: 200px;
  width: 100%;
}

.image-placeholder.case {
  height: 100%;
  min-height: 350px;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-placeholder i {
  margin-right: 0.75rem;
}

/* === 顶部导航栏 === */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.logo img {
  height: 60px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a i {
  margin-right: 0.35rem;
  font-size: 0.9em;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.nav-menu li.highlight a {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-menu li.highlight a i {
  color: var(--primary-color);
}

/* 剩余的完整原有CSS样式保持不变 */
/* 包括英雄区域、MCP服务器和客户端、工具评测、资源中心、开发者故事、趋势资讯、页脚等所有原有样式 */

/* === 英雄区域 === */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
  background-size: 50px 50px;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.search-container {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.search-form {
  display: flex;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.search-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: none;
  outline: none;
}

.search-form button {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-form button:hover {
  background-color: var(--tiger-red);
}

.hot-searches {
  font-size: 0.875rem;
  opacity: 0.9;
}

.hot-searches a {
  color: var(--white);
  margin: 0 0.5rem;
  text-decoration: underline;
  text-underline-offset: 2px
}

.hot-searches a:hover {
  text-decoration: none;
}

/* 新增：MCP Server和Client sections样式 */
.popular-mcp-servers,
.popular-mcp-clients {
  padding: 2rem 0;
  background-color: var(--gray-lightest);
}

.mcp-server-card,
.mcp-client-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mcp-server-card:hover,
.mcp-client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0,0.1);
}

.server-header,
.client-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.server-icon,
.client-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 0.5rem;
  font-size: 1.5rem;
}

.server-rating,
.client-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.server-rating .stars,
.client-rating .stars {
  color: var(--accent-color);
  font-size: 0.875rem;
}

.server-rating .count,
.client-rating .count {
  font-size: 0.75rem;
  color: var(--gray-dark);
  font-weight: 600;
}

.mcp-server-card h3,
.mcp-client-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.server-desc,
.client-desc {
  color: var(--gray-dark);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex: 1;
}

.server-meta,
.client-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.75rem;
}

.tech-stack {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.github-stars {
  color: var(--gray-dark);
}

/* MCP工具评测样式 */
.mcp-tool-reviews {
  padding: 2rem 0;
  background-color: var(--white);
}

.tool-review-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--primary-color);
}

.tool-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.review-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.review-badge i {
  margin-right: 0.5rem;
}

.tool-review-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.tool-review-card p {
  color: var(--gray-dark);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.review-meta .date {
  color: var(--gray-dark);
  font-size: 0.75rem;
}
/* === 工具部分 === */
.featured-tools {
  padding: 2rem 0;
  background-color: var(--gray-lightest);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.tool-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tool-header img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.stars {
  color: var(--accent-color);
  font-size: 0.875rem;
}

.count {
  font-size: 0.75rem;
  color: var(--gray-dark);
  font-weight: 600;
}

.tool-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tool-desc {
  color: var(--gray-dark);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex: 1;
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.75rem;
}

.tech-stack {
  background-color: var(--primary-light);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.github-stars {
  color: var(--gray-dark);
}

/* === 应用场景展示 === */
.use-cases {
  padding: 2rem 0;
  background-color: var(--white);
}

.cases-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.case-slide {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

.case-content {
  flex: 1;
  padding: 3rem;
}

.case-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.case-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.case-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tool-tag {
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}

.case-image {
  flex: 0 0 40%;
  height: 350px;
  overflow: hidden;
}

.case-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.prev-case, .next-case {
  background: var(--white);
  border: 1px solid var(--gray-light);
  color: var(--primary-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prev-case:hover, .next-case:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.case-dots {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.case-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gray-medium);
  margin: 0 0.25rem;
  transition: all 0.3s ease;
}

.case-dot.active {
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
}

/* === 测评部分 === */
.recent-reviews {
  padding: 2rem 0;
  background-color: var(--white);
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.review-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.review-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.review-card:hover .review-image img {
  transform: scale(1.05);
}

.review-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.date {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.review-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  font-size: 0.875rem;
  color: var(--gray-dark);
}

.btn-review {
  margin-top: auto;
}

/* === 开发者资源中心 === */
.dev-resources {
  padding: 2rem 0;
  background-color: var(--gray-lightest);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.resource-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-bottom: 1.25rem;
}

.resource-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.resource-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.resource-link:hover i {
  transform: translateX(5px);
}

/* === 开发者故事 === */
.dev-stories {
  padding: 2rem 0;
  background-color: var(--white);
}

.stories-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.story-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.story-quote {
  position: relative;
  padding: 1.5rem 0;
}

.story-quote i.fa-quote-left {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 1.5rem;
  color: var(--primary-light);
}

.story-quote i.fa-quote-right {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 1.5rem;
  color: var(--primary-light);
}

.story-quote p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  margin: 0;
  padding: 0 1.5rem;
}

.story-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}

.author-avatar {
  flex: 0 0 50px;
  height: 50px;
  margin-right: 1rem;
}

.avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--gray-dark);
  margin: 0;
}

/* === 趋势资讯 === */
.latest-news {
  padding: 2rem 0;
  background-color: var(--gray-lightest);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.news-card .date {
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

/* === 提交工具CTA === */
.submit-cta {
  padding: 2rem 0;
  background-color: var(--primary-light);
}

.cta-container {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-content {
  flex: 1;
  padding-right: 2rem;
}

.cta-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 1.5rem;
}

.cta-image {
  flex: 0 0 40%;
}

.cta-image img {
  max-width: 100%;
  height: auto;
}

/* === 关于我们部分 === */
.about-brief {
  padding: 2rem 0;
  background-color: var(--white);
}

.about-container {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image {
  flex: 0 0 40%;
  padding-right: 2rem;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  margin-bottom: 0.5rem;
}

/* === 算力服务推广 === */
.service-promotion {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.promotion-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.promotion-container h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.promotion-container p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* === 页脚 === */
.site-footer {
  background-color: var(--dark);
  color: var(--gray-light);
  padding-top: 4rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 0 0 100%;
  max-width: 300px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 1rem;
}

.footer-links {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.link-column {
  margin-bottom: 2rem;
  min-width: 180px;
}

.link-column h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.link-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.link-column ul {
  list-style: none;
}

.link-column li {
  margin-bottom: 0.75rem;
}

.link-column a {
  color: var(--gray-light);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.link-column a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.legal-links a {
  color: var(--gray-light);
  margin-left: 1.5rem;
}

.legal-links a:hover {
  color: var(--white);
}

/* === 动画效果 === */
.animate-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.page-loaded {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 导航栏滚动效果 */
.header-scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* === 响应式设计 === */
/* 工具部分响应式 */
@media screen and (max-width: 1200px) {
  .tools-grid,
  .trends-grid,
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .category-card {
    padding: 2rem;
  }
  
  .category-card .icon {
    font-size: 2.5rem;
  }
  
  .category-card h3 {
    font-size: 1.25rem;
  }
  
  .category-card p {
    font-size: 0.875rem;
  }
  
  .case-slide {
    flex-direction: column;
  }
  
  .case-content,
  .case-image {
    flex: 0 0 100%;
  }
  
  .case-image {
    height: 200px;
  }
  
  .image-placeholder.case {
    min-height: 200px;
  }
}

@media screen and (max-width: 992px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .review-image {
    height: 180px;
  }
  
  .cta-container,
  .about-container {
    flex-direction: column;
  }
  
  .cta-content,
  .about-content {
    text-align: center;
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .about-image {
    order: -1;
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .stories-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-menu li {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu a {
    display: block;
    padding: 0.75rem 0;
  }
  
  .nav-menu a i {
    margin-right: 0.5rem;
    font-size: 1em;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .category-card {
    padding: 1.5rem;
  }
  
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .review-card {
    flex-direction: column;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    margin-top: 1rem;
  }
  
  .legal-links a {
    margin: 0 0.75rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-form button {
    width: 100%;
    padding: 0.75rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .tools-grid,
  .trends-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .review-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .case-content {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    padding: 2rem;
  }
}

/* 工具提示样式 */
.tooltip {
  position: absolute;
  background-color: var(--dark);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 5px 5px 5px;
  border-style: solid;
  border-color: transparent transparent var(--dark) transparent;
}

/* 加载器样式 */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader.loaded {
  opacity: 0;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--primary-light);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* === 虎符风格视觉增强 === */

/* 虎纹背景图（英雄区、页脚） */
.hero-section {
  background: linear-gradient(135deg, rgba(92,74,29,0.95), rgba(62,50,15,0.95)),
              url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNDAnIGhlaWdodD0nNDAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHJlY3Qgd2lkdGg9JzQwJyBoZWlnaHQ9JzQwJyBmaWxsPSIjNDMzMzIxIi8+PHBhdGggZD0nTTEwIDMwIEMyMCAyMCAzMCAzMCA0MCAyMCcgc3Ryb2tlPSIjN2Y3YzVlIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiLz48L3N2Zz4=');
  background-size: cover;
  background-blend-mode: overlay;
}

/* 页脚同样加深虎纹背景 */
.site-footer {
  background: linear-gradient(135deg, rgba(30,25,15,0.98), rgba(20,15,10,0.98)),
              url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNDAnIGhlaWdodD0nNDAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHJlY3Qgd2lkdGg9JzQwJyBoZWlnaHQ9JzQwJyBmaWxsPSIjNDMzMzIxIi8+PHBhdGggZD0nTTEwIDMwIEMyMCAyMCAzMCAzMCA0MCAyMCcgc3Ryb2tlPSIjN2Y3YzVlIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiLz48L3N2Zz4=');
  background-size: contain;
  background-blend-mode: overlay;
}

/* 卡片 hover 光泽效果（仿青铜反光） */
.mcp-server-card:hover,
.mcp-client-card:hover,
.tool-review-card:hover,
.news-card:hover {
  box-shadow: 0 10px 20px rgba(92, 74, 29, 0.4), 0 0 0 1px var(--tiger-gold);
  transform: translateY(-5px);
}

/* 标题下划线铜色点缀 */
.section-title h2 {
  position: relative;
}

.section-title h2::after {
  content: '';
  display: block;
  margin: 0.5rem auto 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--tiger-bronze), var(--tiger-gold));
  border-radius: 2px;
}

/* 卡片边框仿符印铜框 */
.mcp-server-card,
.mcp-client-card,
.tool-review-card,
.news-card,
.resource-card,
.story-card {
  border: 1px solid var(--tiger-bronze);
}

/* 主要按钮 hover 添加金边光感 */
.btn-primary:hover {
  box-shadow: 0 0 0 2px var(--tiger-gold), 0 6px 10px rgba(0,0,0,0.2);
}

/* 工具评分星星颜色强化金铜感 */
.stars {
  color: var(--tiger-gold);
}
