/* problem styles */

/* ─── Problem ─── */
.problem { background: var(--bg-soft); }
.problem-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .problem-inner { grid-template-columns: 1fr; gap: 40px; } }
.problem-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.problem-item {
  display: flex; gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t);
}
.problem-item:hover { transform: translateX(4px); border-color: var(--border-strong); }
.problem-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #FEE2E2;
  color: #DC2626;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.problem-icon svg { width: 18px; height: 18px; }
.problem-text { font-size: 14.5px; line-height: 1.55; color: var(--text-mute); }
.problem-text strong { color: var(--ink); font-weight: 700; }

.funnel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}
.funnel-card-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 24px; letter-spacing: -0.02em; text-wrap: pretty; }
.funnel-steps { display: flex; flex-direction: column; gap: 16px; }
.funnel-step-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.funnel-step-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.funnel-step-val { font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.funnel-step.s1 .funnel-step-val { color: var(--indigo); }
.funnel-step.s2 .funnel-step-val { color: #F59E0B; }
.funnel-step.s3 .funnel-step-val { color: #DC2626; }
.funnel-bar { height: 14px; background: var(--bg-cool); border-radius: 100px; overflow: hidden; position: relative; }
.funnel-bar-fill {
  height: 100%; border-radius: 100px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}
.funnel-step.s1 .funnel-bar-fill { background: linear-gradient(90deg, var(--indigo), var(--violet)); }
.funnel-step.s2 .funnel-bar-fill { background: linear-gradient(90deg, #FBBF24, #F59E0B); }
.funnel-step.s3 .funnel-bar-fill { background: linear-gradient(90deg, #EF4444, #DC2626); }
.funnel-card.in-view .funnel-step.s1 .funnel-bar-fill { transform: scaleX(1); }
.funnel-card.in-view .funnel-step.s2 .funnel-bar-fill { transform: scaleX(0.18); }
.funnel-card.in-view .funnel-step.s3 .funnel-bar-fill { transform: scaleX(0.04); }
.funnel-note {
  margin-top: 22px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--mint-pale), var(--cyan-pale));
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}
.funnel-note strong { color: var(--mint-deep); }
