/* Shared across every page of leasehub360.com: the site header (.sh-*) and the demo/trial request popup (.demo-*).
   Markup for the header is in each page; the popup markup is injected by /assets/site.js. */

/* ── Header ─────────────────────────────────────────────────────────────── */
.sh { position: sticky; top: 0; z-index: 100; background: rgba(15, 23, 42, 0.97); backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 5%; font-family: 'Inter', 'Inter Fallback', sans-serif; }
.sh-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 64px; gap: 2rem; }
.sh-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.sh-logo img { height: 36px; width: 36px; }
.sh-logo-text { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.sh-logo-text span { color: #7F77DD; }
.sh-links { display: flex; gap: 2rem; margin-left: 2rem; }
.sh-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.sh-links a:hover, .sh-links a[aria-current="page"] { color: #fff; }
.sh-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.sh-btn-ghost { padding: 8px 18px; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 8px; color: #fff; font-size: 14px;
                font-weight: 600; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.sh-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.sh-btn-green { padding: 8px 20px; background: #10b981; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 700;
                text-decoration: none; transition: background 0.2s; white-space: nowrap; }
.sh-btn-green:hover { background: #059669; }
.sh-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; margin-left: auto; background: none; border: 0; }
.sh-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.sh-mobile { display: none; }
@media (max-width: 1024px) { .sh-links { gap: 1.25rem; margin-left: 0.5rem; } }
@media (max-width: 900px) {
  .sh-links, .sh-actions { display: none; }
  .sh-burger { display: flex; }
  .sh-mobile.open { display: flex; flex-direction: column; padding: 8px 0 20px; border-top: 1px solid rgba(255,255,255,0.08); }
  .sh-mobile a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 16px; font-weight: 500; padding: 12px 0;
                 border-bottom: 1px solid rgba(255,255,255,0.06); }
  .sh-mobile a[aria-current="page"] { color: #fff; }
  .sh-mobile .sh-btn-green { margin-top: 12px; text-align: center; padding: 12px; border-bottom: 0; }
}

/* ── Demo / trial / contact popup ───────────────────────────────────────── */
.demo-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 200; align-items: center;
                justify-content: center; padding: 20px; font-family: 'Inter', 'Inter Fallback', sans-serif; }
.demo-overlay.open { display: flex; }
.demo-card { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
             box-shadow: 0 28px 70px rgba(0,0,0,0.22); animation: demoUp 0.25s ease; text-align: left; }
@keyframes demoUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.demo-card-head { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%); padding: 28px 32px 24px; }
.demo-card-head h2 { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.demo-card-head p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; }
.demo-card-body { padding: 28px 32px 32px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.demo-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.demo-field.full { grid-column: 1 / -1; }
.demo-field label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #64748b; }
.demo-field input, .demo-field textarea { padding: 10px 13px; border-radius: 8px; border: 1.5px solid #e2e8f0; font-size: 14px;
  font-family: inherit; outline: none; transition: border-color 0.2s; background: #f8fafc; width: 100%; box-sizing: border-box; color: #0f172a; }
.demo-field input:focus, .demo-field textarea:focus { border-color: #3b82f6; background: #fff; }
.demo-field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.demo-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.demo-btn, .demo-btn-ghost { font: inherit; font-size: 15px; font-weight: 700; border-radius: 8px; padding: 10px 24px; cursor: pointer; }
.demo-btn { background: #10b981; color: #fff; border: none; }
.demo-btn:hover { background: #059669; }
.demo-btn:disabled { opacity: 0.7; cursor: wait; }
.demo-btn-ghost { background: transparent; color: #475569; border: 1.5px solid #e2e8f0; font-weight: 600; }
.demo-msg { display: none; text-align: center; padding: 24px 0 8px; }
.demo-msg-icon { font-size: 40px; margin-bottom: 12px; }
.demo-msg h3 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.demo-msg p { font-size: 14px; color: #64748b; margin: 0; }
.demo-err { display: none; margin-top: 12px; padding: 10px 14px; background: #fee2e2; border-radius: 8px; font-size: 13px; color: #b91c1c; }
@media (max-width: 560px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card-head { padding: 22px 20px 18px; }
  .demo-card-body { padding: 20px; }
}
