/*! ------------------------------------------------
 * CTA Section — Multiverse Intellect
 * External CSS for contact CTA on index.html
 * Uses theme CSS variables, BEM class naming
 * ------------------------------------------------ */

/* ---------- CTA Card Wrapper ---------- */
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--_radius-s, 1rem);
  border: 1px solid var(--stroke-elements, rgba(255, 255, 255, 0.12));
  background: rgba(var(--base-rgb, 20, 20, 20), 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 72px rgba(var(--base-rgb, 20, 20, 20), 0.32);
  padding: 5rem 3rem;
  text-align: center;
  transition: border-color var(--_animspeed-medium, 0.3s) var(--_animbezier);
}

/* Subtle top accent glow */
.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(242, 245, 252, 0.45) 20%,
    rgba(242, 245, 252, 0.65) 50%,
    rgba(242, 245, 252, 0.45) 80%,
    transparent 100%
  );
}

.cta-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

/* ---------- Headline ---------- */
.cta-card__headline {
  margin: 0 0 1.6rem 0;
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--t-bright, #F2F5FC);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cta-card__headline em {
  font-style: normal;
  color: #B73786;
}

/* ---------- Subtitle ---------- */
.cta-card__subtitle {
  max-width: 620px;
  margin: 0 auto 3rem auto;
  font-size: 1.5rem;
  color: var(--t-medium, #AEB5C5);
  line-height: 1.7;
}

/* ---------- Button Row ---------- */
.cta-card__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.3rem 3.2rem;
  border-radius: 3rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

/* Outline variant */
.cta-btn--outline {
  border: 1px solid var(--stroke-controls, rgba(255, 255, 255, 0.18));
  background: transparent;
  color: var(--t-bright, #F2F5FC);
}

.cta-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.06);
}

/* Primary / WhatsApp green variant — keep the green as-is (brand color, not theme-dependent) */
.cta-btn--primary {
  border: 1px solid #25D366;
  background: #25D366;
  color: #fff;
}

.cta-btn--primary:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.25);
}

/* Icon sizing inside buttons */
.cta-btn i {
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ---------- Mobile ---------- */
@media only screen and (max-width: 767px) {
  .cta-card {
    padding: 3.2rem 1.6rem;
  }

  .cta-card__headline {
    font-size: 2.2rem;
  }

  .cta-card__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.2rem;
  }

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

  .cta-btn {
    justify-content: center;
    width: 100%;
    font-size: 1.35rem;
    padding: 1.2rem 2.4rem;
  }
}
