/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.heroBanner {
  padding: 8rem 0 6rem;
  text-align: center;
  background: var(--ifm-background-color);
  border-bottom: 1px solid var(--ifm-color-emphasis-200);
  position: relative;
  overflow: hidden;
}

.heroBanner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  animation: gradientShift 20s ease-in-out infinite;
  pointer-events: none;
}

[data-theme='dark'] .heroBanner::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

@keyframes gradientShift {
  0%, 100% { transform: translateX(0) translateY(0) scale(1); }
  25% { transform: translateX(-10px) translateY(-10px) scale(1.02); }
  50% { transform: translateX(10px) translateY(10px) scale(0.98); }
  75% { transform: translateX(-5px) translateY(5px) scale(1.01); }
}

.heroContent {
  max-width: 768px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.heroLabel {
  display: inline-block;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  color: var(--ifm-color-emphasis-700);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  animation: labelFloat 3s ease-in-out infinite;
}

@keyframes labelFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.heroTitle {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ifm-font-color-base);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--ifm-font-color-base) 0%, var(--ifm-color-emphasis-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1); }
}

.heroDescription {
  font-size: 1.25rem;
  color: var(--ifm-color-emphasis-700);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.heroButtons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.primaryButton {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white;
  border: 1px solid transparent;
  padding: 0.875rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.primaryButton::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.5s;
}

.primaryButton:hover::before {
  left: 100%;
}

.primaryButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white;
  text-decoration: none;
}

[data-theme='dark'] .primaryButton {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .primaryButton:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  color: #000;
}

.secondaryButton {
  background: linear-gradient(135deg, #ff3b30 0%, #ff6b6b 100%);
  color: white;
  border: 1px solid transparent;
  padding: 0.875rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
}

.secondaryButton::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.5s;
}

.secondaryButton:hover::before {
  left: 100%;
}

.secondaryButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 59, 48, 0.4);
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #ff2d20 0%, #ff5722 100%);
}

.heroStats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.heroStat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.heroStat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #a855f7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.heroStat:hover::before {
  opacity: 1;
}

.heroStat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] .heroStat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .heroStat:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.statValue {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ifm-font-color-base);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--ifm-font-color-base) 0%, var(--ifm-color-emphasis-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.statLabel {
  font-size: 0.875rem;
  color: var(--ifm-color-emphasis-700);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 996px) {
  .heroBanner {
    padding: 6rem 0 4rem;
  }
  
  .heroTitle {
    font-size: 2.75rem;
  }
  
  .heroDescription {
    font-size: 1.125rem;
  }
  
  .heroStats {
    gap: 2rem;
  }
  
  .heroStat {
    padding: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .heroBanner {
    padding: 4rem 0 3rem;
  }
  
  .heroTitle {
    font-size: 2.25rem;
  }
  
  .heroDescription {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .heroButtons {
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
  }
  
  .primaryButton,
  .secondaryButton {
    width: 100%;
    max-width: 280px;
  }
  
  .heroStats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .heroStat {
    width: 100%;
    max-width: 200px;
  }
  
  .statValue {
    font-size: 1.5rem;
  }
}
