/* listicle.css — Styles for /best-ai-competitive-intelligence-tools-2026 */

/* ── Page-level overrides ── */
.listicle-body .compare-main {
  padding-top: 0;
}

/* ── Hero ── */
.listicle-hero {
  padding: 56px 24px 40px;
  max-width: 1140px;
  margin: 0 auto;
}

.listicle-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.listicle-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.listicle-h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #f4f4f5;
  line-height: 1.2;
  margin: 0 0 14px 0;
  max-width: 820px;
}

.listicle-subhead {
  font-size: 14px;
  color: #71717a;
  margin: 0;
}

/* ── Layout ── */
.listicle-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 80px;
  align-items: start;
}

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

/* ── Matrix table ── */
.listicle-matrix-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.listicle-matrix {
  min-width: 960px;
  font-size: 12.5px;
}

.listicle-matrix th,
.listicle-matrix td {
  padding: 10px 10px;
  vertical-align: top;
}

.listicle-tool-link {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
}

.listicle-tool-link:hover {
  text-decoration: underline;
}

.listicle-briefly-row {
  background: rgba(99, 102, 241, 0.07);
  border-left: 3px solid #6366f1;
}

.listicle-new-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── Routing grid ── */
.listicle-routing-section {
  margin: 48px 0;
}

.listicle-routing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 680px) {
  .listicle-routing-grid {
    grid-template-columns: 1fr;
  }
}

.listicle-routing-card {
  background: #14141e;
  border: 1px solid #2a2a3a;
  border-radius: 10px;
  padding: 18px 20px;
}

.listicle-routing-q {
  font-size: 13px;
  font-weight: 700;
  color: #e4e4e7;
  margin-bottom: 10px;
}

.listicle-routing-list {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 12.5px;
  color: #a1a1aa;
  line-height: 1.6;
}

.listicle-routing-list li {
  margin-bottom: 4px;
}

/* ── Section heading ── */
.listicle-profiles-heading {
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a3a;
  color: #f4f4f5;
}

/* ── Tool cards ── */
.listicle-tool-card {
  background: #0f0f18;
  border: 1px solid #2a2a3a;
  border-radius: 12px;
  padding: 28px 28px 22px;
  margin-bottom: 24px;
  scroll-margin-top: 80px;
}

.listicle-tool-card-briefly {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.04);
}

.listicle-tool-card-emerging {
  border-color: rgba(34, 197, 94, 0.3);
}

.listicle-tool-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.listicle-rank {
  min-width: 42px;
  height: 42px;
  background: #1e1e2e;
  border: 1px solid #3a3a4a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #a1a1aa;
  flex-shrink: 0;
  margin-top: 2px;
}

.listicle-rank-briefly {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
}

.listicle-rank-gartner {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.listicle-tool-name {
  font-size: 20px;
  font-weight: 700;
  color: #f4f4f5;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.listicle-tool-tagline {
  color: #71717a;
  font-size: 13px;
  margin: 0;
}

.listicle-award-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
}

.listicle-value-badge {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
}

.listicle-our-tool-badge {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
}

.listicle-emerging-badge {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
}

.listicle-tool-card p {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

/* ── Spec rows ── */
.listicle-tool-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid #1e1e2e;
  border-radius: 8px;
}

.listicle-spec {
  font-size: 13px;
  color: #a1a1aa;
}

.listicle-spec-label {
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.06em;
  margin-right: 6px;
}

.listicle-spec-weak .listicle-spec-label {
  color: #ef4444;
}

/* ── Tool footer links ── */
.listicle-tool-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.listicle-compare-link {
  font-size: 13px;
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
}

.listicle-compare-link:hover {
  text-decoration: underline;
}

.listicle-alt-link {
  font-size: 13px;
  color: #71717a;
  text-decoration: none;
}

.listicle-alt-link:hover {
  color: #a1a1aa;
  text-decoration: underline;
}

/* ── Briefly CTAs in card ── */
.listicle-briefly-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.listicle-audit-link {
  font-size: 13px;
  color: #71717a;
  text-decoration: none;
}

.listicle-audit-link:hover {
  color: #a1a1aa;
  text-decoration: underline;
}

/* ── Mid-page CTA ── */
.listicle-mid-cta {
  margin: 32px 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(99,102,241,0.04) 100%);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 12px;
  padding: 24px 28px;
}

.listicle-mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.listicle-mid-cta-text strong {
  font-size: 15px;
  color: #e4e4e7;
  display: block;
  margin-bottom: 6px;
}

.listicle-mid-cta-text p {
  font-size: 13px;
  color: #71717a;
  margin: 0;
}

.listicle-mid-cta-btn {
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.4);
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.listicle-mid-cta-btn:hover {
  background: rgba(99,102,241,0.25);
}

/* ── Decision grid (When NOT to use) ── */
.listicle-when-not-section {
  margin: 48px 0;
}

.listicle-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 680px) {
  .listicle-decision-grid {
    grid-template-columns: 1fr;
  }
}

.listicle-decision-card {
  background: #14141e;
  border: 1px solid #2a2a3a;
  border-radius: 10px;
  padding: 18px 20px;
}

.listicle-decision-card-briefly {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.04);
}

.listicle-decision-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #e4e4e7;
  margin: 0 0 10px 0;
}

.listicle-decision-card h4 a {
  color: #6366f1;
  text-decoration: none;
}

.listicle-decision-card h4 a:hover {
  text-decoration: underline;
}

.listicle-decision-card ul {
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.6;
}

.listicle-decision-card ul li {
  margin-bottom: 6px;
}

/* ── Methodology ── */
.listicle-methodology {
  border-top: 1px solid #1e1e2e;
  padding-top: 24px;
  margin-top: 48px;
}

.listicle-methodology h2 {
  font-size: 16px;
  color: #71717a;
  font-weight: 600;
  margin-bottom: 12px;
}

.listicle-methodology p {
  font-size: 12px;
  color: #52525b;
  line-height: 1.6;
}
