:root {
  color-scheme: dark;
  --bg-0: #070b0a;
  --bg-1: #0c1412;
  --bg-2: #0e1b18;
  --ink: #d7fbe2;
  --muted: #89a59a;
  --accent: #7aff8a;
  --accent-2: #6ef2ff;
  --accent-3: #ffd166;
  --danger: #ff5470;
  --shadow: rgba(0, 0, 0, 0.4);
  --border: rgba(122, 255, 138, 0.25);
  --glow: rgba(122, 255, 138, 0.35);
}

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

body {
  margin: 0;
  font-family: "JetBrains Mono", "Courier New", monospace;
  color: var(--ink);
  background: radial-gradient(circle at top, #10221c, var(--bg-0) 40%, #050807 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

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

main {
  padding: 32px 6vw 64px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(110, 242, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 242, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -3;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: soft-light;
  opacity: 0.3;
  pointer-events: none;
  z-index: -2;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6vw 12px;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(7, 11, 10, 0.9), rgba(7, 11, 10, 0));
  backdrop-filter: blur(12px);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 20, 18, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(110, 242, 255, 0.25);
}

.terminal-frame {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(8, 12, 12, 0.8), rgba(14, 27, 24, 0.6));
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 30px 60px var(--shadow);
  position: relative;
  overflow: hidden;
}

.terminal-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at top right, rgba(110, 242, 255, 0.08), transparent 45%);
  opacity: 0.8;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: rgba(122, 255, 138, 0.8);
}

.pulse {
  display: inline-block;
  margin-left: 12px;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(122, 255, 138, 0.15);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.tagline {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 520px;
}

.cursor {
  display: inline-block;
  width: 12px;
  height: 18px;
  background: var(--accent);
  margin-left: 6px;
  animation: blink 1.1s infinite;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 24px 0 28px;
}

.stat {
  padding: 12px 16px;
  border: 1px solid rgba(110, 242, 255, 0.2);
  border-radius: 16px;
  background: rgba(8, 12, 12, 0.6);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.stat-value {
  font-size: 0.95rem;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--accent);
  color: #04110c;
  box-shadow: 0 0 18px rgba(122, 255, 138, 0.4);
}

.btn.ghost {
  border-color: rgba(110, 242, 255, 0.4);
  color: var(--ink);
  background: rgba(8, 12, 12, 0.6);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.logo-frame {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(110, 242, 255, 0.3);
  background: rgba(4, 8, 7, 0.7);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo {
  width: min(260px, 70vw);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(122, 255, 138, 0.3));
}

.logo-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(110, 242, 255, 0.15), transparent 60%);
  animation: drift 6s ease-in-out infinite;
  pointer-events: none;
}

.signal-panel {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(122, 255, 138, 0.2);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(8, 12, 12, 0.6);
}

.section-title {
  max-width: 640px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card,
.signal-card {
  background: rgba(8, 12, 12, 0.65);
  border: 1px solid rgba(122, 255, 138, 0.18);
  border-radius: 18px;
  padding: 22px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  padding: 20px;
  border-left: 3px solid var(--accent-2);
  background: rgba(6, 10, 9, 0.7);
  border-radius: 12px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 820px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
}

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

input,
textarea {
  background: rgba(4, 8, 7, 0.8);
  border: 1px solid rgba(110, 242, 255, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 160px;
}

.field.full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 24px 6vw 40px;
  border-top: 1px solid rgba(122, 255, 138, 0.2);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(-4%, -6%);
  }
  50% {
    transform: translate(4%, 6%);
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .terminal-frame {
    padding: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }
}
