/* ─────────────────────────────────────────
   BEST AI WEEKLY — Article Interactive CSS
   Version: 1.2.0
   Design: Indigo-accented dark cards with
   visible contrast on all backgrounds
───────────────────────────────────────── */

/* ── SCORE CARD ── */
.baw-score-card {
  background: #111827;
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2rem;
  align-items: center;
}
.baw-score-big { text-align: center; }
.baw-score-big .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #818CF8;
  line-height: 1;
}
.baw-score-big .denom { font-size: 1rem; color: #64748B; }
.baw-score-big .stars { color: #FBBF24; font-size: 1.3rem; margin-top: 0.4rem; letter-spacing: 2px; }
.baw-score-rows { display: flex; flex-direction: column; gap: 0.65rem; }
.baw-score-row { display: flex; align-items: center; gap: 0.75rem; }
.baw-score-row-label { font-size: 0.82rem; color: #CBD5E1; width: 120px; flex-shrink: 0; }
.baw-score-row-bar { flex: 1; height: 7px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.baw-score-row-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #6366F1, #818CF8); }
.baw-score-row-val { font-size: 0.82rem; font-weight: 700; color: #818CF8; font-family: monospace; min-width: 32px; text-align: right; }

/* ── COMPARISON TABLE ── */
.baw-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.2);
}
.baw-compare-table thead tr {
  background: linear-gradient(135deg, #1e1b4b, #1a2236);
}
.baw-compare-table th {
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #a5b4fc;
  white-space: nowrap;
  border-bottom: 2px solid rgba(99,102,241,0.35);
}
.baw-compare-table td {
  padding: 0.9rem 1.1rem;
  font-size: 0.875rem;
  color: #CBD5E1;
  border-top: 1px solid rgba(255,255,255,0.06);
  vertical-align: middle;
  background: #0f172a;
}
.baw-compare-table tbody tr { transition: background 0.15s; }
.baw-compare-table tbody tr:hover td { background: rgba(99,102,241,0.08); }
.baw-compare-table .winner-row td {
  background: rgba(99,102,241,0.1);
  color: #F1F5F9;
}
.baw-compare-table .winner-row:hover td { background: rgba(99,102,241,0.15); }
.col-tool { font-weight: 600; color: #F1F5F9; display: flex; align-items: center; gap: 0.6rem; }
.tool-emoji { font-size: 1.15rem; }
.baw-compare-badge {
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.55rem;
  border-radius: 4px; margin-left: 0.4rem;
  background: rgba(52,211,153,0.18); color: #34D399;
  border: 1px solid rgba(52,211,153,0.25);
  white-space: nowrap; vertical-align: middle;
}
.baw-yes { color: #34D399; font-weight: 600; }
.baw-no  { color: #475569; }

/* score bar inside table */
.baw-score-cell { display: flex; align-items: center; gap: 0.6rem; }
.baw-score-bar-wrap { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; min-width: 50px; }
.baw-score-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #6366F1, #818CF8); }
.baw-score-num { font-size: 0.8rem; font-weight: 700; color: #818CF8; font-family: monospace; min-width: 30px; }

/* ── HEAD-TO-HEAD TABLE ── */
.baw-h2h-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.2);
}
.baw-h2h-table thead tr {
  background: linear-gradient(135deg, #1e1b4b, #1a2236);
}
.baw-h2h-table th {
  padding: 0.8rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #a5b4fc;
  text-align: left;
  border-bottom: 2px solid rgba(99,102,241,0.35);
}
.baw-h2h-table td {
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #CBD5E1;
  background: #0f172a;
}
.baw-h2h-table tbody tr:hover td { background: rgba(255,255,255,0.04); }
.baw-h2h-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.22rem 0.65rem; border-radius: 5px;
}
.baw-h2h-badge.a { background: rgba(99,102,241,0.18); color: #818CF8; border: 1px solid rgba(99,102,241,0.3); }
.baw-h2h-badge.b { background: rgba(34,211,238,0.12); color: #22D3EE; border: 1px solid rgba(34,211,238,0.25); }
.baw-h2h-badge.tie { background: rgba(251,191,36,0.12); color: #FBBF24; border: 1px solid rgba(251,191,36,0.25); }

/* ── PRO / CON BOX ── */
.baw-procon { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.baw-procon-col {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
}
.baw-procon-col.pros { border-top: 3px solid #34D399; }
.baw-procon-col.cons { border-top: 3px solid #F87171; }
.baw-procon-title {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.baw-procon-col.pros .baw-procon-title { color: #34D399; }
.baw-procon-col.cons .baw-procon-title { color: #F87171; }
.baw-procon-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.baw-procon-list li {
  font-size: 0.85rem; color: #CBD5E1;
  display: flex; gap: 0.6rem; line-height: 1.55;
}
.baw-procon-list li::before { flex-shrink: 0; font-size: 0.9rem; font-weight: 700; }
.pros .baw-procon-list li::before { content: "✓"; color: #34D399; }
.cons .baw-procon-list li::before { content: "✗"; color: #F87171; }

/* ── VERDICT BOX ── */
.baw-verdict-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.baw-verdict-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.4rem;
  transition: border-color 0.2s, transform 0.2s;
}
.baw-verdict-card:hover { border-color: rgba(99,102,241,0.45); transform: translateY(-2px); }
.baw-verdict-card.winner { border-color: rgba(99,102,241,0.5); background: rgba(99,102,241,0.07); }
.baw-verdict-icon { font-size: 1.75rem; margin-bottom: 0.6rem; }
.baw-verdict-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: #818CF8; margin-bottom: 0.3rem; }
.baw-verdict-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; color: #F1F5F9; margin-bottom: 0.45rem; }
.baw-verdict-desc { font-size: 0.83rem; color: #94A3B8; line-height: 1.65; }

/* ── QUICK PICK GRID ── */
.baw-quickpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 1rem; margin: 2rem 0; }
.baw-quickpick-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}
.baw-quickpick-card:hover { border-color: rgba(99,102,241,0.45); transform: translateY(-2px); }
.baw-quickpick-icon { font-size: 1.75rem; margin-bottom: 0.6rem; }
.baw-quickpick-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #64748B; margin-bottom: 0.3rem; }
.baw-quickpick-tool { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; color: #818CF8; margin-bottom: 0.3rem; }
.baw-quickpick-why { font-size: 0.8rem; color: #94A3B8; line-height: 1.5; }

/* ── CALLOUT BOX ── */
.baw-callout {
  border-left: 3px solid #6366F1;
  background: rgba(99,102,241,0.08);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.3rem;
  margin: 1.75rem 0;
}
.baw-callout p { color: #CBD5E1; margin: 0; font-size: 0.9rem; line-height: 1.75; }
.baw-callout strong { color: #a5b4fc; }

/* ── TOOL CARD ── */
.baw-tool-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.3rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.baw-tool-card:hover { border-color: rgba(99,102,241,0.4); }
.baw-tool-card-emoji { font-size: 2.1rem; flex-shrink: 0; line-height: 1; }
.baw-tool-card-body { flex: 1; min-width: 0; }
.baw-tool-card-name { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; color: #F1F5F9; margin-bottom: 0.35rem; }
.baw-tool-card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.55rem; }
.baw-tool-card-desc { font-size: 0.85rem; color: #94A3B8; line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .baw-procon        { grid-template-columns: 1fr; }
  .baw-verdict-box   { grid-template-columns: 1fr; }
  .baw-score-card    { grid-template-columns: 1fr; text-align: center; }
  .baw-score-big     { display: flex; align-items: center; gap: 1rem; justify-content: center; }
  .baw-quickpick     { grid-template-columns: 1fr 1fr; }
  .baw-compare-table { font-size: 0.8rem; }
  .baw-compare-table th, .baw-compare-table td { padding: 0.65rem 0.75rem; }
}
