* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 50%
  );
}

.agonic-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(64, 224, 208, 0.3) 20%,
    rgba(64, 224, 208, 0.8) 40%,
    #40e0d0 50%,
    rgba(64, 224, 208, 0.8) 60%,
    rgba(64, 224, 208, 0.3) 80%,
    transparent 100%
  );
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(64, 224, 208, 0.5);
  animation: pulse 3s ease-in-out infinite;
}

.agonic-line::before,
.agonic-line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #40e0d0;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(64, 224, 208, 0.8);
}

.agonic-line::before {
  animation: flowUp 16s linear infinite;
}

.agonic-line::after {
  animation: flowUp 16s linear infinite 8s;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-align: center;
  z-index: 2;
  position: relative;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  animation: fadeInUp 2s ease-out;
}

.compass-indicator {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border: 2px solid rgba(64, 224, 208, 0.6);
  border-radius: 50%;
  z-index: 1;
  animation: swing 16s ease-in-out infinite;
}

.compass-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 20px;
  background: #40e0d0;
  transform: translate(-50%, -100%);
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(64, 224, 208, 0.8);
}

.compass-indicator::after {
  content: "N";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(64, 224, 208, 0.8);
  font-weight: 500;
  letter-spacing: 0.1em;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scaleY(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.02);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.8);
  }
  100% {
    box-shadow: 0 0 25px rgba(64, 224, 208, 1), 0 0 35px rgba(64, 224, 208, 0.6);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flowUp {
  0% {
    top: 75%;
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }
  15% {
    opacity: 0.35;
    transform: translateX(-50%) scale(1);
  }
  85% {
    opacity: 0.35;
    transform: translateX(-50%) scale(1);
  }
  100% {
    top: 25%;
    opacity: 0;
    transform: translateX(-50%) scale(0.5);
  }
}

@keyframes swing {
  0% {
    transform: translateX(-50%) rotate(10deg);
  }
  50% {
    transform: translateX(-50%) rotate(-10deg);
  }
  100% {
    transform: translateX(-50%) rotate(10deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    letter-spacing: 0.1em;
  }

  .compass-indicator {
    width: 40px;
    height: 40px;
    top: 20%;
  }

  .compass-indicator::before {
    height: 15px;
  }

  .compass-indicator::after {
    top: -25px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .agonic-line {
    width: 2px;
  }

  .agonic-line::before {
    width: 8px;
    height: 8px;
  }
}
