body {
  background-color: #f5f5f7;
}

.navbar-brand span.text-primary {
  color: #0d6efd !important;
}

.card {
  border-radius: 1rem;
}

.tool-logo {
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.tool-logo-lg {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

.badge.text-bg-success,
.badge.text-bg-primary,
.badge.text-bg-dark {
  border-radius: 999px;
}

footer {
  font-size: 0.9rem;
}

/* Pricing Badges */
.pricing-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

/* free */
.pricing-badge.free {
  background-color: #e6f4ea;
  color: #137333;
}

/* freemium */
.pricing-badge.freemium {
  background-color: #e8f0fe;
  color: #1a73e8;
}

/* paid */
.pricing-badge.paid {
  background-color: #fef3e2;
  color: #c25200;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 40%, #f9fafb 100%);
  border-radius: 24px;
  padding: 32px 28px;
  margin-top: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

/* Small pill at top */
.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.07);
  color: #0f766e;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
}

/* Highlight word in heading */
.hero-highlight {
  color: #0d6efd;
}

/* Search input tweaks */
.hero-search .form-control {
  border-radius: 999px;
  border-left: none;
}

.hero-search-icon {
  border-radius: 999px 0 0 999px;
  background-color: #fff;
  border-right: none;
}

/* Metrics row under search */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
  color: #64748b;
}

.hero-metrics span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

/* Right side card */
.hero-sidecard {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Chips for pricing + categories */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: #ffffff;
  color: #111827;
  transition: all 0.15s ease-in-out;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* Pricing chip variants */
.chip-free {
  background-color: #e6f4ea;
  color: #137333;
  border-color: transparent;
}

.chip-freemium {
  background-color: #e8f0fe;
  color: #1a73e8;
  border-color: transparent;
}

.chip-paid {
  background-color: #fef3e2;
  color: #c25200;
  border-color: transparent;
}

/* Category chips (subtle) */
.chip-category {
  background-color: #f9fafb;
  font-weight: 500;
}

/* Make hero nice on mobile */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 20px 16px;
    border-radius: 0;
    box-shadow: none;
    background: #f9fafb;
  }
}

/* --- NAVBAR / HEADER --- */

.main-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Brand logo block */
.brand-logo {
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.brand-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

/* Nav links */
.nav-link-plain {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563 !important;
  position: relative;
  padding-bottom: 4px;
}

.nav-link-plain:hover {
  color: #111827 !important;
}

.nav-link-plain::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: 999px;
  transition: width 0.18s ease-in-out;
}

.nav-link-plain:hover::after {
  width: 100%;
}

/* Small separator dot between links and button */
.nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #d1d5db;
}

/* CTA button: Submit a Tool */
.btn-submit-tool {
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-submit-tool:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

/* Mobile tweaks */
@media (max-width: 991.98px) {
  .main-navbar {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .btn-submit-tool {
    width: 100%;
    margin-top: 8px;
  }
}

/* -------- Submit tool page -------- */

.submit-wrapper {
  margin-top: 16px;
  margin-bottom: 32px;
}

.submit-card {
  background: radial-gradient(circle at top left, #eef2ff 0, #f9fafb 35%, #ffffff 100%);
}

.submit-page-header .submit-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-color: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-weight: 600;
}

.submit-page-header h1 {
  line-height: 1.3;
}

.submit-card .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.submit-card .form-control,
.submit-card .form-select {
  border-radius: 999px;
  font-size: 14px;
}

.submit-card textarea.form-control {
  border-radius: 18px;
}

.submit-card .input-group .form-control {
  border-radius: 999px 0 0 999px;
}

.submit-card .input-group .btn {
  border-radius: 0 999px 999px 0;
}

.submit-card .btn-primary {
  border-radius: 999px;
  padding-inline: 22px;
}

@media (max-width: 767.98px) {
  .submit-card {
    border-radius: 0;
    box-shadow: none;
  }
}


#load-more-wrapper {
  margin-top: 12px;
}

#load-more-btn {
  border-radius: 999px;
  padding-left: 24px;
  padding-right: 24px;
}

.profession-card {
  display: block;
  border-radius: 16px;
  padding: 12px 14px;
  text-decoration: none;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  transition: all 0.15s ease-in-out;
}

.profession-card:hover {
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
  transform: translateY(-2px);
}

.profession-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.profession-meta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

@media (max-width: 575.98px) {
  .profession-card {
    padding: 10px 12px;
  }
}

.fallback-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #444;
  user-select: none;
}

/* ===== Footer ===== */
.site-footer {
  background: #0b1020;        /* soft dark */
  color: #cfd3ff;
}

.text-footer-muted {
  color: rgba(207, 211, 255, 0.7);
}

.site-footer .footer-link {
  color: rgba(207, 211, 255, 0.8);
  text-decoration: none;
}

.site-footer .footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Article titles: single line with ellipsis */
.footer-article-link {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

