/* --------------------------------- */
/* NavBar */
/* --------------------------------- */

nav {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav.scrolled .nav-container {
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(18, 17, 17, 0.1);
}
nav .logo {
  display: flex;
  margin-left: 10px;
}
nav .logo img {
  width: 35px;
  height: 35px;
}
nav .nav-container {
  width: 95%;
  min-height: 60px;
  max-width: 1080px;
  /* margin: 0 auto; */
  padding: 0.45rem 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  border: 1px solid rgba(18, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(246, 244, 239, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(18, 17, 17, 0.08);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

nav .logo::before {
  font-size: 1.8rem;
}

nav .nav-links {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  list-style: none;
}

nav .nav-links a {
  color: rgba(18, 17, 17, 0.68);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav .nav-links a:not(:last-child):hover {
  color: #121111;
}

nav .nav-links a::after {
  display: none;
}
nav .nav-links .nav-download-btn {
  background: var(--primary_color);
  color: white;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

nav .nav-links .nav-download-btn:hover {
  transform: scale(-0.9);
}

nav .nav-download-btn::after {
  display: none;
}
nav .mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 30px;
  height: 22px;
  margin-right: 10px;
}
nav .mobile-menu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}
nav .mobile-menu span:nth-child(1) {
  top: 0;
}

nav .mobile-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

nav .mobile-menu span:nth-child(3) {
  bottom: 0;
}
.download-btn {
  cursor: pointer;
}

/* --------------------------------- */
/* Footer */
/* --------------------------------- */

footer {
  background: #f6f4ef;
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(18, 17, 17, 0.08);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  /* margin-bottom: 1rem; */
  margin-bottom: 0;
  /* color: var(--primary_color); */
}

.footer-brand img {
  width: 50px;
  height: 50px;
}

.footer-brand p {
  color: rgba(18, 17, 17, 0.6);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--lm-text);
  text-decoration: none;
  opacity: 0.62;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #0375f6;
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 17, 17, 0.1);
  color: rgba(18, 17, 17, 0.58);
}

/* Responsive Design */
@media (max-width: 1024px) {
  footer .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav .nav-links {
    display: none;
  }

  nav .mobile-menu {
    display: flex;
  }

  nav .nav-links.active {
    display: flex;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    background: var(--lm-background);
    flex-direction: column;
    padding: 2rem;
    border: 1px solid rgba(18, 17, 17, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  }

  footer .footer-container {
    grid-template-columns: 1fr;
  }
}
