.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 40px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6f43d5, transparent);
  opacity: 0.3;
}
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
  color: #8a8f98;
}
.footer-brand svg {
  height: 22px;
  width: auto;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f2f2f2;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: #8a8f98;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #f2f2f2;
}
.newsletter-form {
  margin-top: 24px;
}
.newsletter-input-group {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.newsletter-input-group:focus-within {
  border-color: #6f43d5;
}
.newsletter-input-group input {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #f2f2f2;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  outline: none;
}
.newsletter-input-group input::placeholder {
  color: #8a8f98;
  opacity: 0.5;
}
.newsletter-input-group button {
  padding: 10px 18px;
  background: #6f43d5;
  border: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-input-group button:hover {
  background: #8b6ce0;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-bottom: 0;
}
.footer-social a:hover {
  border-color: #6f43d5;
  background: rgba(111, 67, 213, 0.1);
}
.footer-social a svg {
  width: 14px;
  height: 14px;
  fill: #8a8f98;
  transition: fill 0.3s;
}
.footer-social a:hover svg {
  fill: #f2f2f2;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8a8f98;
}
.footer-bottom a {
  color: #8a8f98;
  text-decoration: none;
  transition: color 0.2s;
  margin-left: 20px;
}
.footer-bottom a:hover {
  color: #f2f2f2;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer .container {
    padding: 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
