/* WHY MediSwich page - BEFORE / AFTER 시각화 전용 스타일 */

/* 1. 카드 레이아웃 (WHY 페이지 전용) */
.si-comparison .comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .si-comparison .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. 공통: 카드 안 비주얼 영역 */
.si-comparison .comparison-visual {
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 40%, #020617 100%);
  border: none;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.75);
}

.si-comparison .comparison-visual .placeholder-design {
  width: 100%;
  height: 100%;
  padding: 22px;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* 3. BEFORE: 높은 초기 비용 + 운영 리스크 */
.si-comparison .before-card .placeholder-design.before-design {
  background: radial-gradient(circle at top left, #450a0a 0%, #111827 45%, #020617 100%);
}

.si-comparison .before-design .chaos-box {
  position: absolute;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(248, 113, 113, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  color: #e5e7eb;
}

.si-comparison .before-design .box-header {
  padding: 8px 12px;
  background: linear-gradient(to right, rgba(248, 113, 113, 0.28), rgba(248, 113, 113, 0.08));
  border-bottom: 1px solid rgba(248, 113, 113, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fecaca;
}

.si-comparison .before-design .box-header i {
  margin-right: 6px;
}

.si-comparison .before-design .box-content {
  padding: 10px 12px 12px;
  font-size: 0.78rem;
  opacity: 0.95;
}

.si-comparison .before-design .box-1 {
  width: 56%;
  height: 44%;
  top: 16%;
  left: 6%;
  transform: rotate(-8deg);
  z-index: 1;
}

.si-comparison .before-design .box-2 {
  width: 52%;
  height: 40%;
  top: 30%;
  left: 46%;
  transform: rotate(9deg);
  z-index: 2;
}

.si-comparison .before-design .box-3 {
  width: 48%;
  height: 36%;
  top: 55%;
  left: 18%;
  transform: rotate(-4deg);
  z-index: 3;
}

/* 4. AFTER: 합리적 구독 + 신속한 도입 */
.si-comparison .after-card .placeholder-design.after-design {
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 45%, #020617 100%);
  gap: 18px;
  padding: 18px;
  align-items: stretch;
}

.si-comparison .after-design .dash-sidebar,
.si-comparison .after-design .dash-main {
  opacity: 1;
  transform: none;
}

.si-comparison .after-design .dash-sidebar {
  flex: 0 0 130px;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.85);
}

.si-comparison .after-design .dash-logo {
  width: 80%;
  height: 18px;
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  border-radius: 999px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.si-comparison .after-design .dash-menu {
  height: 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  width: 100%;
  background: rgba(37, 99, 235, 0.3);
}

.si-comparison .after-design .dash-menu.w-60 {
  width: 70%;
}

.si-comparison .after-design .dash-main {
  flex: 1;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.si-comparison .after-design .dash-header {
  height: 22px;
  border-radius: 999px;
  width: 42%;
  margin-bottom: 4px;
  background: linear-gradient(to right, #38bdf8, #22c55e);
}

.si-comparison .after-design .dash-content-box {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.25), rgba(15, 23, 42, 0.98));
  border: 1px dashed rgba(45, 212, 191, 0.6);
}

.si-comparison .after-design .dash-content-box.small {
  display: inline-block;
  width: calc(50% - 6px);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.28), rgba(15, 23, 42, 0.98));
  border-color: rgba(59, 130, 246, 0.7);
}

.si-comparison .after-design .dash-content-box.small:first-of-type {
  margin-right: 12px;
}

.si-comparison .metric-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bae6fd;
  margin-bottom: 4px;
}

.si-comparison .metric-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e0f2fe;
}

.si-comparison .metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background-color: rgba(15, 118, 110, 0.18);
  color: #a7f3d0;
}

@media (max-width: 768px) {
  .si-comparison .comparison-card {
    max-width: 560px;
    margin: 0 auto 24px auto;
  }
  .si-comparison .comparison-visual {
    min-height: 230px;
    margin-top: 20px;
  }
}
