@font-face {
  font-family: 'BitRoad';
  src: url('fonts/Bitroad-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Regular.otf') format('truetype');
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #F5F5EF;
  font-family: 'Neue Montreal', sans-serif;
  text-align: center;
  overflow-x: hidden;
}

#trailCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  padding: 40px 20px;
}

.logo,
.company-name,
.subtitle,
.tagline,
.apps,
.links {
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.logo        { animation-delay: 0.2s; }
.company-name { animation-delay: 0.4s; }
.subtitle     { animation-delay: 0.6s; }
.tagline      { animation-delay: 0.8s; }
.apps         { animation-delay: 1.0s; }
.links        { animation-delay: 1.2s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.company-name {
  font-family: 'BitRoad', monospace;
  font-size: 32px;
  margin-top: 10px;
}

.subtitle {
  font-size: 15px;
  margin-top: 6px;
}

.tagline {
  font-style: italic;
  font-size: 24px;
  margin-top: 40px;
  max-width: 700px;
  line-height: 1.4;
}

.apps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.apps a{
  text-decoration: none;
  color: black;
}

.tagline a{
  text-decoration: none;
  color: black;
}

.app-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  padding: 8px;
}

.app-item img {
  height: 20px;
}

.links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  font-size: 16px;
  flex-wrap: wrap;
}

/* ✨ Hoverable outline style */
.hover-outline {
  transition: outline 0.15s ease;
  outline: none;
  padding: 4px;
  text-decoration: none;
  color: black;
}

.hover-outline:hover {
  outline: 3px dotted black;
  outline-offset: 4px;
  cursor: pointer;
  image-rendering: pixelated;
}

/* 📱 Mobile specific */
@media (max-width: 600px) {
  .tagline {
    font-size: 20px;
  }

  .company-name {
    font-size: 28px;
  }

  .app-item {
    font-size: 14px;
  }

  .apps, .links {
    flex-direction: column;
    gap: 16px;
  }

  .main-content {
    padding: 20px;
  }
}
