/* Dark Signal OS — content page styles
   Shared across all public content pages.
   Replaces the old cyberpunk radar main.css design. */

:root {
  --bg: #05080d;
  --bg2: #081017;
  --panel: #0d151c;
  --panel2: #101b24;
  --panel3: #14232c;
  --line: #20333d;
  --line2: #2b4a4e;
  --text: #edf8f2;
  --muted: #8aa39d;
  --soft: #b9cbc3;
  --green: #2cff9b;
  --green2: #11c978;
  --cyan: #52d7ff;
  --amber: #ffc86b;
  --red: #ff6b7a;
  --shadow: rgba(0,0,0,.42);
  --sans: "IBM Plex Sans", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 74% 10%, rgba(44,255,155,.10), transparent 62%),
    radial-gradient(780px 460px at 12% 14%, rgba(82,215,255,.06), transparent 58%),
    linear-gradient(180deg, #071019 0%, var(--bg) 52%, #040609 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    repeating-radial-gradient(circle at 72% 14%, rgba(44,255,155,.09) 0 1px, transparent 1px 74px);
  background-size: 36px 36px, 36px 36px, auto;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.22) 70%, transparent);
}

a { color: inherit; text-decoration: none; }

.shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

/* --- Top nav --- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5,8,13,.72);
  border-bottom: 1px solid rgba(44,255,155,.12);
}
.nav {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 28px; height: 28px;
  border: 1px solid rgba(44,255,155,.5);
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle, rgba(44,255,155,.22), rgba(44,255,155,.04) 58%, transparent 59%);
  box-shadow: 0 0 24px rgba(44,255,155,.18);
}
.brand-mark:before, .brand-mark:after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(44,255,155,.34); border-radius: 50%;
}
.brand-mark:after {
  inset: 12px auto auto 12px; width: 6px; height: 1px;
  border: 0; background: var(--green);
  transform-origin: left center; transform: rotate(-28deg);
}
.navlinks { display: flex; gap: 18px; margin-left: auto; color: var(--muted); font-size: 13px; }
.navlinks a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 800; font-size: 13px; white-space: nowrap;
}
.btn.primary {
  color: #03110b;
  background: linear-gradient(180deg, var(--green), #18d680);
  box-shadow: 0 12px 36px rgba(44,255,155,.18);
}
.btn.secondary {
  border-color: rgba(237,248,242,.14); color: var(--soft); background: rgba(255,255,255,.03);
}
.btn:hover { transform: translateY(-1px); }

/* --- Content layout --- */
main { flex-grow: 1; }
section { padding: 64px 0; position: relative; }
main > section:first-child { padding-top: 82px; }

h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .94; letter-spacing: 0; max-width: 920px;
  color: var(--text);
}
h2 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.12; }
h3 { font-size: 1.15rem; }
p { color: var(--soft); line-height: 1.66; font-size: 15px; }
.muted { color: var(--muted); }

.section-kicker {
  color: var(--green); text-transform: uppercase; letter-spacing: .11em;
  font-size: 12px; font-weight: 900; margin-bottom: 12px;
  font-family: var(--mono);
}

main > section:first-child > .shell > p,
main > section:first-child > .shell > .muted {
  max-width: 760px;
}

main > section:first-child > .shell > h1 + p {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--soft);
}

/* --- Cards / panels --- */
.card, .lead-card, .stat-card, .other-list-card {
  background:
    linear-gradient(180deg, rgba(16,27,36,.92), rgba(9,14,20,.94));
  border: 1px solid rgba(237,248,242,.09);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
.lead-card {
  padding: 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.lead-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(44,255,155,.12), transparent 34%);
  opacity: .28;
}
.lead-card:hover {
  transform: translateY(-3px);
  border-color: rgba(44,255,155,.26);
  box-shadow: 0 24px 64px rgba(44,255,155,.08);
}
.lead-card > * { position: relative; }
.lead-card h3 { color: var(--text); margin-bottom: 8px; font-size: 18px; }
.lead-card p { font-size: 13px; margin-bottom: 6px; color: var(--text); }
.lead-card p strong { color: var(--cyan); font-weight: 600; }
.lead-card .summary { font-size: 12px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }

