/* ===================== SiriX — Midnight Intelligence theme ===================== */
:root {
  --sx-navy: #141B3F;
  --sx-navy-deep: #090C1F;
  --sx-gold: #C9A227;
  --sx-teal: #29D3C8;
  --sx-violet: #6C5CE7;
  --sx-paper: #F6F6FA;
  --sx-ink: #12131C;
  --sx-line: #E2E1EC;
}

body {
  background: var(--sx-paper);
  color: var(--sx-ink);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

.sirix-nav {
  background: linear-gradient(180deg, var(--sx-navy) 0%, var(--sx-navy-deep) 100%);
  border-bottom: 3px solid var(--sx-gold);
}
.sirix-nav .navbar-brand { letter-spacing: 0.03em; }
.sirix-nav .nav-link { color: rgba(255,255,255,0.85) !important; }
.sirix-nav .nav-link:hover { color: var(--sx-gold) !important; }

.sirix-footer {
  background: var(--sx-navy-deep);
  color: rgba(255,255,255,0.7);
}

.hero-band {
  background:
    radial-gradient(circle at 15% 20%, rgba(108,92,231,.28) 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(41,211,200,.20) 0%, transparent 40%),
    linear-gradient(180deg, var(--sx-navy) 0%, var(--sx-navy-deep) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(199,162,39,.4);
}
.hero-band h1 { font-weight: 700; letter-spacing: -0.01em; }
.hero-eyebrow {
  color: var(--sx-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.card {
  border: 1px solid var(--sx-line);
  border-radius: 6px;
}
.card-mb {
  border-left: 4px solid var(--sx-teal);
}

.btn-gold {
  background: var(--sx-gold);
  border-color: var(--sx-gold);
  color: #16130a;
  font-weight: 600;
}
.btn-gold:hover { background: #b6872f; border-color: #b6872f; color: #16130a; }

.btn-navy {
  background: var(--sx-navy);
  border-color: var(--sx-navy);
  color: #fff;
  font-weight: 600;
}
.btn-navy:hover { background: var(--sx-navy-deep); border-color: var(--sx-navy-deep); color: #fff; }

.badge-verified { background: var(--sx-teal); }
.badge-pending { background: #9c7a1f; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--sx-teal);
  font-weight: 700;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sx-navy);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.confidential-lock {
  background: #fff8ea;
  border: 1px dashed var(--sx-gold);
  border-radius: 6px;
  padding: 1rem;
}

.score-ring {
  font-size: 2rem;
  font-weight: 700;
}

table.table thead { background: var(--sx-navy); color: #fff; }

.sx-icon-card {
  border: 1px solid var(--sx-line);
  border-radius: 8px;
  padding: 28px 24px;
  height: 100%;
  background: #fff;
  transition: transform .15s, box-shadow .15s;
}
.sx-icon-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,31,58,.08); }
.sx-icon-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(199,154,61,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sx-icon-badge svg { width: 26px; height: 26px; stroke: var(--sx-gold); fill: none; stroke-width: 1.6; }

.sx-trust-strip {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: center;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px;
}
.sx-trust-strip div { text-align: center; color: rgba(255,255,255,.85); font-size: 13px; }
.sx-trust-strip strong { display: block; font-size: 22px; color: var(--sx-gold); font-weight: 700; }

.sx-dims-list { list-style: none; padding: 0; margin: 0; }
.sx-dims-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--sx-line);
}
.sx-dims-list li:last-child { border-bottom: none; }
.sx-dims-list .sx-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--sx-teal); display: flex; align-items: center; justify-content: center;
}
.sx-dims-list .sx-check svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.4; }

/* ===================== Browse / Match UI (investors <-> companies) ===================== */
.sx-filter-panel {
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 84px;
}
.sx-filter-panel .form-label { color: var(--sx-navy); margin-bottom: 4px; }

.sx-match-card { display: flex; flex-direction: column; }
.sx-match-card.is-match { border: 1px solid var(--sx-gold); box-shadow: 0 6px 20px rgba(199,154,61,.14); }

.match-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(27,122,110,.1);
  color: var(--sx-teal);
  border: 1px solid rgba(27,122,110,.35);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}
.match-chip::before { content: '\2713'; }

.tag-pill {
  display: inline-block;
  background: var(--sx-paper);
  border: 1px solid var(--sx-line);
  color: var(--sx-ink);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 20px;
}

.kv-table td { border: none; padding: 6px 8px 6px 0; font-size: 13px; vertical-align: top; }
.kv-table td:first-child { color: #6b7076; width: 130px; }

@media (max-width: 991px) {
  .sx-filter-panel { position: static; margin-bottom: 20px; }
}

/* Large screens / TV — Bootstrap's grid already handles phone through desktop
   responsively via its own breakpoints; this adds the same large-display tier
   used across the rest of the Miryalan Dynasty sites so very wide monitors and
   TVs get slightly larger type and a wider content column instead of just
   floating in a centered strip with excess empty margin. */
@media (min-width: 1600px) {
  .container { max-width: 1400px; }
  body { font-size: 1.05rem; }
  .hero-band h1 { font-size: 3rem; }
}
