.animated-gradient {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
  border-radius: 1rem;
  margin: 3rem 0;
  background: linear-gradient(135deg, #2c3e50 0%, #4a47a3 50%, #27ae60 100%);
  transition: all 1s ease-out;
  opacity: 0;
  transform: translateY(40px);
  color: white;
  text-align: center;
}

.animated-gradient.visible {
  opacity: 1;
  transform: translateY(0);
}

.animated-gradient .gradient-header-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.animated-gradient .gradient-header-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

.animated-gradient .icon,
.animated-gradient [class*="icon"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.animated-gradient .icon svg,
.animated-gradient [class*="icon"] svg {
  width: 2rem;
  height: 2rem;
  fill: white;
}

.animated-gradient .icon i,
.animated-gradient [class*="icon"] i {
  font-size: 2rem;
  color: white;
}

.animated-gradient h1,
.animated-gradient h2,
.animated-gradient h3,
.animated-gradient .heading {
  position: relative;
  z-index: 10;
  color: white;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.animated-gradient p,
.animated-gradient .subtitle,
.animated-gradient .description {
  position: relative;
  z-index: 10;
  color: white;
  opacity: 0.9;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .animated-gradient {
    padding: 3rem 1rem;
    margin: 2rem 0;
    border-radius: 0.75rem;
  }
  
  .animated-gradient .icon,
  .animated-gradient [class*="icon"] {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }
  
  .animated-gradient .icon svg,
  .animated-gradient [class*="icon"] svg,
  .animated-gradient .icon i,
  .animated-gradient [class*="icon"] i {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
  }
  
  .animated-gradient h1,
  .animated-gradient h2,
  .animated-gradient h3,
  .animated-gradient .heading {
    font-size: 2rem;
  }
}

.animated-gradient.gradient-default {
  background: linear-gradient(135deg, #2c3e50 0%, #4a47a3 100%);
}

.animated-gradient.gradient-dark-green {
  background: linear-gradient(135deg, #2c3e50 0%, #27ae60 100%);
}

.animated-gradient.gradient-purple-green {
  background: linear-gradient(135deg, #4a47a3 0%, #2ecc71 100%);
}

.animated-gradient.gradient-three-tone {
  background: linear-gradient(135deg, #2c3e50 0%, #4a47a3 50%, #27ae60 100%);
}