/* MemoryCord product page — extends main.css */

/* ---- Discord-style chat mock ---- */
.chat {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.875rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.chat-hash { color: var(--text-faint); }
.chat-body { padding: 1rem 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.9rem; }
.msg { display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.7rem; }
.avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.av-a { background: #b06ab3; }
.av-b { background: #4a8fe7; }
img.avatar { object-fit: cover; border: 0; }
.msg-head { display: flex; align-items: baseline; gap: 0.5rem; }
.msg-name { font-weight: 600; font-size: 0.85rem; }
.msg-time { font-size: 0.68rem; color: var(--text-faint); }
.msg-text { color: var(--text-dim); margin-top: 0.15rem; line-height: 1.45; }
.msg-text code {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}
.bot-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 4px;
  padding: 0.1rem 0.3rem;
  text-transform: uppercase;
}
.reactions { display: flex; gap: 0.4rem; margin-top: 0.45rem; }
.reaction {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(94, 179, 255, 0.1);
  border: 1px solid rgba(94, 179, 255, 0.35);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}
.saved-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
}
.chat-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.68rem;
}
.chat-divider::before,
.chat-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.embed {
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
  margin-top: 0.35rem;
}
.embed-title { font-weight: 600; font-size: 0.82rem; margin-bottom: 0.25rem; }
.embed-text { color: var(--text-dim); font-size: 0.8rem; line-height: 1.45; }
.embed-foot {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--text-faint);
}
.embed-foot a { color: var(--accent); }

/* ---- problem statement strip ---- */
.problem { padding: 5rem 0 1rem; }
.problem .statement { margin-bottom: 0; max-width: 21em; }

/* ---- feature grid ---- */
.mc-features { padding: 5.5rem 0; }
.mc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3.25rem;
}
.mc-grid .card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.mc-emoji { font-size: 1.1rem; }
.mc-cmd {
  font-family: var(--mono);
  font-size: 0.8em;
  color: var(--accent);
  background: rgba(94, 179, 255, 0.08);
  border: 1px solid rgba(94, 179, 255, 0.2);
  border-radius: 6px;
  padding: 0.05rem 0.4rem;
}

/* ---- privacy guarantees ---- */
.guarantees {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2.5rem;
}
.guarantees li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}
.guarantees li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.guarantees strong { color: var(--text); }

@media (max-width: 900px) {
  .mc-grid { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr; }
}

.c-dim { color: var(--text-faint); }
