/*
  CTA 11 — standalone HTML/CSS implementation.
  No build step, no framework, no external dependency: copy this file and
  index.html into any project and open it as-is.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --slate-900: #0f172a;
  --slate-300: #cbd5e1;
  --white: #ffffff;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.cta {
  padding: clamp(3.5rem, 2.9rem + 2.4vw, 5.5rem) clamp(1rem, 0.3rem + 3vw, 2rem);
}

.cta__card {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--slate-900);
}

.cta__copy {
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.cta__proof {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.avatars {
  display: flex;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 2px solid var(--slate-900);
  color: var(--white);
  font-size: 0.5625rem;
  font-weight: 600;
  margin-left: -0.5rem;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar--fuchsia {
  background-color: #d946ef;
}
.avatar--purple {
  background-color: #a855f7;
}
.avatar--blue {
  background-color: #3b82f6;
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  color: #fbbf24;
}

.stars svg {
  width: 0.875rem;
  height: 0.875rem;
}

.cta__heading {
  margin: 1.25rem 0 0;
  font-weight: 600;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
}

.cta__description {
  margin: 1rem 0 0;
  max-width: 24rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate-300);
}

.cta__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.button--primary {
  color: var(--slate-900);
  background-color: var(--white);
}

.button--primary:hover {
  background-color: var(--slate-300);
}

.button--secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
}

.cta__orb-wrap {
  position: relative;
  display: flex;
  height: 14rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background-image: radial-gradient(circle at 35% 35%, #a855f7 0%, #6366f1 45%, transparent 75%);
  filter: blur(28px);
  opacity: 0.65;
}

.orb-ring {
  position: relative;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
}

@media (min-width: 640px) {
  .cta__actions {
    flex-direction: row;
  }

  .cta__card {
    grid-template-columns: 1fr 1fr;
  }

  .cta__orb-wrap {
    height: 100%;
    min-height: 17.5rem;
  }
}

/* Motion — disabled entirely under reduced motion; every element already
   renders at its final, fully visible state outside this media query. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes al-cta11-pulse {
    0%,
    100% {
      opacity: 0.55;
      transform: scale(1);
    }
    50% {
      opacity: 0.85;
      transform: scale(1.08);
    }
  }

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

  .pulse {
    animation: al-cta11-pulse 4400ms ease-in-out infinite;
  }

  .reveal {
    animation: al-cta11-fade 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
