/* ============================================================
   OPC AI 导航 - 主样式
   设计理念：深空黑底 + 霓虹光晕 + 大字号 + 大留白
   调性：技术感 / 未来感 / 10× Growth
   ============================================================ */

:root {
  /* 主色 */
  --bg-base: #0a0a0f;
  --bg-elev-1: #12121a;
  --bg-elev-2: #1a1a26;
  --bg-elev-3: #22222f;
  --border: #2a2a3a;
  --border-light: #353548;

  /* 文字 */
  --text-primary: #f4f4f8;
  --text-secondary: #a0a0b8;
  --text-tertiary: #6b6b80;

  /* 强调色 */
  --accent: #00ff88;       /* 增长绿 */
  --accent-2: #6366f1;     /* 靛蓝紫 */
  --accent-3: #ec4899;     /* 粉 */
  --accent-4: #fbbf24;     /* 金 */
  --accent-5: #22d3ee;     /* 青 */

  /* 渐变 */
  --grad-primary: linear-gradient(135deg, #00ff88 0%, #6366f1 100%);
  --grad-secondary: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  --grad-glow: radial-gradient(circle at center, rgba(0,255,136,0.15) 0%, transparent 70%);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* 间距 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* 字号 */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --fs-3xl: 48px;
  --fs-4xl: 64px;
  --fs-hero: clamp(48px, 8vw, 96px);
}

/* ============== 重置 ============== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============== 背景纹理 ============== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(99,102,241,0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(0,255,136,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(236,72,153,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ============== 导航栏 ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

/* 搜索框 */
.nav-search {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
  pointer-events: none;
}

.nav-search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.2s;
}

.nav-search-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev-2);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.08);
}

.nav-search-input::placeholder {
  color: var(--text-tertiary);
}

.nav-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-elev-2);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: var(--s-2);
  display: none;
  max-height: 480px;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 200;
}

.nav-search-suggest.active {
  display: block;
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-sm);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.suggest-item:hover,
.suggest-item.highlighted {
  background: var(--bg-elev-3);
}

.suggest-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

.suggest-info {
  flex: 1;
  min-width: 0;
}

.suggest-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.suggest-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggest-cat {
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}

.suggest-empty {
  padding: var(--s-4);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

.suggest-name mark,
.suggest-desc mark {
  background: rgba(0,255,136,0.2);
  color: var(--accent);
  padding: 0 2px;
  border-radius: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 700;
  font-size: var(--fs-lg);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 0 20px rgba(0,255,136,0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-sub {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent);
}

/* ============== Hero ============== */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-9) var(--s-6) var(--s-8);
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--bg-elev-1);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--s-5);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-5);
  background: linear-gradient(180deg, #ffffff 0%, #8888aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto var(--s-6);
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--s-7);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: var(--fs-3xl);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-top: var(--s-2);
}

/* ============== 容器 ============== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* ============== 区块标题 ============== */
.section {
  padding: var(--s-8) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--s-6);
  gap: var(--s-5);
  flex-wrap: wrap;
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title small {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: var(--s-2);
  letter-spacing: 0;
}

.section-link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.section-link:hover {
  color: var(--accent);
}

/* ============== 分类网格 ============== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-4);
}

.cat-card {
  position: relative;
  padding: var(--s-5);
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cat-glow, var(--grad-glow));
  opacity: 0;
  transition: opacity 0.3s;
}

.cat-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--bg-elev-2);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: var(--s-4);
  position: relative;
  z-index: 1;
}

.cat-name {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--s-2);
  position: relative;
  z-index: 1;
}

.cat-tagline {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--s-3);
  position: relative;
  z-index: 1;
}

.cat-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--s-4);
  position: relative;
  z-index: 1;
}

.cat-count {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  position: relative;
  z-index: 1;
}

.cat-count-num {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============== 工具卡片 ============== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-3);
}

.tool-card {
  position: relative;
  padding: var(--s-4);
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.tool-card:hover {
  background: var(--bg-elev-2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tool-card-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.tool-favicon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-elev-3);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}

.tool-favicon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-name {
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tool-tags {
  display: flex;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-2);
}

.tool-tag {
  font-size: var(--fs-xs);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-elev-3);
  color: var(--text-secondary);
}

.tool-tag.boost {
  background: rgba(0,255,136,0.1);
  color: var(--accent);
  font-weight: 600;
}

/* ============== 详情页 ============== */
.tool-page {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-6);
}

