/* Hero Section Animations */

/* Animated Gradient Background */
.mxd-hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated mesh gradient background */
.mxd-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(54, 207, 201, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(91, 91, 234, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}


/* Floating Particles with Mouse Parallax */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Large gradient orb - center top-left */
.hero-particle-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(54, 207, 201, 0.1) 0%, rgba(54, 207, 201, 0.04) 40%, transparent 70%);
  top: 20%;
  left: 25%;
  filter: blur(80px);
  animation: gentleFloat1 25s ease-in-out infinite;
}

/* Medium orb - center top-right */
.hero-particle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(91, 91, 234, 0.08) 0%, rgba(91, 91, 234, 0.03) 40%, transparent 70%);
  top: 25%;
  right: 25%;
  filter: blur(90px);
  animation: gentleFloat2 22s ease-in-out infinite;
}

/* Accent orb - center left */
.hero-particle-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(54, 207, 201, 0.09) 0%, rgba(54, 207, 201, 0.03) 40%, transparent 70%);
  top: 50%;
  left: 30%;
  transform: translateY(-50%);
  filter: blur(70px);
  animation: gentleFloat3 20s ease-in-out infinite;
}

/* Medium orb - center right */
.hero-particle-4 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(91, 91, 234, 0.1) 0%, rgba(91, 91, 234, 0.03) 40%, transparent 70%);
  top: 50%;
  right: 30%;
  transform: translateY(-50%);
  filter: blur(85px);
  animation: gentleFloat4 23s ease-in-out infinite;
}

/* Center particle */
.hero-particle-5 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(54, 207, 201, 0.07) 0%, rgba(91, 91, 234, 0.03) 40%, transparent 70%);
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(75px);
  animation: gentleFloat5 18s ease-in-out infinite;
}

/* Bottom center particle */
.hero-particle-6 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(91, 91, 234, 0.08) 0%, rgba(54, 207, 201, 0.03) 40%, transparent 70%);
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(70px);
  animation: gentleFloat6 21s ease-in-out infinite;
}

/* Gentle floating animations - smaller movements */
@keyframes gentleFloat1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(8px, -10px);
  }
  66% {
    transform: translate(-5px, 5px);
  }
}

@keyframes gentleFloat2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-10px, 8px);
  }
  66% {
    transform: translate(5px, -6px);
  }
}

@keyframes gentleFloat3 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(9px, 6px);
  }
  66% {
    transform: translate(-8px, -9px);
  }
}

@keyframes gentleFloat4 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-6px, -10px);
  }
  66% {
    transform: translate(8px, 8px);
  }
}

@keyframes gentleFloat5 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-9px, 8px);
  }
  66% {
    transform: translate(6px, -5px);
  }
}

@keyframes gentleFloat6 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(10px, -8px);
  }
  66% {
    transform: translate(-8px, 9px);
  }
}

/* Enhanced Text Animations */
.hero-03-headline__caption {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-03-headline__title {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.mxd-manifest__controls {
  animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle Gradient Text Animation */
.hero-03-headline__caption span {
  background: linear-gradient(90deg, #36CFC9, #5B5BEA, #36CFC9);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Glowing Effect on Hover for CTA Button */
.btn-accent {
  position: relative;
  transition: all 0.3s ease;
}

.btn-accent::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #36CFC9, #5B5BEA);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(10px);
}

.btn-accent:hover::before {
  opacity: 0.7;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

/* Ensure proper z-index stacking and centering */
.mxd-hero-03 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.mxd-hero-03__wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.mxd-hero-03__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mxd-hero-03__headline {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
}

/* Subtle shine effect - removed for cleaner look */
.hero-03-headline__title {
  position: relative;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-particle-5,
  .hero-particle-6 {
    display: none;
  }

  .hero-particle {
    filter: blur(50px);
  }

  .mxd-hero-03__top {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero-particle {
    opacity: 0.5;
  }

  .hero-particle-1,
  .hero-particle-2 {
    width: 300px;
    height: 300px;
  }

  .hero-particle-3,
  .hero-particle-4 {
    display: none;
  }

  .mxd-hero-section::before {
    animation-duration: 25s;
  }

  .mxd-hero-section {
    min-height: 80vh;
  }
}

@media (max-width: 480px) {
  .hero-particle {
    display: none;
  }

  .mxd-hero-section {
    min-height: 70vh;
  }
}

/* Smooth scroll reveal for hero elements */
.loading__item {
  opacity: 0;
  animation: revealItem 0.8s ease-out forwards;
}

.loading__item:nth-child(1) {
  animation-delay: 0.2s;
}

.loading__item:nth-child(2) {
  animation-delay: 0.4s;
}

.loading__item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes revealItem {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
