/* Hero Section */
.hero {
  position: relative;
  padding: 12rem 0 8rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9c88ff 100%);
  color: white;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
  animation: backgroundAnimation 8s ease-in-out infinite alternate;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='50' cy='50' r='1'/%3E%3Ccircle cx='50' cy='10' r='1'/%3E%3Ccircle cx='10' cy='50' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes backgroundAnimation {
  0% {
    transform: translateX(-5px) translateY(-5px);
  }
  100% {
    transform: translateX(5px) translateY(5px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out;
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: aliceblue;
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn {
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.hero-buttons .btn:hover::before {
  left: 100%;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Floating particles animation */
.hero .container::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: floatParticle1 4s ease-in-out infinite;
}

.hero .container::after {
  content: '';
  position: absolute;
  top: 60%;
  right: 15%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: floatParticle2 5s ease-in-out infinite reverse;
}

@keyframes floatParticle1 {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.8; }
  50% { transform: translateY(-15px) translateX(-5px); opacity: 0.6; }
  75% { transform: translateY(-25px) translateX(15px); opacity: 0.8; }
}

@keyframes floatParticle2 {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
  33% { transform: translateY(15px) translateX(-10px); opacity: 0.7; }
  66% { transform: translateY(-10px) translateX(8px); opacity: 0.5; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.15rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
}
