/* ============================================================
   17-crm-mockups.css — interactive CRM previews
   Big Bear Marketing — /crm.html feature grid
   ============================================================
   Replaces the 7 static PNG screenshots on /crm.html with
   live HTML/CSS mockups that match the cyberpunk dark theme.
   Each mockup lives inside .crm-card-screenshot and uses the
   .mockup--<feature> wrapper for feature-specific styling.

   Shared patterns:
     - Dark glass surface, cyan-tinted borders, yellow primary
     - JetBrains Mono for code-y bits, Montserrat for everything else
     - Live dot (.live-dot) with subtle pulse
     - Counters (.tick-counter) tick up on view via crm-mockups.js
     - Hover-to-zoom on .crm-card-screenshot (parent file controls)
     - Click-to-expand lightbox styles at the bottom

   Reduced-motion + mobile (max-width: 600px) gracefully degrade.
   ============================================================ */

/* ============================================================
   SHARED MOCKUP SHELL
   ============================================================ */

.mockup {
  position: absolute;
  inset: 0;
  z-index: 3;                                   /* above placeholder */
  background:
    linear-gradient(160deg, #050b18 0%, #0a1428 100%);
  font-family: var(--f-body, 'Montserrat', sans-serif);
  color: #e2e8f0;
  overflow: hidden;
  isolation: isolate;
  cursor: zoom-in;
}

/* Faint scanline overlay across every mockup — sells the CRT vibe */
.mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 2px,
      rgba(0, 240, 255, 0.025) 2px,
      rgba(0, 240, 255, 0.025) 3px
    );
  pointer-events: none;
  z-index: 5;
}

/* Subtle dot-grid on the floor — extra depth */
.mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.mockup > * { position: relative; z-index: 1; }

