/* Axencia.co — Footer: World-Class Premium */

.footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.5) 15%, rgba(15, 23, 42, 0.98) 100%);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(59, 130, 246, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 95%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(59, 130, 246, 0.5), transparent 90%);
  opacity: 0.8;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 24px;
  padding: 52px 48px;
  margin-bottom: 28px;
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  animation: footerReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes footerReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.footer-brand,
.footer-links,
.footer-contact {
  animation: footerItemFade 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.footer-brand { animation-delay: 0.1s; }
.footer-links { animation-delay: 0.15s; }
.footer-contact { animation-delay: 0.2s; }

@keyframes footerItemFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 16px;
  transition: all 0.4s ease;
}

.footer-logo:hover {
  text-shadow: 0 0 28px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 20px;
}

.footer-links a,
.footer-contact a {
  display: inline-block;
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 10px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #e8e8ed;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(59, 130, 246, 0.15) inset;
  transform: translateY(-1px);
}

.footer-contact p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-bottom {
  position: relative;
  padding: 20px 28px;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  text-align: center;
  animation: footerReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.25s backwards;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  color: #93c5fd;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(59, 130, 246, 0.2) inset;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .footer { padding: 48px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 24px;
    text-align: center;
  }
  .footer-brand p { margin-left: auto; margin-right: auto; max-width: none; }
  .footer-links, .footer-contact { text-align: center; }
  .social-links { justify-content: center; }
}
