*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg: #f4f6fb;
  --text: #111827;
  --muted: #4b5563;
  --accent: #0f87ff;
  --accent-dark: #0b5fd9;
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.15s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f6efc, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
}

.logo-sub {
  font-size: 0.72rem;
  color: #6b7280;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #4b5563;
  padding: 6px 8px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  background: #eef2ff;
  color: #111827;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: #4b5563;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.nav-dropdown-toggle:hover {
  background: #eef2ff;
}

.nav-dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 50;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: #374151;
}

.nav-dropdown-menu a:hover {
  background: #f3f4f6;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search input {
  width: 190px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.85rem;
  background: #fff;
}

.nav-search {
  position: relative;
}

.nav-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 56px 0 auto 0;
    background: #ffffff;
    padding: 12px 16px 18px;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-header.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-search input {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }
}

.hero {
  background: #f4f6fb;
  padding: 48px 0;
}

.hero-directory {
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  padding: 56px 0;
  text-align: center;
}

.hero-search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

.tool-search-results {
  margin: 12px auto 0;
  max-width: 500px;
  text-align: left;
}

.tool-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.tool-search-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #111827;
  font-size: 0.95rem;
}

.tool-search-item:last-child {
  border-bottom: none;
}

.tool-search-item:hover {
  background: #eef2ff;
}

