/* ========================================================
   DEV DAADU MODERN TECH FOOTER
======================================================== */
:root {
  --ft-bg-dark: #070b14;
  --ft-bg-card: rgba(13, 21, 39, 0.7);
  --ft-text-light: #f8fafc;
  --ft-text-muted: #94a3b8;
  --ft-text-faint: #64748b;
  --ft-border: rgba(148, 163, 184, 0.12);
  --ft-accent-teal: #06b6d4;
  --ft-accent-indigo: #4f46e5;
  --ft-accent-amber: #fbbf24;
  --ft-accent-green: #10b981;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--ft-bg-dark);
  color: var(--ft-text-light);
  padding: 64px max(20px, 4vw) 28px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  border-top: 1px solid var(--ft-border);
}

/* Heading Highlight Gradient (Violet -> Magenta/Pink) */
.gradient-text {
  background: linear-gradient(100deg, #6d5df6 0%, #a855f7 50%, #ec4899 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

/* Ambient Radial Glow */
.site-footer__glow {
  position: absolute;
  top: 0;
  left: 20%;
  width: 32rem;
  height: 16rem;
  background: radial-gradient(ellipse at top, rgba(109, 93, 246, 0.15) 0%, rgba(236, 72, 153, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.site-footer__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Container */
.site-footer__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid Layout */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 48px 32px;
  align-items: start;
}

/* Brand Column */
.site-footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}

.site-footer__logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6d5df6, #ec4899);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(109, 93, 246, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__logo:hover .site-footer__logo-mark {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.45);
}

.site-footer__logo-mark svg {
  width: 20px;
  height: 20px;
}

.site-footer__logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.site-footer__tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ft-text-muted);
  max-width: 320px;
}

.site-footer__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ft-accent-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ft-accent-green);
  box-shadow: 0 0 8px var(--ft-accent-green);
}

/* Social Buttons */
.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(13, 21, 39, 0.85);
  border: 1px solid var(--ft-border);
  color: var(--ft-text-muted);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn svg {
  width: 17px;
  height: 17px;
}

.social-btn:hover {
  color: #ffffff;
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

/* Nav Column */
.site-footer__heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ft-text-light);
  margin-bottom: 18px;
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__list a {
  color: var(--ft-text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.site-footer__list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Action Card */
.site-footer__card {
  padding: 24px;
  border-radius: 14px;
  background: var(--ft-bg-card);
  border: 1px solid var(--ft-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__card-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ft-accent-amber);
}

.site-footer__card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
  line-height: 1.35;
}

.site-footer__card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ft-text-muted);
  margin-top: 4px;
}

.site-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--ft-accent-amber), #f59e0b);
  color: #070b14;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-footer__cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}

.site-footer__cta-btn svg {
  width: 15px;
  height: 15px;
}

/* Bottom Bar */
.site-footer__bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--ft-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--ft-text-faint);
}

.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gradient-dev-link {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg,
      #6d5df6,
      #a855f7,
      #ec4899,
      #fbbf24,
      #6d5df6);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: dynamicGradientShift 4s ease-in-out infinite alternate;
  transition: transform 0.2s ease;
  display: inline-block;
}

.gradient-dev-link:hover {
  transform: scale(1.08);
}

@keyframes dynamicGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__hub {
  color: var(--ft-accent-teal);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .site-footer__action-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 48px 16px 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}


.site-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 30%;
}

.site-footer__logo-img {
  display: block;
  width: clamp(110px, 14vw, 165px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 768px) {
  .site-footer__logo-img {
    width: 135px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .site-footer__logo-img {
    width: 115px;
  }
}

/* ========================================================
   TOASTR & BOOTSTRAP 5 COMPATIBILITY FIX
======================================================== */
#toast-container {
  position: fixed !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
}

#toast-container > .toast {
  display: block !important;
  opacity: 0.98 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  border-radius: 12px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  padding: 14px 16px 14px 50px !important;
  min-width: 280px !important;
  max-width: 380px !important;
  box-sizing: border-box !important;
}

#toast-container > .toast:not(.show) {
  display: block !important;
}

#toast-container > .toast-success {
  background-color: #059669 !important;
  color: #ffffff !important;
}

#toast-container > .toast-error {
  background-color: #dc2626 !important;
  color: #ffffff !important;
}

#toast-container > .toast-info {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

#toast-container > .toast-warning {
  background-color: #d97706 !important;
  color: #ffffff !important;
}

#toast-container .toast-message {
  font-size: 13px !important;
  color: #ffffff !important;
}

#toast-container .toast-title {
  font-weight: 700 !important;
  font-size: 14px !important;
  margin-bottom: 4px !important;
  color: #ffffff !important;
}

#toast-container .toast-close-button {
  color: #ffffff !important;
  opacity: 0.8 !important;
}

#toast-container .toast-close-button:hover {
  opacity: 1 !important;
}