.stat-card {
  padding: 18px 24px;
  min-width: 150px;
  border-color: rgba(44,255,155,.16);
}
.stat-value { font-size: 28px; line-height: 1; font-weight: 900; color: var(--green); font-family: var(--mono); }
.stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; font-weight: 800; }

.other-list-card { padding: 18px; transition: transform .2s, box-shadow .2s, border-color .2s; display: block; }
.other-list-card:hover { transform: translateY(-3px); border-color: rgba(82,215,255,.28); box-shadow: 0 12px 36px rgba(44,255,155,.08); }
.other-list-card .card-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.other-list-card .card-updated-date { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.other-list-card .card-read-more { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--cyan); }

.stats-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 36px; }
.leads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.other-lists-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }

.website-link { color: var(--cyan); word-break: break-all; }
.website-link:hover { color: var(--green); }
.ceo-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.btn-announcement {
  display: inline-block; border: 1px solid var(--green); border-radius: 8px;
  padding: 8px 16px; color: var(--green); font-weight: 800; font-size: 13px;
  margin-top: 8px; transition: all .2s;
  background: rgba(44,255,155,.04);
}
.btn-announcement:hover { background: var(--green); color: #03110b; }

.no-leads-message {
  text-align: center; padding: 40px 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}

/* --- Content typography (for rich-text pages) --- */
.content-body {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  background:
    linear-gradient(180deg, rgba(16,27,36,.88), rgba(7,12,18,.94));
  border: 1px solid rgba(237,248,242,.09);
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0,0,0,.24);
  position: relative;
  overflow: hidden;
}
.content-body:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(44,255,155,.12), transparent 60%),
    repeating-radial-gradient(circle at 88% 8%, rgba(82,215,255,.11) 0 1px, transparent 1px 48px);
  opacity: .72;
}
.content-body > * { position: relative; }
.content-body h1 {
  color: var(--text);
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: .96;
  margin: 0 0 20px;
}
.content-body h2 {
  color: var(--green);
  margin: 42px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.content-body h3 { color: var(--text); margin: 28px 0 12px; }
.content-body p { color: var(--soft); line-height: 1.72; margin-bottom: 16px; font-size: 16px; }
.content-body a { color: var(--cyan); font-weight: 700; }
.content-body a:hover { color: var(--green); }
.content-body ul, .content-body ol { margin: 0 0 22px 0; padding-left: 0; list-style: none; }
.content-body li {
  color: var(--soft);
  line-height: 1.66;
  margin-bottom: 10px;
  padding: 12px 14px 12px 34px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  background: rgba(255,255,255,.026);
  position: relative;
}
.content-body li:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(44,255,155,.36);
}
.content-body li p { margin: 0; font-size: 15px; }
.content-body strong { color: var(--text); }
.content-body em { color: var(--muted); }
.content-body .image-caption {
  border-left: 2px solid rgba(82,215,255,.45);
  padding: 10px 0 10px 16px;
  color: var(--muted);
}
.content-body code { font-family: var(--mono); background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
  padding: 48px 0 32px;
  font-size: 13px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.32));
  margin-top: auto;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; margin-bottom: 28px; }
.foot-brand .brand { font-size: 15px; margin-bottom: 10px; }
.foot-brand p { color: var(--muted); line-height: 1.6; max-width: 300px; font-size: 13px; }
.foot-col h4 { color: var(--text); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a { color: var(--muted); font-size: 13px; line-height: 1.4; }
.foot-col a:hover { color: var(--green); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; }

/* --- Responsive --- */
@media (max-width: 980px) {
  .navlinks { display: none; }
}
@media (max-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 48px 0; }
  main > section:first-child { padding-top: 56px; }
  .shell { width: min(100% - 24px, 1180px); }
  .stats-bar { gap: 12px; }
  .leads-grid, .other-lists-grid { grid-template-columns: 1fr; }
  .content-body { padding: 22px; }
  .content-body li { padding-right: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  main .btn { width: 100%; }
}