.hero-search-row input[type='search'] {
  width: 40%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.search-btn {
  border: none;
  cursor: pointer;
  min-width: 160px;
  font-size: 0.95rem;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 0.85rem;
  text-decoration: none;
  color: #374151;
}

.category-pill:hover {
  background: #d1d5db;
  color: #0f172a;
}

.hero-content h1 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.primary-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.categories-section {
  padding: 48px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.category-grid article {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.featured-tools {
  padding: 48px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tool-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.secondary-btn {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}

.content-section {
  padding: 48px 0;
}

.content-section.alt {
  background: #fff;
}

.site-footer {
  background: #0b1120;
  color: #cbd5f5;
  margin-top: 60px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 48px 0 24px;
}

.footer-brand p {
  margin: 0 0 10px;
}

.footer-column h4 {
  margin-top: 0;
  font-size: 1rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  text-decoration: none;
  color: #cbd5f5;
  position: relative;
  padding-left: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: transparent;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.footer-link:hover {
  color: #60a5fa;
  transform: translateX(4px);
}

.footer-link:hover::before {
  background: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #cbd5f5;
  margin-left: 12px;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #60a5fa;
}

.footer-bottom-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-bottom-links span {
  color: #64748b;
}

/* Shared footer inner used on many tools */
.footer-inner {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner .footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #60a5fa;
}

@media (max-width: 640px) {
  .header-inner {
    padding: 12px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }
}

.tools-layout {
  padding: 32px 0 56px;
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .tools-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tools-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tool-category {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.category-header h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.category-header p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.tool-card-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .tool-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tool-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tools-main .tool-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tools-main .tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
}

.tool-card-top {
  display: flex;
  gap: 12px;
}

.tool-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #0f87ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 135, 255, 0.18);
}

.tool-info h3 {
  margin: 0;
  font-size: 1rem;
  color: #111827;
}

.tool-info p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.tool-link {
align-self: auto;
    padding: 8px 18px;
    text-align: center;
    border-radius: 999px;
    background: #0f87ff;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.15s 
ease;
}

.tool-link:hover {
  background: #0862c7;
}

.tools-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tools-sidebar .sidebar-widget {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.sidebar-widget h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #111827;
}

.sidebar-widget input[type='search'] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget li {
  margin-bottom: 8px;
}

.sidebar-widget a {
  text-decoration: none;
  color: #374151;
  font-size: 0.9rem;
}

.sidebar-widget a:hover {
  color: #0f87ff;
}

.sidebar-ad-box {
  border-radius: 16px;
  border: 1px dashed #cbd5f5;
  padding: 32px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero-search-row {
    flex-direction: column;
  }

  .hero-search-row .primary-btn {
    width: 100%;
    text-align: center;
  }

  .hero-search-row input[type='search'] {
    width: 100%;
    font-size: 0.92rem;
    padding: 10px 14px;
  }
}

/* --- Consistent header/footer padding across all pages --- */
.site-header .container.header-inner {
  padding: 16px 18px !important;
}

.site-footer .footer-inner,
.site-footer .container.footer-inner {
  padding: 32px 18px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer .footer-inner .footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer .footer-inner a {
  color: #cbd5f5;
  text-decoration: none;
}

.site-footer .footer-inner a:hover {
  color: #60a5fa;
}

/* Ensure footer block has breathing room similar to homepage */
.site-footer {
  padding: 32px 0 !important;
}

.footer,
.footer > .container {
  padding: 32px 18px !important;
}

@media (max-width: 640px) {
  .site-header .container.header-inner {
    padding: 14px 18px !important;
  }

  .site-footer .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 18px !important;
  }

  .footer,
  .footer > .container {
    padding: 28px 18px !important;
  }

  .site-footer {
    padding: 28px 0 !important;
  }
}

@media (max-width: 640px) {
  .tool-category {
    padding: 20px;
  }

  .tools-main .tool-card {
    padding: 16px;
  }

  .tool-link {
    width: 100%;
    text-align: center;
  }

  .hero-search-row input[type='search'] {
    font-size: 0.9rem;
    padding: 9px 14px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  }

  .search-btn {
    min-width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Global sections for marketing pages                                        */
/* -------------------------------------------------------------------------- */

.home-hero {
  padding: 80px 0 40px;
  background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.2), transparent 55%),
    linear-gradient(180deg, #ffffff, #eef2ff);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d4ed8;
  font-weight: 600;
}

.hero-pretitle span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d4ed8;
}

.home-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
  color: #0f172a;
}

.home-hero p {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 24px;
  max-width: 640px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #bae6fd;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.mini-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.mini-label {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
}

.mini-value {
  margin: 6px 0 0;
  font-weight: 700;
  color: #0f172a;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: #0f87ff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn:hover {
  box-shadow: 0 12px 30px rgba(15, 135, 255, 0.3);
  transform: translateY(-2px);
}

.ghost-btn {
  background: transparent;
  border: 1px solid #cbd5f5;
  color: #0f172a;
}

.hero-search {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.hero-search label {
  font-weight: 600;
  color: #0f172a;
}

.hero-search-help {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

.hero-search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-search-form input[type='search'],
.hero-search-form input[type='text'] {
  flex: 1;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  padding: 14px 18px;
  font-size: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.hero-search-form input:focus {
  outline: none;
  box-shadow: 0 12px 30px rgba(96, 165, 250, 0.35);
  transform: scale(1.01);
}

.hero-search-form button {
  min-width: 140px;
  flex-shrink: 0;
}

.hero-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  max-height: 260px;
  overflow-y: auto;
  padding: 6px 0;
  display: none;
  z-index: 30;
}

.hero-search-dropdown.visible {
  display: block;
}

.hero-search-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-search-dropdown li {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hero-search-dropdown li:hover {
  background: #f8fafc;
}

.hero-search-dropdown .suggestion-name {
  font-weight: 600;
  color: #0f172a;
}

.hero-search-dropdown .suggestion-meta {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-search-dropdown .empty-state {
  padding: 14px 16px;
  color: #94a3b8;
  text-align: center;
}

.highlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.highlight-pills span {
  padding: 6px 14px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 600;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 32px;
}

.category-description {
  color: #475569;
  max-width: 720px;
  margin-top: 4px;
}

.category-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.category-pill.active,
.category-pill:hover {
  background: #0f87ff;
  color: #ffffff;
  border-color: #0f87ff;
  box-shadow: 0 10px 24px rgba(15, 135, 255, 0.35);
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-bar {
  background: #0f172a;
  color: #e2e8f0;
  padding: 24px 0;
}

.trust-label {
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.trust-marquee {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.3);
  padding: 12px 0;
  background: rgba(15, 23, 42, 0.6);
}

.trust-track {
  display: flex;
  gap: 40px;
  animation: marqueeSlide 18s linear infinite;
  font-weight: 600;
  color: #93c5fd;
}

.trust-track span {
  white-space: nowrap;
}

@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stats-section {
  padding: 30px 0 10px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.stat-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
  border: 1px solid #e2e8f0;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #1d4ed8;
  margin: 6px 0;
}

.stat-copy {
  color: #475569;
  margin: 0;
}

.use-case-section {
  padding: 40px 0;
}

.use-case-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.use-case-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
}

.use-case-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e0f2fe;
  color: #0f172a;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.use-case-card h3 {
  margin-top: 0;
}

.use-case-card ul {
  padding-left: 18px;
  margin-top: 10px;
  color: #475569;
}

.testimonial-section {
  padding: 20px 0 40px;
}

.testimonial-card {
  background: linear-gradient(135deg, #0f172a, #0ea5e9);
  border-radius: 30px;
  padding: 36px;
  color: #e0f2fe;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 40px 90px rgba(14, 165, 233, 0.2);
}

.testimonial-quote p {
  font-size: 1.25rem;
  margin: 0;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  margin: 0;
  font-weight: 700;
}

.testimonial-role {
  margin: 0;
  color: #bae6fd;
}

.cta-section {
  padding: 20px 0 60px;
}

.cta-banner {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.25);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: center;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: center;
}

.cta-banner {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.25);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: center;
}

.cta-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: #93c5fd;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-grid .cta-actions {
  justify-content: flex-end;
}

.home-featured-grid {
  margin-top: 14px;
}
.home-grid-empty {
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px dashed #cbd5f5;
  border-radius: 16px;
  text-align: center;
  color: #475569;
  background: #f8fafc;
}

.home-tool-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.home-tool-card:hover {
  transform: translateY(-6px);
  border-color: #bfdbfe;
}

.home-tool-card span {
  font-size: 1.6rem;
}

.home-tool-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.home-tool-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  flex: 1;
}

.home-tool-card .btn-link {
  align-self: flex-start;
  font-weight: 600;
  color: #0f87ff;
  text-decoration: none;
}

.home-tool-card .btn-link:hover {
  text-decoration: underline;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-sidebar .sidebar-widget {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.home-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-sidebar a {
  text-decoration: none;
  color: #0f172a;
}

.home-sidebar a:hover {
  color: #0f87ff;
}

.home-sidebar .sidebar-ad {
  min-height: 300px;
  border: 2px dashed #cbd5f5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.seo-content {
  margin-top: 60px;
  background: #ffffff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
}

.seo-content h2,
.seo-content h3 {
  color: #0f172a;
}

.seo-content p {
  color: #475569;
}

.seo-content ul {
  list-style: disc;
  padding-left: 24px;
  color: #475569;
}

.page-hero {
  padding: 80px 0 40px;
  background: linear-gradient(120deg, rgba(15, 135, 255, 0.1), rgba(15, 135, 255, 0));
}

.page-hero h1 {
  margin-bottom: 10px;
  color: #0f172a;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.page-content h2 {
  margin-top: 32px;
  color: #0f172a;
}

.page-content p {
  color: #475569;
}

.page-content ul {
  padding-left: 24px;
  color: #475569;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  font-weight: 600;
  color: #0f172a;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #0f172a;
}

.faq-item .faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  margin: 0;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  opacity: 1;
  margin-top: 8px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.blog-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.blog-card h3 {
  margin-top: 0;
}

.blog-card a {
  text-decoration: none;
  color: #0f87ff;
  font-weight: 600;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.sitemap-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li {
  margin-bottom: 6px;
}

.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .category-pills {
    justify-content: flex-start;
  }

  .home-featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-search {
    padding: 16px;
  }

  .seo-content {
    padding: 28px;
  }

  .hero-search-form button {
    width: 100%;
  }

  .home-featured-grid,
  .stat-grid,
  .use-case-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .testimonial-card,
  .cta-banner {
    padding: 24px;
  }
}
