/* ============================================================
   FOOTER.CSS — multi-column footer, newsletter, gradient divider
   ============================================================ */

.footer {
  position: relative;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

/* Animated gradient divider line */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--glow), var(--pink), transparent);
  background-size: 200% 100%;
  animation: dividerFlow 8s linear infinite;
  margin-bottom: 3.5rem;
}
@keyframes dividerFlow { to { background-position: 200% 0; } }

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0 1.6rem;
  max-width: 34ch;
}

/* Newsletter */
.newsletter {
  display: flex;
  gap: 0.6rem;
  max-width: 360px;
}
.newsletter input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--glass-brd);
  background: var(--glass-bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.newsletter input::placeholder { color: var(--muted); }
.newsletter input:focus {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.15);
}
.newsletter .btn { padding: 0.85rem 1.3rem; }
.newsletter-msg {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--neon);
  min-height: 1.2em;
}

/* Columns */
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: #cdd6e6;
  font-size: 0.96rem;
  margin-bottom: 0.75rem;
  width: fit-content;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-col a:hover { color: var(--neon); transform: translateX(4px); }

/* Socials */
.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--glass-brd);
  background: var(--glass-bg);
  margin: 0;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.socials a svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.5);
  background: var(--grad-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-legal a { transition: color 0.3s var(--ease); }
.footer-legal a:hover { color: var(--white); }
