:root {
  --accent: #090930;
  --accent-light: #0055b8;
  --bg: #f9f9f9;
  --text: #222;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg, var(--accent), var(--accent-light));
  color: #fff;
  text-align: center;
  padding: 10rem 2rem 8rem;
  position: relative;
}

.hero-content {
  animation: fadeIn 1.2s ease-out;
}

/* Responsive logo image */
.hero-content img {
  width: clamp(120px, 30vw, 220px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1); /* keeps white on dark bg */
}

.code-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.code-bg span {
  position: absolute;
  font-family: "Courier New", monospace;
  font-size: clamp(0.6rem, 1vw, 0.9rem);
  color: rgba(255, 255, 255, 0.20);
  white-space: pre;
  pointer-events: none;
  animation: fadeMove 6s linear forwards;
  mix-blend-mode: lighten;
  filter: blur(0.5px);

}

@keyframes fadeMove {
  0% { opacity: 0; transform: translateY(20px); }
  20% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20px); }
}

.brand {
  font-size: 5rem;
  margin: 0;
  letter-spacing: 0.15em;
}

.tagline {
  font-size: 1.5rem;
  margin-top: 0.3rem;
  opacity: 0.8;
}

.recursive {
  margin-top: 2rem;
  font-size: 1.25rem;
  line-height: 1.5;
  opacity: 0.95;
}

.highlight {
  font-weight: bold;
  color: #fff;
}

.small {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cta {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.75rem 2rem;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
}

/* --- CONTENT --- */
main {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
}

section h2 {
  color: var(--accent);
}

footer {
  text-align: center;
  padding: 2rem;
  background: #eee;
  font-size: 0.9rem;
  color: #666;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
