/**
 * Smart Footer — dynamic footer with theme, logos, and optional canvas animation.
 * Use with js/smart-footer.js. Themes: bridge | taurus | sovereign
 */
.smart-footer {
  --sf-bg: #0a0e14;
  --sf-border: rgba(99, 102, 241, 0.15);
  --sf-text: #94a3b8;
  --sf-accent: #00d4ff;
  --sf-logo-size: 32px;
  position: relative;
  margin-top: auto;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--sf-border);
  background: var(--sf-bg);
  color: var(--sf-text);
  font-size: 0.8125rem;
  overflow: hidden;
}

.smart-footer__canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 60px;
  pointer-events: none;
  opacity: 0.35;
}

.smart-footer__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.smart-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--sf-text);
  font-weight: 600;
  transition: color 0.2s;
}

.smart-footer__brand:hover {
  color: var(--sf-accent);
}

.smart-footer__logo {
  width: var(--sf-logo-size);
  height: var(--sf-logo-size);
  object-fit: contain;
  flex-shrink: 0;
}

.smart-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
}

.smart-footer__links a {
  color: var(--sf-text);
  text-decoration: none;
  padding: 0.2em 0;
}

.smart-footer__links a:hover {
  color: var(--sf-accent);
  text-decoration: underline;
}

.smart-footer__sep {
  color: var(--sf-border);
  padding: 0 0.15rem;
  user-select: none;
}

.smart-footer__live {
  color: var(--sf-accent);
  font-weight: 500;
}

.smart-footer__copy {
  width: 100%;
  text-align: center;
  margin-top: 0.25rem;
  color: var(--sf-text);
  opacity: 0.9;
}

/* Theme: bridge (default) */
.smart-footer[data-theme="bridge"] {
  --sf-bg: #0a0e14;
  --sf-accent: #00d4ff;
}

/* Theme: taurus */
.smart-footer[data-theme="taurus"] {
  --sf-bg: #0f0f1a;
  --sf-border: rgba(139, 92, 246, 0.2);
  --sf-accent: #a78bfa;
}

/* Theme: sovereign */
.smart-footer[data-theme="sovereign"] {
  --sf-bg: #0A1628;
  --sf-border: rgba(0, 102, 255, 0.25);
  --sf-accent: #0066FF;
}

/* Light context (e.g. pricing page) */
.smart-footer.smart-footer--light {
  --sf-bg: #f8fafc;
  --sf-border: #e2e8f0;
  --sf-text: #64748b;
}

.smart-footer.smart-footer--light .smart-footer__brand:hover,
.smart-footer.smart-footer--light .smart-footer__links a:hover {
  color: #0066FF;
}
