/* =========================================================
   TECH SEQUENCE SECTION
   ========================================================= */

.tech-section {
  position: relative;
  background: #000;
  color: #fff;
}

.tech-wrapper {
  position: relative;
  width: 100%;
  height: 400vh; /* Para que el scrub de GSAP tenga un recorrido largo */
}

/* El Canvas centrado y fijo al hacer scroll */
#tech-canvas {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  opacity: 0; /* Aparecerá cuando GSAP lo ancle */
  z-index: 0;
  pointer-events: none;
}

/* Textos Superpuestos */
.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.tech-copy {
  position: absolute;
  left: 10%;
  max-width: 600px;
  opacity: 0;
}

.tech-copy h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1;
}

.tech-copy p {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.highlight-text {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, #38bdf8, #818cf8);
}

/* Posiciones a lo largo del scroll */
.step-1 { top: 15%; }
.step-2 { top: 45%; }
.step-3 { top: 75%; }
