:root {
  --bg-1: #07121a;
  --bg-2: #0b2230;
  --text: #f5fbff;
  --muted: #a7c2d2;
  --accent-a: #32f3c8;
  --accent-b: #ffd166;
  --card: rgba(8, 25, 35, 0.64);
  --stroke: rgba(146, 189, 210, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, #12364a 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, #1d4b3f 0%, transparent 42%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  overflow: hidden;
}

#neuralCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 0.4px, transparent 0.4px);
  background-size: 2px 2px;
  mix-blend-mode: soft-light;
}

.shell {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 1.2rem;
  padding: 2rem 1.2rem;
}

.eyebrow {
  width: fit-content;
  min-height: 2.1em;
  margin: 0;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b8d8e8;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(16, 39, 55, 0.68);
}

#typedEyebrow {
  display: inline-block;
}

.typing-caret {
  display: inline-block;
  width: 0.11rem;
  height: 1em;
  margin-left: 0.26rem;
  vertical-align: -0.1em;
  background: currentColor;
  animation: blink-caret 0.9s steps(1, end) infinite;
}

h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 1.05;
  max-width: 14ch;
  text-wrap: balance;
}

.highlight {
  display: inline-block;
  background: linear-gradient(110deg, var(--accent-a), var(--accent-b));
  color: #042129;
  border-radius: 0.5rem;
  padding: 0.08em 0.22em;
  margin-left: 0.20ch;
}

.subtext {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.23rem);
  line-height: 1.55;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.45rem;
}

.status-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.71rem;
  color: #8fb2c4;
}

.value {
  margin: 0.35rem 0 0;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  font-weight: 700;
}

.chips {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips span {
  border: 1px solid rgba(111, 172, 197, 0.32);
  color: #e8f6ff;
  background: rgba(26, 54, 67, 0.64);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 500;
  animation: bob 5.4s ease-in-out infinite;
}

.chips span:nth-child(2) {
  animation-delay: 0.8s;
}

.chips span:nth-child(3) {
  animation-delay: 1.6s;
}

.chips span:nth-child(4) {
  animation-delay: 2.4s;
}

.signature-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.ai-orb {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-a), #3dd7ff, var(--accent-b), var(--accent-a));
  box-shadow:
    0 0 24px rgba(50, 243, 200, 0.45),
    inset 0 0 16px rgba(255, 255, 255, 0.28);
  animation: spin 6.2s linear infinite;
}

.signature {
  margin: 0;
  color: #d7edf7;
  font-weight: 600;
}

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

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

@keyframes blink-caret {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .shell {
    min-height: auto;
    padding-block: 4.2rem 2.2rem;
  }

  .status-row {
    grid-template-columns: 1fr;
  }

  .subtext {
    font-size: 1rem;
  }
}
