/* Update button font to Asimovian and add more animations */
.cta,
button[type="submit"],
.button {
  font-family: "Asimov", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft-white);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Enhanced ripple effect animation */
.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(57, 255, 138, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta:hover::before {
  width: 300px;
  height: 300px;
}

/* Enhanced hover with more animations */
.cta:hover {
  border-color: var(--accent-green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 40px rgba(57, 255, 138, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta span,
.cta-text {
  position: relative;
  z-index: 1;
}

.cta-primary {
  background: linear-gradient(135deg, rgba(57, 255, 138, 0.15) 0%, rgba(57, 255, 138, 0.08) 100%);
  border-color: rgba(57, 255, 138, 0.3);
  color: var(--accent-green);
}

.cta-primary:hover {
  background: linear-gradient(135deg, rgba(57, 255, 138, 0.25) 0%, rgba(57, 255, 138, 0.15) 100%);
  border-color: var(--accent-green);
  color: var(--soft-white);
}

button.cta-primary {
  background: linear-gradient(135deg, rgba(57, 255, 138, 0.15) 0%, rgba(57, 255, 138, 0.08) 100%);
  border-color: rgba(57, 255, 138, 0.3);
  color: var(--accent-green);
}

button.cta-primary:hover {
  background: linear-gradient(135deg, rgba(57, 255, 138, 0.25) 0%, rgba(57, 255, 138, 0.15) 100%);
  border-color: var(--accent-green);
  color: var(--soft-white);
}


/* Enhanced pulse animation */
@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(57, 255, 138, 0.4);
  }
  50% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(57, 255, 138, 0);
  }
}

.cta-pulse {
  animation: buttonPulse 2s ease-in-out infinite;
}

/* Mobile responsive buttons */
@media (max-width: 768px) {
  .cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}
