/* ============================================
   Gradient Animated Component
   Animated gradient backgrounds with pattern overlays
   ============================================ */

/* Base gradient animated container */
.gradient-animated-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  padding: 4rem 0;
  /* background-image: url("/v4/static/images/20250223-P1111102-cropped.png");
  background-size: cover; */
}

/* Full-page variant that extends behind nav */
.gradient-animated-section.gradient-full-page {
  margin-top: -6rem; /* Pull up to go behind nav (nav has 1rem margin + height) */
  padding-top: 8rem; /* Add extra padding to push content below nav */
  min-height: calc(100vh + 6rem);
}

/* Animated gradient background */
.gradient-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

/* Default gradient (dark theme) */
.gradient-animated-bg {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 35, 0.98) 0%,
    rgba(25, 20, 45, 0.98) 50%,
    rgba(15, 15, 35, 0.98) 100%
  );
}

/* Decorative pattern overlay */
.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.pattern-overlay {
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

/* Gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Content wrapper for gradient sections */
.gradient-content {
  position: relative;
  z-index: 1;
}

/* Analytics dashboard page specific spacing */
.gradient-animated-section.analytics-dashboard .gradient-content {
  margin-top: 150px;
}

/* Centered content wrapper */
.gradient-content-center {
  text-align: center;
  margin-bottom: 2rem;
}

/* Large display title */
.display-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}

/* Large subtitle text */
.display-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Alternative gradient color themes */
.gradient-animated-bg.gradient-purple {
  background: linear-gradient(
    135deg,
    rgba(25, 20, 45, 0.98) 0%,
    rgba(35, 25, 60, 0.98) 50%,
    rgba(25, 20, 45, 0.98) 100%
  );
}

.gradient-animated-bg.gradient-green {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.95) 0%,
    rgba(22, 163, 74, 0.95) 50%,
    rgba(34, 197, 94, 0.95) 100%
  );
}

.gradient-animated-bg.gradient-blue {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.95) 0%,
    rgba(37, 99, 235, 0.95) 50%,
    rgba(59, 130, 246, 0.95) 100%
  );
}

/* Dark mode variant with subtle brand purple hint */
.gradient-animated-bg.gradient-dark {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 35, 0.98) 0%,
    rgba(30, 20, 50, 0.98) 25%,
    rgba(25, 15, 40, 0.98) 75%,
    rgba(15, 15, 35, 0.98) 100%
  );
}

.gradient-animated-bg.gradient-green {
  background: linear-gradient(
    135deg,
    rgba(22, 125, 59, 0.95) 0%,
    rgba(16, 103, 47, 0.95) 50%,
    rgba(22, 125, 59, 0.95) 100%
  );
}

.gradient-animated-bg.gradient-blue {
  background: linear-gradient(
    135deg,
    rgba(37, 82, 155, 0.95) 0%,
    rgba(29, 64, 121, 0.95) 50%,
    rgba(37, 82, 155, 0.95) 100%
  );
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .gradient-animated-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .display-title {
    font-size: 2.5rem;
  }

  .display-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .display-title {
    font-size: 2rem;
  }

  .display-subtitle {
    font-size: 1.125rem;
  }
}

/* Trust badge wrapper */
.icon-badge-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

/* CTA section within gradient hero */
.gradient-animated-section .action-section {
  text-align: center;
}

/* Buttons in hero section display inline naturally */

/* Trust indicators below CTAs */
.gradient-animated-section .small-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.small-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.small-indicator-icon {
  color: #ffc107;
}