/* ═════════ ZERP · SECTION 5 · WHY WE BUILT IT ═════════
   The four puzzle pieces from the loading screen (styles in sections/section3.css):
   three are in place, the fourth (ZERP) slides in as you scroll. */
.ze-section5 {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
}

.ze5-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.ze5-text .eyebrow {
  margin-bottom: 20px;
}

.ze5-text .section-title {
  margin-bottom: 18px;
}

.ze5-text .btn {
  margin-top: 30px;
}

.ze5-vis {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}

.ze5-vis::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px dashed rgba(157, 187, 255, 0.16);
}

.ze5-puzzle.s3-puzzle {
  width: 260px;
  height: 260px;
}

.ze5-puzzle .s3-piece--1 { border-radius: 26px 0 0 0; }
.ze5-puzzle .s3-piece--2 { border-radius: 0 26px 0 0; }
.ze5-puzzle .s3-piece--3 { border-radius: 0 0 0 26px; }
.ze5-puzzle .s3-piece--4 { border-radius: 0 0 26px 0; }

.ze5-puzzle .s3-piece {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* the ZERP piece is brighter */
.ze5-puzzle .s3-piece--4 {
  background: linear-gradient(145deg, #5B95FF, #1463F3);
  will-change: transform;
}

.ze5-puzzle .s3-puzzle-glow {
  opacity: 0.6;
}

.ze5-tag {
  position: absolute;
  padding: 6px 13px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(10, 16, 34, 0.8);
  font-size: 0.82rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.ze5-tag--1 { left: 50%; top: 50%; translate: -235px -170px; }
.ze5-tag--2 { left: 50%; top: 50%; translate: 150px -170px; }
.ze5-tag--3 { left: 50%; top: 50%; translate: -235px 140px; }
.ze5-tag--4 {
  left: 50%;
  top: 50%;
  translate: 150px 140px;
  border-color: rgba(91, 149, 255, 0.6);
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 0 24px -4px var(--blue-glow);
}

@media (max-width: 900px) {
  .ze-section5 { padding: 70px 0 80px; }
  .ze5-inner { grid-template-columns: 1fr; gap: 20px; }
  .ze5-vis { min-height: 320px; }
  .ze5-vis::before { width: 300px; height: 300px; }
  .ze5-puzzle.s3-puzzle { width: 170px; height: 170px; }
  .ze5-tag { font-size: 0.74rem; }
  .ze5-tag--1 { translate: -150px -120px; }
  .ze5-tag--2 { translate: 90px -120px; }
  .ze5-tag--3 { translate: -150px 95px; }
  .ze5-tag--4 { translate: 90px 95px; }
}
