/*
 * Tur gudang 3D (halaman Smart WMS).
 * Latar section sengaja tidak diatur di sini: pattern-gradients.css sudah mengatur
 * latar tiap section secara otomatis menurut urutannya.
 */

body.fs-template-technology-smart-wms .fs-wms-tour__stage {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.5);
}

body.fs-template-technology-smart-wms .fs-wms-tour__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.fs-template-technology-smart-wms .fs-wms-tour__start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.62) 100%);
}

body.fs-template-technology-smart-wms .fs-wms-tour__play {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  background: #d60001;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(214, 0, 1, 0.65);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

body.fs-template-technology-smart-wms .fs-wms-tour__play:hover {
  background: #b50001;
  transform: translateY(-1px);
}

body.fs-template-technology-smart-wms .fs-wms-tour__play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

body.fs-template-technology-smart-wms .fs-wms-tour__play svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

body.fs-template-technology-smart-wms .fs-wms-tour__hint {
  max-width: 28rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(15, 23, 42, 0.7);
}

body.fs-template-technology-smart-wms .fs-wms-tour__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f172a;
}

body.fs-template-technology-smart-wms .fs-wms-tour__stage.is-loaded .fs-wms-tour__poster,
body.fs-template-technology-smart-wms .fs-wms-tour__stage.is-loaded .fs-wms-tour__start {
  display: none;
}

body.fs-template-technology-smart-wms .fs-wms-tour__links {
  max-width: 68rem;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.9rem;
}

body.fs-template-technology-smart-wms .fs-wms-tour__links a {
  color: #d60001;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.fs-template-technology-smart-wms .fs-wms-tour__steps {
  max-width: 68rem;
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

body.fs-template-technology-smart-wms .fs-wms-tour__steps li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
}

body.fs-template-technology-smart-wms .fs-wms-tour__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #d60001;
  font-size: 0.85rem;
  font-weight: 800;
}

body.fs-template-technology-smart-wms .fs-wms-tour__steps strong {
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.3;
}

body.fs-template-technology-smart-wms .fs-wms-tour__steps span:not(.fs-wms-tour__num) {
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Catatan di bawah sub-judul: simulasi ini model konseptual, bukan gudang sebenarnya. */
body.fs-template-technology-smart-wms .fs-wms-tour__disclaimer {
  margin: 1.25rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: left;
}

body.fs-template-technology-smart-wms .fs-wms-tour__disclaimer strong {
  color: #0f172a;
}

@media (min-width: 640px) {
  body.fs-template-technology-smart-wms .fs-wms-tour__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body.fs-template-technology-smart-wms .fs-wms-tour__steps {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

/* HP tegak: kotak lebih tinggi supaya simulasi tidak terlalu sempit. */
@media (max-width: 767px) {
  body.fs-template-technology-smart-wms .fs-wms-tour__stage {
    aspect-ratio: 4 / 5;
    border-radius: 1.1rem;
  }
}
