/* ═══════════════════════════════════════════════════
   NoctisAPI — Cyberpunk · Red × Blue
   Primary:  #b80020  dark crimson
   Contrast: #0088ff  electric blue
   Fonts:    Orbitron (headings) · JetBrains Mono (body)
   ═══════════════════════════════════════════════════ */

:root {
  --bg:        #080406;
  --bg-1:      #0c0507;
  --bg-panel:  #110608;

  --red:       #b80020;
  --red-2:     #d4002a;
  --red-dim:   #880018;
  --red-glow:  rgba(184, 0, 32, 0.18);

  --blue:      #0088ff;
  --blue-2:    #33aaff;
  --blue-glow: rgba(0, 136, 255, 0.14);

  --amber:     #ffaa00;

  --text:      #e8d0d6;
  --muted:     #b07888;
  --muted-b:   #d8aab4;

  --line:      rgba(184, 0, 32, 0.18);
  --line-s:    rgba(184, 0, 32, 0.40);
  --line-b:    rgba(0, 136, 255, 0.26);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── scanlines ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.07) 2px,
    rgba(0, 0, 0, 0.07) 4px
  );
}

/* ── background grid ───────────────────────────── */
.bg-orb { display: none; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 0, 32, 0.07) 0%, transparent 70%),
    linear-gradient(to right, rgba(184, 0, 32, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184, 0, 32, 0.09) 1px, transparent 1px);
  background-size: 100% 100%, 42px 42px, 42px 42px;
}

a {
  color: var(--blue-2);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--blue); }


/* ════════════════════════════════════════════════
   TOPBAR
   ════════════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: 100%;
  margin: 0;
  padding: 13px 48px;
  border-bottom: 1px solid var(--line-s);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--red);
  text-shadow: 0 0 16px rgba(184, 0, 32, 0.65);
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar nav a {
  color: var(--muted-b);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.topbar nav a:hover { color: var(--red); }

.nav-cta {
  color: #fff !important;
  background: var(--red) !important;
  padding: 7px 18px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--red);
  box-shadow: 0 0 16px rgba(184, 0, 32, 0.45);
  transition: box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover {
  background: var(--red-2) !important;
  box-shadow: 0 0 32px rgba(184, 0, 32, 0.65);
  color: #fff !important;
}


/* ════════════════════════════════════════════════
   MAIN LAYOUT
   ════════════════════════════════════════════════ */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 48px 100px;
}


/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 24px;
}

.eyebrow {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before { content: '// '; color: var(--muted); }

.hero h1 {
  margin: 12px 0 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 40px rgba(184, 0, 32, 0.22);
}

.lead {
  margin: 16px 0 0;
  color: var(--muted-b);
  font-size: 0.94rem;
  max-width: 52ch;
}

.hero-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.hero-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-b);
  font-size: 0.9rem;
}
.hero-points li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--red);
}

.cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.muted-links a { color: var(--muted); font-size: 0.88rem; }
.muted-links a:hover { color: var(--blue-2); }


/* ════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 18px rgba(184, 0, 32, 0.42);
}
.btn-primary:hover {
  background: var(--red-2);
  box-shadow: 0 0 32px rgba(184, 0, 32, 0.62);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--blue-2);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-glow);
  box-shadow: 0 0 16px rgba(0, 136, 255, 0.3);
  color: var(--blue-2);
}


/* ════════════════════════════════════════════════
   HERO CONSOLE — terminal style
   ════════════════════════════════════════════════ */
