/**
 * footer.css
 * ─────────────────────────────────────────────────────────────
 * PURPOSE: Styles for the site footer — final system output
 *          styled as a terminal/console status bar.
 *
 * LOGIC: Dark gradient background with mono-spaced text
 *        referencing system info. Includes social links and
 *        copyright. A subtle scan line effect on hover.
 * ─────────────────────────────────────────────────────────────
 */

#footer {
  background: #070c18;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding-block: var(--space-10);
  position: relative;
  overflow: hidden;
}

/* Background grid overlay */
#footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-8);
}

/* Footer brand */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__logo-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.footer__logo-text {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: #F8FAFC;
  letter-spacing: 0.05em;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #475569;
  max-width: 320px;
  line-height: 1.6;
}

/* Footer links */
.footer__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #94A3B8;
  font-size: 18px;
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer__link:hover {
  color: var(--color-primary);
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

/* System status bar */
.footer__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__status-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__status-item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.footer__status-item span { color: #6366f1; }

.footer__copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #334155;
}

.footer__copyright strong { color: #6366f1; }

/* Made with love */
.footer__made-with {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  justify-content: center;
  margin-top: var(--space-4);
}

.footer__made-with span { color: #8B5CF6; }

/* Back to top button */
.footer__back-top {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  transition: color var(--transition-fast);
  border: none;
  background: none;
}

.footer__back-top:hover { color: var(--color-primary); }
