/* ===== SEO longform product content (CMS / HMS) ===== */
.seo-longform {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 24px;
  background:
    radial-gradient(circle at 12% 8%, rgba(35, 100, 251, 0.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(41, 199, 184, 0.1), transparent 26%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 42%, #f7fbff 100%);
  overflow: hidden;
}

.seo-longform-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.seo-intro,
.seo-block,
.seo-cta-band {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid rgba(21, 57, 143, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(15, 40, 110, 0.06);
}

.seo-intro {
  background:
    linear-gradient(135deg, rgba(35, 100, 251, 0.08), rgba(41, 199, 184, 0.08)),
    #ffffff;
}

.seo-intro h2,
.seo-block-head h2,
.seo-block-head h3 {
  margin: 0;
  color: #0f2a6b;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.seo-intro h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 22ch;
}

.seo-intro h3 {
  margin: 14px 0 0;
  color: #2364fb;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.35;
}

.seo-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(35, 100, 251, 0.1);
  color: #2364fb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-block-head h2,
.seo-block-head h3 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 24ch;
}

.seo-prose {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
}

.seo-prose p {
  margin: 0;
}

.seo-banner-line {
  margin: 8px 0;
  padding: 16px 20px;
  border-left: 4px solid #29c7b8;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(41, 199, 184, 0.12), transparent);
  color: #0f2a6b;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 750;
  line-height: 1.45;
}

.seo-check-grid,
.seo-chip-grid,
.seo-feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

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

.seo-check-grid li,
.seo-feature-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  border: 1px solid rgba(15, 42, 107, 0.08);
  border-radius: 14px;
  background: #f8fbff;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.seo-check-grid li::before,
.seo-feature-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 8px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 8px no-repeat,
    #29c7b8;
  box-shadow: 0 0 0 4px rgba(41, 199, 184, 0.15);
}

.seo-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-chip-grid li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #0f2a6b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.seo-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.seo-module-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(35, 100, 251, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.95), #ffffff);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.seo-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 40, 110, 0.1);
}

.seo-module-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2364fb, #29c7b8);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(35, 100, 251, 0.25);
}

.seo-module-icon svg {
  width: 28px;
  height: 28px;
}

.seo-module-card h3 {
  margin: 0;
  color: #0f2a6b;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.seo-module-card h4 {
  margin: 8px 0 0;
  color: #2364fb;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seo-module-card .seo-prose {
  margin-top: 0;
  font-size: 15px;
}

.seo-module-card .seo-feature-list {
  margin-top: 4px;
}

.seo-steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: seo-step;
}

.seo-steps li {
  counter-increment: seo-step;
  position: relative;
  padding: 16px 16px 16px 62px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid rgba(15, 42, 107, 0.08);
  color: #1e293b;
  font-weight: 700;
}

.seo-steps li::before {
  content: counter(seo-step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2364fb;
  color: #fff;
  font-size: 14px;
}

.seo-faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.seo-faq-item {
  border: 1px solid rgba(15, 42, 107, 0.1);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.seo-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  position: relative;
  color: #0f2a6b;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(35, 100, 251, 0.1);
  color: #2364fb;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}

.seo-faq-item[open] summary::after {
  content: "–";
}

.seo-faq-item .seo-prose {
  margin: 0;
  padding: 0 18px 18px;
}

.seo-cta-band {
  background:
    radial-gradient(circle at 20% 20%, rgba(100, 220, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #0f2a6b, #2364fb 58%, #1aa7c5);
  color: #ffffff;
  border: 0;
}

.seo-cta-band h2,
.seo-cta-band h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
}

.seo-cta-band .seo-prose,
.seo-cta-band .seo-prose p,
.seo-cta-band li {
  color: rgba(255, 255, 255, 0.92);
}

.seo-cta-band a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.seo-cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f2a6b !important;
  text-decoration: none !important;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.seo-cta-actions a.seo-cta-ghost {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

@media (max-width: 860px) {
  .seo-module-grid {
    grid-template-columns: 1fr;
  }

  .seo-intro h2,
  .seo-block-head h2,
  .seo-block-head h3 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .seo-longform {
    padding: 42px 16px;
  }

  .seo-intro,
  .seo-block,
  .seo-cta-band {
    padding: 20px;
    border-radius: 20px;
  }

  .seo-check-grid {
    grid-template-columns: 1fr;
  }

  .seo-cta-actions {
    display: grid;
  }

  .seo-cta-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-module-card {
    transition: none;
  }
}
