/* privateSLM site — SpaceX-inspired dark cinematic theme */
:root {
  --bg: #000000;
  --bg-panel: #050508;
  --ink: #f5f5f7;
  --muted: #9a9aa3;
  --accent: #a78bff;
  --line: rgba(255, 255, 255, 0.18);
  --max: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- nav ---------- */
nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 28px 40px;
}
nav .logo {
  font-weight: 700; font-size: 17px; letter-spacing: 0.28em;
  text-transform: uppercase; color: #fff;
}
nav .logo span { color: var(--accent); }
nav .links {
  margin-left: auto; display: flex; gap: 34px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
}
nav .links a { color: #fff; opacity: .85; padding-bottom: 4px; border-bottom: 1px solid transparent; }
nav .links a:hover { opacity: 1; border-bottom-color: #fff; text-decoration: none; }
nav .links a.nav-btn {
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  padding: 9px 18px 8px; opacity: 1;
}
nav .links a.nav-btn:hover { background: #fff; color: #000; border-color: #fff; }

/* ---------- full-viewport panels ---------- */
.panel {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 40px 12vh;
  overflow: hidden;
  background-color: var(--bg);
}
.panel.hero { justify-content: center; text-align: center; align-items: center; }
.panel .inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; }

/* starfield + nebula backgrounds, pure CSS */
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 22px 34px, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 200px 140px, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 300px 40px, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 380px 180px, rgba(255,255,255,.75), transparent),
    radial-gradient(1.5px 1.5px at 90px 220px, rgba(255,255,255,.6), transparent);
  background-size: 420px 260px;
  opacity: .5;
}
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at 50% 115%, rgba(124, 77, 255, 0.28), transparent 60%);
}
.panel.hero::after {
  background:
    radial-gradient(ellipse 70% 50% at 50% -12%, rgba(124, 77, 255, 0.35), transparent 62%),
    radial-gradient(ellipse 95% 60% at 50% 118%, rgba(45, 20, 110, 0.5), transparent 65%);
}
.panel:nth-of-type(odd)::after { opacity: .75; }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.panel h1 {
  font-size: clamp(40px, 7vw, 92px); font-weight: 700; line-height: 1.04;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.panel h2 {
  font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; line-height: 1.08;
  text-transform: uppercase; max-width: 820px;
}
.panel p.sub {
  margin-top: 22px; font-size: clamp(15px, 1.6vw, 19px);
  color: var(--muted); max-width: 640px;
}
.panel.hero p.sub { margin-left: auto; margin-right: auto; }

.cta { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; }
.panel.hero .cta { justify-content: center; }
.btn {
  display: inline-block; padding: 17px 44px;
  border: 2px solid #fff; color: #fff; background: transparent;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.26em;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: #fff; color: #000; text-decoration: none; }
.btn.solid { background: #fff; color: #000; }
.btn.solid:hover { background: transparent; color: #fff; }

/* stat row (hero bottom) */
.stats {
  display: flex; gap: clamp(28px, 6vw, 90px); justify-content: center;
  margin-top: 64px; flex-wrap: wrap;
}
.stat .num { font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; letter-spacing: .02em; }
.stat .label {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
  margin-top: 4px;
}

/* ---------- content pages (blog, articles) ---------- */
.page {
  padding-top: 130px; min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 40% at 50% -8%, rgba(124, 77, 255, 0.16), transparent 60%),
    var(--bg);
}
.page-title {
  font-size: clamp(30px, 4.5vw, 52px); font-weight: 700;
  text-transform: uppercase; line-height: 1.1;
}
.page .lead { color: var(--muted); margin-top: 14px; max-width: 620px; font-size: 17px; }

.post-list { margin: 56px 0 96px; display: grid; gap: 2px; }
.post-card {
  display: block; padding: 34px 30px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  color: var(--ink);
  transition: background .15s ease, border-color .15s ease;
}
.post-card:hover { background: rgba(255,255,255,.07); border-color: var(--line); text-decoration: none; color: var(--ink); }
.post-card .meta {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.post-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 15px; }

article { max-width: 720px; margin: 0 auto; padding-bottom: 110px; }
article h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; }
article .meta {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin: 16px 0 44px;
}
article h2 {
  font-size: 22px; margin: 48px 0 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
article p, article li { font-size: 17px; margin-bottom: 16px; color: #cfcfd6; }
article a { color: var(--accent); }
article ul, article ol { padding-left: 24px; margin-bottom: 16px; }
article strong { color: #fff; }
article code {
  background: rgba(255,255,255,.08); border-radius: 4px; padding: 2px 7px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; color: #e8e2ff;
}
article blockquote {
  border-left: 2px solid var(--accent); padding: 6px 22px; margin: 26px 0;
  color: var(--muted); font-size: 18px;
}
article pre {
  background: #0d0d12; border: 1px solid rgba(255,255,255,.08); border-radius: 8px;
  padding: 18px 20px; margin: 24px 0; overflow-x: auto;
}
article pre code {
  background: none; padding: 0; color: #d8f0d8; font-size: 14px; line-height: 1.6;
  display: block; white-space: pre;
}
article table {
  width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px;
}
article th, article td {
  text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.1);
}
article th { color: #fff; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
article td { color: #cfcfd6; }
article .cite { font-size: 13px; color: var(--muted); margin-top: -10px; margin-bottom: 20px; }
article .btn { margin-top: 8px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 34px 40px 46px;
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); background: var(--bg);
}
footer a { color: var(--muted); }
footer a:hover { color: #fff; text-decoration: none; }
footer .spacer { margin-left: auto; }

@media (max-width: 640px) {
  nav { padding: 22px 20px; gap: 16px; }
  nav .links { gap: 18px; letter-spacing: .16em; }
  .panel { padding: 0 22px 14vh; }
  footer { padding: 28px 22px 40px; }
}
