/* Product mock styles */
.mock-app {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 540px;
  max-height: 640px;
}
.mock-sidebar {
  background: rgba(0,0,0,0.25);
  border-right: 1px solid rgba(168,122,232,0.08);
  padding: 1rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mock-sidebar-brand {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.6rem 1.2rem;
  border-bottom: 1px solid rgba(168,122,232,0.08);
  margin-bottom: 0.6rem;
}
.mini-glyph {
  width: 24px; height: 24px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, var(--cyan-lt), transparent 60%),
    linear-gradient(135deg, var(--violet) 0%, var(--purple) 60%, var(--cyan) 100%);
  filter: drop-shadow(0 0 8px rgba(168,122,232,0.5));
  flex-shrink: 0;
  position: relative;
}
.mini-glyph::after {
  content:''; position:absolute; inset:4px; border-radius:3px;
  background: var(--dark);
  mask: radial-gradient(circle, transparent 30%, black 31%);
  -webkit-mask: radial-gradient(circle, transparent 30%, black 31%);
}
.mock-tab {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition-fast);
}
.mock-tab:hover { background: rgba(168,122,232,0.06); color: white; }
.mock-tab.active {
  background: rgba(168,122,232,0.12);
  color: white;
  box-shadow: 0 0 0 1px rgba(168,122,232,0.25) inset;
}
.mock-tab svg { opacity: 0.8; }
.mock-sidebar-foot { margin-top: auto; padding: 0.8rem 0.6rem; }
.agent-status {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-lt);
  font-weight: 600;
}
.agent-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

.mock-main { padding: 1.5rem 1.8rem; overflow: auto; }
.view-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.view-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--cyan-lt);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.view-header h3 { font-size: 1.4rem; font-weight: 700; }
.view-filters { display: flex; gap: 0.4rem; }
.chip {
  background: rgba(168,122,232,0.06);
  border: 1px solid rgba(168,122,232,0.15);
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 999px;
  font-family: inherit;
  transition: var(--transition-fast);
}
.chip:hover, .chip.active { background: rgba(168,122,232,0.18); color: white; border-color: rgba(168,122,232,0.4); }

