.imagefx-hero {
  padding-top: 18px;
}
.imagefx-hero .hero-copy {
  max-width: 800px;
}
.imagefx-tool {
  border-color: rgba(56, 182, 255, .28);
  background:
    radial-gradient(circle at 92% 6%, rgba(56, 182, 255, .09), transparent 31%),
    radial-gradient(circle at 5% 100%, rgba(124, 90, 255, .08), transparent 33%),
    var(--surface);
}
.imagefx-result {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(56, 182, 255, .38);
  border-radius: 16px;
  background: rgba(8, 47, 73, .13);
}
.imagefx-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 18px 0 0;
}
.imagefx-fields div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #080c15;
}
.imagefx-fields dt,
.final-prompt h4,
.next-edits h4 {
  color: #a5d8ff;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.imagefx-fields dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.final-prompt,
.next-edits {
  margin-top: 13px;
  padding: 15px 16px;
  border: 1px solid rgba(124, 90, 255, .32);
  border-radius: 12px;
  background: rgba(124, 90, 255, .07);
}
.final-prompt p {
  margin: 9px 0 0;
  color: #e8edf7;
  line-height: 1.7;
}
.next-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.next-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(56, 182, 255, .35);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(56, 182, 255, .08);
  color: #cdeeff;
  font-size: 12.5px;
}
.result-next-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
}
.result-next-actions span {
  color: #8995aa;
  font-size: 12px;
  line-height: 1.45;
}
.imagefx-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.imagefx-example-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}
.imagefx-example-card:hover {
  border-color: var(--border-strong);
}
.imagefx-example-card .example-image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.imagefx-example-card .example-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.imagefx-example-card:hover .example-image img {
  transform: scale(1.02);
}
.imagefx-example-card .example-body {
  padding: 19px;
}
.imagefx-example-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.example-prompt {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.variation {
  margin: 12px 0 0;
  color: #aab4c7;
  font-size: 12.5px;
}
.variation strong {
  color: #c4b5fd;
}
.imagefx-guide {
  align-items: stretch;
}
.workflow-card {
  padding: 23px;
  border: 1px solid rgba(56, 182, 255, .32);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(56, 182, 255, .08), rgba(124, 90, 255, .08));
}
.workflow-card h3 {
  margin: 7px 0 17px;
  font-size: 21px;
}
.workflow-card p:not(.tool-kicker) {
  margin: 12px 0 0;
  color: var(--muted);
}
.workflow-card strong {
  color: var(--text);
}
.workflow-card .source-note {
  border-top: 1px solid var(--border);
  padding-top: 15px;
  font-size: 12px;
}

@media (max-width: 800px) {
  .imagefx-fields,
  .imagefx-example-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .imagefx-result {
    padding: 17px;
  }
  .result-next-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .result-next-actions .btn {
    justify-content: center;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .imagefx-example-card .example-image img {
    transition: none;
  }
}
