/* ============================================
   FOOTER — 2-col (brand / nav+license) + bottom
   ============================================ */

.footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #030c06 100%);
  border-top: 1px solid rgba(43, 255, 124, 0.12);
  padding: 6rem var(--main-padding) 3rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%
  );
  opacity: 0.4;
}

.footer_content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  gap: 6rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ===== Left — brand + desc + CTA ===== */
.footer_left {
  max-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer_brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.footer_brand > i {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 3px;
  box-shadow: 0 0 12px var(--accent);
}

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

.footer_desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 90%;
}

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

/* ===== Right — nav + license ===== */
.footer_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.6rem;
  max-width: 45%;
}

.footer_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  justify-content: flex-end;
}

.footer_nav > a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

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

/* ===== Bottom — copy + disclaimer ===== */
.footer_bottom {
  max-width: 1600px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(43, 255, 124, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.footer_disclaimer {
  font-size: 0.9rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

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

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

  .footer_left {
    max-width: 100%;
  }

  .footer_brand {
    font-size: 6rem;
  }

  .footer_brand > i {
    width: 4rem;
    height: 4rem;
  }

  .footer_desc {
    font-size: 2.4rem;
    max-width: 100%;
  }

  .footer_cta {
    align-self: center;
  }

  .footer_right {
    align-items: flex-start;
    max-width: 100%;
  }

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

  .footer_nav > a {
    font-size: 2.6rem;
  }

  .footer_license {
    font-size: 2.2rem;
    text-align: left;
  }

  .footer_bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin-top: 5rem;
    padding-top: 3rem;
  }

  .footer_copy,
  .footer_disclaimer {
    font-size: 2.1rem;
  }
}
