/* ============================================
   MC Intelligent — Custom CSS
   ============================================ */

/* ── Particle Animation (Hero Section) ─────── */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.15);
  animation: float linear infinite;
  pointer-events: none;
}

.particle:nth-child(1) {
  width: 80px; height: 80px;
  left: 10%; top: 20%;
  animation-duration: 18s;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 50px; height: 50px;
  left: 75%; top: 10%;
  animation-duration: 22s;
  animation-delay: -4s;
  background: rgba(15, 76, 129, 0.25);
}
.particle:nth-child(3) {
  width: 120px; height: 120px;
  left: 50%; top: 60%;
  animation-duration: 30s;
  animation-delay: -8s;
  background: rgba(0, 194, 168, 0.08);
}
.particle:nth-child(4) {
  width: 40px; height: 40px;
  left: 30%; top: 75%;
  animation-duration: 16s;
  animation-delay: -12s;
}
.particle:nth-child(5) {
  width: 60px; height: 60px;
  left: 85%; top: 50%;
  animation-duration: 25s;
  animation-delay: -6s;
  background: rgba(26, 107, 181, 0.2);
}

@keyframes float {
  0%   { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50%  { transform: translateY(-40px) rotate(180deg); opacity: 1; }
  100% { transform: translateY(0px) rotate(360deg); opacity: 0.6; }
}

/* ── Hide scrollbar (screenshot carousel) ─── */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ── Smooth scroll ───────────────────────── */
html {
  scroll-behavior: smooth;
}

/* ── Focus ring consistent ──────────────── */
*:focus-visible {
  outline: 2px solid #00C2A8;
  outline-offset: 2px;
}

/* ── Lightbox / Full-screen Image Viewer ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay > img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-align: center;
  max-width: 80%;
  z-index: 10;
}

/* Clickable images — cursor hint */
.screenshot-item,
.guide-img-wrap {
  cursor: pointer;
}
.screenshot-item:hover img,
.guide-img-wrap:hover img {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}