/* Shared public header/footer. Used by Angular /home and static solution pages. */
.landing-header, .landing-footer {
  font-family: Inter, Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.landing-header *, .landing-footer * { box-sizing: border-box; }
.landing-header { position: fixed; inset: 0 0 auto; z-index: 1000; padding: .75rem 0; background: rgba(248,251,255,.82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(148,163,184,.24); box-shadow: 0 14px 36px rgba(15,23,42,.06); }
.landing-header .header-container { display: flex; align-items: center; justify-content: space-between; max-width: 1520px; margin: 0 auto; padding: 0 2rem; }
.landing-header .logo, .landing-footer .logo { display: flex; align-items: center; gap: .5rem; color: #0f172a; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.6; text-decoration: none; }
.landing-header .logo i, .landing-footer .logo i, .marketing-brand-icon { display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg,#4f46e5,#06b6d4); color: #fff; -webkit-text-fill-color: #fff; font-size: 1.75rem; box-shadow: 0 12px 24px rgba(79,70,229,.22); }
.marketing-brand-icon svg { width: 28px; height: 28px; fill: currentColor; }
.landing-header .header-nav { display: flex; align-items: center; gap: .35rem; padding: .35rem; border: 1px solid rgba(203,213,225,.82); border-radius: 999px; background: rgba(255,255,255,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.76); }
.landing-header .header-nav > a { padding: .55rem .85rem; border-radius: 999px; color: #475569; font-size: .92rem; font-weight: 700; line-height: 1.6; text-decoration: none; transition: color .2s, background-color .2s; }
.landing-header .header-nav > a:hover { color: #1d4ed8; background: #eef6ff; }
.landing-header .header-actions { display: flex; align-items: center; gap: .75rem; }
.landing-header .btn-login, .landing-header .btn-signup { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .6rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-family: inherit; font-size: .9rem; font-weight: 600; line-height: 1.6; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s; }
.landing-header .btn-login { background: #fff; border-color: #cbd5e1; color: #0f172a; }
.landing-header .btn-login:hover { background: #6366f1; color: #fff; }
.landing-header .btn-signup { background: linear-gradient(135deg,#4f46e5,#6366f1); color: #fff; box-shadow: 0 14px 26px rgba(79,70,229,.24); }
.landing-header .btn-signup:hover { transform: translateY(-2px); }
.marketing-inline-icon { flex: 0 0 1em; width: 1em; height: 1em; fill: currentColor; vertical-align: -.1em; }
.landing-header .hamburger-btn { display: none; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; cursor: pointer; z-index: 1001; }
.landing-header .hamburger-line { display: block; width: 24px; height: 3px; margin: 2px 0; border-radius: 3px; background: #4f46e5; transition: transform .2s, opacity .2s; }
.landing-header .hamburger-btn.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.landing-header .hamburger-btn.active .hamburger-line:nth-child(2) { opacity: 0; }
.landing-header .hamburger-btn.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.landing-header .mobile-nav-buttons { display: none; }
.marketing-menu-overlay { position: fixed; inset: 0; z-index: 999; border: 0; background: rgba(0,0,0,.5); }
.landing-header [hidden], .marketing-menu-overlay[hidden] { display: none !important; }
.landing-header a:focus-visible, .landing-header button:focus-visible, .landing-footer a:focus-visible { outline: 3px solid #818cf8; outline-offset: 4px; border-radius: 6px; }
.landing-footer { padding: 4rem 2rem 2rem; background: linear-gradient(135deg,#0f172a,#111827 58%,#0f3f3c); border-top: 1px solid rgba(148,163,184,.2); color: #fff; }
.landing-footer .footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; max-width: 1360px; margin: 0 auto; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.landing-footer .footer-brand { max-width: 360px; }
.landing-footer .footer-brand .logo { margin-bottom: 1rem; color: #fff; }
.landing-footer .footer-brand p { max-width: 300px; margin: 0 0 1rem; color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.6; }
.landing-footer .footer-links { display: flex; flex-wrap: wrap; gap: 2.5rem; min-width: 0; }
.landing-footer .footer-column { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.landing-footer .footer-column h4 { margin: 0 0 .5rem; color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: normal; }
.landing-footer .footer-column a { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.landing-footer .footer-column a:hover, .landing-footer .footer-bottom a:hover { color: #fff; }
.landing-footer .footer-contact-name { margin: 0 0 .5rem; color: #fff; font-size: .95rem; font-weight: 600; line-height: 1.6; }
.landing-footer .footer-column a i { margin-right: .25rem; }
.landing-footer .footer-column svg { margin-right: .25rem; }
.landing-footer .footer-location { color: rgba(255,255,255,.7); font-size: .85rem; }
.landing-footer .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: 1200px; margin: 0 auto; padding-top: 2rem; }
.landing-footer .footer-bottom p { margin: 0; color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.6; }
.landing-footer .footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 1200px) {
  .landing-header .header-container { gap: 1rem; }
  .landing-header .hamburger-btn { display: flex; margin-left: auto; }
  .landing-header .desktop-only { display: none; }
  .landing-header .header-nav { position: fixed; top: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; width: min(300px,88vw); height: 100dvh; padding: 5rem 1.5rem 2rem; border: 0; border-radius: 0; background: #fff; overflow-y: auto; box-shadow: -5px 0 20px rgba(0,0,0,.1); transform: translateX(105%); visibility: hidden; transition: transform .2s, visibility .2s; z-index: 1000; }
  .landing-header .header-nav.mobile-open { transform: translateX(0); visibility: visible; }
  .landing-header .header-nav > a { width: 100%; padding: 1rem 0; border-bottom: 1px solid #e2e8f0; border-radius: 0; font-size: 1rem; }
  .landing-header .mobile-nav-buttons { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
  .landing-header .mobile-nav-buttons .btn-login, .landing-header .mobile-nav-buttons .btn-signup { width: 100%; padding: .75rem 1rem; }
  /* Static-page fallback keeps all links accessible when scripts are unavailable. */
  .landing-header.static-marketing-header:not(.menu-enhanced) { position: relative; }
  .landing-header.static-marketing-header:not(.menu-enhanced) .header-container { flex-wrap: wrap; }
  .landing-header.static-marketing-header:not(.menu-enhanced) .header-nav { position: static; width: 100%; height: auto; padding: 1rem; transform: none; visibility: visible; box-shadow: none; }
}
@media (max-width: 768px) {
  .landing-header .header-container { padding: 0 1rem; }
  .landing-footer .footer-container, .landing-footer .footer-links { flex-direction: column; gap: 2rem; }
  .landing-footer .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-header .header-nav, .landing-header .hamburger-line, .landing-header .btn-login, .landing-header .btn-signup { transition: none; }
}
