/* =============================================
   SEO INTRO SECTION
   Homepage bottom content for SEO crawlability —
   rendered as a card grid, one card per topic.
============================================= */

.seo-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
/* Toggled by an IntersectionObserver in home.js when the section actually
   scrolls into view — a page-load animation doesn't make sense here since
   this section sits below the tool grid, well below the fold; it would
   always finish playing long before anyone scrolls down to see it. */
.seo-intro.itz-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── INTRO HEADER (h1 + lead paragraphs, above the cards) ── */
.seo-intro-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.seo-intro-head h1 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #111827;
  margin: 0 0 18px;
  line-height: 1.25;
}

.seo-intro-head p {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.75;
}
.seo-intro-head p:last-child { margin-bottom: 0; }

/* ── CARD GRID ── */
.seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: start;
}

.seo-card {
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  padding: 26px 26px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  transition: transform .2s cubic-bezier(.2,.8,.3,1.2), box-shadow .2s ease;
}
.seo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
}

.seo-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 10px;
  color: #2563eb;
  margin-bottom: 16px;
}
.seo-card-icon svg {
  width: 21px;
  height: 21px;
}

.seo-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
  line-height: 1.35;
}

.seo-card p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}
.seo-card p:last-child {
  margin-bottom: 0;
}

/* ── INLINE LINKS ── */
.seo-intro a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #bfdbfe;
  transition: color 0.15s, border-color 0.15s;
}
.seo-intro a:hover {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .seo-intro {
    padding: 40px 16px 60px;
  }
  .seo-intro-head {
    margin-bottom: 28px;
  }
  .seo-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .seo-card {
    padding: 22px 20px;
  }
}

@media (max-width: 480px) {
  .seo-intro {
    padding: 32px 14px 48px;
  }
  .seo-intro-head h1 {
    font-size: 1.2rem;
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .seo-intro {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .seo-card {
    transition: none;
  }
}
