.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #000 0%, #1a0a3e 50%, #000 100%);
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(51, 12, 179, 0.6);
  border-radius: 50%;
  animation: float 15s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

.grid-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(51, 12, 179, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 12, 179, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.3;
}

@keyframes gridMove {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }
  100% {
    transform: perspective(500px) rotateX(60deg) translateY(50px);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  /* padding: 2rem; */
}

.glitch-wrapper {
  margin-bottom: 2rem;
}

h1 {
  font-size: 4.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 900;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.highlight {
  background: linear-gradient(45deg, rgba(51, 12, 179, 0.85), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.5);
  }
}

.subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: rgba(51, 12, 179, 0.85);
  color: #fff;
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(51, 12, 179, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(51, 12, 179, 0.85);
}

.btn-secondary:hover {
  background: rgba(51, 12, 179, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.3);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-item {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(214, 211, 223, 0.3);
  border-radius: 20px;
  animation: floatAround 20s infinite ease-in-out;
}

.float-item:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.float-item:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: -5s;
  border-radius: 50%;
}

.float-item:nth-child(3) {
  bottom: 10%;
  left: 15%;
  animation-delay: -10s;
}

@keyframes floatAround {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(0, -60px) rotate(180deg);
  }
  75% {
    transform: translate(-30px, -30px) rotate(270deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid rgba(51, 12, 179, 0.85);
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(51, 12, 179, 0.85);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: none;
  }
}
