/* ===================================
   HERO SECTION
   Full-height Hero with Animated Gradients
   =================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* ========== BACKGROUND ========== */
.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-animated-1);
  background-size: 400% 400%;
  animation: gradient-rotate 15s ease infinite;
  z-index: -1;
}

.hero__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-animated-2);
  background-size: 400% 400%;
  animation: gradient-rotate 20s ease infinite reverse;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

/* ========== FLOATING SHAPES ========== */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  pointer-events: none;
}

.floating-shape--1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  background: var(--gradient-primary);
  opacity: 0.2;
  animation: float 20s ease-in-out infinite;
}

.floating-shape--2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
  background: var(--gradient-secondary);
  opacity: 0.2;
  animation: float-slow 15s ease-in-out infinite;
  animation-delay: 2s;
}

.floating-shape--3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  background: var(--gradient-accent);
  opacity: 0.15;
  animation: float-reverse 18s ease-in-out infinite;
  animation-delay: 4s;
}

.floating-shape--4 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 30%;
  background: var(--gradient-warm);
  opacity: 0.15;
  animation: float 25s ease-in-out infinite;
  animation-delay: 6s;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: float 25s ease-in-out infinite, morph 12s ease-in-out infinite;
}

/* ========== CONTENT ========== */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-md);
}

.hero__title {
  margin-bottom: var(--spacing-md);
}

.hero__greeting {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-white);
  margin-bottom: var(--spacing-sm);
  opacity: 0;
  animation: fade-in-down 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.hero__greeting::after {
  content: '|';
  display: inline-block;
  margin-left: 5px;
  animation: blink-cursor 1s step-end infinite;
}

.hero__name {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-black);
  color: var(--color-text-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

/* ========== CTA BUTTONS ========== */
.hero__cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-in-up 0.8s ease-out forwards;
  animation-delay: 1.1s;
}

.hero__cta .btn {
  min-width: 180px;
  font-size: var(--font-size-lg);
  padding: 1.2rem 2.5rem;
}

.hero__cta .btn--primary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--color-text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.hero__cta .btn--primary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.hero__cta .btn--secondary {
  background: transparent;
  color: var(--color-text-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero__cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  opacity: 0;
  animation: fade-in 1s ease-out forwards, bounce-gentle 2s ease-in-out infinite;
  animation-delay: 1.5s, 2.5s;
  cursor: pointer;
}

.scroll-indicator__mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator__wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    top: 10px;
    opacity: 1;
  }
  50% {
    top: 25px;
    opacity: 0.5;
  }
  100% {
    top: 10px;
    opacity: 1;
  }
}

.scroll-indicator__text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin: 0;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
  .hero__greeting {
    font-size: var(--font-size-lg);
  }

  .hero__name {
    font-size: var(--font-size-3xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-md);
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .floating-shape--1 {
    width: 200px;
    height: 200px;
  }

  .floating-shape--2 {
    width: 150px;
    height: 150px;
  }

  .floating-shape--3 {
    width: 100px;
    height: 100px;
  }

  .floating-shape--4 {
    width: 180px;
    height: 180px;
  }
}