/* ==========================================================================
   SITEBAZZAR — HORIZONTAL SCROLL VALUE TIMELINE (HYPER-VAULT STYLE)
   ========================================================================== */

.vt-section {
  position: relative;
  width: 100%;
  height: 340vh;
  background-color: #050507;
  color: #ffffff;
  direction: ltr;
  user-select: none;
}

.vt-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 20% 50%, rgba(255, 95, 0, 0.04) 0%, transparent 60%), #050507;
}

/* Horizontal sliding track */
.vt-slider {
  display: flex;
  align-items: center;
  height: 32vw;
  min-height: 420px;
  max-height: 560px;
  width: max-content;
  gap: 4.5vw;
  padding: 0 5.5vw 0 4.5vw;
  will-change: transform;
  flex-shrink: 0;
}

/* Left visual card */
.vt-media-card {
  position: relative;
  width: 27vw;
  min-width: 300px;
  height: 100%;
  border-radius: 1.1vw;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  background: #0c0c10;
}

.vt-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transform: scale(1.02);
}

.vt-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.05) 0%, rgba(5, 5, 7, 0.45) 100%);
  pointer-events: none;
}

/* Timeline main track area */
.vt-track-area {
  position: relative;
  height: 100%;
  width: 135vw;
  min-width: 1480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Central Horizontal Line & Dots */
.vt-axis {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.vt-axis-dot {
  width: 0.75vw;
  height: 0.75vw;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  background-color: #ff5f00;
  box-shadow: 0 0 14px rgba(255, 95, 0, 0.85);
  flex-shrink: 0;
}

.vt-axis-line {
  height: 1.5px;
  width: 0%;
  background: linear-gradient(90deg, #ff5f00 0%, #ff8800 70%, #f6b40a 100%);
  box-shadow: 0 0 10px rgba(255, 95, 0, 0.45);
  will-change: width;
}

/* Top & Bottom halves */
.vt-row {
  position: relative;
  width: 100%;
  height: 50%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

/* Intro Column (Title on top, Period label on bottom) */
.vt-intro-top {
  width: 23vw;
  min-width: 280px;
  height: 100%;
  padding-top: 1.2vw;
  padding-right: 2.5vw;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.vt-main-title {
  font-family: var(--display, "Vazirmatn"), "Vazirmatn", sans-serif;
  font-size: clamp(23px, 2.35vw, 40px);
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
  width: clamp(220px, 15.5vw, 295px);
  max-width: 100%;
  direction: rtl;
  text-align: right;
  letter-spacing: -0.01em;
}

.vt-main-title .vt-highlight {
  color: #ff5f00;
  background: linear-gradient(135deg, #ff5f00 0%, #f6b40a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vt-intro-bottom {
  width: 36vw;
  min-width: 350px;
  height: 100%;
  padding-top: 1.8vw;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vt-period-label {
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 500;
  color: #a1a1aa;
  margin: 0;
  width: fit-content;
  max-width: 100%;
  direction: rtl;
  text-align: right;
  letter-spacing: 0.02em;
}

/* Milestones list container */
.vt-milestones {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.vt-milestones--top {
  gap: 13vw;
}

.vt-milestones--bottom {
  gap: 13vw;
  margin-left: 3vw;
}

/* Individual Milestone Card */
.vt-item {
  position: relative;
  width: 22vw;
  min-width: 260px;
  height: 100%;
  padding-left: 1.6vw;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vt-item--top {
  justify-content: flex-start;
}

.vt-item--bottom {
  justify-content: flex-end;
}

/* Vertical Stem & Tip Dot */
.vt-pin {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  height: 100%;
  pointer-events: none;
}

.vt-item--top .vt-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.vt-item--bottom .vt-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.vt-stem {
  width: 1.5px;
  height: 92%;
  background: #ff5f00;
  box-shadow: 0 0 8px rgba(255, 95, 0, 0.5);
  will-change: transform;
}

.vt-item--top .vt-stem {
  transform-origin: bottom center;
  transform: scaleY(0);
}

.vt-item--bottom .vt-stem {
  transform-origin: top center;
  transform: scaleY(0);
}

.vt-dot {
  width: 0.85vw;
  height: 0.85vw;
  min-width: 11px;
  min-height: 11px;
  border-radius: 50%;
  background: #ff5f00;
  box-shadow: 0 0 16px rgba(255, 95, 0, 0.9);
  flex-shrink: 0;
  transform: scale(0);
  will-change: transform;
}

/* Copy inside each milestone — anchored to the left stem while keeping RTL text inside */
.vt-copy {
  direction: ltr;
  align-items: flex-start;
  width: clamp(210px, 15.5vw, 275px);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65vw;
}

.vt-item--top .vt-copy {
  margin-top: -0.35vw;
}

.vt-item--bottom .vt-copy {
  margin-bottom: -0.25vw;
}

.vt-line-mask {
  overflow: hidden;
  display: block;
  padding-block: 2px;
  max-width: 100%;
}

.vt-line-inner {
  display: block;
  will-change: transform, opacity;
  transform: translateY(110%);
  opacity: 0;
}

.vt-item-title {
  font-family: var(--display, "Vazirmatn"), "Vazirmatn", sans-serif;
  font-size: clamp(19px, 1.85vw, 31px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  direction: rtl;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vt-item-num {
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 0.68em;
  font-weight: 800;
  color: #ff5f00;
  opacity: 0.95;
  letter-spacing: 0.04em;
}

.vt-item-desc {
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: clamp(13px, 1.08vw, 17.5px);
  line-height: 1.68;
  color: #a1a1aa;
  margin: 0;
  width: 100%;
  direction: rtl;
  text-align: right;
  font-weight: 400;
}

/* Scroll progress indicator pill at bottom */
.vt-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #a1a1aa;
  font-size: 12px;
  direction: rtl;
  pointer-events: none;
  z-index: 10;
}

.vt-scroll-hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f00;
  box-shadow: 0 0 8px #ff5f00;
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .vt-section {
    height: 380vh;
  }

  .vt-slider {
    height: 58vh;
    min-height: 390px;
    max-height: 480px;
    width: max-content;
    gap: 5vw;
    padding: 0 8vw 0 0;
  }

  .vt-media-card {
    width: 32vw;
    min-width: 130px;
    max-width: 175px;
    height: 52vw;
    max-height: 270px;
    margin-left: -3vw;
    border-radius: 0 16px 16px 0;
  }

  .vt-track-area {
    width: 295vw;
    min-width: 1120px;
  }

  .vt-intro-top {
    width: 58vw;
    min-width: 215px;
    padding-right: 3vw;
  }

  .vt-main-title {
    font-size: clamp(20px, 5vw, 27px);
    width: clamp(185px, 52vw, 245px);
  }

  .vt-intro-bottom {
    width: 68vw;
    min-width: 240px;
    padding-top: 16px;
  }

  .vt-period-label {
    font-size: 13.5px;
  }

  .vt-milestones--top {
    gap: 24vw;
  }

  .vt-milestones--bottom {
    gap: 24vw;
    margin-left: 6vw;
  }

  .vt-item {
    width: 58vw;
    min-width: 220px;
    padding-left: 16px;
  }

  .vt-copy {
    width: clamp(195px, 48vw, 240px);
    gap: 8px;
  }

  .vt-item-title {
    font-size: clamp(18px, 5vw, 24px);
  }

  .vt-item-desc {
    font-size: clamp(13px, 3.6vw, 15px);
    max-width: 96%;
  }

  .vt-scroll-hint {
    bottom: 72px;
    font-size: 11px;
    padding: 6px 14px;
  }
}
