/* ==========================================================================
   CTA BANNER — Shared lower-page conversion section
   Source of truth for all end-of-page CTA banners across the marketing site.

   Usage:
     <section class="cta-banner">
       <div class="cta-banner__content">
         <h2 class="cta-banner__title">…</h2>
         <p class="cta-banner__body">…</p>
         <div class="cta-banner__actions">
           <a href="…" class="btn-primary">…</a>
           <a href="…" class="btn-secondary">…</a>
         </div>
       </div>
     </section>

   Buttons (.btn-primary / .btn-secondary) are defined in hero.css.
   hero.css must be imported before or alongside this file.

   Do NOT add CTA-banner-related CSS to individual page <style> blocks.
========================================================================== */

/* ── Wrapper ──────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0b1f3b 0%, #123b6d 58%, #0b2f55 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ambient glow matching hero treatment */
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05), transparent 55%),
    radial-gradient(circle at 75% 55%, rgba(0,198,255,0.04), transparent 55%);
  pointer-events: none;
}

/* ── Inner content container ──────────────────────────────────────────────── */
.cta-banner__content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
.cta-banner__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: #fff;
  margin: 0 0 16px;
}

.cta-banner__body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0 0 36px;
}

/* ── Actions ─────────────────────────────────────────────────────────────── */
.cta-banner__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Trust line (optional, below buttons) ────────────────────────────────── */
.cta-banner__trust {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cta-banner {
    padding: 56px 20px;
  }

  .cta-banner__title {
    font-size: 26px;
  }

  .cta-banner__body {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__actions .btn-primary,
  .cta-banner__actions .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
