/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-line);
  padding: 6rem var(--main-padding) 3rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.footer_content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--bg-line);
}

.footer_left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 38rem;
}

.footer_brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}

.footer_brand > span {
  color: var(--accent);
}

.footer_brand > i {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.footer_desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer_cta {
  margin-top: 0.6rem;
  align-self: flex-start;
}

.footer_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.8rem;
}

.footer_nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer_nav li {
  list-style: none;
}

.footer_nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer_nav a:hover {
  color: var(--accent);
}

.footer_license {
  max-width: 30rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-align: right;
  line-height: 1.55;
}

.footer_bottom {
  max-width: 1600px;
  margin: 3rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer_copy {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.footer_disclaimer {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: right;
  max-width: 38rem;
}

/* ============================================
   Mobile — ≤1024px
   ============================================ */
@media (max-width: 1024px) {
  .footer {
    padding: 8rem var(--main-padding) 4rem;
  }

  .footer_content {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }

  .footer_right {
    align-items: flex-start;
  }

  .footer_nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .footer_nav a {
    font-size: 2.2rem;
  }

  .footer_brand {
    font-size: 5.2rem;
  }

  .footer_desc,
  .footer_license {
    font-size: 2.2rem;
    text-align: left;
    max-width: 100%;
  }

  .footer_cta {
    align-self: stretch;
    margin-top: 1.5rem;
  }

  .footer_bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer_copy,
  .footer_disclaimer {
    font-size: 2rem;
    text-align: left;
  }
}
