/* ── View Sample Modal (shared across all landing pages) ── */

.vs-sample-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 4000;
}
.vs-sample-modal.is-open { display: flex; }

.vs-sample-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 14, 0.84);
  backdrop-filter: blur(8px);
}

.vs-sample-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 1200px);
  max-height: 92vh;
  background: linear-gradient(180deg, #0d121d 0%, #090d15 100%);
  border: 1px solid rgba(196, 167, 71, 0.24);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vs-sample-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 4rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(196, 167, 71, 0.12);
}

.vs-sample-head h3 {
  margin: 0 0 0.45rem;
  color: #f2d27b;
  font-size: 1.1rem;
  font-weight: 800;
}

.vs-sample-note {
  margin: 0;
  color: #aeb9ca;
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 840px;
}

.vs-sample-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f7ff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.vs-sample-close:hover {
  background: rgba(245, 176, 66, 0.18);
  color: #f5b042;
}

.vs-sample-zoom-controls {
  display: none;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.vs-sample-zoom-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(196, 167, 71, 0.28);
  background: #111725;
  color: #f5b042;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.vs-sample-zoom-btn:hover { background: #182133; }

.vs-sample-body {
  padding: 1rem 1.25rem 1.25rem;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.vs-sample-frame,
.vs-sample-image-wrap,
.vs-sample-empty {
  width: 100%;
  min-height: min(68vh, 760px);
  border-radius: 20px;
}

.vs-sample-frame {
  border: 1px solid rgba(196, 167, 71, 0.14);
  background: #ffffff;
}

.vs-sample-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: auto;
  background:
    linear-gradient(rgba(5, 7, 12, 0.08), rgba(5, 7, 12, 0.12)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.04) 12px, rgba(255,255,255,0.04) 24px);
  border: 1px solid rgba(196, 167, 71, 0.14);
}

.vs-sample-image-wrap img {
  display: block;
  max-width: 100%;
  max-height: min(66vh, 720px);
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.vs-sample-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(15,20,34,0.96), rgba(9,13,21,0.94));
  border: 1px solid rgba(196, 167, 71, 0.14);
}
.vs-sample-empty strong {
  display: block;
  margin-bottom: 0.6rem;
  color: #f2d27b;
  font-size: 1rem;
}
.vs-sample-empty p {
  margin: 0;
  color: #aeb9ca;
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 480px;
}

.vs-sample-body.is-video {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1rem;
}

.vs-sample-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 680px);
  overflow: hidden;
  border-radius: 0.5rem;
  flex: 1 1 auto;
  min-height: 0;
}
.vs-sample-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.vs-modal-open { overflow: hidden; }
