/* ===== Footer Global (Style Admin Panel) ===== */
.site-footer {
  background: var(--bg-elevated, #0f1419);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  border-top: 1px solid var(--border, #1e2530);
  margin-top: 60px;
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: footerGlow 3s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes footerGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.7;
    transform: scaleX(1);
  }
}

.site-footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  align-items: start;
  margin-bottom: 32px;
}

.site-footer .col h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary, #e8ecf0);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer .col a {
  display: block;
  padding: 8px 0;
  color: var(--text-secondary, #9ca3af);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.site-footer .col a:hover {
  color: var(--brand, #6366f1);
  transform: translateX(4px);
}

.footer-newsletter {
  margin: 40px 0 32px;
  padding: 32px;
  background: var(--bg-card, #151a21);
  border: 1px solid var(--border, #1e2530);
  border-radius: var(--radius-lg, 12px);
  text-align: center;
}

.newsletter-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary, #e8ecf0);
}

.newsletter-content p {
  font-size: 0.9rem;
  color: var(--text-secondary, #9ca3af);
  margin: 0 0 20px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--border, #1e2530);
  border-radius: var(--radius, 8px);
  background: var(--bg-elevated, #0f1419);
  color: var(--text-primary, #e8ecf0);
  font-size: 14px;
  transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--brand, #6366f1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-form .btn {
  white-space: nowrap;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border, #1e2530);
}

.site-footer .copy {
  color: var(--text-muted, #6b7280);
  font-size: 13px;
}

.site-footer .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--bg-card, #151a21);
  border: 1px solid var(--border, #1e2530);
  color: var(--text-secondary, #9ca3af);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.site-footer .chip:hover {
  background: var(--bg-card-hover, #1a2028);
  border-color: var(--brand, #6366f1);
  color: var(--brand, #6366f1);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-newsletter {
    padding: 24px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    min-width: unset;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
