/* ============================================================
   ASTRIX TRADEWORX — header-footer.css
   Header container · Footer shared styles
   ============================================================ */

/* ── Header Container (fixed pill wrapper) ── */
.header-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1rem 1.5rem;
  transition: background 0.35s;
}
.header-container--scrolled { background: var(--color-surface); }

/* ── Header ── */
.header {
  max-width: var(--max-width);
  margin: 0 auto;
  transition: box-shadow 0.3s, background 0.3s;
}

/* Desktop pill shape */
@media (min-width: 931px) {
  .nav-pill-style .header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 9999px;
    box-shadow: 0 2px 20px rgba(10, 21, 48, 0.09);
    padding: 0 1.5rem;
  }
  .header-container--scrolled .nav-pill-style .header {
    box-shadow: 0 4px 30px rgba(10, 21, 48, 0.14);
  }
  [data-theme="dark"] .nav-pill-style .header {
    background: rgba(10, 30, 61, 0.94);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  }
}

/* ── Footer ── */
.footer { background: var(--color-surface-darkest); padding: 4rem 0 2rem; }
.footer__top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
  padding-bottom: 3rem;
  border-bottom-width: 1px; border-bottom-style: solid;
  border-bottom-color: rgba(255,255,255,0.06);
}
.footer__brand p { font-size: 0.85rem; color: var(--color-text-inv-muted); line-height: 1.7; margin-bottom: 0.25rem; }
.footer__founders { font-size: 0.78rem !important; color: rgba(255,255,255,0.50) !important; margin-top: 0.5rem; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__col h4 {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-text-inv-muted); margin-bottom: 0.85rem; font-weight: 700;
}
.footer__col a, .footer__address {
  display: block; font-size: 0.875rem; color: rgba(255,255,255,0.78);
  margin-bottom: 0.45rem; transition: color 0.2s;
}
.footer__col a:hover { color: var(--color-primary-light); }
.footer__address { margin-top: 0.5rem; line-height: 1.6; }
.footer__soon {
  display: inline-block; font-size: 0.62rem; padding: 0.1rem 0.45rem;
  background: rgba(255,255,255,0.07); border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.28); margin-left: 0.35rem; vertical-align: middle;
}
.footer__bottom {
  padding-top: 1.75rem; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.50); }

/* ── Footer Responsive ── */
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer__links { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
