/* Afripay SaaS mega footer — afripayeasyfunnel.com, afripaysalesfunnel.com, afripayfunnels.com */

.af-saas-footer {
  position: relative;
  background: #050816;
  color: #cbd5e1;
  overflow: hidden;
  margin-top: 0;
}

.af-saas-footer-wrap,
.funnel-site-footer--saas {
  padding: 0;
  background: transparent;
  border: none;
}

.af-saas-footer__glow {
  pointer-events: none;
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(120px);
}

.af-saas-footer__glow--tl {
  top: 0;
  left: 0;
  background: rgba(147, 51, 234, 0.12);
}

.af-saas-footer__glow--br {
  bottom: 0;
  right: 0;
  background: rgba(34, 197, 94, 0.08);
}

.af-saas-footer__cta-wrap,
.af-saas-footer__main {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.af-saas-footer__cta-wrap {
  padding-top: 2.25rem;
  max-width: 56rem;
}

.af-saas-footer__cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(8, 17, 32, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(147, 51, 234, 0.08) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.af-saas-footer__cta-mesh {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.af-saas-footer__cta-glow {
  pointer-events: none;
  position: absolute;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  filter: blur(70px);
}

.af-saas-footer__cta-glow--a {
  top: -4rem;
  left: -3rem;
  background: rgba(147, 51, 234, 0.35);
}

.af-saas-footer__cta-glow--b {
  bottom: -5rem;
  right: -2rem;
  background: rgba(34, 197, 94, 0.22);
}

.af-saas-footer__cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.15rem;
}

.af-saas-footer__cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  background: rgba(34, 197, 94, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86efac;
}

.af-saas-footer__cta-kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
  animation: af-footer-pulse 2s ease-in-out infinite;
}

@keyframes af-footer-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.af-saas-footer__cta-title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.af-saas-footer__cta-title span {
  background: linear-gradient(90deg, #fde047 0%, #facc15 45%, #4ade80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.af-saas-footer__cta-lead {
  margin: 0.65rem 0 0;
  max-width: 28rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
}

.af-saas-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.af-saas-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.af-saas-footer__cta-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

.af-saas-footer__cta-btn--primary {
  background: linear-gradient(135deg, #facc15 0%, #fde047 100%);
  color: #1e1b4b;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.25);
}

.af-saas-footer__cta-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(250, 204, 21, 0.35);
}

.af-saas-footer__cta-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.af-saas-footer__cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.af-saas-footer__cta-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.af-saas-footer__cta-perks li {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.af-saas-footer__cta-perks li::before {
  content: "✓ ";
  color: #4ade80;
  font-weight: 800;
}

.af-saas-footer__cta-panel {
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem;
  backdrop-filter: blur(8px);
}

.af-saas-footer__cta-panel-head {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.af-saas-footer__cta-panel-head span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.af-saas-footer__cta-panel-head span:first-child {
  background: #f87171;
}

.af-saas-footer__cta-panel-head span:nth-child(2) {
  background: #facc15;
}

.af-saas-footer__cta-panel-head span:nth-child(3) {
  background: #4ade80;
}

.af-saas-footer__cta-metrics {
  display: grid;
  gap: 0.45rem;
}

.af-saas-footer__cta-metric {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.af-saas-footer__cta-metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.45rem;
  background: rgba(74, 222, 128, 0.12);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.af-saas-footer__cta-metric-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}

.af-saas-footer__cta-panel-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 3.5rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.af-saas-footer__cta-panel-chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 0.25rem 0.25rem 0 0;
  background: linear-gradient(180deg, #a855f7 0%, #6366f1 100%);
  opacity: 0.85;
}

.af-saas-footer__cta-panel-caption {
  margin: 0.45rem 0 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
}

.af-saas-footer__main {
  padding-top: 2.25rem;
  padding-bottom: 2rem;
}

.af-saas-footer__grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.af-saas-footer__logo {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.af-saas-footer__logo span {
  color: #4ade80;
}

.af-saas-footer__tagline {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.af-saas-footer__desc {
  margin: 0.65rem 0 0;
  max-width: 22rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748b;
}

.af-saas-footer__contact {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.af-saas-footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.af-saas-footer__contact svg {
  width: 1rem;
  height: 1rem;
  color: #4ade80;
  flex-shrink: 0;
}

.af-saas-footer__contact a {
  color: inherit;
  text-decoration: none;
}

.af-saas-footer__contact a:hover {
  color: #fff;
}

.af-saas-footer__col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.af-saas-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.af-saas-footer__col a {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.af-saas-footer__col a:hover {
  color: #fff;
}

.af-saas-footer__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  background: rgba(250, 204, 21, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.12);
}

.af-saas-footer__stats span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde047;
  white-space: nowrap;
}

.af-saas-footer__stats span::before {
  content: "★ ";
  opacity: 0.85;
}

.af-saas-footer__trust {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.af-saas-footer__trust-card {
  padding: 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.af-saas-footer__trust-card svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #4ade80;
  margin-bottom: 0.35rem;
}

.af-saas-footer__trust-card strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.af-saas-footer__trust-card span {
  font-size: 0.72rem;
  color: #64748b;
}

.af-saas-footer__powered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem 0.75rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.af-saas-footer__powered-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.af-saas-footer__powered-item {
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
}

.af-saas-footer__powered-item::before {
  content: "✓ ";
  color: #4ade80;
}

.af-saas-footer__legal-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  color: #64748b;
}

.af-saas-footer__legal-strip span {
  white-space: nowrap;
}

.af-saas-footer__legal-strip span:not(:last-child)::after {
  content: " |";
  margin-left: 0.85rem;
  opacity: 0.45;
}

.af-saas-footer__legal-link,
.af-saas-footer__bottom-nav button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.af-saas-footer__legal-link:hover,
.af-saas-footer__bottom-nav button:hover {
  color: #fff;
}

.af-saas-footer__social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.af-saas-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s, border-color 0.15s;
}

.af-saas-footer__social-link svg {
  width: 1rem;
  height: 1rem;
}

.af-saas-footer__social-link:hover {
  background: #22c55e;
  border-color: #22c55e;
}

.af-saas-footer__bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.af-saas-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
}

.af-saas-footer__bottom-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.af-saas-footer__bottom-nav a,
.af-saas-footer__bottom-nav button {
  font-size: 0.72rem;
  color: #64748b;
  text-decoration: none;
}

.af-saas-footer__bottom-nav a:hover,
.af-saas-footer__bottom-nav button:hover {
  color: #cbd5e1;
}

/* Hide legacy minimal footer chrome when SaaS footer is active */
.af-saas-footer.funnel-legal-footer .funnel-legal-footer__inner {
  display: none;
}

@media (min-width: 640px) {
  .af-saas-footer__trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .af-saas-footer__cta-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.65rem 1.5rem;
  }

  .af-saas-footer__cta-wrap {
    padding-top: 2.75rem;
  }

  .af-saas-footer__grid {
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 1.5rem 2rem;
  }

  .af-saas-footer__trust {
    grid-template-columns: repeat(4, 1fr);
  }

  .af-saas-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1100px) {
  .af-saas-footer__cta-wrap,
  .af-saas-footer__main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
