/*!
 * iohow.com — 导航站专属样式
 * 依赖 tokens.css + components.css，必须在两者之后引入。
 * 只写"导航页"独有的样式，不覆盖设计系统变量。
 */

/* ===== Hero 区域 ===== */
.ds-hero {
  text-align: center;
  padding: var(--ds-space-16) var(--ds-space-4) var(--ds-space-10);
}

.ds-hero__title {
  font-size: var(--ds-text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 var(--ds-space-3);
  color: var(--ds-text);
}

.ds-hero__subtitle {
  font-size: var(--ds-text-lg);
  color: var(--ds-text-muted);
  margin: 0 0 var(--ds-space-8);
  max-width: 480px;
  margin-inline: auto;
}

.ds-hero__search {
  max-width: 480px;
  margin-inline: auto;
}

.ds-search__icon {
  flex-shrink: 0;
  font-size: var(--ds-text-base);
}

/* ===== 分类筛选栏 ===== */
.ds-category-bar {
  margin-bottom: var(--ds-space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--ds-space-2);
}

.ds-category-bar .ds-pill-group {
  flex-wrap: nowrap;
  justify-content: center;
  min-width: min-content;
}

/* ===== 工具区 ===== */
.ds-tools-section {
  position: relative;
  min-height: 200px;
}

.ds-tools-empty {
  text-align: center;
  padding: var(--ds-space-16) var(--ds-space-4);
  color: var(--ds-text-muted);
  font-size: var(--ds-text-base);
}

/* ===== 隐私声明 ===== */
.ds-privacy-section {
  margin: var(--ds-space-10) 0 var(--ds-space-8);
}

/* ===== 响应式适配 ===== */
@media (max-width: 768px) {
  .ds-hero {
    padding: var(--ds-space-10) var(--ds-space-4) var(--ds-space-6);
  }

  .ds-hero__title {
    font-size: var(--ds-text-2xl);
  }

  .ds-hero__subtitle {
    font-size: var(--ds-text-base);
  }

  .ds-category-bar .ds-pill-group {
    justify-content: flex-start;
    padding-inline: var(--ds-space-1);
  }
}

@media (max-width: 640px) {
  .ds-hero {
    padding: var(--ds-space-8) var(--ds-space-4) var(--ds-space-5);
  }

  .ds-hero__title {
    font-size: var(--ds-text-xl);
  }
}