/* Shared site styles */

/* Shared navigation */
nav {
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E4E4E7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 200;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #16A34A;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #09090B;
  letter-spacing: -0.2px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #71717A;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 10px;
  transition: color 0.12s, background 0.12s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #09090B;
  background: #F4F4F5;
}

.nav-link.active {
  color: #09090B;
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-badge {
  font-size: 12px;
  font-weight: 500;
  color: #15803D;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 4px 12px;
  border-radius: 20px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: white;
  border: 1.5px solid #E4E4E7;
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  height: 1.5px;
  background: #09090B;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E4E4E7;
  padding: 8px 20px 16px;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 199;
}

.mobile-menu.open {
  display: flex;
}

.mob-link {
  font-size: 15px;
  font-weight: 500;
  color: #09090B;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 10px;
  transition: background 0.12s;
}

.mob-link:hover {
  background: #FAFAFA;
}

.mob-link.active {
  font-weight: 600;
  color: #16A34A;
}

footer {
  background: #09090B;
  padding: 40px 24px 32px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-logo-icon {
  width: 26px;
  height: 26px;
  background: #16A34A;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: white;
  font-weight: 700;
}

.footer-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 440px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.12s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-disc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .footer-disc {
    text-align: left;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .nav-center {
    display: none;
  }

  .nav-burger {
    display: flex;
  }
}
