.proyecto-page{
  min-height:100vh;
  padding:40px 20px;
  background:
    radial-gradient(circle at top,#0f172a,#020617);
  color:white;
}

.proyecto-container{
  max-width:1200px;
  margin:auto;
}

.proyecto-card{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:28px;
  padding:40px;
  backdrop-filter:blur(10px);
}

.proyecto-header{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:40px;
}

.titulo-proyecto{
  font-size:52px;
  margin:0;
  font-weight:800;
}

.subtitulo-proyecto{
  color:#94a3b8;
  margin-top:10px;
}

.creditos-box{
  background:rgba(255,255,255,0.08);
  border-radius:16px;
  padding:16px 22px;
  font-weight:bold;
  height:max-content;
}

.info-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-bottom:35px;
}

.info-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  padding:24px;
}

.info-card h3{
  margin-top:0;
}

.texto-azul{
  color:#60a5fa;
}

.ia-online{
  color:#4ade80;
  font-weight:bold;
}

.ia-offline{
  color:#f87171;
  font-weight:bold;
}

.descripcion-box{
  background:rgba(255,255,255,0.05);
  border-radius:24px;
  padding:30px;
  margin-bottom:35px;
  line-height:1.8;
}

.botones-box{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:50px;
}

.btn-demo{
  text-decoration:none;
  padding:16px 24px;
  border-radius:16px;
  font-weight:bold;
  transition:0.3s;
}

.btn-demo:hover{
  transform:translateY(-3px);
}

.btn-verde{
  background:#16a34a;
  color:white;
}

.btn-azul{
  background:#2563eb;
  color:white;
}

.ia-analyzer{
  background:
    linear-gradient(
      135deg,
      rgba(15,23,42,0.95),
      rgba(30,41,59,0.95)
    );
  border-radius:30px;
  padding:40px;
}

.ia-title{
  font-size:42px;
  margin-top:0;
}

.ia-description{
  color:#cbd5e1;
  line-height:1.8;
  margin-bottom:35px;
}

.ia-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
  margin-bottom:35px;
}

.ia-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  padding:24px;
  transition:0.3s;
}

.ia-card:hover{
  transform:translateY(-4px);
}

.ia-card h3{
  margin-top:0;
  font-size:28px;
}

.ia-detectado{
  color:#93c5fd;
  font-size:22px;
  font-weight:bold;
}

.ia-saas{
  color:#fde047;
  font-size:22px;
  font-weight:bold;
}

.resultado-ia{
  margin-top:30px;
}

.resultado-title{
  margin-bottom:20px;
}

.ia-live-box{
  background:rgba(255,255,255,0.05);
  border-radius:20px;
  padding:24px;
}

.ia-live-top{
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:20px;
}

.ia-spinner{
  width:55px;
  height:55px;
  border-radius:50%;
  border:5px solid rgba(255,255,255,0.1);
  border-top:5px solid #6366f1;
  animation:girar 1s linear infinite;
}

@keyframes girar{

  from{
    transform:rotate(0deg);
  }

  to{
    transform:rotate(360deg);
  }

}

.ia-estado-texto{
  font-size:18px;
  font-weight:bold;
}

.ia-subestado{
  color:#94a3b8;
  margin-top:6px;
}

.ia-progress{
  width:100%;
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,0.08);
  margin-bottom:20px;
}

.ia-progress-bar{
  width:0%;
  height:100%;
  background:
    linear-gradient(
      90deg,
      #4f46e5,
      #7c3aed
    );
  transition:0.5s;
}

.ia-logs{
  background:#020617;
  border-radius:14px;
  padding:18px;
  color:#4ade80;
  font-family:monospace;
  font-size:14px;
  max-height:220px;
  overflow:auto;
  margin-bottom:20px;
}

.contenido-resultado-ia{
  background:rgba(255,255,255,0.04);
  border-radius:14px;
  padding:20px;
  line-height:1.9;
}

.box-boton-ia{
  margin-top:30px;
}

.btn-analizar-ia{
  border:none;
  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #2563eb
    );
  color:white;
  padding:18px 28px;
  border-radius:18px;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

.btn-analizar-ia:hover{
  transform:translateY(-3px);
}

@media(max-width:768px){

  .titulo-proyecto{
    font-size:36px;
  }

  .ia-title{
    font-size:32px;
  }

  .ia-live-top{
    flex-direction:column;
    align-items:flex-start;
  }

}