/* ─── Use Cases Page ────────────────────────────────────────── */

/* ─── Hero ──────────────────────────────────────────────────── */
.uc-hero {
  position: relative;
  padding: 88px 0 72px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(150deg, #f5f3ff 0%, #f0fdf4 55%, #fef3c7 100%);
}

.uc-hero-inner { position: relative; z-index: 1; }

/* ─── Gallery ───────────────────────────────────────────────── */
.uc-gallery {
  padding: 48px 0 72px;
}

.uc-gallery .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Single full-width image */
.uc-single {
  width: 100%;
}

/* 2×2 grid */
.uc-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

/* Image block base */
.uc-img-block {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

/* Subtle grid pattern overlay */
.uc-img-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

/* Hover border */
.uc-img-block {
  border: 2px solid transparent;
  transition: border-color .2s ease;
}

.uc-img-block:hover {
  border-color: var(--accent);
}

/* Hover chip */
.uc-img-hover {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.uc-img-block:hover .uc-img-hover {
  opacity: 1;
  transform: translateY(0);
}

.uc-img-hover span {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 10, 30, 0.72);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Image backgrounds */
.uc-img-block {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--surface);
}

/* ─── CTA ───────────────────────────────────────────────────── */
.uc-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #a78bfa 100%);
  padding: 80px 0;
  text-align: center;
}

.uc-cta-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
  top: -220px;
  right: -120px;
  pointer-events: none;
}

.uc-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.uc-cta-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
}

.uc-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  margin-bottom: 36px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  background: #fff;
  color: var(--accent);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}

.btn-cta:hover {
  background: #f5f3ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .uc-hero { padding: 60px 0 48px; }
  .uc-grid-2x2 { grid-template-columns: 1fr; }
  .uc-gallery { padding: 32px 0 56px; }
  .uc-cta { padding: 60px 0; }
}
