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

body {
  min-height: 100vh;
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
  overflow: hidden;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  opacity: 0.2;
  animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.7);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.25);
  }
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.content {
  text-align: center;
}

.name {
  font-size: 4.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #c9c9c9;
  text-align: center;
}

.company-type {
  font-size: 0.45em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e0e0e0;
}

.service-line {
  margin-top: 0.5rem;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a9a;
  text-align: center;
}

.bottom-service-line {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  margin: 0;
  z-index: 1;
  white-space: nowrap;
}

.subtitle {
  margin-top: 0.7rem;
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.contact {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #fff;
}

.contact a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

@media (hover: hover) {
  .contact a:hover {
    text-decoration: underline;
  }
}

@media (hover: none) {
  .contact a:active {
    opacity: 0.75;
  }
}

@media (max-width: 1024px) {
  .background-video {
    transform: scale(1.2);
  }

  .name {
    font-size: 3.8rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .service-line {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .background-video {
    transform: scale(1.12);
  }

  .name {
    font-size: 2.6rem;
    letter-spacing: 0.04em;
  }

  .subtitle {
    margin-top: 0.6rem;
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .service-line {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
  }

  .bottom-service-line {
    bottom: 1rem;
    max-width: calc(100vw - 2rem);
    white-space: normal;
  }

  .contact {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .service-line {
    font-size: 0.82rem;
  }

  .bottom-service-line {
    font-size: 0.75rem;
  }

  .contact {
    font-size: 0.9rem;
  }
}
