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

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'sans-serif';
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.logo {
  font-size: clamp(3rem, 8vw, 4rem);
  font-family: 'sans-serif', monospace;
  font-weight: bold;
  letter-spacing: 0.5rem;
  margin-bottom: 1.5rem;
  margin-left: 0.5rem;
}

#pillars-container {
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.pillar {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-family: 'sans-serif', monospace;
  font-weight: bold;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
  animation: fadeInOut 2s ease-in-out;
}

#pillar-building {
  animation-delay: 0s;
}

#pillar-logic {
  animation-delay: 2s;
}

#pillar-automation {
  animation-delay: 4s;
}

#pillar-device {
  animation-delay: 6s;
}

#coming-soon {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-family: 'sans-serif', monospace;
    font-weight: bold;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 1s ease-in ;
    animation-delay: 8s;
    animation-fill-mode: forwards;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  font-family: 'sans-serif', monospace;
}

@media (max-width: 768px) {
  .logo {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .pillars-container {
    margin-bottom: 2rem;
  }
}