.tool-hero {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--border);
}

.tool-hero-icon {
  width: 96px;
  height: 96px;
  border-radius: var(--r-lg);
  background: var(--bg-elev-2);
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 40px rgba(0,255,136,0.2);
}

.tool-hero-info {
  flex: 1;
}

.tool-hero-name {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}

.tool-hero-cat {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--s-3);
}

.tool-hero-cat a {
  color: var(--accent);
}

.tool-hero-desc {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: 1.5;
}

.tool-actions {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-primary);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(0,255,136,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,255,136,0.5);
}

.btn-ghost {
  background: var(--bg-elev-1);
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--border-light);
  background: var(--bg-elev-2);
}

.tool-section {
  margin-bottom: var(--s-7);
}

.tool-section h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.tool-section h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.tool-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--fs-base);
}

.opc-card {
  background: linear-gradient(135deg, rgba(0,255,136,0.05) 0%, rgba(99,102,241,0.05) 100%);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin-top: var(--s-4);
}

.opc-card-title {
  font-size: var(--fs-base);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.boost-meter {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.boost-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-elev-2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.boost-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0,255,136,0.5);
}

.boost-value {
  font-size: var(--fs-xl);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============== 分类页头 ============== */
.cat-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-8) var(--s-6) var(--s-6);
  position: relative;
}

.cat-hero-inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.cat-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--r-lg);
  background: var(--bg-elev-2);
  display: grid;
  place-items: center;
  font-size: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.cat-hero-info h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}

.cat-hero-tagline {
  font-size: var(--fs-lg);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--s-3);
}

.cat-hero-desc {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
}

.cat-meta {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.cat-meta strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============== Tab 切换 ============== */
.tabs {
  display: flex;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--s-3);
  scrollbar-width: thin;
}

.tab {
  padding: var(--s-2) var(--s-4);
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}

.tab:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.tab.active {
  background: var(--grad-primary);
  color: #0a0a0f;
  border-color: transparent;
  font-weight: 600;
}

/* ============== 面包屑 ============== */
.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-6) 0;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  display: flex;
  gap: var(--s-2);
  align-items: center;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ============== 搜索框 ============== */
.search-box {
  max-width: 600px;
  margin: var(--s-6) auto var(--s-7);
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--s-4) var(--s-5) var(--s-4) var(--s-7);
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--fs-base);
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,255,136,0.1);
}

.search-icon {
  position: absolute;
  left: var(--s-5);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
}

/* ============== Footer ============== */
.footer {
  margin-top: var(--s-9);
  padding: var(--s-7) 0 var(--s-6);
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
}

.footer .container {
  text-align: left;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col-newsletter input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col-newsletter input:focus {
  outline: none;
  border-color: var(--accent);
}

.footer-col-newsletter button {
  width: 100%;
  padding: 10px 12px;
  background: var(--accent);
  color: #0a0e1a;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.footer-col-newsletter button:hover {
  background: #00cc6e;
}

.footer-socials a {
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s;
  display: inline-block;
}

.footer-socials a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* ============== 加载状态 ============== */
.loading {
  display: grid;
  place-items: center;
  padding: var(--s-9) 0;
  color: var(--text-tertiary);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============== 响应式 ============== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-inner {
    padding: var(--s-3) var(--s-4);
  }
  .hero {
    padding: var(--s-7) var(--s-4) var(--s-6);
  }
  .hero-stats {
    gap: var(--s-5);
  }
  .section {
    padding: var(--s-6) 0;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .cat-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .cat-hero-info h1 {
    font-size: var(--fs-2xl);
  }
  .tool-hero {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .tool-hero-name {
    font-size: var(--fs-2xl);
  }
  .container, .container-fluid {
    padding-left: var(--s-4);
    padding-right: var(--s-4);
  }
}

/* ============== 工具提示 ============== */
[data-tip] {
  position: relative;
}

[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--s-2) var(--s-3);
  background: var(--bg-elev-3);
  color: var(--text-primary);
  font-size: var(--fs-xs);
  border-radius: var(--r-sm);
  white-space: nowrap;
  z-index: 100;
  border: 1px solid var(--border-light);
}

/* ============== 动效 ============== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}
