/* Shared fixed navbar — matches index.html (pre-login) */
:root {
  --pa-nav-ink-3: #2d5068;
  --pa-nav-border: rgba(14, 165, 201, 0.14);
  --pa-nav-border-2: rgba(14, 165, 201, 0.25);
  --pa-nav-shadow-sm: 0 1px 3px rgba(10, 30, 46, 0.06), 0 1px 2px rgba(10, 30, 46, 0.04);
}

#pa-public-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  background: rgba(5, 13, 18, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: "Sora", system-ui, sans-serif;
}

#pa-public-nav.scrolled {
  border-color: var(--pa-nav-border);
  box-shadow: var(--pa-nav-shadow-sm);
}

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

#pa-public-nav .pa-nav-logo-icon {
  width: 35px;
  height: 35px;
  background: transparent;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}

#pa-public-nav .pa-nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.1);
  transform-origin: center center;
}

#pa-public-nav .pa-nav-logo-name {
  font-size: 17px;
  color: #ffffff;
  letter-spacing: 0.01em;
  font-weight: 600;
}

#pa-public-nav .pa-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

#pa-public-nav .pa-nav-link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

#pa-public-nav .pa-nav-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

#pa-public-nav .pa-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#pa-public-nav .pa-nav-link.pa-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

#pa-public-nav .pa-nav-link.pa-active::after {
  width: 70%;
}

#pa-public-nav .pa-nav-link:hover::after {
  width: 60%;
}

#pa-public-nav .pa-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#pa-public-nav .pa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

#pa-public-nav .pa-btn-ghost {
  background: #e1f7fc;
  color: #0a1e2e;
  border: 1px solid rgba(14, 165, 201, 0.3);
}

#pa-public-nav .pa-btn-ghost:hover {
  transform: translateY(-2px);
  background: #dff4fb;
  box-shadow: 0 6px 18px rgba(14, 165, 201, 0.2), 0 0 0 1px rgba(14, 165, 201, 0.15);
}

#pa-public-nav .pa-btn-dark {
  background: #030c14;
  color: #e8f4f8;
  box-shadow: 0 2px 8px rgba(5, 13, 18, 0.2);
}

#pa-public-nav .pa-btn-dark:hover {
  background: #163347;
  box-shadow: 0 4px 16px rgba(5, 13, 18, 0.3);
  transform: translateY(-1px);
}

#pa-public-nav .pa-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.5s ease;
}

#pa-public-nav .pa-btn:hover::before {
  left: 100%;
}

#pa-public-nav .pa-nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

#pa-public-nav .pa-nav-toggle svg {
  width: 22px;
  height: 22px;
}

body.pa-public-nav-offset {
  padding-top: 64px;
}

/* Shared rich footer layout used on public pages */
.foot { background: #000; border-top: 1px solid rgba(255,255,255,.06); padding: 34px 48px 40px !important; margin-top: 22px; }
.foot .footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.foot .footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot .footer-brand-logo { width: 53px; height: 35px; display: block; object-fit: contain; object-position: center; transform: scale(1.08); transform-origin: center; }
.foot .footer-brand-name { font-family: "Sora", system-ui, sans-serif; font-size: 19px; color: rgba(160,232,248,0.9); margin-bottom: 0; }
.foot .footer-brand-desc { font-size: 13px; color: rgba(170,225,238,0.9); line-height: 1.65; max-width: 280px; }
.foot .footer-col-title { font-size: 12px; font-weight: 600; color: rgba(120,220,245,0.95); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.foot .footer-links { display: flex; flex-direction: column; gap: 9px; }
.foot .footer-link { font-size: 13px; color: rgba(205,242,250,0.92); text-decoration: none; transition: color .15s; }
.foot .footer-link:hover { color: #7fe4fb; }
.foot .footer-bottom { border-top: 1px solid rgba(14,165,201,0.08); padding-top: 24px; display: flex; align-items: center; justify-content: center; text-align: center; }
.foot .footer-copy { font-size: 12px; color: rgba(165,229,245,0.9); }
.foot .footer-socials { display: flex; gap: 10px; }
.foot .social-btn { width: 32px; height: 32px; border-radius: 8px; background: rgba(14,165,201,0.12); border: 1px solid rgba(14,165,201,0.35); display: inline-flex; align-items: center; justify-content: center; color: rgba(220,248,255,.95); cursor: pointer; transition: all .15s; }
.foot .social-btn svg { width: 14px; height: 14px; }
.foot .social-btn:hover { background: rgba(14,165,201,0.25); color: #9aeefe; }
.foot .footer-tech-pill { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-family: "JetBrains Mono", monospace; font-size: 10px; color: rgba(150,228,245,0.95); }
.foot .ft-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: pa-pulse 2s infinite; }
@keyframes pa-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

@media (max-width: 1024px) {
  #pa-public-nav {
    padding: 0 20px;
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    row-gap: 0;
  }

  #pa-public-nav .pa-nav-toggle {
    display: flex;
  }

  #pa-public-nav .pa-nav-links,
  #pa-public-nav .pa-nav-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 12px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  #pa-public-nav.pa-menu-open .pa-nav-links,
  #pa-public-nav.pa-menu-open .pa-nav-actions {
    display: flex;
  }

  #pa-public-nav .pa-nav-actions {
    flex-direction: column;
    gap: 10px;
    padding-top: 0;
    border-top: none;
  }

  #pa-public-nav .pa-nav-link {
    padding: 12px 14px;
  }

  #pa-public-nav .pa-btn {
    justify-content: center;
    width: 100%;
  }

  .foot { padding: 34px 24px 40px !important; }

  .foot .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
}
