/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Khula', sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #1a365d 100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Animated background particles */
#particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(100, 255, 218, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

/* Glowing orbs in background */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb1 {
  width: 400px;
  height: 400px;
  background: #64ffda;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb2 {
  width: 350px;
  height: 350px;
  background: #00d4ff;
  bottom: -100px;
  right: -100px;
  animation-delay: 7s;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: #a78bfa;
  top: 50%;
  left: 50%;
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(100px, -100px); }
  50% { transform: translate(-50px, 100px); }
  75% { transform: translate(150px, 50px); }
}

/* Content */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
  transition: transform 0.1s ease-out;
}

header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  background: linear-gradient(120deg, #64ffda, #00d4ff, #a78bfa);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #8892b0;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid Container for Buttons */
.grid-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Navigation Buttons */
.nav-btn {
  background: rgba(100, 255, 218, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(100, 255, 218, 0.3);
  color: #64ffda;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.3), transparent);
  transition: left 0.5s ease;
}

.nav-btn:hover::before {
  left: 100%;
}

.nav-btn:hover {
  background: rgba(100, 255, 218, 0.2);
  border-color: #64ffda;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.nav-btn:active {
  transform: translateY(-1px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  transition: opacity 0.3s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  stroke: #64ffda;
  fill: none;
  stroke-width: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-btn {
    width: 80%;
    max-width: 300px;
  }

  .orb1, .orb2, .orb3 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .nav-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}