/* ========= 工具介绍页(所有工具共用) ========= */
.intro-body {
  margin: 0; min-height: 100vh;
  background: #f4f6fa;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #2b3a52;
}

/* 顶栏 */
.tool-topbar {
  height: 56px; padding: 0 32px;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
  display: flex; align-items: center; justify-content: space-between;
}
.tool-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: #5c6b84; text-decoration: none;
  transition: color .15s;
}
.tool-back:hover { color: #1e3a5f; }
.tool-back svg { width: 16px; height: 16px; }
.tool-no { font-size: 13px; color: #98a1b3; }
.tool-no b { color: #1e3a5f; font-family: Consolas, monospace; }

/* 主容器 */
.intro-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px 32px 36px;
  display: flex; flex-direction: column;
  gap: 18px;
}

/* ---- 头部 Hero ---- */
.intro-hero {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 28px 36px 24px;
  box-shadow: 0 1px 4px rgba(30, 58, 95, .04);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px 28px;
}
.hero-left { flex: 1; min-width: 220px; }
.hero-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.hero-tags .tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500;
  padding: 3px 13px; border-radius: 20px;
  background: #eaf1fb; color: #1e3a5f;
  border: 1px solid #dbe6f5;
}
.hero-tags .tag svg { width: 12px; height: 12px; }
.hero-tags .tag.green {
  background: #e6f6ee; color: #1f7b4a; border-color: #b8dfcb;
}
.hero-tags .tag.orange {
  background: #fdf3e2; color: #b97a12; border-color: #f0d9ae;
}
.intro-hero h1 {
  margin: 0 0 8px;
  font-size: 24px; font-weight: 700; color: #1e3a5f;
}
.intro-desc {
  margin: 0;
  font-size: 14px; line-height: 1.8; color: #6b7890;
  max-width: 660px;
}
.intro-icon {
  flex-shrink: 0;
  width: 76px; height: 76px;
  border-radius: 18px;
  background: #eaf1fb;
  border: 1px solid #dbe6f5;
  display: flex; align-items: center; justify-content: center;
}
.intro-icon img { width: 46px; height: 46px; }

/* ---- 三列数据卡 ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 16px 22px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 1px 4px rgba(30, 58, 95, .03);
  transition: border-color .15s;
}
.stat-card:hover { border-color: #cdd9e8; }
.stat-card .stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #eaf1fb; color: #1e3a5f;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-card .stat-icon svg { width: 22px; height: 22px; }
.stat-card .stat-num {
  font-size: 20px; font-weight: 700; color: #1e3a5f; line-height: 1.2;
}
.stat-card .stat-label { font-size: 13px; color: #98a1b3; margin-top: 2px; }

/* ---- 两栏:步骤 + 注意事项 ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 18px;
  align-items: stretch;
}
.intro-block {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 22px 26px;
  box-shadow: 0 1px 4px rgba(30, 58, 95, .04);
  display: flex; flex-direction: column;
}
.intro-block h2 {
  margin: 0 0 16px;
  font-size: 15px; font-weight: 600; color: #1e3a5f;
  display: flex; align-items: center; gap: 8px;
}
.intro-block h2::before {
  content: '';
  width: 4px; height: 15px; border-radius: 2px;
  background: #1e3a5f;
}
.intro-block h2 svg { width: 15px; height: 15px; color: #1e3a5f; }

/* 步骤 */
.intro-steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.intro-steps li { display: flex; align-items: center; gap: 14px; }
.step-num {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: #eaf1fb; color: #1e3a5f;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.step-text { font-size: 14px; color: #44536b; line-height: 1.6; }

/* 进入按钮(步骤区底部,左对齐) */
.step-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
  display: flex; justify-content: flex-start;
}
.btn-enter {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 40px;
  border-radius: 10px;
  background: #1e3a5f; color: #fff;
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(30, 58, 95, .25);
  letter-spacing: .5px;
  transition: background .15s, transform .15s, box-shadow .2s;
}
.btn-enter:hover {
  background: #2a4f7a;
  box-shadow: 0 8px 24px rgba(30, 58, 95, .32);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-enter:active { transform: scale(.97); }
.btn-enter svg { width: 17px; height: 17px; }
.btn-enter .arrow-icon {
  display: inline-flex;
  transition: transform .2s ease;
}
.btn-enter:hover .arrow-icon { transform: translateX(4px); }

/* 注意事项 2×2 卡片 */
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.note-item {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: flex-start; gap: 10px;
  transition: background .15s;
}
.note-item:hover { background: #f0f4fa; }
.note-icon {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-top: 1px;
}
.note-icon svg { width: 14px; height: 14px; }
.note-icon.orange { background: #f5b342; }
.note-icon.blue   { background: #5b8db8; }
.note-icon.green  { background: #5ba883; }
.note-icon.purple { background: #9b8fc4; }
.note-text { font-size: 12.5px; color: #5c6b84; line-height: 1.6; }
.note-text strong { color: #1e3a5f; font-weight: 600; }

/* ---- API 接入引导 ---- */
.api-block {
  background: #f0f4fa;
  border: 1px solid #e2e9f2;
  border-left: 4px solid #1e3a5f;
  border-radius: 12px;
  padding: 14px 26px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 12px 20px;
  transition: background .15s;
}
.api-block:hover { background: #eaf0f7; }
.api-left { display: flex; align-items: center; gap: 14px; }
.api-icon-box {
  width: 38px; height: 38px; border-radius: 10px;
  background: #dce6f2; color: #1e3a5f;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.api-icon-box svg { width: 18px; height: 18px; }
.api-info h4 { margin: 0 0 2px; font-size: 14px; font-weight: 600; color: #1e3a5f; }
.api-info p { margin: 0; font-size: 13px; color: #6b7890; }
.api-contact {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #1e3a5f;
  background: #fff;
  padding: 7px 22px; border-radius: 20px;
  border: 1px solid #d5deeb;
  white-space: nowrap;
  transition: all .15s;
}
.api-contact:hover { border-color: #1e3a5f; background: #f8fafc; }
.api-contact svg { width: 14px; height: 14px; }

/* ---- 底部 ---- */
.footer-team {
  padding: 14px 4px 2px;
  border-top: 1px solid #e8edf5;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 8px;
  font-size: 13px; color: #98a1b3;
}
.footer-team .team {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-team .team strong { color: #1e3a5f; font-weight: 600; }
.footer-team .dept {
  display: inline-flex; align-items: center; gap: 5px;
  background: #eaf1fb; color: #1e3a5f;
  padding: 2px 14px; border-radius: 12px;
  font-size: 12px; border: 1px solid #dbe6f5;
}
.footer-team .dept svg { width: 12px; height: 12px; }
.footer-team .divider { color: #d3dbe6; }
.footer-team .slogan { color: #6b7890; font-size: 13px; }
.foot-right {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.free-tip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: #7a8fa3;
  background: #eef2f7;
  padding: 3px 16px; border-radius: 20px;
}
.free-tip svg { width: 12px; height: 12px; }
.free-tip.free { color: #1f7b4a; background: #e6f6ee; }
.free-tip.free svg { color: #1f7b4a; }
.version {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: #b6bfd0;
}
.version svg { width: 12px; height: 12px; }

/* ---- 响应式 ---- */
@media (max-width: 860px) {
  .intro-hero { flex-direction: column; align-items: flex-start; }
  .intro-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .notes-grid { grid-template-columns: 1fr; }
  .step-footer { justify-content: center; }
  .btn-enter { width: 100%; justify-content: center; }
  .footer-team { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .intro-wrap { padding: 14px; }
  .intro-hero { padding: 20px; }
  .intro-block { padding: 16px; }
  .stats-row { grid-template-columns: 1fr; }
  .tool-topbar { padding: 0 14px; }
}
