/* ===== FOOTER ===== */
.site-footer {
  background: #0d1117;
  border-top: 1px solid rgba(88, 166, 255, 0.15);
  position: relative;
  overflow: hidden;
  color: #f0f6fc;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #58a6ff 35%, #a371f7 65%, transparent);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(88, 166, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 6% 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
}

.footer-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #58a6ff;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand p {
  color: #8b949e;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(88, 166, 255, 0.08);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 0.78rem;
  color: #58a6ff;
  font-weight: 500;
}

.footer-dot {
  width: 7px; height: 7px;
  background: #3fb950;
  border-radius: 50%;
  box-shadow: 0 0 6px #3fb950;
  animation: footerPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes footerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6e7681;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #8b949e;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
}

.footer-links a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #58a6ff;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: #f0f6fc;
  transform: translateX(5px);
}

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

.footer-contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(88, 166, 255, 0.12);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

.footer-contact-card h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6e7681;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: #8b949e;
}

.footer-contact-item:last-child { margin-bottom: 0; }

.footer-contact-icon {
  width: 32px; height: 32px;
  background: rgba(88, 166, 255, 0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #58a6ff;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #79bfff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 6%;
  border-top: 1px solid rgba(48, 54, 61, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #6e7681;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.82rem;
  color: #6e7681;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #58a6ff;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2.5rem 5%;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 5%;
    text-align: center;
  }

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

  .footer-brand p {
    font-size: 0.9rem;
  }

  .footer-badge {
    font-size: 0.75rem;
  }

  .footer-col h4 {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .footer-links {
    align-items: center;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-contact-card {
    padding: 1rem;
  }

  .footer-contact-item {
    justify-content: center;
    font-size: 0.85rem;
  }

  .footer-contact-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 1.5rem 4%;
  }

  .footer-logo-text {
    font-size: 1.35rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .footer-col h4 {
    font-size: 0.75rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact-card h4 {
    font-size: 0.7rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1rem 4%;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  .footer-legal {
    gap: 0.75rem;
  }

  .footer-legal a {
    font-size: 0.8rem;
  }
}
