.impact-page {
  padding-top: 80px;
}

.impact-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 56px;
  line-height: 1.28;
  font-weight: 500;
  text-align: center;
}

.impact-grid {
  margin-top: 64px;
  display: flex;
  gap: 20px;
}

.impact-card {
  width: 50%;
  border-radius: 16px;
  padding: 40px;
  position: relative;
}

.impact-card.pain {
  background: rgba(0, 0, 0, 0.04);
}

.impact-card.effect {
  background: #f2f2f9;
}

.impact-card h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
  font-family: "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.impact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.impact-row {
  min-height: 52px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 16px;
  line-height: 1.25;
}

.impact-row .left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.impact-row .left .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.impact-row .left .icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.impact-row .metric {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4c55ff;
  font-weight: 700;
  white-space: nowrap;
}

.impact-row .metric::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("../img/blue-arrow.png") center / contain no-repeat;
  flex-shrink: 0;
}

.effect-deco {
  position: absolute;
  top: 8px;
  right: 40px;
  width: 114px;
  height: 114px;
  z-index: 1;
}

.effect-star {
  position: absolute;
  top: 49px;
  right: 138px;
  width: 24px;
  height: 24px;
  display: block;
  z-index: 1;
}

.case-study {
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}

.case-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 56px;
  line-height: 1.28;
  font-weight: 500;
}

.case-desc {
  margin: 16px auto 0;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
}

.chart-card {
  margin: 64px auto 0;
  width: 100%;
  max-width: 1200px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  padding: 31px 40px 26px;
}

.chart-title {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  text-align: center;
  font-family: "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.chart-legend {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.chart-legend span {
  font-size: 14px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.chart-legend .release i {
  background: #aa5aff;
}

.chart-legend .fans i {
  background: #ff3eec;
}

.chart-legend .playback i {
  background: #4c55ff;
}

.chart-area {
  margin-top: 32px;
  min-width: 1120px;
}

.chart-plot {
  position: relative;
  width: 1040px;
  height: 440px;
  margin: 0 auto;
}

.chart-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.chart-series {
  position: absolute;
  left: 0;
  top: 0;
  width: 1040px;
  height: 405px;
}

.chart-series .axis {
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 1;
}

.chart-series .guide {
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.chart-series .line-release,
.chart-series .line-fans,
.chart-series .line-playback {
  fill: none;
  stroke-width: 2;
}

.chart-series .line-release {
  stroke: #aa5aff;
}

.chart-series .line-fans {
  stroke: #ff3eec;
}

.chart-series .line-playback {
  stroke: #4c55ff;
}

.chart-series .dot-release {
  fill: #aa5aff;
}

.chart-series .dot-fans {
  fill: #ff3eec;
}

.chart-series .dot-playback {
  fill: #4c55ff;
}

.chart-series .line-release,
.chart-series .line-fans,
.chart-series .line-playback,
.chart-series .dot-release,
.chart-series .dot-fans,
.chart-series .dot-playback {
  vector-effect: non-scaling-stroke;
}

.chart-series {
  width: 100%;
  display: block;
}

.chart-badge {
  position: absolute;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  font-weight: 510;
  font-family: "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.chart-badge.release {
  background: #aa5aff;
}

.chart-badge.fans {
  background: #ff3eec;
}

.chart-badge.playback {
  background: #4c55ff;
}

.chart-badge.release.r1 {
  left: 75px;
  top: 124px;
}

.chart-badge.release.r2 {
  left: 349px;
  top: 44px;
}

.chart-badge.release.r3 {
  left: 620px;
  top: 14px;
}

.chart-badge.release.r4 {
  left: 894px;
  top: -16px;
}

.chart-badge.fans.f1 {
  left: 75px;
  top: 214px;
}

.chart-badge.fans.f2 {
  left: 349px;
  top: 213px;
}

.chart-badge.fans.f3 {
  left: 624px;
  top: 212px;
}

.chart-badge.fans.f4 {
  left: 898px;
  top: 212px;
}

.chart-badge.playback.b1 {
  left: 88px;
  top: 306px;
}

.chart-badge.playback.b2 {
  left: 365px;
  top: 280px;
}

.chart-badge.playback.b3 {
  left: 641px;
  top: 279px;
}

.chart-badge.playback.b4 {
  left: 914px;
  top: 270px;
}

.chart-time {
  position: absolute;
  top: 417px;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.chart-time.t1 {
  left: 109px;
}

.chart-time.t2 {
  left: 384px;
}

.chart-time.t3 {
  left: 659px;
}

.chart-time.t4 {
  left: 933px;
}

@media (max-width: 1280px) {
  .impact-title,
  .case-title {
    font-size: 44px;
    line-height: 1.25;
  }

  .impact-card {
    padding: 32px;
  }
}

@media (max-width: 1024px) {
  .impact-grid {
    flex-direction: column;
  }

  .impact-card {
    width: 100%;
  }

  .effect-deco {
    right: 60px;
    top: -32px;
    width: 86px;
    height: 86px;
  }

  .effect-star {
    top: 9px;
    right: 134px;
    width: 18px;
    height: 18px;
  }

  .chart-area {
    height: 430px;
  }
}

@media (max-width: 768px) {
  .impact-page {
    padding-top: 56px;
  }

  .impact-title,
  .case-title {
    font-size: 32px;
  }

  .impact-card h3 {
    font-size: 24px;
    line-height: 1.34;
  }

  .impact-row {
    font-size: 14px;
    min-height: 46px;
    padding: 12px;
  }

  .impact-row .left .icon {
    width: 1em;
    height: 1em;
  }

  .impact-row .metric {
    font-size: 14px;
  }

  .case-study {
    padding-top: 80px;
    padding-bottom: 72px;
  }

  .chart-card {
    margin-top: 48px;
    padding: 24px 12px 18px;
  }

  .chart-title {
    font-size: 18px;
  }

  .chart-legend {
    gap: 10px;
    flex-wrap: wrap;
  }

  .chart-legend span {
    font-size: 12px;
  }

  .chart-area {
    min-width: 1120px;
    margin-top: 20px;
  }

  .chart-scroll {
    padding-bottom: 6px;
  }

  .chart-scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }

  .chart-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
  }

  .chart-badge {
    font-size: 11px;
    line-height: 14px;
    padding: 4px 6px;
  }
}
