/* =========================================
   LOADER INICIAL (OVERLAY)
   ========================================= */
body.loading {
    overflow: hidden; /* Bloquea el scroll mientras carga */
}

#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #050505;
    z-index: 99999; /* Por encima del nav y el hero */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.boot-container-content {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.logo-tech {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 5px;
    margin-bottom: 30px;
    position: relative;
    animation: fadeInZoom 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards, 
               neonBreath 3s ease-in-out infinite alternate 1.5s; 
    opacity: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.logo-tech::after {
    content: ".";
    color: #3b82f6;
    animation: blink 1s infinite;
}

.progress-container {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 
                0 0 30px rgba(59, 130, 246, 0.6);
    animation: loadProgress 3.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.status-text {
    margin-top: 20px;
    font-family: 'Manrope', monospace;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#dynamic-status {
    color: #fff;
    font-weight: 600;
}

@keyframes fadeInZoom {
    0% { opacity: 0; transform: scale(0.9) translateY(10px); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes neonBreath {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.1); }
    100% { text-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 60px rgba(59, 130, 246, 0.4); }
}

@keyframes loadProgress {
    0% { width: 0%; }
    30% { width: 30%; }
    50% { width: 45%; }
    70% { width: 80%; }
    100% { width: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.fade-out {
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.8s ease-in-out;
    pointer-events: none;
}

@media (max-width: 600px) {
    .logo-tech { font-size: 2.2rem; letter-spacing: 2px; margin-bottom: 20px; }
    .boot-container-content { width: 90%; padding: 15px; }
    .progress-container { margin-top: 30px; }
}
/* --- HERO HOME --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 120px 20px;
  overflow: hidden;
}
.hero-content {
  z-index: 5;
  width: 100%;
  max-width: 900px;
}
.hero h1 {
  margin-bottom: 20px;
}
.dot-accent {
  color: #3b82f6;
}
.lead {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 50px;
  color: #888;
  line-height: 1.6;
  font-weight: 300;
}

.home-actions {
  display: none;
} /* Desktop oculto */
.btn-home {
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 160px;
}
.btn-home:hover {
  background: #fff;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.btn-home-special {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: none !important;
}
.btn-home-special:hover {
  background-color: #f0f0f0 !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* --- MARQUEE & LOCATION --- */
.tech-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
}
.track {
  display: flex;
  width: fit-content;
  animation: marquee 30s linear infinite;
}
.marquee-content {
  white-space: nowrap;
  font-family: "Syncopate", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  padding-right: 0;
  flex-shrink: 0;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.location-tag {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: #fff;
  color: #000;
  font-family: "Syncopate", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 5px 15px;
  border-top-left-radius: 8px;
  z-index: 20;
  letter-spacing: 1px;
}
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  opacity: 0.7;
}
.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}
.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}
.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 2px;
  font-family: "Syncopate", sans-serif;
}
@keyframes scrollWheel {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* --- VALUE PROP SECCION --- */
.value-prop {
  padding: 100px 30px;
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.vp-container {
  max-width: 1200px;
  margin: 0 auto;
}
.vp-header {
  text-align: center;
  margin-bottom: 70px;
}
.outline-text-small {
  font-family: "Syncopate", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
.vp-header h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  color: #fff;
  font-weight: 800;
  letter-spacing: -1px;
}

.vp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.vp-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 16px;
  transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-align: left;
}
.vp-card:hover {
  transform: translateY(-10px);
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.vp-card i {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 25px;
  display: inline-block;
}
.vp-card h4 {
  font-family: "Syncopate", sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.vp-card p {
  color: #999;
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 300;
}

/* Studio Pillars */
.studio-pillars {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 60px;
}
.label-blue-center {
  display: block;
  color: var(--accent-blue);
  font-family: "Syncopate", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}
.pillar-item {
  padding: 20px;
}
.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}
.pillar-item h3 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pillar-item p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 300;
  max-width: 250px;
  margin: 0 auto;
}
.separator-line {
  width: 100px;
  height: 2px;
  background: var(--accent-blue);
  margin: 0 auto 100px;
  opacity: 0.5;
}

/* Stats Banner */
.stats-banner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 40px;
}
.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}
.stat-number {
  font-family: "Syncopate", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  background: -webkit-linear-gradient(45deg, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--accent-blue);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.stat-desc {
  color: #666;
  font-size: 0.8rem;
  font-style: italic;
}

/* Insights */
.did-you-know {
  padding: 100px 30px;
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.dyk-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 100px;
}
.dyk-header h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #fff;
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 10px;
}
.dyk-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.dyk-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: 0.4s ease;
}
.dyk-img-box {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.dyk-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7) contrast(1.2);
  transition: 0.5s ease;
}
.dyk-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dyk-top-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.dyk-number {
  font-family: "Syncopate", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  opacity: 0.8;
}
.dyk-content h4 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
.dyk-content p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.dyk-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateX(10px);
}
.dyk-item:hover .dyk-img-box img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

/* Responsive Home */
@media (max-width: 768px) {
  h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    letter-spacing: -1px;
    width: 100%;
    word-wrap: break-word;
    padding: 0 10px;
  }
  .glitch-text,
  .outline-text {
    font-size: 3rem !important;
  }
  .home-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    margin: 30px auto 0;
    padding: 0 20px;
  }
  .btn-home {
    width: 100%;
    min-width: auto;
    padding: 12px 5px;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .tech-marquee {
    height: 35px;
  }
  .marquee-content {
    font-size: 0.65rem;
  }
  .track {
    animation-duration: 20s;
  }
  .hero {
    padding-bottom: 140px;
    align-items: center;
  }
  .location-tag {
    bottom: 40px;
    right: 50%;
    transform: translateX(50%);
    background: rgba(0, 0, 0, 0.8);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    width: max-content;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillar-item {
    padding: 0;
  }
  .stat-number {
    font-size: 3rem;
  }
  .stats-banner {
    flex-direction: column;
    gap: 50px;
  }
  .dyk-item {
    grid-template-columns: 1fr;
    grid-template-rows: 200px auto;
  }
  .dyk-img-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .dyk-item:hover {
    transform: translateY(-5px);
  }
}
