/* ==========================================================================
   showcase.css — index.html only. New landing-page sections added for the
   redesign: trust marquee, reviews, VoiceMaster panel, AI mod showcase,
   and the Discord-message style reviews strip. Built on the same tokens
   as home-red.css (see base.css :root) so nothing here invents a new palette.
   ========================================================================== */

/* ============================== trust marquee ============================= */
.trust-panel{
  padding-top:56px; padding-bottom:56px;
}
.trust-head{
  display:flex; align-items:center; gap:10px; justify-content:center;
  margin-bottom:28px; text-align:center;
}
.trust-head .dot{ background:var(--red); }
.trust-line{
  font-size:.92rem; letter-spacing:.02em; color:var(--dim);
}
.trust-line strong{
  font-family:'Fraunces',serif; font-weight:500; font-style:italic;
  color:var(--ink); font-size:1.05em;
}

.trust-marquee{
  position:relative; overflow:hidden;
  padding:6px 0;
  -webkit-mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.trust-track{
  display:flex; align-items:center; gap:14px; width:max-content;
  animation:trustScroll 34s linear infinite;
}
.trust-marquee:hover .trust-track{ animation-play-state:paused; }
@keyframes trustScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

.trust-chip{
  flex:0 0 auto; display:flex; align-items:center; gap:10px;
  padding:9px 16px 9px 9px; border-radius:999px;
  background:rgba(8,2,2,.86); border:1px solid var(--line);
  transition:border-color .25s ease, transform .25s ease;
}
.trust-chip:hover{ border-color:var(--red); transform:translateY(-2px); }
.trust-chip-icon{
  width:28px; height:28px; border-radius:50%; flex:none; overflow:hidden;
  background:#2a0810; display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; color:var(--ink); font-size:.72rem;
}
.trust-chip-icon img{ width:100%; height:100%; object-fit:cover; }
.trust-chip-name{ font-size:.8rem; color:var(--ink); font-weight:500; white-space:nowrap; }
.trust-chip-sub{ font-size:.68rem; color:var(--dim); white-space:nowrap; }

@media (max-width:860px){
  .trust-panel{ padding-top:40px; padding-bottom:40px; }
  .trust-line{ font-size:.82rem; }
}

/* the five new sections (trust/reviews/voicemaster/aimod/discord-reviews)
   run back to back — tighten the default 120px section padding between
   them so the page reads as one continuous showcase, not five separate
   demos stacked with dead air. First/last keep more breathing room. */
.reviews-panel{ padding-top:20px; padding-bottom:70px; }
.vm-section{ padding-top:0; padding-bottom:70px; }
.am-panel{ padding-top:0; padding-bottom:100px; }
@media (max-width:860px){
  .reviews-panel, .vm-section, .am-panel{ padding-bottom:50px; }
}

/* ============================== shared showcase header ============================= */
.showcase-head{ margin-bottom:44px; max-width:62ch; }
.showcase-head .panel-title{ margin-top:2px; }
.showcase-sub{ margin-top:14px; color:var(--body); font-size:.96rem; line-height:1.7; max-width:56ch; }

/* ============================== reviews (testimonials) ============================= */
.reviews-grid{
  /* 4 real reviews (see assets/review/reviews.json) — a clean 2x2 reads
     better than 3-across-with-one-orphan */
  display:grid; grid-template-columns:repeat(2, 1fr); gap:16px;
}
@media (max-width:640px){ .reviews-grid{ grid-template-columns:1fr; } }

.review-card{
  padding:28px 26px; border-radius:18px;
  background:rgba(8,2,2,.82); border:1px solid var(--line);
  display:flex; flex-direction:column; gap:16px;
  transition:border-color .3s ease, transform .3s ease;
}
.review-card:hover{ border-color:var(--red); transform:translateY(-4px); }
.review-quote{ color:var(--body); font-size:.9rem; line-height:1.68; }
.review-who{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.review-avatar{
  width:36px; height:36px; border-radius:50%; flex:none; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-style:italic; color:var(--ink); font-size:.9rem;
  background:linear-gradient(145deg, var(--rv-a, #4a0f16), var(--rv-b, #1a0304));
  border:1px solid rgba(255,34,63,.25);
}
.review-avatar img{ width:100%; height:100%; object-fit:cover; }
.review-grid-loading{ color:var(--dim); font-size:.85rem; }
.review-name{ font-size:.85rem; color:var(--ink); font-weight:500; }
.review-role{ font-size:.72rem; color:var(--dim); }

/* ============================== VoiceMaster panel ============================= */
.vm-panel{
  display:grid; grid-template-columns:280px 1fr; gap:0;
  border-radius:20px; overflow:hidden;
  background:rgba(8,2,2,.9); border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
@media (max-width:820px){ .vm-panel{ grid-template-columns:1fr; } }

.vm-sidebar{
  background:#0a0303; border-right:1px solid var(--line);
  padding:20px 14px;
}
@media (max-width:820px){ .vm-sidebar{ border-right:none; border-bottom:1px solid var(--line); } }
.vm-sidebar-label{
  font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--dim);
  padding:6px 10px 10px;
}
.vm-channel{
  display:flex; align-items:center; gap:9px; width:100%;
  padding:9px 10px; border-radius:8px; margin-bottom:2px;
  background:none; border:none; text-align:left; cursor:pointer;
  color:var(--dim); font-size:.86rem; font-family:'Inter',sans-serif;
  transition:background .2s ease, color .2s ease;
}
.vm-channel svg{ width:15px; height:15px; flex:none; opacity:.8; }
.vm-channel:hover{ background:rgba(255,34,63,.06); color:var(--ink); }
.vm-channel.is-active{ background:rgba(255,34,63,.12); color:var(--ink); }
.vm-channel.is-create{ color:var(--red-soft); }
.vm-channel-count{ margin-left:auto; font-size:.7rem; color:var(--dim); }

.vm-main{ padding:26px 28px; display:flex; flex-direction:column; gap:22px; }
.vm-main-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.vm-room-name{ font-family:'Fraunces',serif; font-size:1.2rem; color:var(--ink); }
.vm-room-owner{ font-size:.78rem; color:var(--dim); margin-top:4px; }
.vm-room-owner strong{ color:var(--red-soft); font-weight:500; }
.vm-badge{
  font-size:.66rem; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 10px; border-radius:999px; border:1px solid var(--line); color:var(--dim);
}
.vm-badge.is-locked{ border-color:rgba(255,34,63,.4); color:var(--red-soft); }

.vm-controls{ display:flex; flex-wrap:wrap; gap:9px; }
.vm-btn{
  padding:9px 15px; border-radius:100px; font-size:.8rem; color:var(--body);
  border:1px solid var(--line); background:rgba(255,255,255,.015);
  cursor:pointer; transition:.2s ease; font-family:'Inter',sans-serif;
}
.vm-btn:hover{ border-color:var(--red); color:var(--red-soft); transform:translateY(-1px); }
.vm-btn.is-danger:hover{ border-color:var(--red); color:var(--red); }

.vm-log{
  border-top:1px solid var(--line); padding-top:16px;
  display:flex; flex-direction:column; gap:9px; min-height:78px;
}
.vm-log-label{ font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--dim); margin-bottom:2px; }
.vm-log-row{
  display:flex; align-items:center; gap:9px; font-size:.82rem; color:var(--body);
  opacity:0; transform:translateY(4px); animation:vmLogIn .4s ease forwards;
}
@keyframes vmLogIn{ to{ opacity:1; transform:translateY(0); } }
.vm-log-dot{ width:5px; height:5px; border-radius:50%; background:var(--red); flex:none; }
.vm-log-empty{ font-size:.82rem; color:var(--dim); font-style:italic; }

/* ============================== AI mod showcase ============================= */
.am-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:36px; align-items:center; }
@media (max-width:940px){ .am-grid{ grid-template-columns:1fr; gap:28px; } }

/* before/after companion card — sits under the Read/Classify/Act/Log demo,
   styled to match the am-window chrome above it rather than floating as
   its own disconnected block. */
.am-diff-card{
  max-width:640px; margin:40px auto 0;
  background:var(--panel); border:1px solid var(--line); border-radius:16px;
  overflow:hidden;
}
.am-diff-head{
  padding:14px 20px; border-bottom:1px solid var(--line);
  font-size:13.5px; font-weight:600; color:var(--ink);
}
.am-diff-head code{ font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-weight:400; color:var(--red-soft); }
.am-diff-rows{ display:flex; flex-direction:column; }
.am-diff-row{
  display:grid; grid-template-columns:1fr 1fr 1fr;
  border-bottom:1px solid var(--line-soft);
}
.am-diff-row:last-child{ border-bottom:0; }
.am-diff-row > span{ padding:10px 16px; font-size:12.5px; }
.am-diff-row > span:first-child{ color:var(--dim); }
.am-diff-before{
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  color:#ff8a94; background:rgba(255,34,63,.08);
}
.am-diff-after{
  font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  color:#6fe0a0; background:rgba(55,214,122,.08);
}
@media (max-width:560px){
  .am-diff-row{ grid-template-columns:1fr 1fr 1fr; }
  .am-diff-row > span{ padding:8px 10px; font-size:11.5px; }
}

.am-steps{ display:flex; flex-direction:column; gap:2px; }
.am-step{
  display:flex; gap:16px; padding:18px 4px; border-bottom:1px solid var(--line-soft);
  cursor:pointer; transition:.2s ease;
}
.am-step:last-child{ border-bottom:none; }
.am-step-num{
  font-family:'Fraunces',serif; font-style:italic; color:var(--dim); font-size:.95rem;
  flex:none; width:26px; transition:color .2s ease;
}
.am-step h4{ font-family:'Fraunces',serif; font-weight:400; font-size:1.08rem; color:var(--ink); margin-bottom:4px; }
.am-step p{ font-size:.85rem; color:var(--dim); line-height:1.6; max-width:38ch; }
.am-step.is-active .am-step-num{ color:var(--red); }
.am-step.is-active p{ color:var(--body); }

.am-window{
  border-radius:18px; overflow:hidden; background:#0a0303; border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.am-window-head{
  display:flex; align-items:center; gap:8px;
  padding:12px 16px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.015);
  font-size:.78rem; color:var(--dim);
}
.am-window-dot{ width:8px; height:8px; border-radius:50%; background:var(--line); }
.am-window-body{ padding:20px 18px; display:flex; flex-direction:column; gap:14px; min-height:220px; }

.am-msg{ display:flex; gap:10px; }
.am-msg-avatar{
  width:32px; height:32px; border-radius:50%; flex:none;
  background:linear-gradient(145deg, #3a0a10, #150304);
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-style:italic; color:var(--dim); font-size:.8rem;
}
.am-msg-body{ font-size:.84rem; }
.am-msg-name{ color:var(--ink); font-weight:500; margin-right:8px; }
.am-msg-time{ color:var(--dim); font-size:.72rem; }
.am-msg-text{ color:var(--body); margin-top:2px; line-height:1.55; }
.am-msg-text.is-flagged{ text-decoration:line-through; color:#7d5350; }

.am-verdict{
  display:flex; align-items:flex-start; gap:10px; margin-left:42px;
  padding:12px 14px; border-radius:10px;
  background:rgba(255,34,63,.07); border:1px solid rgba(255,34,63,.25);
  font-size:.8rem; color:var(--red-soft);
  opacity:0; transform:translateY(6px); transition:opacity .4s ease, transform .4s ease;
}
.am-verdict.is-shown{ opacity:1; transform:translateY(0); }
.am-verdict svg{ width:15px; height:15px; flex:none; margin-top:1px; }
.am-verdict-detail{ color:var(--dim); font-size:.74rem; margin-top:3px; }
