:root {
  --f-bg: #000000;
  --f-accent: #3b82f6;
  --f-text-main: #ffffff;
  --f-text-muted: #64748b;
  --f-border: rgba(255, 255, 255, 0.1);
}

.modern-footer {
  background: var(--f-bg);
  padding: 5rem 5% 3rem;
  position: relative;
  color: var(--f-text-main);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  border-top: 1px solid var(--f-border);
}

/* Glass-like subtle overlay */
.footer-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Main Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

/* Brand / Left Column */
.brand-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.logo-img {
  height: 34px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.logo-text .accent {
  color: var(--f-accent);
}

.footer-description {
  color: var(--f-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 420px;
}

/* Contact / Right Column */
.contact-column {
  display: flex;
  justify-content: flex-end;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 360px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--f-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.contact-item i {
  color: var(--f-accent);
  font-size: 1.1rem;
  margin-top: 3px;
}

a.contact-item:hover {
  color: var(--f-text-main);
  transform: translateX(4px);
}

/* Bottom Bar */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--f-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.legal-text {
  font-size: 0.78rem;
  color: var(--f-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.copyright {
  color: var(--f-text-muted);
}

.dev-brand {
  color: var(--f-text-main);
}

/* ── RESPONSIVE DESIGN ──────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
  }
}

@media (max-width: 991px) {
  .modern-footer {
      padding: 4rem 6% 3rem;
  }

  .footer-grid {
      grid-template-columns: 1fr;
      gap: 3.5rem;
  }

  .contact-column {
      justify-content: flex-start;
  }

  .footer-description {
      max-width: 100%;
  }

  .contact-links {
      max-width: 100%;
  }
}

@media (max-width: 640px) {
  .modern-footer {
      padding: 3.5rem 5% 2.5rem;
  }

  .footer-logo {
      margin-bottom: 1rem;
  }

  .logo-img {
      height: 30px;
  }

  .logo-text {
      font-size: 1.15rem;
  }

  .footer-description {
      font-size: 0.88rem;
  }

  .contact-item {
      font-size: 0.88rem;
  }

  .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
  }

  .footer-bottom-right {
      justify-content: center;
      flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .modern-footer {
      padding: 3rem 5% 2rem;
  }

  .footer-grid {
      gap: 2.8rem;
  }

  .footer-description,
  .contact-item {
      font-size: 0.85rem;
  }

  .legal-text {
      font-size: 0.72rem;
  }
}