/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: Inter, Arial, sans-serif;
  background: #f7f8fc;
  color: #333;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ===== UPLOAD BOX ===== */
.upload-box {
  border: 2px dashed #cbd5e1;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8fafc;
  color: #374151;
}
.upload-box:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

/* ===== RELATED TOOLS ===== */
.related-tools {
  margin-top: 40px;
}
.related-tools h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}
.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.related-tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  transition: all 0.2s ease;
}
.related-tool-card:hover {
  border-color: var(--icon-color, #2563eb);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.tool-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--icon-color, #2563eb) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.related-tool-card:hover .tool-card-icon {
  background: color-mix(in srgb, var(--icon-color, #2563eb) 20%, transparent);
}
.tool-card-icon svg,
.tool-card-icon img { width: 24px; height: 24px; display: block; }

.tool-card-info h3 {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 3px;
}
.tool-card-info p {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.4;
}

/* ===== SEO INTRO ===== */
.seo-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.75;
}
.seo-intro h1 { font-size: 22px; font-weight: 700; color: #111827; margin-bottom: 12px; }
.seo-intro h2 { font-size: 18px; font-weight: 600; color: #111827; margin: 28px 0 10px; }
.seo-intro p  { margin-bottom: 14px; }
.seo-intro a  { color: #2563eb; text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .related-tools-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .seo-intro { padding: 24px 16px 0; font-size: 14px; }
}
@media (max-width: 400px) {
  .related-tools-grid { grid-template-columns: 1fr; }
}