/* ============================================
   FOOTER STYLES
============================================ */

.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

/* Footer Content Grid */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

/* Footer Brand */
.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--spacing-md);
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-tagline {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.footer-social a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social a svg {
  position: relative;
  z-index: 1;
}

.footer-social a:hover svg {
  color: #000;
}

/* Footer Column */
.footer-column {
  min-width: 150px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

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

.footer-menu li {
  margin-bottom: var(--spacing-sm);
}

.footer-menu a {
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
  display: inline-block;
  position: relative;
}

.footer-menu a::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  width: 6px;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--transition-base);
}

.footer-menu a:hover {
  color: var(--color-text-primary);
  padding-left: 16px;
}

.footer-menu a:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Footer CTA */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-xl);
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.05;
  pointer-events: none;
}

.footer-cta-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-cta-content p {
  color: var(--color-text-secondary);
  margin: 0;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.copyright,
.credits {
  margin: 0;
}

.heart {
  color: #F94144;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-cta {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
}