/* ─────────────────────────────────────────────────────────────
   footer.css — Netprobe / Footer
   Fully independent.
───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --footer-bg:        #0e0e10;
  --footer-border:    #222228;
  --footer-text:      #505060;
  --footer-link-idle: #606070;
  --footer-link-hover:#d0cec8;
  --footer-underline: #7aaa6a;
  --footer-icon:      #505060;
  --footer-icon-hover:#d0cec8;

  --sans: 'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Footer shell ───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--footer-border);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--footer-bg);
  gap: 16px;
}

/* ── Left: copyright text ───────────────────────────────── */
.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--footer-text);
  letter-spacing: .01em;
}

/* ── Right: link group ──────────────────────────────────── */
.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Text links — underline on hover, same pattern as nav */
.footer-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--footer-link-idle);
  text-decoration: none;
  padding: 6px 12px;
  position: relative;
  transition: color .18s ease;
  letter-spacing: .01em;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--footer-underline);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.footer-link:hover {
  color: var(--footer-link-hover);
}

.footer-link:hover::after {
  transform: scaleX(1);
}

/* Divider dot between text links */
.footer-sep {
  font-family: var(--sans);
  font-size: 11px;
  color: #2e2e38;
  user-select: none;
}

/* GitHub icon link — no underline, just color transition */
.footer-gh {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  color: var(--footer-icon);
  text-decoration: none;
  transition: color .18s ease;
  margin-left: 4px;
}

.footer-gh:hover {
  color: var(--footer-icon-hover);
}

.footer-gh svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer {
    padding: 16px 24px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}