/**
 * Footer — AllinPro
 * Self-contained styles so footer works on all pages (with or without Tailwind)
 */

.site-footer {
  padding: 4rem 1.5rem 3rem;
  background: var(--color-bg-deep, #07060b);
  border-top: 1px solid var(--color-border-subtle, rgba(255, 255, 255, 0.06));
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
}

@media (min-width: 768px) {
  .site-footer { padding: 5rem 2rem 4rem; }
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
  }
}

.site-footer-brand img {
  height: 2.5rem;
  width: auto;
}

@media (min-width: 1024px) {
  .site-footer-brand img { height: 3rem; }
}

.site-footer-brand a {
  display: inline-block;
  transition: opacity 0.2s;
}

.site-footer-brand a:hover {
  opacity: 0.9;
}

.site-footer-desc {
  color: var(--color-text-muted, #9ca3af);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 1rem 0 1.25rem;
}

.site-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 100px;
}

.site-footer-badge.encrypted {
  color: rgba(52, 211, 153, 0.9);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.site-footer-badge.direct {
  color: rgba(165, 180, 252, 0.9);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.site-footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-links li {
  margin-bottom: 0.75rem;
}

.site-footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted, #9ca3af);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-links a:hover {
  color: #fff;
}

.site-footer-help-note {
  font-size: 0.75rem;
  color: var(--color-text-faint, #6b7280);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.site-footer-divider {
  border: none;
  border-top: 1px solid var(--color-border-subtle, rgba(255, 255, 255, 0.06));
  margin: 0 0 1.5rem;
}

.site-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-faint, #6b7280);
}

@media (min-width: 640px) {
  .site-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer-bottom p {
  margin: 0;
}

.site-footer-tagline {
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .site-footer-tagline { font-size: 0.875rem; }
}
