* { box-sizing: border-box; }
.demo-title { color: #0f2652; letter-spacing: -0.02em; }
.brand-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #d9e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c3d7f9;
}
.brand-logo { width: 40px; height: 40px; display: block; }
.demo-upload-card { transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.demo-upload-card.drag-over { border-color: #4f7cff !important; box-shadow: 0 0 0 3px #e7edff; }

.demo-download-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 0;
  text-decoration: none;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 14px;
}

.demo-download-btn--primary {
  background: #2550d5;
  color: #fff;
}

.demo-download-btn--webp {
  background: #1f9d55;
  color: #fff;
}

.demo-download-btn--secondary {
  background: #e9edf5;
  color: #23324c;
}

.demo-regenerate-btn {
  border: 1px solid #ced8ea;
  background: #fff;
  color: #23324c;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 600;
  cursor: pointer;
}

.demo-compare-frame {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  position: relative;
  border: 1px solid #d5deec;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f8;
}

.demo-compare-labels {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.demo-compare-tag {
  background: rgba(12, 22, 38, 0.75);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
}

.demo-comparison-slider {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: col-resize;
}

.demo-comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  z-index: 2;
}

.demo-results-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #d7dfec;
}
