/* ============================================================
 * Vilkax · site-footer.css
 * ============================================================
 *
 * Public-marketing footer used across /, /pricing, /business,
 * /support, /privacy, /terms, /404. Injected by site-footer.js
 * so every page reads from one canonical source.
 */

.vlx-footer {
  margin-top: clamp(60px, 8vh, 120px);
  padding: 36px 24px 28px;
  background: rgba(0, 0, 0, 0.20);
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  font-family: var(--font-brand, "Manrope", system-ui, sans-serif);
  color: var(--text-muted, #94a3b8);
}
.vlx-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

/* ── Brand column ────────────────────────────────────────── */
.vlx-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vlx-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vlx-footer-mark {
  /* Pass-146 — bumped 28 → 36 px for stronger brand presence in
     the footer.  Same drop-shadow, plus a faint blue halo. */
  width: 36px;
  height: 36px;
  filter:
    drop-shadow(0 4px 10px rgba(37, 99, 235, 0.40))
    drop-shadow(0 0 18px rgba(59, 130, 246, 0.20));
}
.vlx-footer-name {
  font-weight: 800;
  letter-spacing: 0.20em;
  color: var(--text-strong, #f8fafc);
  font-size: 13px;
}
.vlx-footer-tag {
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-muted, #94a3b8);
  text-transform: lowercase;
}
.vlx-footer-status {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
}
.vlx-footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 6px currentColor;
}
.vlx-footer-status[data-state="active"]   .vlx-footer-status-dot { background: #10b981; color: #10b981; }
.vlx-footer-status[data-state="degraded"] .vlx-footer-status-dot { background: #fbbf24; color: #fbbf24; }
.vlx-footer-status[data-state="offline"]  .vlx-footer-status-dot { background: #ff6b6b; color: #ff6b6b; }
.vlx-footer-status:hover { color: var(--text-strong, #f8fafc); }

/* ── Link columns ────────────────────────────────────────── */
.vlx-footer-col h3 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-strong, #f8fafc);
  font-weight: 700;
}
.vlx-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vlx-footer-col a {
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  font-size: 12.5px;
  transition: color 180ms ease;
}
.vlx-footer-col a:hover { color: var(--text-strong, #f8fafc); }

/* ── Bottom bar ──────────────────────────────────────────── */
.vlx-footer-bottom {
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.05));
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-dim, #64748b);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 8px;
}
.vlx-footer-bottom span:first-child { font-family: ui-monospace, "SF Mono", Consolas, monospace; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .vlx-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .vlx-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
 * Minimal page header used on /pricing, /business, /support,
 * /privacy, /terms — same idea: one source, every page reads it.
 * ============================================================ */

.vlx-mini-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(11, 20, 38, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}
.vlx-mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.vlx-mini-brand img {
  /* Top-left logo bumped again per founder note — brand anchor
   * visible on every interior page. */
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.35));
}
.vlx-mini-brand .name {
  font-weight: 800;
  letter-spacing: 0.20em;
  color: var(--text-strong, #f8fafc);
  font-size: 16px;
}
.vlx-mini-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vlx-mini-nav a {
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}
.vlx-mini-nav a:hover { color: var(--text-strong, #f8fafc); background: rgba(255, 255, 255, 0.04); }
.vlx-mini-nav a.is-active {
  color: var(--brand-primary-bright, #3b82f6);
  background: rgba(59, 130, 246, 0.10);
}
/* Pass-153 — "Open the app" CTA: centered, larger hit target,
   neon glow on hover, soft breathing pulse on rest so it draws
   the eye without being noisy.  Hit target is ≥ 36 px tall to
   meet WCAG 2.5.5 minimum on every viewport. */
.vlx-mini-nav .vlx-mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563EB 100%);
  color: #fff;
  padding: 10px 18px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.55);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 11px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 4px 14px -6px rgba(37, 99, 235, 0.45),
    0 0 22px -8px rgba(59, 130, 246, 0.55);
  animation: vlx-mini-cta-pulse 5.5s ease-in-out infinite;
  transition:
    transform 160ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}
.vlx-mini-nav .vlx-mini-cta:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-color: rgba(147, 197, 253, 0.85);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 24px -6px rgba(37, 99, 235, 0.65),
    0 0 32px -6px rgba(59, 130, 246, 0.75);
}
.vlx-mini-nav .vlx-mini-cta:focus-visible {
  outline: none;
  border-color: rgba(147, 197, 253, 1);
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.35),
    0 0 28px -4px rgba(96, 165, 250, 0.65);
}
.vlx-mini-nav .vlx-mini-cta:active { transform: translateY(0); }

@keyframes vlx-mini-cta-pulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      0 4px 14px -6px rgba(37, 99, 235, 0.45),
      0 0 22px -8px rgba(59, 130, 246, 0.45);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 6px 22px -4px rgba(37, 99, 235, 0.65),
      0 0 36px -6px rgba(96, 165, 250, 0.75);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vlx-mini-nav .vlx-mini-cta { animation: none; }
}

@media (max-width: 540px) {
  .vlx-mini-header   { flex-wrap: wrap; }
  .vlx-mini-nav a    { padding: 8px 9px; font-size: 11px; letter-spacing: 0.05em; }
}

/* ──────────────────────────────────────────────────────────────
 * Pass-140 footer trust strip — Trustpilot CTA + social icons.
 * Sits between the main link columns and the © bottom row.
 * Low visual weight; no heavy borders, just enough separation.
 * ──────────────────────────────────────────────────────────── */
.vlx-footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 20, 38, 0.35);
}
.vlx-footer-trust-cta {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}
.vlx-footer-trust-label {
  color: rgba(226, 232, 240, 0.55);
  letter-spacing: 0.02em;
}
.vlx-footer-trust-link {
  color: rgba(165, 180, 205, 0.95);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(96, 165, 250, 0.30);
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}
.vlx-footer-trust-link:hover,
.vlx-footer-trust-link:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(96, 165, 250, 0.85);
  text-shadow: 0 0 14px rgba(59, 130, 246, 0.55);
  outline: none;
}
/* Pass-142 — VAX coin chip in the footer trust strip. */
.vlx-footer-coin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: rgba(226, 232, 240, 0.92);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease,
              box-shadow 200ms ease, transform 200ms ease;
}
.vlx-footer-coin img {
  display: block;
  filter:
    drop-shadow(0 2px 6px rgba(37, 99, 235, 0.40))
    drop-shadow(0 0 10px rgba(59, 130, 246, 0.25));
}
.vlx-footer-coin:hover,
.vlx-footer-coin:focus-visible {
  background: rgba(37, 99, 235, 0.20);
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
  box-shadow: 0 0 22px -4px rgba(59, 130, 246, 0.55);
  transform: translateY(-1px);
  outline: none;
}
.vlx-footer-coin-label {
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.vlx-footer-social {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.vlx-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: rgba(226, 232, 240, 0.75);
  font-family: var(--font-brand, "Manrope", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease,
              color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.vlx-footer-social-link:hover,
.vlx-footer-social-link:focus-visible {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
  box-shadow: 0 0 18px -4px rgba(59, 130, 246, 0.55);
  transform: translateY(-1px);
  outline: none;
}
.vlx-footer-social-glyph {
  display: inline-block;
  line-height: 1;
}
@media (max-width: 540px) {
  .vlx-footer-trust       { padding: 12px 18px; }
  .vlx-footer-trust-cta   { font-size: 12.5px; }
  .vlx-footer-social-link { width: 30px; height: 30px; font-size: 11px; }
}
