body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f4f6fb;
}

.tool-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  border: 1px solid #eef0f5;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  color: inherit;
}
.tool-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}
.tool-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.tool-card p {
  font-size: .88rem;
  color: #6c757d;
  margin-bottom: 0;
}

.navbar-brand {
  font-size: 1.35rem;
  letter-spacing: .3px;
}
.brand-gradient {
  background: linear-gradient(90deg, #4f46e5, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.brand-solid {
  color: #1e1b4b;
  font-weight: 800;
}

.ad-slot {
  min-height: 20px;
}

.footer-brand {
  font-size: 1.4rem;
}
.footer-links a {
  color: #6c757d;
  text-decoration: none;
  display: inline-block;
  margin: 0 8px 8px;
}
.footer-links a:hover {
  color: #4f46e5;
}

.category-title {
  font-weight: 800;
  margin: 32px 0 16px;
  border-left: 4px solid #4f46e5;
  padding-left: 10px;
}

.hero {
  text-align: center;
  padding: 40px 0 20px;
}
.hero h1 {
  font-weight: 800;
}

.tool-workspace {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.result-box {
  background: #f8f9fc;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  word-break: break-all;
}

.drop-zone {
  border: 2px dashed #c7cbe0;
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  background: #fafbff;
}
.drop-zone.dragover {
  border-color: #4f46e5;
  background: #eef0ff;
}
