@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Space+Grotesk:wght@400;500;600&family=Syne:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #08080a;
  --surface: #111114;
  --text-primary: #e8e8ec;
  --text-secondary: #6e6e7a;
  --accent: #c0c0c8;
  --glow: rgba(120, 120, 255, 0.08);
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  max-width: 100vw;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  display: flex;
  align-items: center;
  transition: filter 0.4s ease;
}

.wordmark:hover {
  filter: brightness(1.4);
}

.logo-gradient {
  display: inline-block;
  width: 116px;
  height: 22px;
  background: linear-gradient(
    135deg,
    #e8e8ec 0%,
    #a8b4d0 20%,
    #e8e8ec 40%,
    #c0b8d8 60%,
    #e8e8ec 80%,
    #9ab0cc 100%
  );
  background-size: 300% 300%;
  animation: gradient-drift 8s ease-in-out infinite;
  -webkit-mask-image: url('assets/logo-white.svg');
  mask-image: url('assets/logo-white.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.status {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5cb87a;
  box-shadow:
    0 0 3px rgba(92, 184, 122, 0.9),
    0 0 8px rgba(92, 184, 122, 0.5),
    0 0 18px rgba(92, 184, 122, 0.25);
  animation: dot-glow 3s ease-in-out infinite;
  position: relative;
}



@keyframes dot-glow {
  0%, 100% {
    box-shadow:
      0 0 3px rgba(92, 184, 122, 0.6),
      0 0 6px rgba(92, 184, 122, 0.3),
      0 0 12px rgba(92, 184, 122, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 4px rgba(92, 184, 122, 1),
      0 0 10px rgba(92, 184, 122, 0.6),
      0 0 22px rgba(92, 184, 122, 0.3);
    transform: scale(1.2);
  }
}



main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 620px;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    #e8e8ec 0%,
    #a8b4d0 20%,
    #e8e8ec 40%,
    #c0b8d8 60%,
    #e8e8ec 80%,
    #9ab0cc 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-drift 8s ease-in-out infinite;
}

@keyframes gradient-drift {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

.description {
  font-size: 1rem;
  line-height: 1.65;
  color: #8b8d9a;
  font-weight: 300;
  max-width: 480px;
  transition: color 0.4s ease;
}

.description:hover {
  color: #b0b2be;
}

.signal {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.signal a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b8d9a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.3s, transform 0.3s ease;
}

.signal a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.signal a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.location-wrap {
  position: relative;
  cursor: default;
  padding: 1rem 1.5rem;
  margin: -1rem -1.5rem;
}

.location {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

canvas#globe {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.copyright {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Load-in stagger */
.stagger-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.6s ease forwards;
}

.stagger-in:nth-child(1) { animation-delay: 0.1s; }
.stagger-in:nth-child(2) { animation-delay: 0.3s; }
.stagger-in:nth-child(3) { animation-delay: 0.5s; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header, footer {
  opacity: 0;
  animation: fade-in 0.8s ease 0.15s forwards;
}

footer {
  animation-delay: 0.6s;
}

@keyframes fade-in {
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .content { padding: 1.5rem; }
  main { margin: auto 0; }
  .signal { gap: 1.5rem; }
}
