/* Hero section styles */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(10, 10, 20, 0.4) 0%, rgba(5, 5, 8, 0.9) 100%);
}

.hero-grid {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(to right, rgba(105, 45, 243, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(105, 45, 243, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(1000px) rotateX(60deg) scale(1.5);
  transform-origin: center top;
  opacity: 0.4;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.5s;
}

/* quotes carousel */
.quotes-carousel {
  position: relative;
  height: 80px;
  margin-bottom: 2rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 0.8s;
}

.quote-item {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
  text-align: center;
}

.quote-item.active {
  opacity: 1;
  transform: translateY(0);
}

.quote-item em {
  display: block;
  font-size: 1.5rem;
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.quote-author {
  display: block;
  font-size: 1rem;
  color: var(--dim-text);
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards 1.1s;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  opacity: 0.15;
  filter: blur(3px);
  animation: floatAnimation 15s infinite ease-in-out;
}

.shape1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -50px;
  border-radius: 34% 66% 70% 30% / 30% 30% 70% 70%;
  background: radial-gradient(circle at center, var(--primary-color), transparent);
  animation-duration: 20s;
}

.shape2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  border-radius: 61% 39% 47% 53% / 45% 40% 60% 55%; 
  background: radial-gradient(circle at center, var(--secondary-color), transparent);
  animation-duration: 15s;
  animation-delay: 1s;
}

.shape3 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 20%;
  border-radius: 41% 59% 37% 63% / 57% 59% 41% 43%;
  background: radial-gradient(circle at center, var(--accent-color), transparent);
  animation-duration: 25s;
  animation-delay: 2s;
}

/* Animated spotlight */
.spotlight {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%, rgba(105, 45, 243, 0.1), transparent 70%);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: spotlightMove 10s ease-in-out infinite alternate;
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -15px) rotate(3deg);
  }
  50% {
    transform: translate(-5px, 10px) rotate(-3deg);
  }
  75% {
    transform: translate(-10px, -5px) rotate(1deg);
  }
}

@keyframes spotlightMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .quote-item em {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .quotes-carousel {
    height: 100px;
  }
  
  .quote-item em {
    font-size: 1.1rem;
  }
  
  .quote-author {
    font-size: 0.9rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
}
