/* Custom animations */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* Floating elements */
.floating-element {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.floating-1 {
  top: 15%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.floating-2 {
  bottom: 20%;
  right: 10%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-15px) translateX(15px);
  }
  50% {
    transform: translateY(0) translateX(0);
  }
  75% {
    transform: translateY(15px) translateX(-15px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Stats section */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #4361EE;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #6c757d;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

/* Integration logos section */
.integration-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.integration-logo {
  flex: 0 0 auto;
  transition: transform var(--transition-normal);
}

.integration-logo:hover {
  transform: translateY(-5px);
}

/* Overflow utilities */
.overflow-x-auto {
  overflow-x: auto;
}

.overflow-hidden {
  overflow: hidden;
}

/* Lead form styles */
.form-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.lead-form {
  padding: var(--space-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-right: 0.5rem;
}

.form-submit {
  width: 100%;
}

/* Feature list with checkmarks */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: white;
}

.feature-list li i {
  color: #4CC9F0;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Modern form styles */
.modern-form-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
}

.form-header {
  background-color: #4361EE;
  padding: 1.5rem;
  text-align: center;
}

.form-header h3 {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.modern-form {
  padding: 2rem;
}

.modern-form-group {
  margin-bottom: 1.5rem;
}

.modern-form-input,
.modern-form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--dark);
  background-color: #f8f9fa;
}

.modern-form-input:focus,
.modern-form-select:focus {
  outline: none;
  border-color: #4361EE;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  background-color: white;
}

.modern-form-input::placeholder {
  color: #adb5bd;
}

.modern-form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modern-form-checkbox input {
  margin-right: 0.75rem;
}

.modern-form-checkbox label {
  color: var(--gray);
  font-size: 0.875rem;
}

.modern-form-button {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #4361EE;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-form-button:hover {
  background-color: #3a56d4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.form-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-note i {
  color: #4CC9F0;
  font-size: 1rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Form response styles */
.form-response {
  margin-top: 1.5rem;
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-weight: 500;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.alert-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c !important;
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-weight: 500;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.alert-success p {
  color: #047857 !important;
}

.alert-danger p {
  color: #b91c1c !important;
}

.form-response.success .alert {
  animation: fadeIn 0.5s ease-in-out;
}

.form-response.error .alert {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Signup section specific styles */
.signup-section {
  padding: 4rem 0;
}

.signup-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.signup-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* How It Works section */
.how-it-works-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.how-it-works-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.how-it-works-step:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: white;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  color: white;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .how-it-works-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
}
