/* see-like-ai.css — "See Like AI Sees" view (SlamDunk Technologies)
   Toggled from the "That's a SlamDunk!" element on the site's first pages.
   v1 is client-side: it renders the page the way an AI/MCP client reads it. */

:root {
  --slai-blue1: #5a7cf7;
  --slai-blue2: #2a8ef7;
  --slai-bg: #05070d;
  --slai-panel: #0b0f1a;
  --slai-card: #101726;
  --slai-line: rgba(255,255,255,.10);
  --slai-txt: #e8edf7;
  --slai-dim: #93a0bd;
  --slai-good: #35d07f;
  --slai-warn: #f2b84b;
  --slai-bad: #f2605a;
}

/* the little toggle pill placed next to "That's a SlamDunk!" */
.slai-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  margin-left: 10px; padding: 5px 11px;
  font: inherit; font-size: 13px; font-weight: 600;
  color: var(--slai-txt); cursor: pointer;
  background: linear-gradient(90deg, var(--slai-blue1), var(--slai-blue2));
  border: 0; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(42,142,247,.30);
  transition: transform .15s ease, box-shadow .15s ease;
}
.slai-toggle:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(42,142,247,.42); }
.slai-toggle .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .9; }

/* the full-screen AI view overlay */
body.slai-on { overflow: hidden; }
.slai-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  background: radial-gradient(circle at 25% 0%, #0a1428 0%, var(--slai-bg) 60%);
  color: var(--slai-txt); overflow-y: auto;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.slai-wrap { max-width: 1080px; margin: 0 auto; padding: 26px 20px 60px; }

.slai-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.slai-title { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk", Inter, sans-serif; font-size: 26px; font-weight: 700; margin: 0; }
.slai-logo { width: 40px; height: 40px; border-radius: 10px; display: block; flex: 0 0 auto; object-fit: cover; background: #000; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 6px 18px rgba(0,0,0,.55); }
.slai-sub { color: var(--slai-dim); font-size: 13px; margin: 2px 0 0; }
.slai-spacer { flex: 1; }
/* "Back to Human View" button - mirrors the .cta-button ("Say Hi to Buddy") format & color, with the SlamDunk cartoon-dog logo mark. */
.slai-close { display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer; font: inherit; }
.slai-close:hover { transform: translateY(-1px); }
.slai-close-logo { width: 30px; height: 30px; border-radius: 8px; display: block; background: #fff; flex: 0 0 auto; }

.slai-score { display: flex; align-items: center; gap: 14px; margin: 18px 0 8px; padding: 16px 18px;
  background: var(--slai-card); border: 1px solid var(--slai-line); border-radius: 16px; }
.slai-dial { --p: 0; width: 74px; height: 74px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(var(--slai-good) calc(var(--p)*1%), #1b2336 0);
  display: grid; place-items: center; }
.slai-dial span { width: 58px; height: 58px; border-radius: 50%; background: var(--slai-card);
  display: grid; place-items: center; font-family: "Space Grotesk"; font-size: 21px; font-weight: 700; }
.slai-score p { margin: 0; color: var(--slai-dim); font-size: 13px; line-height: 1.5; }
.slai-score strong { color: var(--slai-txt); }

.slai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; align-items: start; }
@media (max-width: 820px) { .slai-grid { grid-template-columns: 1fr; } }
.slai-card { background: var(--slai-card); border: 1px solid var(--slai-line); border-radius: 16px; padding: 16px 18px; }
.slai-card.span { grid-column: 1 / -1; }
.slai-card h3 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--slai-dim); margin: 0 0 10px; }
.slai-summary { font-size: 14.5px; line-height: 1.6; color: var(--slai-txt); }
/* Entities & structure: vertical list so each item is easy to scan on a phone */
.slai-chips { display: flex; flex-direction: column; gap: 8px; }
.slai-chip { font-size: 12.5px; padding: 8px 12px; border-radius: 10px; background: #172137; border: 1px solid var(--slai-line); overflow-wrap: anywhere; }
.slai-chip b { color: var(--slai-blue2); font-weight: 600; }
.slai-outline { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.8; }
.slai-outline .h1 { font-weight: 700; }
.slai-outline .h2 { padding-left: 14px; color: #cbd6ee; }
.slai-outline .h3 { padding-left: 28px; color: var(--slai-dim); font-size: 12.5px; }
.slai-actions { display: flex; flex-direction: column; gap: 8px; }
.slai-action { display: flex; align-items: center; gap: 10px; font-size: 13.5px; text-decoration: none;
  color: var(--slai-txt); background: #131b2e; border: 1px solid var(--slai-line); border-radius: 10px; padding: 9px 12px; }
.slai-action:hover { background: #182238; }
.slai-action .k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--slai-blue2);
  background: rgba(42,142,247,.12); padding: 2px 7px; border-radius: 6px; min-width: 62px; text-align: center; }
.slai-action .h { color: var(--slai-dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Links exposed: vertical list so each link is easy to tap on a phone */
.slai-links { display: flex; flex-direction: column; gap: 7px; }
.slai-links a { font-size: 12.5px; color: #cbd6ee; text-decoration: none; padding: 8px 12px;
  border: 1px solid var(--slai-line); border-radius: 10px; display: block; overflow-wrap: anywhere; }
.slai-links a:hover { border-color: var(--slai-blue2); color: #fff; }
pre.slai-json { margin: 0; max-height: 260px; overflow: auto; background: #0a1020; border: 1px solid var(--slai-line);
  border-radius: 10px; padding: 12px; font-size: 11.5px; line-height: 1.5; color: #b9c6e6; }
.slai-issues { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.7; }
.slai-issues li { display: flex; gap: 8px; align-items: flex-start; }
.slai-issues .tag { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 2px 6px;
  border-radius: 5px; margin-top: 2px; }
.slai-issues .ok .tag { background: rgba(53,208,127,.15); color: var(--slai-good); }
.slai-issues .warn .tag { background: rgba(242,184,75,.15); color: var(--slai-warn); }
.slai-issues .issue .tag { background: rgba(242,96,90,.15); color: var(--slai-bad); }
.slai-foot { color: var(--slai-dim); font-size: 12px; margin-top: 22px; text-align: center; }

/* 'See Like an AI MCP' button - mirrors the .cta-button ('Say Hi to Buddy') format and color */
.slai-btn{ border:0; cursor:pointer; font-family:inherit; font-size:14.5px; font-weight:600; -webkit-appearance:none; appearance:none; }
.slai-btn:hover{ transform: translateY(-1px); }
/* fallback for pages with no CTA row: a reachable floating pill (bottom-left, clears the chat launcher) */
.slai-floating{ position:fixed; left:16px; bottom:96px; z-index:2147482999; padding:11px 18px; border-radius:999px;
  color:#fff; background:linear-gradient(90deg,var(--slai-blue1),var(--slai-blue2));
  box-shadow:0 10px 26px rgba(42,142,247,.45); }
.slai-floating:hover{ transform:translateY(-1px); }
@media (max-width:820px){ .slai-floating{ bottom:120px; } }

