/* 
=========================================
FOOTER.CSS 
========================================= */

.site-footer {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.5) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4rem;
  margin-top: auto;
}

.site-footer .container {
  max-width: 1200px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .footer-main {
    grid-template-columns: 320px 1fr;
    gap: 4rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo img {
  height: 45px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.65;
  margin: 0;
  max-width: 300px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  transition: all 0.2s;
}

.footer-badge i {
  font-size: 0.7rem;
}

.footer-badge-primary {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.footer-badge-primary i {
  color: #6366f1;
}

.footer-badge-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.footer-badge-success i {
  color: #10b981;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

@media (min-width: 576px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact-list li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
}

.footer-contact-list i {
  color: #6366f1;
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  color: #fff;
}

.footer-cta i {
  font-size: 0.8rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: #64748b;
  font-size: 0.8rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-legal a {
  color: #64748b;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #94a3b8;
}

@media (max-width: 575.98px) {
  .site-footer {
    padding-top: 3rem;
  }

  .footer-main {
    gap: 2.5rem;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-badges {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links-grid {
    gap: 1.5rem 1rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col a:hover {
    transform: none;
  }

  .footer-contact-list li a {
    justify-content: center;
  }

  .footer-cta {
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-legal {
    gap: 0.5rem 1rem;
  }
}

.site-footer-simple {
  background: transparent;
  border-top: none;
  padding: 1.5rem 0;
}

.site-footer-simple .footer-main {
  display: none;
}

.site-footer-simple .footer-bottom {
  border-top: none;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .footer-col a,
  .footer-social a,
  .footer-cta,
  .footer-badge {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@media (prefers-color-scheme: dark) {
  .site-footer {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(10, 15, 30, 0.6) 100%
    );
  }
}