.hero-console {
  border: 1px solid var(--line-s);
  background: #060002;
  box-shadow:
    0 0 0 1px rgba(184, 0, 32, 0.07),
    0 0 48px rgba(184, 0, 32, 0.07),
    inset 0 0 32px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.console-head {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #070003;
}
.console-head .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.console-head .dot:nth-child(1) { background: var(--red);   box-shadow: 0 0 7px var(--red); }
.console-head .dot:nth-child(2) { background: var(--amber); box-shadow: 0 0 7px var(--amber); }
.console-head .dot:nth-child(3) { background: var(--blue);  box-shadow: 0 0 7px var(--blue); }
.console-head p {
  margin: 0 0 0 6px;
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.console-body {
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.event-row {
  border: none;
  border-left: 2px solid transparent;
  padding: 8px 12px;
  background: transparent;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.event-row.high { border-color: var(--red); }
.event-row.med  { border-color: var(--amber); }
.event-row.low  { border-color: var(--blue); }
.event-row p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-b);
}

.event-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.high .event-tag { color: var(--red);   border: 1px solid var(--red); }
.med  .event-tag { color: var(--amber); border: 1px solid var(--amber); }
.low  .event-tag { color: var(--blue);  border: 1px solid var(--blue); }

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.console-metrics article {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}
.console-metrics article:last-child { border-right: none; }

.metric-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.metric-value {
  margin: 4px 0 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--red);
  text-shadow: 0 0 12px rgba(184, 0, 32, 0.6);
}


/* ════════════════════════════════════════════════
   SECTIONS — flat, separated by a single neon line
   ════════════════════════════════════════════════ */
.section {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.section-kicker {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--red);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-kicker::before { content: '// '; color: var(--muted); }

.section-head h2 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  line-height: 1.15;
  max-width: 28ch;
  color: #fff;
  letter-spacing: 0.02em;
}

h2, h3 { font-family: 'Orbitron', sans-serif; }


/* ════════════════════════════════════════════════
   FLAT CARD GRID — no backgrounds, bordered panels
   ════════════════════════════════════════════════ */
.card-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.card-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.card-grid.two-col   { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 24px 22px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.2s;
}
.card:last-child { border-right: none; }

/* blue accent bar on top, slides in on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  transition: width 0.3s ease;
}
.card:hover { background: rgba(0, 136, 255, 0.03); }
.card:hover::before { width: 100%; }

.card h3 {
  margin: 0 0 10px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}
.card p {
  margin: 0;
  color: var(--muted-b);
  font-size: 0.86rem;
}

/* two-col (4 items, 2×2) inner borders */
.card-grid.two-col .card { border-bottom: 1px solid var(--line); }
.card-grid.two-col .card:nth-child(2n) { border-right: none; }
.card-grid.two-col .card:nth-last-child(-n+2) { border-bottom: none; }

/* three-col last-in-row cleanup */
.card-grid.three-col .card:nth-child(3n) { border-right: none; }


/* ════════════════════════════════════════════════
   COMPARISON — plan headers + flat matrix table
   ════════════════════════════════════════════════ */
.comparison-shell {
  margin-top: 32px;
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.plan-card {
  padding: 28px 32px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-radius: 0;
}
.plan-card:last-child { border-right: none; }

.plan-card.featured {
  background: rgba(0, 136, 255, 0.04);
  border-left: 2px solid var(--blue);
  box-shadow: none;
}

.tier {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.plan-price {
  margin: 10px 0 6px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  color: var(--red);
  text-shadow: 0 0 16px rgba(184, 0, 32, 0.5);
}
.plan-price span { font-size: 1rem; color: var(--muted); }

.plan-copy {
  margin: 0 0 18px;
  color: var(--muted-b);
  font-size: 0.86rem;
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
  color: var(--text);
}
.plan-card ul li::before { content: '> '; color: var(--blue); }

/* matrix table */
.matrix-wrap {
  border: 1px solid var(--line);
  border-top: none;
  overflow: hidden;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) minmax(110px, 0.9fr) minmax(150px, 1fr);
  align-items: center;
}

.matrix-head {
  padding: 12px 20px;
  background: rgba(184, 0, 32, 0.05);
  border-bottom: 1px solid var(--line-s);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.matrix-row {
  padding: 11px 20px;
  border-bottom: 1px solid rgba(184, 0, 32, 0.07);
  font-size: 0.86rem;
  transition: background 0.15s;
}
.matrix-row:last-child { border-bottom: none; }
.matrix-row:hover { background: rgba(184, 0, 32, 0.025); }

.tick {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 3px 10px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 0;
}
.tick.yes {
  color: var(--blue-2);
  border: 1px solid rgba(0, 136, 255, 0.45);
  background: rgba(0, 136, 255, 0.08);
}
.tick.no {
  color: #444;
  border: 1px solid rgba(60, 60, 60, 0.45);
  background: transparent;
}
.tick.neutral {
  color: var(--muted-b);
  border: 1px solid rgba(180, 80, 100, 0.4);
  background: transparent;
}


/* ════════════════════════════════════════════════
   EARLY ACCESS — flat CTA + two-tier strips
   ════════════════════════════════════════════════ */
.early-access-stack {
  margin-top: 32px;
  display: block;
}

.cta-band {
  margin: 0;
  border: 1px solid var(--line-s);
  border-bottom: none;
  background: rgba(184, 0, 32, 0.04);
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-radius: 0;
  box-shadow: none;
}
.cta-band p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
}
.cta-band .cta-row { margin-top: 0; }

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.price-card {
  padding: 24px 32px;
  border: none;
  border-right: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-card:last-child { border-right: none; }

.price-card.featured {
  background: rgba(0, 136, 255, 0.04);
  border-left: 2px solid var(--blue);
}

.price {
  margin: 4px 0 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  color: var(--red);
  text-shadow: 0 0 14px rgba(184, 0, 32, 0.45);
}
.price span { font-size: 1rem; color: var(--muted); }


/* ════════════════════════════════════════════════
   FAQ — terminal toggle style
   ════════════════════════════════════════════════ */
.faq-list {
  margin-top: 32px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}

details {
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0;
}
details:last-child { border-bottom: none; }

summary {
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 18px 20px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.15s;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: '[+]';
  color: var(--red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  flex-shrink: 0;
}
details[open] summary::before { content: '[-]'; color: var(--blue); }
summary:hover { background: rgba(184, 0, 32, 0.03); }

details p {
  margin: 0;
  padding: 0 20px 18px 52px;
  color: var(--muted-b);
  font-size: 0.86rem;
}


/* ════════════════════════════════════════════════
   LEGAL PAGES
   ════════════════════════════════════════════════ */
.card strong { color: var(--red); }


/* ════════════════════════════════════════════════
   HERO — extras
   ════════════════════════════════════════════════ */
.hero-audience {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-audience::before { content: '// '; }

.btn-ghost {
  background: transparent;
  color: var(--muted-b);
  border: 1px solid rgba(184, 0, 32, 0.28);
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--text);
}


/* ════════════════════════════════════════════════
   WHAT IS / WHAT IS NOT
   ════════════════════════════════════════════════ */
.is-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.is-col {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}
.is-col:last-child { border-right: none; }

.is-col.is-yes { border-top: 2px solid var(--blue); }
.is-col.is-no  { border-top: 2px solid var(--red); }

.is-label {
  margin: 0 0 18px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.is-yes .is-label { color: var(--blue); }
.is-no  .is-label { color: var(--red); }

.is-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.is-list li {
  font-size: 0.88rem;
  color: var(--muted-b);
  padding-left: 16px;
  position: relative;
}
.is-yes .is-list li::before { content: '+'; position: absolute; left: 0; color: var(--blue); }
.is-no  .is-list li::before { content: '×'; position: absolute; left: 0; color: var(--red); }


/* ════════════════════════════════════════════════
   ARCHITECTURE DIAGRAM
   ════════════════════════════════════════════════ */
.arch-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.arch-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 680px;
}

.arch-node {
  width: 100%;
  border: 1px solid var(--line);
  padding: 18px 28px;
  position: relative;
  background: transparent;
  transition: background 0.2s;
}
.arch-node:hover { background: rgba(184, 0, 32, 0.03); }

.arch-node p {
  margin: 4px 0 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.arch-node small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted-b);
}

.arch-tag {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.arch-external .arch-tag { color: var(--red); }
.arch-domain   .arch-tag { color: var(--muted-b); }
.arch-proxy    .arch-tag { color: var(--amber); }
.arch-core     .arch-tag { color: var(--blue); }
.arch-storage  .arch-tag { color: var(--muted-b); }

.arch-core {
  border-color: var(--line-s);
  box-shadow: 0 0 24px rgba(0, 136, 255, 0.08);
}

.arch-connector {
  font-size: 1.2rem;
  color: var(--muted);
  padding: 4px 0;
  line-height: 1;
}


/* ════════════════════════════════════════════════
   DEPLOYMENT NOTE
   ════════════════════════════════════════════════ */
.deploy-note {
  margin-top: 24px;
  border-left: 2px solid var(--amber);
  padding: 14px 20px;
  background: rgba(255, 170, 0, 0.04);
}
.deploy-note-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.deploy-note p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted-b);
}

.install-assets {
  margin-top: 32px;
  border: 1px solid var(--line);
}

.install-assets-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 136, 255, 0.03);
}

