/* Premium animated process — gift.afripayfunnels.com */

.al-lp-proc-sec {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  background: #020817;
  color: #f8fafc;
  overflow: hidden;
}

.al-lp-proc-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.al-lp-proc-glow--purple {
  top: -120px;
  left: 50%;
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  transform: translateX(-50%);
  background: rgba(147, 51, 234, 0.14);
}

.al-lp-proc-glow--green {
  right: -80px;
  bottom: -80px;
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  background: rgba(34, 197, 94, 0.12);
}

.al-lp-proc-wrap {
  position: relative;
  z-index: 1;
}

.al-lp-proc-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

.al-lp-proc-eyebrow {
  display: inline-flex;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.al-lp-proc-title {
  margin: 20px 0 0;
  font-size: clamp(1.85rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.al-lp-proc-title-accent {
  display: block;
  margin-top: 0.15em;
  background: linear-gradient(90deg, #4ade80, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-lp-proc-lead {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: #94a3b8;
}

.al-lp-proc-steps {
  display: grid;
  gap: clamp(48px, 8vw, 88px);
}

.al-lp-proc-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 992px) {
  .al-lp-proc-step {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .al-lp-proc-step--reverse .al-lp-proc-visual {
    order: 2;
  }

  .al-lp-proc-step--reverse .al-lp-proc-copy {
    order: 1;
  }
}

.al-lp-proc-visual,
.al-lp-proc-copy {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.al-lp-proc-step.is-inview .al-lp-proc-visual {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.al-lp-proc-step.is-inview .al-lp-proc-copy {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

@media (min-width: 992px) {
  .al-lp-proc-step:not(.al-lp-proc-step--reverse) .al-lp-proc-visual {
    transform: translateX(-40px);
  }

  .al-lp-proc-step:not(.al-lp-proc-step--reverse) .al-lp-proc-copy {
    transform: translateX(40px);
  }

  .al-lp-proc-step--reverse .al-lp-proc-visual {
    transform: translateX(40px);
  }

  .al-lp-proc-step--reverse .al-lp-proc-copy {
    transform: translateX(-40px);
  }
}

/* Mock cards */
.al-lp-proc-mock {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
}

.al-lp-proc-mock-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.al-lp-proc-mock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.al-lp-proc-mock-icon--green {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.al-lp-proc-mock-icon--purple {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
}

.al-lp-proc-mock-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.al-lp-proc-mock-inner {
  background: #020617;
  border-radius: 18px;
  padding: 20px;
}

/* Step 1 — WhatsApp join */
.al-lp-proc-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #1e293b;
  overflow: hidden;
  margin-bottom: 18px;
}

.al-lp-proc-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4ade80, #a855f7);
}

.al-lp-proc-step.is-inview .al-lp-proc-progress-bar {
  animation: al-lp-proc-progress 2.8s ease-in-out infinite;
}

.al-lp-proc-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.al-lp-proc-field {
  height: 44px;
  border-radius: 12px;
  background: #1e293b;
  opacity: 0.55;
}

.al-lp-proc-step.is-inview .al-lp-proc-field {
  animation: al-lp-proc-pulse 1.4s ease-in-out infinite;
}

.al-lp-proc-step.is-inview .al-lp-proc-field:nth-child(2) {
  animation-delay: 0.15s;
}

.al-lp-proc-step.is-inview .al-lp-proc-field:nth-child(3) {
  animation-delay: 0.3s;
}

.al-lp-proc-wa-bubble {
  max-width: 92%;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #14532d;
  color: #dcfce7;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
}

.al-lp-proc-wa-bubble--1 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.al-lp-proc-wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.al-lp-proc-step.is-inview .al-lp-proc-wa-bubble--1 {
  animation: al-lp-proc-fade-up 0.5s ease forwards 0.6s;
}

.al-lp-proc-step.is-inview .al-lp-proc-wa-bubble--2 {
  animation: al-lp-proc-fade-up 0.5s ease forwards 1.1s;
}

.al-lp-proc-check-ring {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  color: #4ade80;
  transform: scale(0.85);
  opacity: 0.4;
}

.al-lp-proc-step.is-inview .al-lp-proc-check-ring {
  animation: al-lp-proc-check-pop 1.6s ease-in-out infinite 1.4s;
}

/* Step 2 — AI list */
.al-lp-proc-mock-inner--list {
  display: grid;
  gap: 10px;
}

.al-lp-proc-ai-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #0b1220;
  color: #cbd5e1;
  font-size: 13px;
  opacity: 0;
  transform: translateX(-12px);
}

.al-lp-proc-ai-row svg {
  color: #4ade80;
  flex-shrink: 0;
}

.al-lp-proc-step.is-inview .al-lp-proc-ai-row {
  animation: al-lp-proc-slide-in 0.55s ease forwards;
  animation-delay: calc(0.25s + var(--al-lp-proc-delay, 0s));
}

/* Step 3 — Revenue */
.al-lp-proc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.al-lp-proc-stat {
  padding: 14px 10px;
  border-radius: 12px;
  background: #0b1220;
  text-align: center;
}

.al-lp-proc-stat-val {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.al-lp-proc-stat-val--green { color: #4ade80; }
.al-lp-proc-stat-val--purple { color: #c084fc; }
.al-lp-proc-stat-val--gold { color: #facc15; }

.al-lp-proc-stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
}

.al-lp-proc-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  margin-bottom: 14px;
}

.al-lp-proc-chart-bar {
  flex: 1;
  height: var(--al-lp-proc-h, 50%);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #a855f7, #22c55e);
  transform-origin: bottom;
  transform: scaleY(0.35);
}

.al-lp-proc-step.is-inview .al-lp-proc-chart-bar {
  animation: al-lp-proc-bar-grow 2.2s ease-in-out infinite;
}

.al-lp-proc-step.is-inview .al-lp-proc-chart-bar:nth-child(2) { animation-delay: 0.1s; }
.al-lp-proc-step.is-inview .al-lp-proc-chart-bar:nth-child(3) { animation-delay: 0.2s; }
.al-lp-proc-step.is-inview .al-lp-proc-chart-bar:nth-child(4) { animation-delay: 0.3s; }
.al-lp-proc-step.is-inview .al-lp-proc-chart-bar:nth-child(5) { animation-delay: 0.4s; }

.al-lp-proc-pay-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #bbf7d0;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
}

.al-lp-proc-step.is-inview .al-lp-proc-pay-pill {
  animation: al-lp-proc-fade-up 0.55s ease forwards 0.8s;
}

.al-lp-proc-pay-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #052e16;
  font-size: 12px;
  font-weight: 800;
}

/* Copy column */
.al-lp-proc-step-label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.al-lp-proc-step-label--green { color: #4ade80; }
.al-lp-proc-step-label--purple { color: #c084fc; }

.al-lp-proc-step-title {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.al-lp-proc-step-text {
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #94a3b8;
}

.al-lp-proc-bullets {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.al-lp-proc-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 500;
}

.al-lp-proc-bullets svg {
  color: #4ade80;
  flex-shrink: 0;
}

.al-lp-proc-step--accent-purple .al-lp-proc-bullets svg {
  color: #c084fc;
}

.al-lp-proc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 24px;
  border-radius: 14px;
  background: linear-gradient(90deg, #22c55e, #9333ea);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.al-lp-proc-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 36px rgba(147, 51, 234, 0.28);
  color: #fff;
}

@keyframes al-lp-proc-progress {
  0%, 100% { width: 0%; }
  45%, 70% { width: 100%; }
}

@keyframes al-lp-proc-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@keyframes al-lp-proc-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes al-lp-proc-check-pop {
  0%, 100% { transform: scale(0.9); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes al-lp-proc-slide-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes al-lp-proc-bar-grow {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .al-lp-proc-visual,
  .al-lp-proc-copy {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .al-lp-proc-step.is-inview .al-lp-proc-progress-bar,
  .al-lp-proc-step.is-inview .al-lp-proc-field,
  .al-lp-proc-step.is-inview .al-lp-proc-wa-bubble,
  .al-lp-proc-step.is-inview .al-lp-proc-check-ring,
  .al-lp-proc-step.is-inview .al-lp-proc-ai-row,
  .al-lp-proc-step.is-inview .al-lp-proc-chart-bar,
  .al-lp-proc-step.is-inview .al-lp-proc-pay-pill {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