/* Pipeline / Kanban */
.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.kanban-col {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(168,122,232,0.08);
  border-radius: 10px;
  padding: 0.7rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  min-height: 360px;
}
.kanban-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.2rem 0.3rem 0.6rem;
  border-bottom: 1px solid rgba(168,122,232,0.08);
  margin-bottom: 0.3rem;
}
.kanban-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
}
.kanban-count {
  background: rgba(168,122,232,0.15);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.7rem;
  color: var(--cyan-lt);
  font-weight: 600;
}
.deal-card {
  background: linear-gradient(180deg, rgba(168,122,232,0.06), rgba(168,122,232,0.02));
  border: 1px solid rgba(168,122,232,0.15);
  border-radius: 8px;
  padding: 0.7rem;
  cursor: grab;
  transition: var(--transition-fast);
}
.deal-card:hover { border-color: rgba(168,122,232,0.4); transform: translateY(-2px); }
.deal-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.deal-logo {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: white;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.deal-meta { flex: 1; min-width: 0; }
.deal-name { font-size: 0.85rem; font-weight: 600; color: white; }
.deal-value { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.deal-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.score-high { background: rgba(0, 200, 240, 0.15); color: var(--cyan-lt); }
.score-mid { background: rgba(168, 122, 232, 0.15); color: var(--lavender); }
.score-low { background: rgba(255, 200, 100, 0.12); color: #ffcc66; }
.deal-foot {
  display: flex; justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}
.deal-owner.is-agent { color: var(--cyan-lt); }

/* Chat */
.view-chat { display: flex; flex-direction: column; height: 100%; }
.chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
  max-height: 360px;
}
.chat-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.chat-row.user { justify-content: flex-end; }
.chat-avatar {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(168,122,232,0.12);
  border: 1px solid rgba(168,122,232,0.2);
}
.user-avatar {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}
.chat-bubble {
  max-width: 70%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.chat-bubble.ai {
  background: rgba(168,122,232,0.08);
  border: 1px solid rgba(168,122,232,0.15);
  border-top-left-radius: 4px;
  color: rgba(255,255,255,0.92);
}
.chat-bubble.user {
  background: linear-gradient(135deg, rgba(0, 200, 240, 0.18), rgba(123, 79, 204, 0.22));
  border: 1px solid rgba(0, 200, 240, 0.25);
  border-top-right-radius: 4px;
  color: white;
}
.thinking { display: flex; gap: 0.3rem; padding: 0.3rem 0; }
.thinking span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-lt);
  animation: bounce 1.4s ease-in-out infinite;
}
.thinking span:nth-child(2) { animation-delay: 0.15s; }
.thinking span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
.chat-suggestions {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.7rem 0 0.7rem;
}
.chat-input-wrap {
  display: flex; gap: 0.5rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(168,122,232,0.2);
  border-radius: 12px;
  padding: 0.4rem;
}
.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}
.chat-input::placeholder { color: rgba(255,255,255,0.4); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  border: none;
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}
.chat-send:hover:not(:disabled) { filter: brightness(1.15); transform: translateX(2px); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* Agents */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.agent-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(168,122,232,0.12);
  border-radius: 10px;
  padding: 0.9rem;
}
.agent-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.agent-glyph {
  width: 32px; height: 32px;
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(168,122,232,0.4));
  flex-shrink: 0;
}
.agent-name { font-weight: 700; font-size: 0.92rem; }
.agent-tasks { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.agent-on { margin-left: auto; }
.agent-desc { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

.activity-feed {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(168,122,232,0.1);
  border-radius: 10px;
  padding: 0.9rem;
}
.feed-title { margin-bottom: 0.5rem; }
.feed-title .label {
  font-size: 0.7rem; letter-spacing: 0.3em;
}
.feed-list { display: flex; flex-direction: column; gap: 0.3rem; max-height: 180px; overflow-y: auto; }
.feed-row {
  display: grid;
  grid-template-columns: 70px 110px 1fr;
  gap: 0.7rem;
  font-size: 0.78rem;
  padding: 0.3rem 0.2rem;
  border-bottom: 1px solid rgba(168,122,232,0.05);
  align-items: center;
}
.feed-time { font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.4); font-size: 0.72rem; }
.feed-agent { font-weight: 600; font-size: 0.78rem; }
.kind-find .feed-agent { color: var(--cyan-lt); }
.kind-send .feed-agent { color: var(--lavender); }
.kind-think .feed-agent { color: #B69CFF; }
.kind-move .feed-agent { color: #5ADEFC; }
.kind-warn .feed-agent { color: #ffcc66; }
.feed-msg { color: rgba(255,255,255,0.75); }

/* Memory */
.memory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mem-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan-lt);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.timeline { display: flex; flex-direction: column; gap: 0.7rem; }
.timeline-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  grid-template-rows: auto auto;
  gap: 0.4rem 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(168,122,232,0.06);
}
.tl-dot {
  grid-row: 1 / span 2;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 8px rgba(0, 200, 240, 0.5);
}
.tl-meta { display: flex; gap: 0.6rem; align-items: center; }
.tl-time { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.tl-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.tag-insight { background: rgba(0, 200, 240, 0.15); color: var(--cyan-lt); }
.tag-call { background: rgba(168, 122, 232, 0.15); color: var(--lavender); }
.tag-email { background: rgba(123, 79, 204, 0.15); color: #B69CFF; }
.tag-signal { background: rgba(90, 222, 252, 0.15); color: var(--cyan-lt); }
.tl-text { font-size: 0.82rem; color: rgba(255,255,255,0.85); line-height: 1.5; }

.mem-summary {
  background: rgba(168,122,232,0.04);
  border: 1px solid rgba(168,122,232,0.1);
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.mem-summary p { margin-bottom: 0.6rem; }
.mem-summary p:last-child { margin: 0; }

.people-list { display: flex; flex-direction: column; gap: 0.5rem; }
.person-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0.7rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(168,122,232,0.08);
  border-radius: 8px;
}
.person-av {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
}
.person-name { font-size: 0.85rem; font-weight: 600; }
.person-role { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.person-sent {
  margin-left: auto;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.sent-positivo, .sent-campeão { background: rgba(0,200,240,0.15); color: var(--cyan-lt); }
.sent-cético { background: rgba(255,200,100,0.12); color: #ffcc66; }

@media (max-width: 760px) {
  .mock-app { grid-template-columns: 1fr; }
  .mock-sidebar { flex-direction: row; overflow-x: auto; padding: 0.5rem; gap: 0.3rem; }
  .mock-sidebar-brand { display: none; }
  .mock-sidebar-foot { display: none; }
  .mock-tab { white-space: nowrap; padding: 0.5rem 0.7rem; }
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .memory-grid { grid-template-columns: 1fr; }
}
