/* datapunx — green screen edition */

@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

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

:root {
  --bg: #0a0a0a;
  --fg: #33ff33;
  --bright: #66ff66;
  --dim: #1a8f1a;
  --border: #0f3d0f;
  --font: 'VT323', monospace;
  --glow: 0 0 8px rgba(51, 255, 51, 0.7), 0 0 20px rgba(51, 255, 51, 0.25);
}

html {
  scroll-behavior: smooth;
}

/* CRT scanlines overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.18) 3px,
    rgba(0, 0, 0, 0.18) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.25rem;
  line-height: 1.6;
  animation: crt-flicker 12s infinite;
}

@keyframes crt-flicker {
  0%, 94%, 96%, 98%, 100% { opacity: 1; }
  95% { opacity: 0.88; }
  97% { opacity: 0.93; }
}

a {
  color: var(--bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--fg);
}

/* ── NAV ────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-transform: uppercase;
  text-shadow: var(--glow);
}

.nav-logo span {
  color: var(--bright);
}

.cursor {
  display: inline-block;
  color: var(--fg);
  margin-left: 0.05em;
  animation: blink 1s step-end infinite;
}

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

.anarchy-mark {
  height: 0.85em;
  width: 0.85em;
  vertical-align: middle;
  margin: 0 0.05em 0.1em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.1s, text-shadow 0.1s;
}

.nav-links a:hover {
  color: var(--fg);
  text-shadow: var(--glow);
  text-decoration: none;
}

/* ── SECTIONS ───────────────────────────── */
section {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

section + section {
  border-top: 1px solid var(--border);
}

/* ── HERO ───────────────────────────────── */
#hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.hero-eyebrow {
  font-family: var(--font);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: '> ';
  color: var(--fg);
}

.hero-headline {
  font-family: var(--font);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 18px rgba(51, 255, 51, 0.35);
}

.hero-headline em {
  color: var(--bright);
  font-style: normal;
}

.hero-sub {
  font-family: var(--font);
  font-size: 1.3rem;
  color: var(--dim);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  visibility: hidden;
}

.cta-btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--fg);
  padding: 0.6rem 1.8rem;
  border: 1px solid var(--fg);
  transition: background 0.1s, color 0.1s;
}

.cta-btn::before {
  content: '[ ';
}

.cta-btn::after {
  content: ' ]';
}

.cta-btn:hover {
  background: var(--bright);
  border-color: var(--bright);
  color: var(--bg);
  text-decoration: none;
}

/* ── SECTION LABELS ─────────────────────── */
.section-label {
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.5rem;
}

.section-label::before {
  content: '>> ';
  color: var(--fg);
}

.section-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 18px rgba(51, 255, 51, 0.35);
}

.section-body {
  font-family: var(--font);
  color: var(--dim);
  font-size: 1.25rem;
  max-width: 640px;
  line-height: 1.7;
}

/* ── PROBLEM ────────────────────────────── */
#problem .section-body {
  font-size: 1.3rem;
}

/* ── SERVICES ───────────────────────────── */
.services-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg);
  padding: 2rem;
}

.service-number {
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 0.5rem;
}

.service-title {
  font-family: var(--font);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.service-desc {
  font-family: var(--font);
  color: var(--dim);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* ── ABOUT ──────────────────────────────── */
#about .section-body {
  margin-bottom: 1.25rem;
}

/* ── CONTACT ────────────────────────────── */
form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

form input,
form textarea {
  background: #050f05;
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.2rem;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.1s, box-shadow 0.1s;
}

form input:focus,
form textarea:focus {
  border-color: var(--fg);
  box-shadow: 0 0 6px rgba(51, 255, 51, 0.4);
}

form textarea {
  resize: vertical;
  min-height: 140px;
}

form button {
  align-self: flex-start;
  font-family: var(--font);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--fg);
  border: 1px solid var(--fg);
  padding: 0.6rem 1.8rem;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

form button:hover {
  background: var(--bright);
  border-color: var(--bright);
}

.contact-confirm {
  margin-top: 2rem;
  font-family: var(--font);
  font-size: 1.4rem;
  color: var(--bright);
  text-shadow: var(--glow);
  letter-spacing: 0.05em;
}

.contact-error {
  font-family: var(--font);
  font-size: 1.2rem;
  color: #ff3333;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ── FOOTER ─────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--border);
  letter-spacing: 0.08em;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 640px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 1.25rem;
  }

  #hero {
    padding-top: 7rem;
  }
}
