/* ═══════════════════════════════════════════════════
   USE CASES PAGE — Custom Styles
   ═══════════════════════════════════════════════════ */

/* Compact Hero */
.hero--compact { min-height: 55vh; }
.hero--compact .hero__content { padding-top: var(--space-16); }

/* Gallery */
.uc-gallery { gap: var(--space-6); }
.uc-gallery__item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 210, 190, 0.12), var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: linear-gradient(135deg, #0a2a2f 0%, #0d1b3e 50%, #1a0a30 100%);
  border: 1px solid rgba(0, 210, 190, 0.18);
  padding: 5px;
}
.uc-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0, 210, 190, 0.22), var(--shadow-lg);
  border-color: rgba(0, 210, 190, 0.35);
}
.uc-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-xl) - 4px);
}
[data-theme="light"] .uc-gallery__item {
  background: linear-gradient(135deg, #e8f4f6 0%, #dde4f0 50%, #ece4f4 100%);
  border-color: rgba(0, 80, 100, 0.12);
  box-shadow: 0 0 15px rgba(0, 80, 100, 0.06), var(--shadow-md);
}
.uc-gallery__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  font-weight: 700;
  font-size: var(--text-lg);
  font-family: var(--font-heading);
}

/* Use Case Header */
.uc-header { text-align: center; }

/* Badge */
.uc-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full, 100px);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.uc-badge--teal {
  background: rgba(6,182,212,0.12);
  color: #06b6d4;
  border: 1px solid rgba(6,182,212,0.25);
}
.uc-badge--purple {
  background: rgba(139,92,246,0.12);
  color: #8b5cf6;
  border: 1px solid rgba(139,92,246,0.25);
}

/* Section Titles */
.uc-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

/* Mini Stats Row */
.uc-stat-row {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.uc-mini-stat {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
}
.uc-mini-stat__value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.uc-mini-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* PoC Timeline */
.uc-poc-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 700px;
  margin: var(--space-8) auto 0;
}
.uc-poc-phase {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.uc-poc-phase__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(6,182,212,0.3);
}
.uc-poc-phase__content {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
}
.uc-poc-phase__content h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}
.uc-poc-phase__content p {
  color: var(--color-text-muted);
  line-height: 1.7;
}
.uc-poc-phase__weeks {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary) !important;
  margin-bottom: var(--space-2) !important;
}

/* Alpha Decay Timeline */
.uc-alpha-timeline {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding: var(--space-4) 0;
  margin-top: var(--space-4);
}
.uc-alpha-step {
  flex: 1;
  min-width: 150px;
  padding: var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  text-align: center;
  transition: transform 0.3s ease;
}
.uc-alpha-step:hover { transform: translateY(-3px); }
.uc-alpha-step--decay {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.05);
}
.uc-alpha-step__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.uc-alpha-step--decay .uc-alpha-step__num {
  color: #ef4444;
}
.uc-alpha-step__content strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.uc-alpha-step__content span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.uc-decay-label {
  text-align: center;
  margin-top: var(--space-4);
}
.uc-decay-label span {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-full, 100px);
  color: #ef4444;
  font-weight: 700;
  font-size: var(--text-sm);
}

/* Feature List */
.uc-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.uc-feature-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* Integration Flow */
.uc-integration-flow {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}
.uc-integration-step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  text-align: center;
  padding: var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform 0.3s ease;
}
.uc-integration-step:hover { transform: translateY(-3px); }
.uc-integration-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  color: white;
}
.uc-integration-step h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.uc-integration-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.uc-integration-arrow {
  font-size: var(--text-2xl);
  color: var(--color-primary);
  font-weight: 700;
  padding-top: var(--space-8);
}

/* Responsive */
@media (max-width: 768px) {
  .uc-gallery { grid-template-columns: 1fr !important; }
  .uc-stat-row { flex-direction: column; }
  .uc-alpha-timeline { flex-direction: column; }
  .uc-integration-flow { flex-direction: column; align-items: center; }
  .uc-integration-arrow { transform: rotate(90deg); padding: 0; }
  .uc-integration-step { max-width: 100%; }
}



/* ═══════════════════════════════════════════════════
   LIGHTBOX / IMAGE ZOOM MODAL
   ═══════════════════════════════════════════════════ */

/* Zoom cursor on clickable images */
.uc-gallery__item img,
.feature-image img {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.uc-gallery__item img:hover,
.feature-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.3);
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Lightbox content wrapper */
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 36, 54, 0.95), rgba(36, 48, 68, 0.9));
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 80px rgba(34, 211, 238, 0.2), 0 25px 60px rgba(0,0,0,0.5);
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

/* Lightbox image */
.lightbox-content img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg, 12px);
  padding: 8px;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 36, 54, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #f1f5f9;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}
.lightbox-close:hover {
  background: rgba(34, 211, 238, 0.2);
  transform: scale(1.1);
}



/* ============================================
   Use Cases — Light Mode Colored Elements
   ============================================ */

[data-theme="light"] .uc-mini-stat {
  background: linear-gradient(135deg, rgba(10, 123, 131, 0.09) 0%, rgba(6, 182, 212, 0.06) 100%);
}

[data-theme="light"] .uc-mini-stat:nth-child(2n) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.09) 0%, rgba(99, 102, 241, 0.06) 100%);
}

[data-theme="light"] .uc-gallery__item {
  background: linear-gradient(135deg, rgba(224, 242, 245, 0.7) 0%, rgba(225, 230, 248, 0.55) 100%);
}