.install-assets-head p {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: var(--muted-b);
}

.install-assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.asset-card {
  display: block;
  padding: 22px;
  border-right: 1px solid var(--line);
  color: inherit;
  transition: background 0.2s;
}

.asset-card:last-child { border-right: none; }

.asset-card:hover {
  background: rgba(0, 136, 255, 0.03);
  color: inherit;
}

.asset-card h3 {
  margin: 0 0 8px;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.asset-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted-b);
}

.asset-url {
  display: block;
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--blue-2);
  word-break: break-all;
}


/* ════════════════════════════════════════════════
   SCREENSHOTS
   ════════════════════════════════════════════════ */
.shot-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.shot-frame {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.shot-frame:nth-child(2n) { border-right: none; }
.shot-frame:nth-last-child(-n+2) { border-bottom: none; }

.shot-bar {
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(184, 0, 32, 0.04);
}
.shot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-s);
}
.shot-title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 4px;
}

.shot-body { padding: 16px 18px; }
.shot-desc {
  margin: 0 0 12px;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.shot-placeholder {
  min-height: 140px;
  border: 1px dashed rgba(184, 0, 32, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.shot-img-wrap {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(184, 0, 32, 0.15);
}

.shot-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.shot-img.lightbox-trigger {
  cursor: zoom-in;
}

.shot-img:hover {
  transform: scale(1.02);
}

/* ════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(184, 0, 32, 0.3);
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(184, 0, 32, 0.15);
  animation: lb-in 0.2s ease;
}

@keyframes lb-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(184, 0, 32, 0.4);
  color: var(--fg);
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.lightbox-close:hover {
  border-color: var(--red);
  color: var(--red);
}


/* ════════════════════════════════════════════════
   QUICKSTART
   ════════════════════════════════════════════════ */
.qs-steps {
  margin-top: 32px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}

.qs-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.qs-step:last-child { border-bottom: none; }
.qs-step:hover { background: rgba(184, 0, 32, 0.02); }

.qs-num {
  flex-shrink: 0;
  width: 64px;
  padding: 20px 0;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--red);
  border-right: 1px solid var(--line);
  text-shadow: 0 0 10px rgba(184, 0, 32, 0.5);
}

.qs-content {
  padding: 18px 24px;
  flex: 1;
}
.qs-content h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.terminal-block {
  background: #020002;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  color: var(--muted-b);
  line-height: 1.7;
}
.term-prompt {
  color: var(--red);
  margin-right: 8px;
  user-select: none;
}
.term-comment { color: var(--muted); }


/* ════════════════════════════════════════════════
   RESOURCE LINKS
   ════════════════════════════════════════════════ */
.resource-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.resource-card {
  display: block;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  color: inherit;
  position: relative;
  transition: background 0.2s;
}
.resource-card:last-child { border-right: none; }
.resource-card:hover { background: rgba(0, 136, 255, 0.03); color: inherit; }

.resource-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  transition: width 0.3s ease;
}
.resource-card:hover::before { width: 100%; }

.resource-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}
.resource-card h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.resource-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted-b);
}


