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

html {
  scroll-behavior: smooth;
}

body {
  background: #0c0e0c;
  color: #e8eae8;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 14, 12, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(80, 250, 123, 0.15);
}

nav .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e8eae8;
}

.logo span:first-child {
  color: #50fa7b;
}

.logo span:last-child {
  color: #8be9fd;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: #6a6e6a;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #50fa7b;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  animation: fadeInOut 3s ease-in-out infinite;
  cursor: pointer;
  transition: opacity 0.3s;
}

.scroll-hint:hover {
  opacity: 0.8;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-hint-text {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #50fa7b;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #50fa7b;
  border-bottom: 2px solid #50fa7b;
  transform: rotate(45deg);
}

footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(80, 250, 123, 0.1);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e8eae8;
}

.footer-brand h4 span:first-child {
  color: #50fa7b;
}

.footer-brand h4 span:last-child {
  color: #8be9fd;
}

.footer-brand p {
  font-size: 11px;
  color: #6a6e6a;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6a6e6a;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 11px;
  color: #9a9e9a;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #50fa7b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 10px;
  color: #6a6e6a;
}

canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

@media (max-width: 768px) {
  nav .container {
    padding: 1rem;
  }
  .nav-links a:not(:last-child) {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}