:root {
  --bg: #0A0B0D;
  --bg-glow: #111618;
  --accent: #00FF94;
  --accent-dim: rgba(0, 255, 148, 0.35);
  --text: #EDEDED;
  --muted: #8A8F93;
  --border: rgba(255, 255, 255, 0.08);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 50% 38%, var(--bg-glow) 0%, transparent 70%),
    var(--bg);
}

/* ---------- Background particles ---------- */
.particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 640px;
}

.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  margin: 0;
  opacity: 0;
  animation: wm-fadein 0.6s 0.1s ease forwards;
}

.wordmark__char {
  display: inline-block;
  position: relative;
  text-shadow: 0 0 28px var(--accent-dim);
  transition: color 0.2s ease;
}

/* Brief green flash when a letter locks to its final value */
.wordmark__char.is-locked {
  animation: wm-lock 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wordmark__space {
  display: inline-block;
}

/* Cursor: visible while scrambling, blinks after done, then fades out */
.wordmark__cursor {
  display: inline-block;
  width: 0.06em;
  min-width: 3px;
  height: 1em;
  margin-left: 0.08em;
  align-self: center;
  background: var(--accent);
  border-radius: 2px;
  opacity: 1;
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-dim);
}

.wordmark__cursor.is-done {
  animation: wm-cursor-end 1.8s steps(1, end) forwards;
}

@keyframes wm-fadein {
  to { opacity: 1; }
}

@keyframes wm-lock {
  0%   { color: var(--accent); text-shadow: 0 0 32px var(--accent); }
  100% { color: var(--text); text-shadow: 0 0 28px var(--accent-dim); }
}

@keyframes wm-cursor-end {
  0%, 40%, 80%       { opacity: 1; }
  20%, 60%           { opacity: 0; }
  100%               { opacity: 0; }
}

.globe {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  opacity: 0;
  animation: fade 1.4s 0.4s ease forwards;
}

.globe canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.tagline {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 1s 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ---------- CTA button ---------- */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem 0.95rem 1.75rem;
  margin-top: 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(0, 255, 148, 0.06);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.9s 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: color 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
  box-shadow: 0 0 0 0 rgba(0, 255, 148, 0);
}

/* Sweeping shimmer layer */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(0, 255, 148, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Breathing glow ring */
.cta::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: inherit;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.cta:hover,
.cta:focus-visible {
  color: #04140c;
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -8px rgba(0, 255, 148, 0.55), 0 0 0 4px rgba(0, 255, 148, 0.12);
  outline: none;
}

.cta:hover::before,
.cta:focus-visible::before {
  transform: translateX(120%);
}

.cta:active {
  transform: translateY(0);
}

.cta__icon {
  display: inline-flex;
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta__icon svg { width: 100%; height: 100%; display: block; }

.cta:hover .cta__icon,
.cta:focus-visible .cta__icon {
  transform: translateX(4px);
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.08); }
}

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

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer__brand { max-width: 260px; }

.footer__logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.footer__tagline {
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer__blurb {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer__heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer__list { list-style: none; }
.footer__list li {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text);
}
.footer__list a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__list a:hover { color: var(--accent); }

.footer__address {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  font-style: normal;
}

.footer__legal {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.25rem 3rem; }
}