/* Fake browser-chrome top bar shared by most mockups */
.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(0, 240, 255, 0.18);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #94a3b8;
}
.mockup-chrome .chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
}
.mockup-chrome .chrome-dot:nth-child(2) { background: #ffbd2e; }
.mockup-chrome .chrome-dot:nth-child(3) { background: #27c93f; }
.mockup-chrome .chrome-url {
  margin-left: 8px;
  flex: 1;
  color: #00f0ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Live indicator pill — green pulsing dot + LIVE label */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 2px 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.45);
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ade80;
  text-transform: uppercase;
}
.live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: live-dot-pulse 1.6s ease-in-out infinite;
}
@keyframes live-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

/* Pill primitives used inside mockups */
.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mock-pill--ok   { background: rgba(34,197,94,0.14); color: #4ade80; border: 1px solid rgba(34,197,94,0.4); }
.mock-pill--warn { background: rgba(255,215,0,0.14); color: #FFD700; border: 1px solid rgba(255,215,0,0.4); }
.mock-pill--info { background: rgba(0,240,255,0.12); color: #00f0ff; border: 1px solid rgba(0,240,255,0.35); }
.mock-pill--mute { background: rgba(148,163,184,0.12); color: #cbd5e1; border: 1px solid rgba(148,163,184,0.3); }

/* Stagger-in: cards/rows slide up on view */
.mockup .stagger-in > * {
  opacity: 0;
  transform: translateY(8px);
  animation: mock-rise 0.6s ease-out forwards;
}
.mockup .stagger-in > *:nth-child(1) { animation-delay: 0.1s; }
.mockup .stagger-in > *:nth-child(2) { animation-delay: 0.2s; }
.mockup .stagger-in > *:nth-child(3) { animation-delay: 0.3s; }
.mockup .stagger-in > *:nth-child(4) { animation-delay: 0.4s; }
.mockup .stagger-in > *:nth-child(5) { animation-delay: 0.5s; }
.mockup .stagger-in > *:nth-child(6) { animation-delay: 0.6s; }
@keyframes mock-rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mockup .stagger-in > * { animation: none; opacity: 1; transform: none; }
  .live-dot::before { animation: none; }
}

/* ============================================================
   1. LEAD GENERATOR  (mockup--leadgen)
   Search bar + 2 result rows with phone/email + ABN pill
   ============================================================ */

.mockup--leadgen { padding: 0; }
.mockup--leadgen .leadgen-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leadgen-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 30, 54, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #cbd5e1;
}
.leadgen-searchbar svg { flex-shrink: 0; opacity: 0.7; }
.leadgen-searchbar .lg-query { color: #FFD700; font-weight: 700; }
.leadgen-searchbar .lg-filter {
  margin-left: auto;
  padding: 2px 8px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 4px;
  color: #FFD700;
  font-size: 9px;
}
.leadgen-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.05em;
}
.leadgen-meta .count {
  color: #00f0ff;
  font-weight: 700;
  font-size: 11px;
}

.leadgen-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  background: rgba(15, 30, 54, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 8px;
  align-items: center;
}
.leadgen-row .lg-name {
  font-weight: 700;
  font-size: 11px;
  color: #f8fafc;
  margin-bottom: 3px;
}
.leadgen-row .lg-suburb {
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.03em;
}
.leadgen-row .lg-contacts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.lg-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 4px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #cbd5e1;
}
.lg-chip svg { opacity: 0.8; }
.leadgen-row .lg-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

/* ============================================================
   2. QUICK ADD  (mockup--quickadd)
   Faded kanban background + glass modal floating on top
   ============================================================ */

.mockup--quickadd .qa-backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px;
  opacity: 0.32;
  filter: blur(1px);
}
.qa-col {
  background: rgba(15, 30, 54, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.16);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qa-col-head {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #00f0ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.qa-mini {
  height: 16px;
  background: rgba(0, 0, 0, 0.4);
  border-left: 2px solid #FFD700;
  border-radius: 3px;
}

.mockup--quickadd .qa-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  max-width: 320px;
  background: rgba(10, 20, 40, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 240, 255, 0.1);
}
.qa-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.qa-modal-head h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.02em;
}
.qa-modal-head .qa-x {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 11px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.qa-field {
  margin-bottom: 8px;
}
.qa-field label {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.qa-field .qa-input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 10px;
  color: #f8fafc;
}
.qa-field .qa-input.is-focus {
  border-color: #00f0ff;
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.18);
}
.qa-cta {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: #FFD700;
  color: #050b18;
  border-radius: 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   3. PIPELINE KANBAN  (mockup--pipeline)
   5 columns with 1-2 deal cards each. Yellow active column.
   ============================================================ */

.mockup--pipeline { padding: 10px 0 0; }
.mockup--pipeline .pipe-head {
  padding: 0 12px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mockup--pipeline .pipe-head strong { color: #f8fafc; }

.pipe-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 10px 10px;
  overflow: hidden;
}
.pipe-col {
  background: rgba(15, 30, 54, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.pipe-col-head {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #00f0ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.18);
  display: flex;
  justify-content: space-between;
}
.pipe-col-head .ct { color: #94a3b8; }
.pipe-col--active {
  background: rgba(255, 215, 0, 0.06);
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.18);
}
.pipe-col--active .pipe-col-head { color: #FFD700; border-bottom-color: rgba(255, 215, 0, 0.4); }

.pipe-card {
  background: rgba(0, 0, 0, 0.4);
  border-left: 2px solid #00f0ff;
  border-radius: 4px;
  padding: 5px 6px;
}
.pipe-card.is-hot { border-left-color: #ff007a; }
.pipe-card.is-won { border-left-color: #4ade80; }
.pipe-card .pc-name {
  font-size: 9px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pipe-card .pc-value {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #FFD700;
  font-weight: 700;
}
.pipe-card .pc-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 7px;
  color: #94a3b8;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ============================================================
   4. PUBLIC QUOTE  (mockup--quote)
   Summary card with line items, total, accept/decline buttons
   ============================================================ */

.mockup--quote { padding: 0; }
.mockup--quote .quote-wrap {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quote-head .q-customer {
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
}
.quote-head .q-customer small {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}

.quote-table {
  background: rgba(15, 30, 54, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 6px;
  overflow: hidden;
}
.quote-table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 6px 8px;
  font-size: 10px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}
.quote-table-row:last-child { border-bottom: 0; }
.quote-table-row .q-amt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  color: #f8fafc;
}
.quote-table-row.is-head {
  background: rgba(0, 0, 0, 0.35);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #00f0ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.quote-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 6px;
}
.quote-total .lbl {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.quote-total .total-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 800;
  font-size: 16px;
  color: #FFD700;
}
.quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.quote-btn {
  padding: 7px;
  border-radius: 6px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quote-btn--accept { background: #4ade80; color: #052e13; }
.quote-btn--decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
}

/* ============================================================
   5. PUBLIC FORMS  (mockup--forms)
   Form config screen — endpoint code block, API key, custom panel
   ============================================================ */

.mockup--forms { padding: 0; }
.mockup--forms .fm-body {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 10px;
  height: 100%;
}
.fm-left { display: flex; flex-direction: column; gap: 8px; }
.fm-section-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #00f0ff;
  text-transform: uppercase;
  font-weight: 700;
}
.fm-endpoint {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #cbd5e1;
  word-break: break-all;
}
.fm-endpoint .endpoint-verb {
  color: #4ade80;
  font-weight: 700;
  margin-right: 4px;
}
.fm-endpoint .endpoint-domain { color: #FFD700; }
.fm-keyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 30, 54, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 6px;
  padding: 6px 8px;
}
.fm-keyrow .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
}
.fm-keyrow .key {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #00f0ff;
}
.fm-right {
  background: rgba(15, 30, 54, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fm-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: #cbd5e1;
  letter-spacing: 0.05em;
}
.fm-switch {
  width: 22px;
  height: 12px;
  background: #00f0ff;
  border-radius: 999px;
  position: relative;
}
.fm-switch::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #050b18;
}
.fm-switch.is-off { background: rgba(148, 163, 184, 0.4); }
.fm-switch.is-off::after { left: 1px; right: auto; }

/* ============================================================
   6. CSV IMPORT  (mockup--import)
   Drop zone + column mapping preview + green Import CTA
   ============================================================ */

.mockup--import { padding: 0; }
.mockup--import .im-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.im-drop {
  border: 2px dashed rgba(0, 240, 255, 0.45);
  border-radius: 8px;
  padding: 12px;
  background: rgba(0, 240, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}
.im-drop .im-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.4);
  display: grid;
  place-items: center;
  color: #00f0ff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 800;
  font-size: 8px;
  letter-spacing: 0.06em;
}
.im-drop .im-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.im-drop .im-file {
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
}
.im-drop .im-stats {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #94a3b8;
  letter-spacing: 0.05em;
}
.im-drop .im-stats .tick-counter { color: #FFD700; font-weight: 700; }

.im-mapping {
  background: rgba(15, 30, 54, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.im-map-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.im-map-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  align-items: center;
  font-size: 9px;
}
.im-map-row .csv-col {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 6px;
  border-radius: 3px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.im-map-row .arrow { color: #00f0ff; font-weight: 800; }
.im-map-row .crm-col {
  font-weight: 700;
  color: #f8fafc;
}

.im-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  background: #4ade80;
  color: #052e13;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   7. SELF-SERVICE SIGNUP  (mockup--signup)
   Split-screen: left hero w/ bear badge, right form
   ============================================================ */

.mockup--signup { padding: 0; }
.mockup--signup .su-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}
.su-left {
  position: relative;
  padding: 14px;
  background:
    radial-gradient(ellipse at top left, rgba(0, 240, 255, 0.16), transparent 55%),
    linear-gradient(165deg, #082840 0%, #050b18 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.su-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.su-left > * { position: relative; z-index: 1; }
.su-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFD700, #b8860b);
  display: grid;
  place-items: center;
  color: #050b18;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
}
.su-headline {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
  margin: 0;
}
.su-headline em { color: #FFD700; font-style: normal; }
.su-tagline {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00f0ff;
  margin-top: 6px;
}

.su-right {
  padding: 14px;
  background: rgba(10, 20, 40, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.su-right h4 {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  color: #f8fafc;
}
.su-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 5px;
  padding: 6px 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #cbd5e1;
}
.su-input.is-focus {
  border-color: #00f0ff;
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.18);
  color: #f8fafc;
}
.su-cta {
  display: block;
  padding: 8px;
  text-align: center;
  background: #FFD700;
  color: #050b18;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.su-fineprint {
  text-align: center;
  font-size: 8px;
  color: #94a3b8;
  margin-top: 2px;
}
.su-fineprint a { color: #00f0ff; }

/* ============================================================
   HOVER-TO-ZOOM (parent card)
   Already partly handled by .crm-card hover in 13-crm-showcase.css.
   This adds a cyan ring + subtle scale on the screenshot only.
   ============================================================ */

@media (hover: hover) {
  .crm-card .crm-card-screenshot {
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  }
  .crm-card:hover .crm-card-screenshot {
    transform: scale(1.012);
    box-shadow:
      0 0 0 2px rgba(0, 240, 255, 0.4),
      0 18px 40px rgba(0, 0, 0, 0.55),
      0 0 32px rgba(0, 240, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-card:hover .crm-card-screenshot { transform: none; }
}

/* ============================================================
   LIGHTBOX
   Click any mockup to open. Backdrop click / Esc to close.
   Focus trap handled in JS.
   ============================================================ */

.mockup-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}
.mockup-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mockup-lightbox-stage {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 10;
  background: #050b18;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 240, 255, 0.15),
    0 0 60px rgba(0, 240, 255, 0.2);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out);
}
.mockup-lightbox.is-open .mockup-lightbox-stage {
  transform: scale(1);
}
.mockup-lightbox-stage .mockup { cursor: default; }

.mockup-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mockup-lightbox-close:hover,
.mockup-lightbox-close:focus-visible {
  background: rgba(0, 240, 255, 0.15);
  transform: scale(1.05);
  outline: none;
}
.mockup-lightbox-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.4);
}

.mockup-lightbox-caption {
  position: absolute;
  bottom: -36px;
  left: 0;
  right: 0;
  text-align: center;
  color: #cbd5e1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Lock body scroll when lightbox open */
body.has-lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mockup-lightbox,
  .mockup-lightbox-stage { transition: none; }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {
  /* Disable hover scale on touch */
  .crm-card:hover .crm-card-screenshot { transform: none; }

  /* Tighten internal spacing so things still read at small size */
  .mockup-chrome { padding: 6px 8px; font-size: 9px; }
  .leadgen-row { padding: 8px; }
  .pipe-board { grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 0 6px 6px; }
  .pipe-card .pc-name { font-size: 8px; }
  .quote-total .total-num { font-size: 14px; }

  .mockup--forms .fm-body { grid-template-columns: 1fr; }
  .fm-right { display: none; }      /* hide the toggles panel on phones */

  .mockup-lightbox { padding: 16px 12px; }
  .mockup-lightbox-stage { aspect-ratio: 4 / 5; }    /* taller on phones */
}
