/* ═════════════════════════════════════════════════════════
   PRIMOLABS — Burnt Operator + LDR design system
   Locked 2026-05-08. Synth from CD + MARKETING briefs.
   ═════════════════════════════════════════════════════════ */

:root {
  --bg:           #0c0807;
  --bg-elevated:  #14100e;
  --bg-frame:     rgba(20, 16, 14, 0.85);
  --border:       rgba(255, 220, 200, 0.08);
  --border-warm:  rgba(255, 120, 60, 0.18);

  --accent:       #ff5722;
  --accent-deep:  #d63a1a;
  --accent-glow:  rgba(255, 87, 34, 0.4);

  --text:         #f4ede5;
  --text-bright:  #ffffff;
  --text-dim:     #a89b8e;
  --text-muted:   #6b5f55;

  --display:      'Mona Sans', 'Inter', system-ui, sans-serif;
  --body:         'Geist', system-ui, -apple-system, sans-serif;
  --mono:         'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: hidden; }
body { min-height: 100vh; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(12, 8, 7, 0.7);
  border-bottom: 1px solid var(--border);
}
nav .logo {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none;
  font-family: var(--display);
}
nav .logo .x-mark {
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
  transform: translateY(-1px);
}
nav .logo .x-mark::before { content: '\00d7'; }
nav .logo .wordmark {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--text);
  text-transform: uppercase;
}
nav .nav-right { display: flex; gap: 32px; align-items: center; }
nav .nav-link {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
nav .nav-link:hover { color: var(--accent); }
nav .nav-link.active { color: var(--text); }
nav .nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #1a0d08;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
nav .nav-cta:hover { background: var(--accent-deep); }

/* ── SHARED HERO PRIMITIVES ── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid var(--border-warm);
  border-radius: 100px;
  background: rgba(255,87,34,0.04);
}
.hero-eyebrow .x { color: var(--accent); font-weight: 900; font-size: 15px; line-height: 1; }
.hero-eyebrow .pulse {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2s infinite;
}

h1.headline {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--text-bright);
  margin-bottom: 28px;
  max-width: 1100px;
}
h1.headline .accent-word { color: var(--accent); }
h1.headline .x-glyph {
  display: inline-block;
  color: var(--accent);
  font-weight: 900;
  margin: 0 0.04em;
  transform: translateY(-0.04em);
}

.hero-subhead {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 40px;
}

.hero-gospel {
  font-family: var(--body);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 44px;
}

/* ── CTAs ── */
.cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px;
  background: var(--accent);
  color: #1a0d08;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.25s;
}
.cta-primary:hover { background: var(--accent-deep); }
.cta-primary .arrow { transition: transform 0.25s; }
.cta-primary:hover .arrow { transform: translateX(4px); }

.cta-secondary {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.cta-secondary:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── SECTION PRIMITIVES ── */
.section {
  padding: 120px 5vw;
  position: relative;
}
.section.bordered {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section.elevated { background: var(--bg-elevated); }
.section-inner {
  max-width: 1280px; margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.section-headline {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text-bright);
  margin-bottom: 28px;
  max-width: 960px;
}
.section-headline em {
  font-style: italic;
  color: var(--accent);
}
.section-sub {
  font-family: var(--body);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 56px;
}

/* ── DASHBOARD FRAME (used on AGENTS) ── */
.dashboard-frame {
  background: var(--bg-frame);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 28px;
  font-family: var(--body);
  color: var(--text);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 87, 34, 0.05),
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  width: 100%;
  max-width: 520px;
}
.df-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.df-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
}
.df-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.df-status::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}
.df-section-label {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.df-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.df-row:last-child { border-bottom: none; }
.df-row .label {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  font-weight: 500;
}
.df-row .label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}
.df-row.active .label::before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.df-row .val {
  color: var(--text-dim);
  font-size: 12px;
  font-family: var(--body);
}
.df-row.active .val { color: var(--accent); font-weight: 500; }
.df-activity {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.df-activity-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  font-size: 12px;
}
.df-activity-row .text { color: var(--text); flex: 1; padding-right: 12px; }
.df-activity-row .ago { color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.df-tail {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.df-tail .live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; }
.df-tail .live-dot::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.df-tail .uptime { font-variant-numeric: tabular-nums; }

/* ── LADDER BAND (mini pricing reference, used per page) ── */
.ladder-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}
.ladder-tier {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}
.ladder-tier:last-child { border-right: none; }
.ladder-tier:hover { background: rgba(255,87,34,0.04); }
.ladder-tier .tier-label {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.ladder-tier .tier-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.ladder-tier .tier-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.ladder-tier.active {
  background: rgba(255,87,34,0.08);
  border-color: var(--border-warm);
}
.ladder-tier.active .tier-name { color: var(--accent); }

/* ── FOOTER ── */
footer {
  padding: 56px 5vw;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-family: var(--display); display: inline-flex; align-items: center; gap: 14px; }
.footer-logo .x { color: var(--accent); font-weight: 900; font-size: 28px; line-height: 1; transform: translateY(-1px); }
.footer-logo .wordmark { font-weight: 800; font-size: 12px; letter-spacing: 0.32em; color: var(--text); text-transform: uppercase; }
.footer-meta {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-links {
  display: flex; gap: 24px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-links a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  nav .nav-right .nav-link:not(:last-child) { display: none; }
  h1.headline { font-size: clamp(48px, 12vw, 80px); }
  .ladder-band { grid-template-columns: 1fr; }
  .ladder-tier { border-right: none; border-bottom: 1px solid var(--border); }
  .ladder-tier:last-child { border-bottom: none; }
}
