/* Interactive SVG animations for feature page */

.feature-interactive-svg {
  transition: all 0.3s ease;
  transform-origin: center;
}

.feature-interactive-svg:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.feature-card:hover .feature-interactive-svg {
  animation: pulse-svg 2s infinite;
}

@keyframes pulse-svg {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Interactive feature sections */
.marketing-features-list {
  position: relative;
  z-index: 10;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.98));
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-section-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.1;
}

.floating-svg {
  position: absolute;
  animation: float-svg 8s ease-in-out infinite;
  opacity: 0.7;
}

.floating-svg-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-svg-2 {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.floating-svg-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.floating-svg-4 {
  bottom: 30%;
  right: 25%;
  animation-delay: 6s;
}

@keyframes float-svg {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Improved visibility for marketing features */
/* These styles are now handled by Tailwind directly in the HTML */

/* Feature card hover effects */
.bg-white.rounded-xl.shadow-lg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-white.rounded-xl.shadow-lg:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Feature SVG animations */
.feature-interactive-svg {
  transition: all 0.3s ease;
}

/* Feature item animations on scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(59, 130, 246, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    transform: scale(1.05);
  }
}

.marketing-feature-item:hover .feature-icon-container {
  animation: pulse-glow 2s infinite;
}

/* Feature item animations on scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation for automation showcase section */
.automation-showcase {
  position: relative;
  overflow: hidden;
}

.automation-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.automation-feature-item {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.15);
  padding: 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.automation-feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
}

.automation-feature-item svg {
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Enhanced CTA section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section__background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0.8;
  z-index: 0;
}

.cta-section__content {
  position: relative;
  z-index: 2;
}

.cta-button--primary:hover, 
.cta-button--outline:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.3);
}
