/* ============================================================
   FOOTER - Professional Design System
   ============================================================ */

.footer {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  color: var(--color-text);
  padding: 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  position: relative;
  font-family: var(--font-family);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.3), transparent);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Top Section ---- */
.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  padding: 2.5rem 0 2rem;
  align-items: start;
}

/* ---- Brand Column ---- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-link {
  display: block;
  max-width: 280px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo-img {
  max-width: 200px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---- Columns Grid ---- */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---- Links ---- */
.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
}

.footer-link svg {
  opacity: 0.5;
  transition: opacity 0.25s ease;
  flex-shrink: 0;
}

.footer-link:hover {
  color: var(--color-text);
}

.footer-link:hover svg {
  opacity: 0.9;
}

/* ---- Bottom Section ---- */
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.footer .footer-bottom .footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.15);
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 1.5rem;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-tagline {
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-column ul {
    align-items: center;
  }

  .footer-logo-img {
    max-width: 160px;
  }

  .footer-container {
    padding: 0 1rem;
  }
}
