/* ============================================
   PolySM Studio — Unified Global Footer
   ============================================ */

.global-footer {
  background: rgba(10, 15, 30, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem 1.5rem 2rem;
  font-family: 'Outfit', sans-serif;
  color: #94a3b8;
  box-sizing: border-box;
  margin-top: auto; /* Push footer to bottom on flex body layouts */
  width: 100%;
}

.gf-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2.5rem;
}

/* ---- Brand Section ---- */
.gf-brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gf-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.gf-logo-icon {
  width: 32px;
  height: 32px;
  background: #6366f1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
  flex-shrink: 0;
}

.gf-logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: #f8fafc;
}

.gf-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #64748b;
  max-width: 380px;
}

/* ---- Links Section ---- */
.gf-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gf-title {
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.gf-link {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.gf-link:hover {
  color: #6366f1;
  transform: translateX(3px);
}

/* ---- Contact / Legal Section ---- */
.gf-legal-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #64748b;
}

.gf-legal-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.gf-legal-icon {
  color: #6366f1;
  flex-shrink: 0;
}

.gf-legal-value {
  color: #94a3b8;
}

/* ---- Copyright Bar ---- */
.gf-copyright-bar {
  max-width: 1400px;
  margin: 2rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .gf-container {
    grid-template-columns: 1fr 1fr;
  }
  .gf-brand {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .global-footer {
    padding: 2.5rem 1rem 1.5rem 1rem;
  }
  .gf-container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .gf-brand {
    grid-column: span 1;
  }
  .gf-copyright-bar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}
