/* ===========================================================
   trust-banner.css — 全站通用「隐私安全说明 + 信任卡片」横幅
   ===========================================================
   与首页首屏（hero.css）视觉完全一致：
   1. 红色胶囊说明行「所有图片和文件处理都在你浏览器本地完成」
   2. 三张信任卡片（本地计算 · 隐私安全 / 40+ 工具 · 全部免费 / 无需注册 · 打开即用）
   用于图片处理工具、AI 办公工具等各工具页面，统一品牌信任背书。
   =========================================================== */

/* 外层容器：控制横幅与上下内容的间距 */
.trust-banner {
  margin: 0 auto 32px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

/* 说明行：红色高亮胶囊（与首页 .hero-privacy-line 一致） */
.trust-banner .hero-privacy-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 26px;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #f87171; /* 高亮红，深蓝底上最醒目 */
  background: rgba(248, 113, 113, 0.09);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 999px;
  max-width: 100%;
  box-sizing: border-box;
}

.trust-banner .hero-privacy-emoji {
  flex-shrink: 0;
  margin-right: 4px;
}

/* 信任卡片容器：三卡片横向居中排列 */
.trust-banner .hero-trust-cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-banner .hero-trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  min-width: 0;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.trust-banner .hero-trust-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.trust-banner .hero-trust-card-primary {
  border-color: var(--accent);
  box-shadow: var(--accent-shadow);
}

.trust-banner .hero-trust-icon {
  width: 20px;
  height: 20px;
  display: block;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-banner .hero-trust-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  white-space: nowrap;
}

.trust-banner .hero-trust-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.trust-banner .hero-trust-desc {
  font-size: 12px;
  color: var(--text-nav);
  line-height: 1.3;
}

/* 移动端 ≤768px：说明行换行，卡片纵向堆叠 */
@media (max-width: 768px) {
  .trust-banner {
    margin-bottom: 24px;
  }
  .trust-banner .hero-privacy-line {
    font-size: 14px;
    padding: 9px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    white-space: normal;
  }
  .trust-banner .hero-trust-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .trust-banner .hero-trust-card {
    justify-content: center;
    padding: 12px 16px;
  }
  .trust-banner .hero-trust-title {
    font-size: 14px;
  }
}
