/* ==================== Vision Sneak Peek Modal ==================== */
.vision-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.vision-modal:not([open]) {
  display: none;
}

.vision-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.94);
  z-index: 1;
}

.vision-modal__container {
  position: relative;
  z-index: 2;
  width: min(94vw, 720px);
  max-height: 90vh;
  background: #080d1a;
  border: 1px solid rgba(58, 228, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(58, 228, 255, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vision-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: rgba(58, 228, 255, 0.12);
  border: 1px solid rgba(58, 228, 255, 0.35);
  color: rgba(58, 228, 255, 0.9);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.vision-modal__close:hover {
  background: rgba(58, 228, 255, 0.25);
  border-color: rgba(58, 228, 255, 0.6);
  color: #fff;
}

.vision-modal__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  background: rgba(58, 228, 255, 0.15);
  border: 1px solid rgba(58, 228, 255, 0.4);
  color: rgba(58, 228, 255, 0.95);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.vision-modal__img-wrap {
  overflow: hidden;
  flex-shrink: 0;
  max-height: 70vh;
}

.vision-modal__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 70vh;
}

.vision-modal__info {
  padding: 1.2rem 1.5rem 1.5rem;
  text-align: center;
}

.vision-modal__title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #e8f6ff;
  letter-spacing: 0.02em;
}

.vision-modal__desc {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(207, 248, 255, 0.6);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .vision-modal__container {
    width: 94vw;
    max-height: 88vh;
  }

  .vision-modal__img {
    max-height: 55vh;
  }

  .vision-modal__info {
    padding: 0.9rem 1rem 1.2rem;
  }

  .vision-modal__title {
    font-size: 1.1rem;
  }
}