/* ==========================================================================
   CTA-Final — deep-purple band with AiFlo logo, headline, dashboard image
   Block: .cta-final
   ========================================================================== */
.cta-final {
  position: relative;
  background: #1c0058;
  color: #fff;
  padding-block: clamp(80px, 9vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(48px, 6vw, 80px);
  max-width: 1280px;
  margin-inline: auto;
}

/* ---- Hero block (logo + heading + CTA) ---- */
.cta-final__hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  /* Wide enough that line 1 ("Your Team Saves 44 Hours a Week") fits on one
     row at the 64px section-h2 max — the explicit <br> in the markup then
     puts "Starting Today." on a clean second line. */
  max-width: 1080px;
}

.cta-final__logo {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}
.cta-final__logo img {
  width: 36px;
  height: 36px;
  display: block;
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: var(--fs-section-h2);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #fff;
  margin: 0;
  /* Don't auto-balance — the explicit <br/> in the markup defines the break;
     `balance` would override that and reflow line 1. */
}

.cta-final__lede {
  font-size: var(--fs-section-lede);
  line-height: var(--lh-section-lede);
  color: rgba(255, 255, 255, 0.62);
  margin: 6px 0 18px;
}

.cta-final__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 22px 6px 6px;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  box-shadow: 0 14px 28px -10px rgba(77, 0, 242, 0.55);
}
.cta-final__btn:hover {
  transform: translateY(-1px);
  color: #fff !important;
  background: var(--color-primary-hover);
}
.cta-final__btn-arrow {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.cta-final__btn-arrow i,
.cta-final__btn-arrow [data-lucide] {
  width: 18px;
  height: 18px;
}

/* ---- Dashboard image at the bottom ---- */
.cta-final__dashboard {
  margin: 0 auto;
  width: 100%;
  max-width: 1180px;
  padding: 0 clamp(20px, 4vw, 64px);
  position: relative;
}
.cta-final__dashboard img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -30px 80px -20px rgba(77, 0, 242, 0.35);
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .cta-final__lede br { display: none; }
  .cta-final__title br { display: none; }
  .cta-final__dashboard img { border-radius: 16px 16px 0 0; }
}
