/* 极简风 CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: bold; color: #1a1a1a; text-decoration: none; }
.main-nav a { margin-left: 24px; color: #666; text-decoration: none; }
.main-nav a:hover { color: #0066ff; }

.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px;
  margin: 24px 0;
}
.hero h1 { font-size: 36px; margin-bottom: 16px; }
.hero p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
.search-form { max-width: 500px; margin: 0 auto; display: flex; gap: 8px; }
.search-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
}
.search-form button {
  padding: 12px 24px;
  background: #fff;
  color: #667eea;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.category-section {
  margin: 40px 0;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.category-section h2 {
  font-size: 22px;
  margin-bottom: 16px;
  border-left: 4px solid #0066ff;
  padding-left: 12px;
}
.category-section h2 a { color: #1a1a1a; text-decoration: none; }
.count { color: #999; font-size: 14px; font-weight: normal; }
.more-link {
  display: inline-block;
  margin-top: 16px;
  color: #0066ff;
  text-decoration: none;
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.card {
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.card:hover {
  background: #fff;
  border-color: #0066ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,102,255,0.15);
}
.card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.card p {
  font-size: 12px;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb {
  margin: 16px 0;
  font-size: 13px;
  color: #888;
}
.breadcrumb a { color: #0066ff; text-decoration: none; }
.breadcrumb span { color: #333; }

.tool-detail { background: #fff; border-radius: 12px; padding: 32px; margin: 16px 0; }
.tool-header { border-bottom: 1px solid #eee; padding-bottom: 24px; margin-bottom: 24px; }
.tool-header h1 { font-size: 32px; margin-bottom: 12px; }
.tool-meta { display: flex; gap: 12px; margin-bottom: 16px; }
.cat-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e3f2fd;
  color: #0066ff;
  border-radius: 4px;
  font-size: 12px;
}
.domain { color: #888; font-size: 13px; }
.tool-summary { font-size: 16px; color: #555; margin-bottom: 20px; line-height: 1.7; }
.visit-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.2s;
}
.visit-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102,126,234,0.4); }

.tool-content { line-height: 1.8; color: #444; }
.tool-content h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: #1a1a1a;
  border-left: 3px solid #0066ff;
  padding-left: 12px;
}
.tool-content p { margin-bottom: 12px; }
.tool-content ul { margin: 12px 0 12px 24px; }
.tool-content li { margin-bottom: 6px; }

.related { margin-top: 40px; padding-top: 24px; border-top: 1px solid #eee; }
.related h2 { font-size: 20px; margin-bottom: 16px; }
.related-list { list-style: none; }
.related-list li {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
}
.related-list a {
  color: #0066ff;
  text-decoration: none;
  font-weight: bold;
  margin-right: 12px;
}
.related-desc { color: #888; font-size: 13px; }

.site-footer {
  margin-top: 40px;
  padding: 24px 0;
  text-align: center;
  color: #888;
  font-size: 13px;
  border-top: 1px solid #eee;
}

.cat-header { padding: 24px; background: #fff; border-radius: 12px; margin-bottom: 24px; }
.cat-header h1 { font-size: 28px; margin-bottom: 8px; }
.cat-header p { color: #666; }