/* ════════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════════ */
.cta-final-wrap {
  border: 1px solid var(--line-s);
  border-top: 2px solid var(--red);
  padding: 48px 40px;
  text-align: center;
  background: rgba(184, 0, 32, 0.03);
}
.cta-final-wrap .section-kicker { display: inline-block; text-align: center; }
.cta-final-wrap h2 {
  margin: 8px auto 0;
  max-width: none;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}
.cta-final-lead {
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: 0.92rem;
  color: var(--muted-b);
}
.cta-final-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


/* ════════════════════════════════════════════════
   RESPONSIVE — new components
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .install-assets-grid { grid-template-columns: 1fr; }
  .asset-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .asset-card:last-child { border-bottom: none; }

  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-card:nth-child(2n) { border-right: none; }
  .resource-card { border-bottom: 1px solid var(--line); }
  .resource-card:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 760px) {
  .is-grid { grid-template-columns: 1fr; }
  .is-col { border-right: none; border-bottom: 1px solid var(--line); }
  .is-col:last-child { border-bottom: none; }

  .shot-grid { grid-template-columns: 1fr; }
  .shot-frame { border-right: none; }
  .shot-frame:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .shot-frame:last-child { border-bottom: none; }

  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { border-right: none; border-bottom: 1px solid var(--line); }
  .resource-card:last-child { border-bottom: none; }

  .cta-final-wrap { padding: 32px 20px; }
  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn { width: 100%; }

  .qs-num { width: 48px; font-size: 0.9rem; }
}


/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 24px 48px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--red); }
.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}


/* ════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }


/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .topbar { padding: 12px 24px; }
  main    { padding: 28px 24px 80px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .card-grid          { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three-col { grid-template-columns: repeat(2, 1fr); }

  /* re-fix borders for 2-col wrap */
  .card-grid.three-col .card { border-bottom: 1px solid var(--line); }
  .card-grid.three-col .card:nth-child(2n) { border-right: none; }
  .card-grid.three-col .card:nth-last-child(-n+2) { border-bottom: none; }

  .matrix-head,
  .matrix-row {
    grid-template-columns: minmax(180px, 1.4fr) minmax(90px, 0.7fr) minmax(110px, 0.9fr);
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
  }
  .topbar nav { flex-wrap: wrap; gap: 10px; }

  main { padding: 20px 16px 64px; }

  .hero { padding-top: 10px; }

  .card-grid,
  .card-grid.three-col,
  .card-grid.two-col {
    grid-template-columns: 1fr;
  }

  /* reset all card borders to simple stack */
  .card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .card:last-child { border-bottom: none; }

  .plan-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }
  .plan-card,
  .price-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .plan-card:last-child,
  .price-card:last-child { border-bottom: none; }

  .console-metrics { grid-template-columns: 1fr; }
  .console-metrics article {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .console-metrics article:last-child { border-bottom: none; }

  .matrix-head { display: none; }
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }
  .matrix-row span:first-child {
    font-weight: 600;
    color: var(--text);
  }
  .matrix-row .tick[data-col] {
    display: flex;
    width: 100%;
    padding: 7px 10px;
    justify-content: space-between;
    align-items: center;
  }
  .matrix-row .tick[data-col]::before {
    content: attr(data-col);
    font-size: 0.72rem;
    color: var(--muted);
    flex-shrink: 0;
    margin-right: 8px;
  }

  .btn     { width: 100%; }
  .cta-row { width: 100%; }

  .footer { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Checkout modal ──────────────────────────────────────────────────── */
.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 1, 2, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
  padding: 20px;
}
.checkout-modal.active {
  opacity: 1;
  pointer-events: all;
}
.checkout-modal-inner {
  background: var(--bg-panel);
  border: 1px solid var(--line-s);
  border-top: 3px solid var(--red-2);
  max-width: 440px;
  width: 100%;
  padding: 36px 32px 32px;
  position: relative;
}
.checkout-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.checkout-modal-close:hover { color: var(--text); }
.checkout-modal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-2);
  margin: 0 0 10px;
}
.checkout-modal-inner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
.checkout-modal-plan {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--blue-2);
  margin: 0 0 24px;
}
.checkout-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-b);
  margin-bottom: 8px;
}
.checkout-input {
  width: 100%;
  box-sizing: border-box;
  background: #0a0203;
  border: 1px solid var(--line-s);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  padding: 11px 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.15s;
}
.checkout-input:focus { border-color: var(--blue); }
.checkout-input::placeholder { color: var(--muted); }
.checkout-error {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--red-2);
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid var(--red-dim);
  background: rgba(184, 0, 32, 0.08);
}
.checkout-submit { width: 100%; margin-top: 4px; }
.checkout-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.checkout-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 14px 0 0;
  text-align: center;
}
.plan-btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
