/* Trendy BEFORE / AFTER comparison visuals (Tailwind-style) */

.comparison-visual {
  min-height: 320px;
  aspect-ratio: 4 / 3;
  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 24px 60px rgba(15, 23, 42, 0.65);
}

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

/* BEFORE: 파편화된 시스템 느낌 시각화 */
.before-card .placeholder-design.before-design {
  background: radial-gradient(circle at top left, #450a0a 0%, #111827 45%, #020617 100%);
  border: none;
}

.before-design .chaos-box {
  position: absolute;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(248, 113, 113, 0.5);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  color: #e5e7eb;
}

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

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

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

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

.before-design .box-2 {
  width: 52%;
  height: 40%;
  top: 30%;
  left: 46%;
  transform: rotate(9deg);
  z-index: 2;
  border-color: rgba(251, 113, 133, 0.75);
}

.before-design .box-2 .box-header {
  background: linear-gradient(to right, rgba(251, 113, 133, 0.35), rgba(248, 113, 113, 0.15));
}

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

/* AFTER: 일원화된 허브·대시보드 시각화 */
.after-card .placeholder-design.after-design {
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 45%, #020617 100%);
  border: none;
  gap: 18px;
  padding: 18px;
  align-items: stretch;
}

.after-design .dash-sidebar,
.after-design .dash-main {
  opacity: 1;
  transform: translateY(0);
}

.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.8);
}

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

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

.after-design .dash-menu.w-60 {
  width: 68%;
}

.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;
}

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

.after-design .dash-content-box {
  height: 68px;
  border-radius: 10px;
  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);
}

.after-design .dash-content-box.small {
  height: 46px;
  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);
}

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

