/* Footer Component */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
}

.footer__description {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
}

.footer__section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer__title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  padding-top: 4rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer__social-wrapper {
  display: flex;
  justify-content: flex-end;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  padding: var(--spacing-xs);
  border-radius: var(--radius-sm);
}

.footer__social-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.footer__social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .footer__brand {
    align-items: center;
  }
  
  .footer__description {
    max-width: none;
  }
  
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }
  
  .footer__social {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer__links {
    grid-template-columns: 1fr;
  }
}