/* VANIV workflow screenshot polish
   Loaded dynamically via script.js so we can improve the visual proof section
   without touching every generated HTML page. */

.workflow-video-grid {
  align-items: stretch;
}

.workflow-video-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
    radial-gradient(circle at 50% 0%, rgba(0,212,255,0.10), transparent 46%);
}

.workflow-video-card figure {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 218px;
  margin: 0;
  overflow: hidden;
  background: #080b10;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.workflow-video-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06), transparent 42%, rgba(0,0,0,0.34)),
    radial-gradient(circle at 50% 35%, rgba(0,212,255,0.10), transparent 56%);
}

.workflow-video-card figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0.97;
  filter: brightness(1.16) contrast(1.08) saturate(1.06);
  transform: scale(1.012);
}

.workflow-video-card:nth-child(1) figure img { object-position: center center; }
.workflow-video-card:nth-child(2) figure img { object-position: center center; }
.workflow-video-card:nth-child(3) figure img { object-position: center center; }
.workflow-video-card:nth-child(4) figure img { object-position: left center; }
.workflow-video-card:nth-child(5) figure img { object-position: center center; }
.workflow-video-card:nth-child(6) figure img { object-position: center center; }

.workflow-video-copy {
  padding: 28px 28px 30px;
  flex: 1;
}

.workflow-video-copy span {
  display: inline-flex;
  margin-bottom: 12px;
}

.workflow-video-copy h3 {
  margin-bottom: 12px;
}

.workflow-video-copy p {
  font-size: 1.02rem;
  line-height: 1.65;
}

.screenshot-frame img {
  filter: brightness(1.08) contrast(1.04) saturate(1.04);
}

@media (max-width: 768px) {
  .workflow-video-card figure {
    min-height: 190px;
  }

  .workflow-video-copy {
    padding: 22px 22px 24px;
  }
}

@media (max-width: 520px) {
  .workflow-video-card figure {
    min-height: 172px;
  }
}
