/* ============================================================
   FINAL CTA
   ============================================================ */

/* === FINAL CTA SECTION === */

.final-cta {
  position: relative;
  min-height: 100vh;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5vh 60px 0;
  overflow: visible;
}

/* Eyebrow pill at top */

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  border: 0.5px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #818CF8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(40,25,80,0.08);
  
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}

.final-cta.is-revealed .cta-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.cta-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #818CF8;
  animation: dotPulse 2s ease-in-out infinite;
}

/* Headline */

.cta-headline {
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 1100px;
  margin-bottom: 60px;
  overflow: visible;
  padding-inline: 0.1em;
}

.final-cta.is-revealed .cta-headline {
  opacity: 1;
  transform: translateY(0);
}

.cta-headline em {
  display: inline-block;
  padding-right: 0.12em;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stage for portal image + cloud + lets-talk text */

.cta-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6vh auto;
}

/* Portal image (Lena before portal) */

.cta-portal-img {
  position: relative;
  width: 100%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  
  /* No card background, no border-radius — just a transparent container */
  background: transparent;
  box-shadow: none;
  
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s ease 0.7s, transform 1s ease 0.7s;
}

.final-cta.is-revealed .cta-portal-img {
  opacity: 1;
  transform: scale(1);
}

.cta-portal-placeholder {
  text-align: center;
  color: rgba(80,30,150,0.5);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.cta-portal-arch {
  width: 250px;
  height: 350px;
  border-radius: 125px 125px 0 0;
  margin: 0 auto;
  background: linear-gradient(180deg, #FFF 0%, #FEF7FF 50%, rgba(255,255,255,0.4) 100%);
  box-shadow: 
    0 0 100px rgba(255,255,255,0.8),
    0 0 200px rgba(192,132,252,0.5),
    inset 0 0 75px rgba(192,132,252,0.3);
  position: relative;
}

.cta-portal-arch::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.6) 0%, transparent 70%);
  border-radius: inherit;
  pointer-events: none;
}

/* The "Let's talk" text — emerges from the cloud */

.cta-lets-talk-wrap {
  position: absolute;
  bottom: -10vh;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}

.cta-lets-talk {
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.85;
  color: #111;
  
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1) 1s, transform 1.4s cubic-bezier(0.34,1.4,0.64,1) 1s;
}

.final-cta.is-revealed .cta-lets-talk {
  opacity: 1;
  transform: translateY(0);
}

/* Soft underline cloud — extra ambient glow under the text */

.cta-cloud-bed {
  position: absolute;
  bottom: -12vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 30vh;
  background: radial-gradient(ellipse at 50% 30%, 
    rgba(192,132,252,0.35) 0%, 
    rgba(129,140,248,0.25) 30%, 
    transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 2;
  
  opacity: 0;
  transition: opacity 1.5s ease 0.6s;
}

.final-cta.is-revealed .cta-cloud-bed {
  opacity: 1;
}

@media (max-width: 900px) {
  
  .cta-portal-img { width: 280px; height: 380px; }
}
