:root {
  --bg: #000000;
  --navy: #070b18;
  --ink: #f4f7fb;
  --muted: #8b97b0;
  --cyan: #00d4ff;
  --blue: #2f7bff;
  --purple: #8a2be2;
  --grad: linear-gradient(135deg, #5ce1ff 0%, #2f7bff 52%, #8a2be2 100%);
  --grad-text: linear-gradient(90deg, #7ae8ff 0%, #3d8bff 60%, #8b5cff 100%);
  --ring: conic-gradient(
    from 180deg,
    #5ce1ff,
    #2f7bff,
    #8a2be2,
    #2f7bff,
    #5ce1ff
  );
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.tagline a {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  border-bottom: 1px solid rgba(90, 160, 255, 0.35);
}

#network {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  animation: drift 18s ease-in-out infinite;
}

.orb-cyan {
  width: 42vw;
  height: 42vw;
  left: -8%;
  top: -12%;
  background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
}

.orb-purple {
  width: 38vw;
  height: 38vw;
  right: -10%;
  bottom: -8%;
  background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
  animation-delay: -6s;
}

.orb-blue {
  width: 28vw;
  height: 28vw;
  left: 38%;
  top: 42%;
  background: radial-gradient(circle, #2f7bff 0%, transparent 70%);
  animation-delay: -11s;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, #000 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(47, 123, 255, 0.45));
}

.wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.wordmark span,
.wordmark-hero span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark sup,
.wordmark-hero sup {
  font-size: 0.42em;
  margin-left: 0.15em;
  color: #d7e4f5;
  font-weight: 500;
}

.domain {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  min-height: calc(100svh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 4.5rem;
}

.logo-stage {
  position: relative;
  width: min(240px, 58vw);
  height: min(240px, 58vw);
  display: grid;
  place-items: center;
  margin-bottom: 1.6rem;
  animation: rise 1s ease both;
}

.logo-ring {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: var(--ring);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: spin 18s linear infinite;
  opacity: 0.85;
}

.logo-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.35), transparent 68%);
  filter: blur(18px);
  animation: pulse 4.4s ease-in-out infinite;
}

.logo-icon {
  position: relative;
  width: 78%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(47, 123, 255, 0.28));
  animation: float 6s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7d8aa6;
  animation: rise 1s ease 0.12s both;
}

.wordmark-hero {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  animation: rise 1s ease 0.2s both;
}

.tagline {
  margin: 0.85rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  color: #e8eef8;
  letter-spacing: 0.01em;
  animation: rise 1s ease 0.28s both;
}

.tagline span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

.coming-soon {
  margin: 1.6rem 0 0;
  font-size: clamp(1.7rem, 5.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 10%, #7ae8ff 48%, #8b5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1s ease 0.36s both;
}

.lede {
  max-width: 34rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  animation: rise 1s ease 0.42s both;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto 5rem;
  padding: 0 1.25rem 2rem;
}

.pillar {
  padding: 1.6rem 1.4rem 1.8rem;
  text-align: center;
  position: relative;
  animation: rise 0.9s ease both;
}

.pillar:nth-child(1) { animation-delay: 0.15s; }
.pillar:nth-child(2) { animation-delay: 0.25s; }
.pillar:nth-child(3) { animation-delay: 0.35s; }
.pillar:nth-child(4) { animation-delay: 0.45s; }

.pillar:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  width: 1px;
  height: 76%;
  background: linear-gradient(
    180deg,
    transparent,
    #3d8bff 20%,
    #8a2be2 80%,
    transparent
  );
  opacity: 0.7;
}

.pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 14px rgba(80, 150, 255, 0.35));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.pillar:hover .pillar-icon {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 0 22px rgba(120, 90, 255, 0.55));
}

.pillar h3 {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

.pillar p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-footer {
  padding: 1.4rem 1.25rem 2rem;
  text-align: center;
  color: #667089;
  font-size: 0.86rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, -6%, 0) scale(1.08);
  }
}

@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 0.4rem;
  }

  .pillar:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 1rem 1.1rem;
  }

  .wordmark {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .coming-soon {
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
