/* ── ROI PROBLEM BARS ── */
.roi-bars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.roi-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.roi-bar-row:last-child {
  border-bottom: none;
}
.roi-bar-label {
  font-size: 0.8rem;
  color: var(--text2);
  width: 90px;
  flex-shrink: 0;
}
.roi-bar-track {
  flex: 1;
  height: 10px;
  background: var(--light);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.roi-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: #be123c;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.roi-bar-val {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #be123c;
  font-weight: 600;
  width: 80px;
  text-align: right;
}

/* ── PIPELINE FLOW ── */
.rf-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.rf-step {
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rf-step:last-child {
  border-right: none;
}
.rf-step__num {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}
.rf-step__icon {
  font-size: 1.3rem;
}
.rf-step__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text1);
  line-height: 1.3;
}
.rf-step__desc {
  font-size: 0.72rem;
  color: var(--text2);
  line-height: 1.5;
}
.rf-step--highlight {
  background: rgba(26, 86, 232, 0.04);
}

/* ── FEATURE IMPORTANCE BARS ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child {
  border-bottom: none;
}
.feature-rank {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text3);
  width: 18px;
  flex-shrink: 0;
  text-align: center;
}
.feature-name {
  font-size: 0.82rem;
  color: var(--text1);
  font-weight: 500;
  width: 160px;
  flex-shrink: 0;
}
.feature-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.feature-tag--spend {
  background: rgba(26, 86, 232, 0.08);
  color: var(--accent);
}
.feature-tag--demo {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.feature-tag--engage {
  background: rgba(234, 179, 8, 0.1);
  color: #92400e;
}
.feature-track {
  flex: 1;
  height: 7px;
  background: var(--light);
  border-radius: 100px;
  overflow: hidden;
}
.feature-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--accent);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-score {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text2);
  width: 40px;
  text-align: right;
}

/* ── PROFILE COMPARE ── */
.profile-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.profile-col__header {
  padding: 0.75rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.profile-col--target .profile-col__header {
  background: rgba(26, 86, 232, 0.06);
  color: var(--accent);
  border-right: 1px solid var(--border);
}
.profile-col--others .profile-col__header {
  background: var(--off);
  color: var(--text3);
}
.profile-metric {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.profile-col--target .profile-metric {
  border-right: 1px solid var(--border);
}
.profile-metric:last-child {
  border-bottom: none;
}
.profile-metric__label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 0.3rem;
}
.profile-metric__val {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.profile-col--target .profile-metric__val {
  color: var(--accent);
}
.profile-col--others .profile-metric__val {
  color: var(--text2);
}
.profile-metric__sub {
  font-size: 0.72rem;
  color: var(--text3);
}

/* ── CAMPAIGN CARDS ── */
.campaign-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.campaign-card {
  background: var(--white);
  padding: 1.5rem 1.25rem;
}
.campaign-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.campaign-card__name {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.campaign-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text1);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.campaign-card__desc {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .rf-pipeline {
    grid-template-columns: 1fr 1fr;
  }
  .profile-compare {
    grid-template-columns: 1fr;
  }
  .profile-col--target .profile-metric {
    border-right: none;
  }
  .campaign-cards {
    grid-template-columns: 1fr;
  }
  .feature-name {
    width: 110px;
  }
}
